.product-page {
  background: var(--cream);
}

.product-detail-hero {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 5px 28px;

    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 34px;
    align-items: center;

    box-sizing: border-box;
}

.product-main-image {
  min-height: 500px;
  padding: 10px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e2d2;
  border-radius: 22px;
  background: white;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  max-height: 465px;
  object-fit: contain;
}

/* =========================================
   PRODUCT MEDIA GALLERY
========================================= */

/*.product-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* MAIN MEDIA */

.product-main-image {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 520px;

    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
    cursor: zoom-in;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

.product-main-image img,
.product-main-image video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 0;    
    object-fit: contain;
    display: block;
}

.product-detail-info {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}*/

/* =========================================
   THUMBNAILS
========================================= */

/*.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.product-thumbnail {
    position: relative;

    width: 82px;
    height: 82px;

    padding: 0;

    border: 2px solid transparent;
    border-radius: 12px;

    background: #fff;

    overflow: hidden;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


.product-thumbnail img,
.product-thumbnail video {
    width: 100%;
    height: 100%;

    object-fit: fill;

    display: block;
}


/* Hover 

.product-thumbnail:hover {
    border-color: #386B48;
}


/* Selected 

.product-thumbnail.active {
    border-color: #386B48;
}
*/

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 10px 0 10px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.product-thumbnail {
    position: relative;
    flex: 0 0 100px;
    width: 95px;
    height: 100px;

    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fff;

    overflow: hidden;
    cursor: pointer;

    transition:
        border-color .2s ease,
        transform .2s ease;
}

.product-thumbnail img,
.product-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbnail:hover {
    border-color: #386B48;
}

.product-thumbnail.active {
    border-color: #386B48;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    transform: translateY(-2px);
}


/* Slight visual feedback */

.product-thumbnail:hover,
.product-thumbnail.active {
    transform: translateY(-2px);
}

.thumbnail-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    padding-left: 2px;

    pointer-events: none;
}

.thumbnail-more {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);

    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;

    pointer-events: none;
}

/* =========================================
   PRODUCT GALLERY POPUP
========================================= */

.gallery-popup {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(20, 16, 12, 0.92);

    padding: 40px;
}


.gallery-popup.show {
    display: flex;
}


.gallery-popup-content {
    width: min(1000px, 85vw);
    height: min(700px, 85vh);

    display: flex;
    align-items: center;
    justify-content: center;
}


.gallery-popup-content img,
.gallery-popup-content video {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    border-radius: 12px;
}


.gallery-popup-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.12);
    color: #fff;

    font-size: 30px;

    cursor: pointer;
}


.gallery-popup-prev,
.gallery-popup-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    color: #fff;

    font-size: 25px;

    cursor: pointer;

    transition: background 0.2s ease;
}


.gallery-popup-prev {
    left: 30px;
}


.gallery-popup-next {
    right: 30px;
}


.gallery-popup-prev:hover,
.gallery-popup-next:hover,
.gallery-popup-close:hover {
    background: #386B48;
}


.gallery-popup-counter {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    color: #fff;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}

.product-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-detail-info h1 {
  margin: 10px 0 15px;
  color: var(--brown);
  font-size: clamp(38px, 4vw, 58px);
}

.product-short-description {
  color: #5f6875;
  font-size: 17px;
  line-height: 1.7;
}

.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
}

.product-detail-tags span {
  padding: 9px 14px;
  border-radius: 99px;
  background: #e8f0dc;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.product-price span {
  display: block;
  color: #667085;
  font-size: 13px;
}

.product-price strong {
  display: block;
  margin-top: 4px;
  color: var(--brown);
  font-size: 30px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 27px 0 18px;
}

.product-meta {
  color: #667085;
  font-size: 13px;
}

/* .product-information {
  padding: 75px 28px;
  background: #eef4ee;
}

.product-info-tabs {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-info-tabs article {
  padding: 30px;
  border-radius: 18px;
  background: white;
}

.product-info-tabs h2 {
  margin-top: 0;
  color: var(--brown);
  font-size: 25px;
}

.product-info-tabs p,
.product-info-tabs li {
  color: #5f6875;
  line-height: 1.65;
  font-size: 14px;
}*/

@media (max-width: 800px) {
  .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 55px 22px;
  }

  .product-main-image {
    min-height: 360px;
  }

 /* .product-information {
    padding: 55px 22px;
  } */

  .product-info-tabs {
    grid-template-columns: 1fr;
  }
}

.product-description {
    width: 100%;
    margin-top: 10px;
    padding: 50px 0 50px;

    border-top: 1px solid #e5e9e3;
}

