/* ================= PAGE ================= */

.product-page {
    width: 100%;

    background: #ffffff;

    box-sizing: border-box;

    overflow: visible;
}


/* ================= NAVBAR ================= */

body {
    padding-top: 0 !important;
}

.navbar {
    position: relative !important;

    top: auto;
    left: auto;

    width: 100%;

    z-index: 10;
}


/* ================= PRODUCT HEADER ================= */

.product-header {
    width: 100%;

    padding: 48px 45px 0;

    box-sizing: border-box;
}


.product-header h1 {
    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: 35px;
    font-weight: 600;
    line-height: 22.4px;
    letter-spacing: -0.64px;
    color: #404040;
    white-space: nowrap;
}


.product-header p {
    margin: 18px 0 0;

    font-family: "Inter", sans-serif;

    font-size:  18px;

    font-weight: 500;

    line-height: 1.4;

    color: #668357;
}


/* ================= MAIN PRODUCT AREA ================= */

.product-main {
    width: 100%;

    max-width: 1300px;

    margin: 68px auto 0;

    padding: 0 45px 90px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: 570px 1fr;

    column-gap: 80px;

    align-items: start;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.product-left {
    width: 100%;

    box-sizing: border-box;
}


/* ================= MAIN IMAGE ================= */

.main-product-image {
    width: 500px;

    height: 440px;

    overflow: hidden;

    border-radius: 14px;

    background: #f4f2e8;
}


.main-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ================= STEP CARDS ================= */

.product-steps {
    width: 100%;

    margin-top: 60px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    box-sizing: border-box;
}


/* ================= INDIVIDUAL STEP ================= */

.step-card {
    width: 100%;

    min-height: 260px;

    padding: 10px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #dedede;

    border-radius: 9px;

    overflow: hidden;
}


/* ================= STEP IMAGE ================= */

.step-image {
    width: 100%;

    height: 135px;

    overflow: hidden;

    border: 1px solid #8aa477;

    border-radius: 8px;

    background: #f7f4e9;
}


.step-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ================= STEP TITLE ================= */

.step-card h3 {
    margin: 18px 0 8px;

    font-family: "Inter", sans-serif;

    font-size: 17px;

    font-weight: 500;

    line-height: 1.3;

    color: #668357;
}


/* ================= STEP DESCRIPTION ================= */

.step-card p {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.45;

    color: #34485a;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.product-right {
    width: 100%;

    box-sizing: border-box;

    padding-top: 8px;
}


/* ================= INFORMATION BLOCK ================= */

.product-info-block {
    width: 100%;

    margin: 0;
}


.product-info-block h2 {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 25px;

    font-weight: 400;

    line-height: 28.8px;

    letter-spacing: -0.576px;

    color: #668357;

    overflow-wrap: break-word;
    word-break: break-word;
}


.product-info-block p {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.4;

    color: #34485a;
}

.product-info-block > h2:first-child {
    margin-bottom: 35px;
}

/* ================= INGREDIENTS ================= */

.ingredients-block {
    margin-top: 27px;
}


.ingredients-block h2 {
    margin-bottom: 0;
}


/* ================= THOUGHTFULLY CRAFTED ================= */

.crafted-block {
    margin-top: 85px;
}


.crafted-block h2 {
    margin-bottom: 26px;
}


.crafted-block p {
    max-width: 590px;
}


/* ================= BENEFITS ================= */

.benefits-block {
    margin-top: 25px;
}


.benefits-block h2 {
    margin-bottom: 25px;
}


/* ================= BENEFITS LIST ================= */

.benefits-list {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.benefits-list p {
    margin: 0;

    font-size: 18px;

    line-height: 1.35;

    color: #34485a;
}


/* ================= SAMPLE BUTTON ================= */

.sample-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 250px;
    height: 52px;

    margin-top: 45px;

    box-sizing: border-box;

    background: #6f8d61;
    border-radius: 8px;

    color: white;
    text-decoration: none;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;

    transition: background 0.2s ease;
}

.sample-button span {
    font-size: 23px;
    line-height: 1;
}

.sample-button:hover {
    background: #355f2a;
}


/* =========================================================
   PRODUCTS PAGE - RESPONSIVE
   Desktop UI remains unchanged
   ========================================================= */


/* ================= TABLET ================= */

@media screen and (max-width: 1100px) {

    .product-header {
        padding-left: 35px;
        padding-right: 35px;
    }

    .product-main {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 45px;
        padding-left: 35px;
        padding-right: 35px;
    }

    .main-product-image {
        width: 100%;
        height: 450px;
    }

    .product-steps {
        width: 100%;
        gap: 6px;
    }

    .step-card {
        padding: 8px;
    }

    .step-image {
        height: 125px;
    }

    .step-card h3 {
        font-size: 15px;
    }

    .step-card p {
        font-size: 13px;
    }

    .product-info-block h2 {
        font-size: 25px;
    }

    .product-info-block p,
    .benefits-list p {
        font-size: 16px;
    }
}


/* ================= MOBILE ================= */

@media screen and (max-width: 800px) {

    /* Prevent horizontal scrolling */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* PRODUCT HEADER */

    .product-header {
        width: 100%;
        padding: 35px 25px 0;
        box-sizing: border-box;
    }

    .product-header h1 {
        font-size: 34px;
        line-height: 1.2;
        white-space: normal;
    }

    .product-header p {
        font-size: 17px;
        line-height: 1.4;
    }


    /* MAIN PRODUCT AREA */

    .product-main {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 55px;

        margin-top: 45px;

        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 60px;

        box-sizing: border-box;
    }


    /* LEFT SIDE */

    .product-left {
        width: 100%;
        min-width: 0;
    }


    /* MAIN PRODUCT IMAGE */

    .main-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 0.9;
    }

    .main-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* STEP CARDS */

    .product-steps {
        width: 100%;
        margin-top: 30px;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 8px;
    }

    .step-card {
        width: 100%;
        min-width: 0;
        min-height: 250px;
        padding: 8px;
    }

    .step-image {
        width: 100%;
        height: 110px;
    }

    .step-card h3 {
        font-size: 15px;
        line-height: 1.3;
    }

    .step-card p {
        font-size: 13px;
        line-height: 1.45;
    }


    /* RIGHT SIDE */

    .product-right {
        width: 100%;
        min-width: 0;
        padding-top: 0;
    }


    /* INFORMATION */

    .product-info-block {
        width: 100%;
    }

    .product-info-block h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .product-info-block p {
        font-size: 16px;
        line-height: 1.5;
    }


    /* CRAFTED */

    .crafted-block {
        margin-top: 55px;
    }


    /* BENEFITS */

    .benefits-list {
        gap: 18px;
    }

    .benefits-list p {
        font-size: 16px;
        line-height: 1.4;
    }


    /* SAMPLE BUTTON */

    .sample-button {
        width: 100%;
        max-width: 100%;
        height: 52px;
    }
}


