﻿/* Hero Section - Same as About Page */
.products-hero {
    background: linear-gradient(135deg, #faa73f 0%, #ff8c00 100%);
    padding: 250px 0 80px;
    position: relative;
    overflow: hidden;
}

    .products-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
        background-size: cover;
        opacity: 0.3;
    }

.products-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.products-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
}

    .products-hero h1 span {
        color: #ffffff;
    }

.products-hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #ffffff;
}

/* Products Content Section */
.products-content-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-badge {
    display: inline-block;
    background: #faa73f;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Category Filter Buttons */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: #ffffff;
    border: 2px solid #faa73f;
    color: #faa73f;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .category-btn:hover,
    .category-btn.active {
        background: #faa73f;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(250, 167, 63, 0.3);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

    .product-card.hidden {
        display: none;
    }

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Frozen desserts product photos are tall pack shots - show the full pack instead of cropping */
.product-card[data-category="frozen-desserts"] .product-image img {
    object-fit: contain;
    padding: 16px;
    box-sizing: border-box;
}

.product-category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #faa73f;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.product-content {
    padding: 25px 20px;
    text-align: center;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Product Action Buttons */
.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.product-btn {
    flex: 1;
    min-width: 110px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-btn-primary {
    background: #faa73f;
    color: #fff;
}

    .product-btn-primary:hover {
        background: #ff8c00;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(250, 167, 63, 0.35);
    }

.product-btn-secondary {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}

    .product-btn-secondary:hover {
        background: #1a1a2e;
        color: #fff;
        border-color: #1a1a2e;
        transform: translateY(-2px);
    }

/* CTA Section */
.products-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #faa73f 0%, #ff8c00 100%);
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .products-hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .products-hero {
        padding: 220px 0 60px;
    }

        .products-hero h1 {
            font-size: 42px;
        }

        .products-hero p {
            font-size: 18px;
        }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .products-content-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 200px 0 50px;
    }

        .products-hero h1 {
            font-size: 32px;
        }

        .products-hero p {
            font-size: 16px;
            padding: 0 15px;
        }

    .products-content-section {
        padding: 60px 0;
    }

    .product-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .products-hero {
        padding: 180px 0 40px;
    }

        .products-hero h1 {
            font-size: 28px;
            letter-spacing: 1px;
        }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 200px;
    }

    .category-filters {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ===== Breadcrumbs ===== */
.gsn-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

    .gsn-breadcrumb li + li::before {
        content: "/";
        margin-right: 6px;
        opacity: 0.7;
    }

    .gsn-breadcrumb a {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .gsn-breadcrumb a:hover {
            color: #1a1a1a;
        }

    .gsn-breadcrumb [aria-current="page"] {
        font-weight: 600;
    }

/* Smaller hero for category / detail pages */
.products-hero.products-hero-compact {
    padding: 210px 0 60px;
}

    .products-hero.products-hero-compact h1 {
        font-size: 44px;
        letter-spacing: 1px;
    }

/* Category filter links look like the original buttons */
a.category-btn {
    display: inline-block;
    text-decoration: none;
}

/* Product card title link + image placeholder */
.product-name a {
    color: inherit;
    text-decoration: none;
}

    .product-name a:hover {
        color: #faa73f;
    }

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff4e6 0%, #ffe3bf 100%);
    color: #ff8c00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

    .product-image-placeholder i {
        font-size: 64px;
    }

/* ===== Category page ===== */
.category-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

    .category-intro p {
        font-size: 17px;
        color: #555;
        line-height: 1.8;
        margin-bottom: 16px;
    }

.category-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
}

    .category-highlights li {
        background: #fff8ef;
        border: 1px solid rgba(250, 167, 63, 0.3);
        border-radius: 14px;
        padding: 20px;
        font-size: 15px;
        color: #333;
        line-height: 1.6;
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

        .category-highlights li i {
            color: #faa73f;
            margin-top: 4px;
        }

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 35px;
}

.other-categories {
    padding: 70px 0;
    background: #f8f9fa;
}

.other-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.other-category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .other-category-card i {
        font-size: 28px;
        color: #faa73f;
    }

    .other-category-card:hover {
        color: #faa73f;
        transform: translateY(-4px);
    }

/* ===== Product detail page ===== */
.product-detail-section {
    padding: 80px 0;
    background: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image {
    border-radius: 18px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
}

    .product-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .product-detail-image.contain img {
        object-fit: contain;
        padding: 24px;
        box-sizing: border-box;
    }

.product-detail-info .product-category-tag {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.product-detail-info h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.product-detail-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.product-detail-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.product-detail-box {
    background: #fafbfd;
    border-radius: 16px;
    padding: 30px;
    border-top: 3px solid #faa73f;
}

    .product-detail-box h2 {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 18px;
    }

    .product-detail-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .product-detail-box li {
        position: relative;
        padding: 8px 0 8px 28px;
        color: #444;
        font-size: 15px;
        line-height: 1.6;
    }

        .product-detail-box li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            color: #faa73f;
            font-weight: 700;
        }

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

    .product-detail-actions .product-btn {
        flex: 0 0 auto;
        padding: 13px 24px;
        font-size: 13px;
    }

.product-btn-whatsapp {
    background: #25d366;
    color: #fff;
}

    .product-btn-whatsapp:hover {
        background: #1ebe57;
        color: #fff;
    }

.related-products {
    padding: 70px 0 90px;
    background: #f8f9fa;
}

@media (max-width: 992px) {
    .category-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid,
    .product-detail-lists {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-hero.products-hero-compact h1 {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .category-highlights {
        grid-template-columns: 1fr;
    }

    .products-hero.products-hero-compact {
        padding: 180px 0 40px;
    }

        .products-hero.products-hero-compact h1 {
            font-size: 26px;
        }

    .section-heading {
        font-size: 26px;
    }
}
