/* =========================================
   GREEN VERGES
   PRODUCTS PAGE
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    background: #f7f1e6;
    color: #2f352d;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #243b2a;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: 125px;
    height: auto;
    object-fit: contain;
}


/* =========================================
   NAVIGATION
========================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    position: relative;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition:
        color 0.25s ease;
}

.nav-links a:hover {
    color: #b08c21;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #b08c21;
    transition:
        width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* SHOP BUTTON */

.nav-shop {
    background: #b08c21;
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 30px;
}

.nav-shop::after {
    display: none;
}

.nav-shop:hover {
    background: #9a8753;
    color: #ffffff !important;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    background: #ffffff;
}


/* =========================================
   PRODUCTS HERO
========================================= */

.products-hero {
    min-height: 220px;
    margin-top: 80px;

    /* WARM CREAM */
    background: #f7f1e6;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 35px 30px 30px;

    position: relative;
    overflow: hidden;
}


/* =========================================
   DECORATIVE CIRCLE
========================================= */

.products-hero::before {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(111, 139, 108, 0.16);

    top: -190px;
    left: -120px;
}


/* =========================================
   DECORATIVE CIRCLE
========================================= */

.products-hero::after {
    content: "";
    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background: rgba(176, 140, 33, 0.10);

    right: -120px;
    bottom: -170px;
}


/* =========================================
   HERO CONTENT
========================================= */

.products-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}


/* =========================================
   EYEBROW
========================================= */

.eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #3f6044;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================
   HERO TITLE
========================================= */

.products-hero h1 {
    color: #243b2a;

    font-size:
        clamp(
            38px,
            4.5vw,
            56px
        );

    line-height: 1;

    font-weight: 500;

    letter-spacing: -2px;

    margin-bottom: 12px;
}

.products-hero h1 span {
    color: #b08c21;
    font-style: italic;
}


/* =========================================
   HERO DESCRIPTION
========================================= */

.products-hero p {
    max-width: 570px;

    margin: 0 auto;

    color: #706b61;

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================
   PRODUCTS SECTION
========================================= */

.products-section {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    /* WARM CREAM */
    background: #f7f1e6;

    padding:
        45px
        50px
        100px;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.section-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: #3f6044;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;
}

.section-heading h2 {
    color: #243b2a;

    font-size:
        clamp(
            30px,
            3.5vw,
            44px
        );

    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -1px;
}

.product-count {
    color: #706b61;

    font-size: 14px;

    white-space: nowrap;
}


/* =========================================
   PRODUCT GRID
========================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 45px 28px;
}


/* =========================================
   PRODUCT CARD
========================================= */

.product-card {
    min-width: 0;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(36, 59, 42, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 40px rgba(36, 59, 42, 0.14);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.product-image-wrapper {
    position: relative;

    display: block;

    width: 100%;

    height: 240px;

    overflow: hidden;

    background: #eee4d4;
}

.product-image-wrapper img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}

.product-card:hover
.product-image-wrapper img {
    transform: scale(1.04);
}


/* =========================================
   PRODUCT IMAGE LABEL
========================================= */

.product-image-label {
    position: absolute;

    left: 15px;
    top: 15px;

    padding: 7px 11px;

    background:
        rgba(
            247,
            241,
            230,
            0.94
        );

    color: #243b2a;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    border-radius: 20px;
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.product-content {
    padding:
        18px
        20px
        20px;
}

.product-title-row {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;
}

.product-title-row h3 {
    color: #243b2a;

    font-size: 19px;

    font-weight: 600;

    line-height: 1.2;
}

.product-price {
    color: #b08c21;

    font-size: 17px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================
   PRODUCT DESCRIPTION
========================================= */

.product-description {
    max-width: 420px;

    min-height: 40px;

    color: #706b61;

    font-size: 12px;

    line-height: 1.5;

    margin-bottom: 14px;
}


/* =========================================
   PRODUCT FOOTER
========================================= */

.product-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-top: 13px;

    border-top:
        1px solid #e2e7dc;
}

.pack-size {
    color: #706b61;

    font-size: 12px;

    font-weight: 600;
}


/* =========================================
   ADD TO CART BUTTON
========================================= */

.add-cart-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 39px;

    padding: 0 17px;

    border: none;

    border-radius: 30px;

    background: #243b2a;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.add-cart-button span {
    font-size: 16px;

    line-height: 1;
}

.add-cart-button:hover {
    background: #3f6044;

    transform: translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #1d3022;

    color: #ffffff;

    padding:
        60px
        50px
        25px;
}

.footer-container {
    max-width: 1400px;

    margin: 0 auto;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 45px;
}


/* FOOTER BRAND */

.footer-brand img {
    width: 120px;

    margin-bottom: 15px;
}

.footer-brand p {
    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 13px;

    line-height: 1.6;
}


/* FOOTER LINKS */

.footer-links {
    display: flex;

    gap: 30px;
}

.footer-links a {
    color:
        rgba(
            255,
            255,
            255,
            0.8
        );

    font-size: 13px;

    transition:
        color 0.25s ease;
}

.footer-links a:hover {
    color: #b08c21;
}


/* FOOTER BOTTOM */

.footer-bottom {
    max-width: 1400px;

    margin: 0 auto;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );
}

.footer-bottom p {
    color:
        rgba(
            255,
            255,
            255,
            0.5
        );

    font-size: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar-container {
        padding: 0 30px;
    }

    .nav-links {
        gap: 22px;
    }

    .products-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .products-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 45px 25px;
    }

    .product-image-wrapper {
        height: 260px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    /* NAVBAR */

    .navbar {
        height: 68px;
    }

    .navbar-container {
        padding: 0 20px;
    }

    .logo {
        width: 105px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }


    /* HERO */

    .products-hero {
        min-height: 250px;

        margin-top: 68px;

        background: #f7f1e6;

        padding:
            45px
            20px
            40px;
    }

    .products-hero h1 {
        font-size:
            clamp(
                40px,
                12vw,
                56px
            );

        letter-spacing: -1.5px;
    }

    .products-hero p {
        font-size: 14px;

        line-height: 1.65;
    }


    /* PRODUCTS */

    .products-section {
        background: #f7f1e6;

        padding:
            55px
            20px
            80px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 30px;

        gap: 8px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .products-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .product-image-wrapper {
        height: 300px;
    }

    .product-description {
        min-height: auto;
    }


    /* FOOTER */

    .footer {
        padding:
            50px
            20px
            25px;
    }

    .footer-container {
        flex-direction: column;

        gap: 35px;
    }

    .footer-links {
        flex-wrap: wrap;

        gap: 20px;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 430px) {

    .products-hero {
        min-height: 230px;

        background: #f7f1e6;

        padding:
            40px
            18px
            35px;
    }

    .products-hero h1 {
        font-size: 40px;
    }

    .products-section {
        padding-top: 45px;

        background: #f7f1e6;
    }

    .product-image-wrapper {
        height: 280px;
    }

    .product-title-row h3 {
        font-size: 19px;
    }

    .product-price {
        font-size: 16px;
    }

    .product-footer {
        align-items: stretch;

        flex-direction: column;
    }

    .add-cart-button {
        width: 100%;
    }
}