.description-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.description-content h2 {
    margin: 0 0 15px;

    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #30342f;
}

.description-content p {
    max-width: 900px;
    margin: 0 0 35px;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.description-content ul,
.description-content ol {
    margin: 0 0 35px;
    padding-left: 22px;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

/* =========================================
   PRODUCT INGREDIENTS & BENEFITS
========================================= */


/* =========================================
   BENEFITS
========================================= */


.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 9px;

    padding: 16px 20px;
    margin-bottom: 35px;
}

.benefit-list span {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #49372f;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.benefit-list b {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #386b48;
    color: #fff;

    font-size: 11px;
}


/* =========================================================
   PRODUCT IMAGE POPUP
========================================================= */

.image-popup {

    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.88);

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    z-index: 9999;

    cursor: zoom-out;
}


/* Popup Image */

.image-popup-content {

    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 12px;

    cursor: default;
}


/* Close Button */

.image-popup-close {

    position: absolute;

    top: 20px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s ease;
}


.image-popup-close:hover {

    background: rgba(255, 255, 255, 0.30);

}

/* =========================================================
   NUTRITION & KITCHEN HELPER
========================================================= */

.nutrition-section {
    width: 100%;
    padding: 70px 0 50px;
    background: #ffffff;
}

.nutrition-container {
    width: min(1200px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: center;
}


/* =========================================================
   LEFT - NUTRITION
========================================================= */

.nutrition-info {
    min-width: 0;
}

.nutrition-eyebrow {
    display: block;
    margin-bottom: 14px;

    color: #285c3b;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.nutrition-info h2 {
    margin: 0;

    color: #10291d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 700;
}

.nutrition-info h2 em {
    display: block;

    margin-top: 3px;

    color: #356b47;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    font-weight: 400;
}

.nutrition-intro {
    max-width: 680px;
    margin: 18px 0 30px;

    color: #687486;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   NUTRITION TABLE
========================================================= */

.nutrition-table {
    width: 100%;

    overflow: hidden;

    border: 1px solid #d8e2d8;
    border-radius: 18px;

    background: #f8faf8;

    box-shadow: 0 3px 12px rgba(28, 78, 43, 0.06);
}

.nutrition-table-header {
    display: grid;
    grid-template-columns: 1fr auto;

    padding: 18px 28px;

    background: #082d1c;
    color: #ffffff;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.nutrition-table-header span:last-child {
    text-align: right;
}

.nutrition-row {
    display: grid;
    grid-template-columns: 1fr auto;

    align-items: center;

    min-height: 56px;
    padding: 0 28px;

    border-bottom: 1px solid #d8e2d8;

    color: #4d5b6d;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
}

.nutrition-row:last-child {
    border-bottom: none;
}

.nutrition-row strong {
    color: #10291d;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 800;

    text-align: right;
}


/* =========================================================
   NUTRITION FOOTER
========================================================= */

.nutrition-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 18px;

    color: #788395;

    font-family: "DM Sans", sans-serif;
    font-size: 12px;
}

.nutrition-footer a {
    color: #285c3b;

    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;

    white-space: nowrap;
}


/* =========================================================
   RIGHT - KITCHEN HELPER
========================================================= */

.kitchen-helper {
    padding: 42px;

    border-radius: 30px;

    background: #062619;
    color: #ffffff;

    box-shadow: 0 22px 45px rgba(6, 38, 25, 0.16);

    overflow: hidden;
}

.helper-eyebrow {
    display: block;
    margin-bottom: 12px;

    color: #e7eee8;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kitchen-helper h2 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.15;
}

.helper-description {
    margin: 12px 0 26px;

    color: #c7d3cb;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   BATCH SELECTOR
========================================================= */

.batch-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding: 8px;

    border: 1px solid #16452f;
    border-radius: 16px;

    background: #082f20;
}

.batch-option {
    padding: 12px 10px;

    border: none;
    border-radius: 10px;

    background: transparent;

    color: #e1e9e3;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.batch-option:hover {
    background: #11452d;
}

.batch-option.active {
    background: #1e6336;
    color: #ffffff;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   INGREDIENT CARD
========================================================= */

.ingredient-card {
    margin-top: 30px;
    padding: 14px 24px;

    border: 1px solid #16452f;
    border-radius: 18px;

    background: #06291c;
}

.ingredient-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    min-height: 51px;

    border-bottom: 1px solid #16452f;

    color: #d9e4dc;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}

.ingredient-row:last-child {
    border-bottom: none;
}

.ingredient-row strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    text-align: right;
}


/* =========================================================
   HELPER FOOTER
========================================================= */

.helper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 25px;

    color: #d5dfd8;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
}

