.product-categories {
    padding: clamp(40px, 8vh, 80px) 5vw;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(30px, 5vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.category-image h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-content {
    padding: clamp(25px, 4vw, 35px);
}

.category-content h3 {
    font-size: clamp(18px, 3vw, 22px);
    color: #1a1a1a;
    margin-bottom: 10px;
}

.category-content > p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.product-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list a {
    color: #4a90e2;
    text-decoration: none;
    font-size: clamp(14px, 1.8vw, 15px);
    display: block;
    transition: all 0.3s ease;
    padding-left: 20px;
    position: relative;
}

.product-list a:before {
    content: "▸";
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.product-list a:hover {
    color: #357abd;
    padding-left: 25px;
}

.product-list a:hover:before {
    transform: translateX(5px);
}

.view-all-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #4a90e2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: clamp(14px, 1.8vw, 16px);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.view-all-btn:hover {
    background: #357abd;
    transform: translateX(5px);
}

.external-link-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #2ecc71;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: clamp(16px, 2.5vw, 18px);
    transition: all 0.3s ease;
}

.external-link-btn:hover {
    background: #27ae60;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}
