﻿/* =========================================================
   PRODUCT DETAILS PAGE
   Page-specific CSS only
========================================================= */


/* =========================================================
   1. HERO
   Existing hero styling - DO NOT CHANGE
========================================================= */

.product-detail-hero-title {
    margin-top: 22px;
    margin-bottom: 12px;
}

.product-detail-hero-description {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--mau-text);
    font-size: 1.2rem;
    line-height: 1.55;
}


/* =========================================================
   2. FEATURE STRIP
   Existing strip styling - DO NOT CHANGE
========================================================= */

.products-feature-strip {
    background-color: var(--mau-green-dark);
    box-shadow: none;
}

    .products-feature-strip .products-feature-item {
        min-height: 92px;
        padding: 12px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }

    .products-feature-strip .row > div:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.22);
    }

.products-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 0;
    color: var(--mau-white);
    font-size: 2rem;
}

.products-feature-strip .mau-feature-content {
    text-align: left;
}

    .products-feature-strip .mau-feature-content h6 {
        margin-bottom: 4px;
        color: var(--mau-white);
        font-size: var(--fs-sm);
        font-weight: 700;
        line-height: 1.25;
    }

    .products-feature-strip .mau-feature-content p {
        margin: 0;
        color: rgba(255, 255, 255, 0.75);
        font-size: var(--fs-xs);
        line-height: 1.4;
    }


/* =========================================================
   3. PRODUCT ABOUT
========================================================= */

.product-detail-about {
    padding: 55px 0 35px;
    background-color: var(--mau-white);
}

.product-detail-main-image {
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: var(--radius-md);
    background-color: #f5f5f2;
}

    .product-detail-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.product-detail-content {
    padding-left: 10px;
}

.product-detail-title {
    margin-bottom: 10px;
    color: var(--mau-green);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.2;
}

.product-detail-title-line {
    width: 42px;
    height: 3px;
    margin-bottom: 18px;
    background-color: var(--mau-gold);
}

.product-detail-about-text {
    max-width: 680px;
    margin-bottom: 25px;
    color: var(--mau-text);
    font-size: 1rem;
    line-height: 1.65;
}


/* =========================================================
   4. PRODUCT BENEFITS
========================================================= */

.product-detail-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 45px;
    row-gap: 22px;
}

.product-detail-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.product-detail-benefit-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #e4f4eb;
    color: var(--mau-green);
    font-size: 1.35rem;
}

.product-detail-benefit-content {
    padding-top: 2px;
}

.product-detail-benefit h5 {
    margin: 0 0 4px;
    color: var(--mau-green);
    font-size: var(--fs-base);
    font-weight: 700;
    line-height: 1.3;
}

.product-detail-benefit p {
    margin: 0;
    color: var(--mau-text);
    font-size: var(--fs-sm);
    line-height: 1.5;
}


/* =========================================================
   5. PRODUCT INFORMATION
========================================================= */

.product-detail-info {
    padding: 0 0 35px;
    background-color: var(--mau-white);
}

.product-info-card {
    height: 100%;
    padding: 18px 20px 20px;
    border-radius: var(--radius-md);
    background-color: #f3f8f2;
}

.product-feeding-card {
    background-color: #faf7ed;
}

.product-pack-card {
    background-color: #f3f8f2;
}

.product-info-card-header {
    margin-bottom: 14px;
}

    .product-info-card-header h3 {
        margin: 0 0 9px;
        color: var(--mau-green);
        font-family: var(--font-heading);
        font-size: var(--fs-lg);
        font-weight: 700;
        line-height: 1.2;
    }

    .product-info-card-header span {
        display: block;
        width: 32px;
        height: 3px;
        background-color: var(--mau-gold);
    }


/* =========================================================
   6. KEY INGREDIENTS
========================================================= */

.product-ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.product-ingredient {
    text-align: center;
}

.product-ingredient-image {
    width: 66px;
    height: 66px;
    margin: 2px auto 10px;
    overflow: hidden;
    border-radius: 50%;
}

    .product-ingredient-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.product-ingredient-name {
    color: var(--mau-text);
    font-size: 0.78rem;
    line-height: 1.35;
}


/* =========================================================
   7. FEEDING GUIDE
========================================================= */

.product-feeding-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.product-feeding-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #deded6;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.55);
    color: var(--mau-text);
    font-size: 0.76rem;
}

    .product-feeding-table th,
    .product-feeding-table td {
        padding: 8px 9px;
        border-right: 1px solid #deded6;
        border-bottom: 1px solid #deded6;
        vertical-align: middle;
        line-height: 1.35;
    }

        .product-feeding-table th:last-child,
        .product-feeding-table td:last-child {
            border-right: 0;
        }

    .product-feeding-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .product-feeding-table th {
        background-color: #f0eee5;
        color: var(--mau-text);
        font-size: 0.72rem;
        font-weight: 700;
    }

    .product-feeding-table td {
        background-color: rgba(255, 255, 255, 0.35);
    }


/* =========================================================
   8. AVAILABLE PACK SIZES
========================================================= */

.product-pack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding-top: 8px;
}

.product-pack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 125px;
    text-align: center;
}

.product-pack-icon {
    width: 48px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--mau-green);
}

    .product-pack-icon svg {
        width: 100%;
        height: 100%;
    }

.product-pack-item span {
    display: block;
    max-width: 70px;
    color: var(--mau-text);
    font-size: var(--fs-sm);
    line-height: 1.3;
}


/* =========================================================
   9. HELP CTA
========================================================= */

.product-detail-help {
    padding-bottom: 35px;
}


/* =========================================================
   10. TABLET
========================================================= */

@media (max-width: 991.98px) {

    .product-detail-main-image {
        height: 380px;
    }

    .product-detail-content {
        padding-left: 0;
    }

    .product-detail-benefits {
        column-gap: 30px;
    }

    .product-ingredients-grid {
        gap: 8px;
    }

    .product-ingredient-image {
        width: 60px;
        height: 60px;
    }

    .product-pack-item {
        min-height: 115px;
    }
}


/* =========================================================
   11. MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .product-detail-about {
        padding: 40px 0 30px;
    }

    .product-detail-main-image {
        height: 320px;
        padding: 20px;
    }

    .product-detail-content {
        padding-left: 0;
    }

    .product-detail-title {
        font-size: 1.8rem;
    }

    .product-detail-benefits {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .product-info-card {
        padding: 18px;
    }

    .product-ingredients-grid {
        gap: 12px;
    }

    .product-ingredient-image {
        width: 62px;
        height: 62px;
    }

    .product-ingredient-name {
        font-size: 0.75rem;
    }

    .product-feeding-table {
        min-width: 560px;
    }

    .product-pack-item {
        min-height: 110px;
    }

    .product-detail-help {
        padding-bottom: 25px;
    }
}