/* ================= SMALL MOBILE ================= */

@media screen and (max-width: 560px) {

    .product-header {
        padding: 30px 20px 0;
    }

    .product-header h1 {
        font-size: 30px;
    }

    .product-header p {
        font-size: 16px;
    }


    .product-main {
        margin-top: 35px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 45px;
    }


    /* STEP CARDS BECOME VERTICAL */

    .product-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .step-card {
        min-height: auto;
        padding: 10px;
    }

    .step-image {
        height: 180px;
    }

    .step-card h3 {
        font-size: 17px;
    }

    .step-card p {
        font-size: 14px;
    }


    /* PRODUCT INFORMATION */

    .product-info-block h2 {
        font-size: 24px;
    }

    .product-info-block p {
        font-size: 15px;
        line-height: 1.55;
    }

    .benefits-list p {
        font-size: 15px;
    }


    /* BUTTON */

    .sample-button {
        width: 100%;
        height: 50px;
        font-size: 15px;
    }
}


/* ================= VERY SMALL PHONES ================= */

@media screen and (max-width: 380px) {

    .product-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-header h1 {
        font-size: 28px;
    }

    .product-header p {
        font-size: 14px;
    }

    .product-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-product-image {
        aspect-ratio: 1 / 1;
    }

    .step-image {
        height: 160px;
    }

    .product-info-block h2 {
        font-size: 22px;
    }

    .product-info-block p {
        font-size: 14px;
    }

    .sample-button {
        height: 48px;
        font-size: 14px;
    }
}


/* ================= ACTIVE NAVBAR ================= */

.nav-links a.active {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}