.helper-footer a {
    color: #ffffff;

    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;

    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .nutrition-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nutrition-info h2 {
        font-size: 38px;
    }

    .nutrition-info h2 em {
        font-size: 35px;
    }

    .kitchen-helper {
        padding: 35px;
    }
}


@media (max-width: 600px) {

    .nutrition-section {
        padding: 60px 0;
    }

    .nutrition-container {
        width: 90%;
    }

    .nutrition-info h2 {
        font-size: 32px;
    }

    .nutrition-info h2 em {
        font-size: 29px;
    }

    .nutrition-intro {
        font-size: 14px;
    }

    .nutrition-table-header {
        padding: 15px 16px;

        font-size: 11px;
    }

    .nutrition-row {
        min-height: 52px;
        padding: 0 16px;

        font-size: 13px;
    }

    .nutrition-row strong {
        font-size: 12px;
    }

    .nutrition-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .kitchen-helper {
        padding: 25px 20px;

        border-radius: 22px;
    }

    .kitchen-helper h2 {
        font-size: 26px;
    }

    .batch-selector {
        grid-template-columns: repeat(3, 1fr);
        flex-wrap: nowrap;
    }

    .batch-option {
        padding: 11px;
    }

    .ingredient-card {
        padding: 10px 16px;
    }

    .ingredient-row {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;

        gap: 4px;

        padding: 10px 0;

        font-size: 13px;
    }

    .ingredient-row strong {
        text-align: left;
    }

    .helper-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   HOW TO BAKE - 8 STEP METHOD
========================================================= */

.baking-method {
    width: 100%;
    padding: 50px 0 70px;

    background: #fbfcfa;

    position: relative;
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.baking-header {
    width: min(1200px, 92%);
    margin: 0 auto 40px;

    text-align: center;
}

.baking-eyebrow {
    display: block;
    margin-bottom: 14px;

    color: #285c3b;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.baking-header h2 {
    margin: 0;

    color: #10291d;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
}

.baking-header p {
    max-width: 800px;
    margin: 15px auto 0;

    color: #687486;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   STEPS GRID
========================================================= */

.baking-steps {

    width: min(1200px, 92%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   STEP CARD
========================================================= */

.baking-step {

    min-width: 0;
    min-height: 265px;

    padding: 24px;

    padding-top: 105px;

    border: 1px solid #d8e3d9;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 2px 7px rgba(28, 78, 43, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

    position: relative;

    overflow: hidden;
}


.baking-step:hover {

    transform: translateY(-4px);

    border-color: #bfd2c2;

    box-shadow:
        0 10px 25px rgba(28, 78, 43, 0.08);
}


/* =========================================================
   STEP NUMBER
========================================================= */

.step-number {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: absolute;

    top: 20px;
    left: 20px;

    border-radius: 50%;

    background: #082d1c;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    font-weight: 800;
}


/* =========================================================
   STEP ICON
========================================================= */

.step-icon {

    --icon-size: 100px;

    position: absolute;

    top: 15px;
    right: 20px;

    width: var(--icon-size);
    height: var(--icon-size);

    display: flex;

    align-items: center;
    justify-content: center;
}


.step-icon img {

    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.baking-step h3 {

    margin: 0 0 12px;

    color: #10291d;

    font-family: "DM Sans", sans-serif;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 800;
}


.baking-step p {

    margin: 0;

    color: #687486;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    line-height: 1.65;
}


.baking-step p strong {

    color: #10291d;

    font-weight: 700;
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .baking-steps {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .baking-header {

        margin-bottom: 55px;

    }

}


@media (max-width: 650px) {

    .baking-method {

        padding: 65px 0 70px;

    }

    .baking-header {

        width: 90%;

        margin-bottom: 45px;

    }

    .baking-header h2 {

        font-size: 34px;

    }

    .baking-header p {

        font-size: 14px;

    }

    .baking-steps {

        width: 90%;

        grid-template-columns: 1fr;

        gap: 18px;

    }

    .baking-step {

        min-height: 270px;

        padding: 24px;

        padding-top: 95px;

    }

    .step-number {

        width: 36px;
        height: 36px;

        top: 18px;
        left: 18px;

        font-size: 14px;

    }

    .step-icon {

        --icon-size: 70px;

        top: 15px;
        right: 18px;

    }

}

/* =========================
   CONTACT POPUP
========================= */

.contact-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.contact-popup.show {
    display: flex;
}


/* Dark background */

.contact-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}


/* Popup box */

.contact-popup-box {
    position: relative;
    z-index: 2;

    width: min(720px, calc(100% - 32px));
    max-height: 90vh;

    overflow-y: auto;

    background: #fff;
    border-radius: 20px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

    animation: contactPopupIn 0.25s ease;
}


/* Popup animation */

@keyframes contactPopupIn {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* Close button */

.contact-popup-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #49372f;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.contact-popup-close:hover {
    background: #f1eee8;
    color: #386b48;
}


/* Remove outer spacing if contact-box already had section styling */

.contact-popup-box .contact-box {
    margin: 0;
    border-radius: 20px;
    box-shadow: none;
}


/* Mobile */

@media (max-width: 600px) {

    .contact-popup-box {
        width: calc(100% - 20px);
        max-height: 92vh;
        border-radius: 16px;
    }

    .contact-popup-box .contact-box {
        padding: 28px 20px;
    }

}

/* =========================================================
   ADDITIONAL RESPONSIVE OVERRIDES
   Existing product styles and comments remain unchanged.
========================================================= */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.product-page {
    width: 100%;
    overflow-x: hidden;
}

.product-detail-hero > * {
    min-width: 0;
}


/* =========================================================
   LARGE LAPTOP / SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .product-detail-hero {
        width: 94%;
        gap: 28px;
        padding-left: 0;
        padding-right: 0;
    }

    .product-main-image {
        height: 500px;
    }

    .product-detail-info h1 {
        font-size: clamp(36px, 4.5vw, 52px);
    }

    .nutrition-container {
        width: 94%;
        gap: 45px;
    }

    .kitchen-helper {
        padding: 35px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 900px) {

    .product-detail-hero {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 0;
    }

    .product-main-image {
        width: 100%;
        height: min(520px, 70vw);
        min-height: 360px;
    }

    .product-detail-info {
        width: 100%;
    }

    .product-detail-info h1 {
        font-size: clamp(36px, 6vw, 50px);
        line-height: 1.05;
    }

    .product-short-description {
        font-size: 16px;
    }

    .product-actions {
        width: 100%;
    }

    .product-thumbnails {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .product-thumbnail {
        flex: 0 0 88px;
        width: 88px;
        height: 92px;
    }

    .description-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .nutrition-container {
        width: 92%;
    }

    .nutrition-table {
        width: 100%;
    }

    .baking-steps {
        width: 92%;
    }

}


/* =========================================================
   TABLET / LARGE MOBILE
========================================================= */

@media (max-width: 768px) {

    .product-detail-hero {
        width: 92%;
        padding-top: 30px;
        padding-bottom: 45px;
    }

    .product-main-image {
        height: 72vw;
        min-height: 330px;
        max-height: 500px;
        border-radius: 20px;
    }

    .product-main-image img,
    .product-main-image video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-thumbnails {
        margin-top: 12px;
        padding: 8px 4px 0;
        gap: 8px;
    }

    .product-thumbnail {
        flex-basis: 82px;
        width: 82px;
        height: 86px;
    }

    .product-label {
        font-size: 11px;
    }

    .product-detail-info h1 {
        font-size: clamp(34px, 7vw, 46px);
    }

    .product-short-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .product-detail-tags {
        gap: 7px;
        margin: 20px 0;
    }

    .product-detail-tags span {
        padding: 8px 11px;
        font-size: 12px;
    }

    .product-price strong {
        font-size: 27px;
    }

    .product-actions {
        gap: 10px;
    }

    .product-description {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .description-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .description-content h2 {
        font-size: 22px;
    }

    .description-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .gallery-popup {
        padding: 20px;
    }

    .gallery-popup-content {
        width: 94vw;
        height: 78vh;
    }

    .gallery-popup-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 27px;
    }

    .gallery-popup-prev,
    .gallery-popup-next {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .gallery-popup-prev {
        left: 12px;
    }

    .gallery-popup-next {
        right: 12px;
    }

    .gallery-popup-counter {
        bottom: 15px;
        font-size: 12px;
    }

    .image-popup {
        padding: 18px;
    }

    .image-popup-content {
        max-width: 94vw;
        max-height: 82vh;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .product-detail-hero {
        width: calc(100% - 32px);
        gap: 25px;
        padding-top: 25px;
        padding-bottom: 35px;
    }

    .product-main-image {
        height: 110vw;
        min-height: 300px;
        max-height: 500px;
        border-radius: 18px;
        padding: 6px;
    }

    .product-main-image img,
    .product-main-image video {
        object-fit: contain;
    }

    .product-thumbnails {
        padding: 6px 2px 0;
        gap: 7px;
    }

    .product-thumbnail {
        flex-basis: 72px;
        width: 72px;
        height: 76px;
        border-radius: 10px;
    }

    .product-detail-info h1 {
        font-size: clamp(31px, 9vw, 40px);
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .product-short-description {
        font-size: 14px;
        line-height: 1.65;
    }

    .product-detail-tags {
        margin: 18px 0;
    }

    .product-detail-tags span {
        padding: 7px 10px;
        font-size: 11px;
    }

    .product-price strong {
        font-size: 25px;
    }

    .product-actions {
        flex-direction: column;
        width: 100%;
    }

    .product-actions .button,
    .product-actions a,
    .product-actions button {
        width: 100%;
        text-align: center;
    }

    .product-description {
        margin-top: 5px;
        padding: 35px 0;
    }

    .description-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .description-content h2 {
        font-size: 21px;
        line-height: 1.25;
    }

    .description-content p {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 25px;
    }

    .description-content ul,
    .description-content ol {
        font-size: 14px;
        line-height: 1.8;
        padding-left: 20px;
    }

    .nutrition-section {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .nutrition-container {
        width: 92%;
        gap: 35px;
    }

    .nutrition-info h2 {
        font-size: 30px;
    }

    .nutrition-info h2 em {
        font-size: 27px;
    }

    .nutrition-intro {
        font-size: 14px;
    }

    .nutrition-table {
        border-radius: 14px;
    }

    .nutrition-table-header {
        padding: 13px 14px;
        font-size: 10px;
    }

    .nutrition-row {
        min-height: 50px;
        padding: 0 14px;
        font-size: 12px;
        gap: 12px;
    }

    .nutrition-row strong {
        font-size: 11px;
        white-space: nowrap;
    }

    .nutrition-footer {
        gap: 8px;
        font-size: 11px;
    }

    .kitchen-helper {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .helper-eyebrow {
        font-size: 11px;
    }

    .kitchen-helper h2 {
        font-size: 25px;
    }

    .helper-description {
        font-size: 13px;
    }

    .batch-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .batch-option {
        padding: 10px;
    }

    .ingredient-card {
        padding: 8px 14px;
        margin-top: 22px;
    }

    .ingredient-row {
        min-height: auto;
        padding: 10px 0;
    }

    .ingredient-row strong {
        white-space: normal;
    }

    .helper-footer {
        gap: 8px;
        font-size: 12px;
    }

    .baking-method {
        padding-top: 55px;
        padding-bottom: 60px;
    }

    .baking-header {
        width: 90%;
    }

    .baking-header h2 {
        font-size: 32px;
    }

    .baking-header p {
        font-size: 14px;
    }

    .baking-steps {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .baking-step {
        min-height: 250px;
        padding: 22px;
        padding-top: 90px;
    }

    .baking-step h3 {
        font-size: 18px;
    }

    .baking-step p {
        font-size: 14px;
    }

    .step-number {
        width: 34px;
        height: 34px;
        top: 17px;
        left: 17px;
        font-size: 13px;
    }

    .step-icon {
        --icon-size: 65px;
        top: 14px;
        right: 17px;
    }

    .contact-popup-box {
        width: calc(100% - 20px);
        max-height: 92vh;
        border-radius: 16px;
    }

    .contact-popup-box .contact-box {
        padding: 28px 20px;
    }

    .contact-popup-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .product-detail-hero {
        width: calc(100% - 24px);
    }

    .product-main-image {
        height: 112vw;
        min-height: 285px;
    }

    .product-thumbnail {
        flex-basis: 66px;
        width: 66px;
        height: 70px;
    }

    .product-detail-info h1 {
        font-size: 30px;
    }

    .product-detail-tags span {
        font-size: 10px;
        padding: 6px 9px;
    }

    .product-price strong {
        font-size: 23px;
    }

    .description-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nutrition-container {
        width: 90%;
    }

    .nutrition-table-header {
        padding-left: 11px;
        padding-right: 11px;
    }

    .nutrition-row {
        padding-left: 11px;
        padding-right: 11px;
        gap: 8px;
    }

    .nutrition-row strong {
        font-size: 10px;
    }

    .kitchen-helper {
        padding-left: 16px;
        padding-right: 16px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .product-main-image {
        height: 115vw;
        min-height: 270px;
    }

    .product-detail-info h1 {
        font-size: 28px;
    }

    .product-short-description {
        font-size: 13px;
    }

    .product-thumbnail {
        flex-basis: 60px;
        width: 60px;
        height: 64px;
    }

    .nutrition-row {
        font-size: 11px;
    }

    .nutrition-row strong {
        font-size: 9px;
    }

    .kitchen-helper h2 {
        font-size: 23px;
    }

}