/* ── GLOBAL STYLES ─────────────────────────────────────────────────────── */
.container {
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 45px;
    border-radius: 999px;
    border: 2px solid var(--B-green-ac);
    background: transparent;
    color: var(--A-green-pr);
    font-family: 'host grotesk', prompt, sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
    transition: 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-pill:hover {
    background: var(--B-green-ac);
    border-color: var(--B-green-ac);
}

.btn-pill--solid {
    background: var(--A-pink-pr);
    border-color: var(--A-pink-pr);
    color: black;
    /* font-weight: 600; */
}
.btn-pill--solid:hover {
    background: #f59d83;
    border-color: #f59d83;
} 

/* ── PRODUCT SECTION — 4 stacked rows, no columns ────────────────────── */
.product-section {
    padding: 120px 0 80px;
}

/* ROW 1: "Honey Berries" on the left, net weight on the right */
.product-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.product-title {
    color: var(--A-green-pr);
    font-size: 80px;
    line-height: 1;
    font-family: stropica, prompt, serif;
    font-weight: 100;
    margin-block-end: 8px;
    margin-block-start: 8px;
}

.product-size {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: black;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'noto sans mono', prompt;
    transform: translate(0, 8px);
}

/* ROW 2: Our Ingredients · Nutritions · ฿ 125 · Buy Now — all one line */
.product-row-2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

/* ROW 2: Buttons left, Price + Buy Now pushed to the right */
.product-row-2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.product-row-2 .right-group {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-left: auto;
}

.product-price {
    font-size: 1.2rem;
    color: black;
    white-space: nowrap;
    font-family:'noto sans mono';
    font-weight: regular;
}

/* ROW 3: Image (half) + Description (half) side by side */
.product-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 90px;
}

.product-image {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

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

.product-desc {
    font-size: 23px;
    font-family: creato display, prompt, sans-serif;
    line-height: 1.7;
    color: #3a3a3a;
}

/* ── BENEFITS ─────────────────────────────────────────────────────────── */
.benefits { padding: 0px 0 120px; }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.benefit-card {
    background: var(--B-green-ac);
    border-radius: 20px;
    padding:0px 25px 0px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-card__big {
    color: var(--A-green-pr);
    font-size: 70px;
    line-height: 0.9;
    margin-bottom: 18px;
    font-family: 'host grotesk', prompt, sans-serif;
}

.benefit-card__small {
    font-family: 'host grotesk', prompt, sans-serif;
    color: var(--A-green-pr);
    font-size: 25px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    color: #000;
    text-decoration: none;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1;
    transition: 0.2s ease;
}

.explore-link span:last-child {
    color: var(--green);
    font-weight: 700;
    font-size: 1.2em;
}

/* .explore-link:hover { transform: translateX(6px); } */



/* ── MODALS ───────────────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 20, 0.45);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
    background: var(--A-yellow-pr);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 10px 44px 40px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--green);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.modal-close:hover { opacity: 1; }

.modal-title {
    font-family: 'host grotesk', prompt, sans-serif;
    color: black;
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.ingredients-text {
    font-size: 16px;
    line-height: 1.8;
    color: #2e2e2e;
}

.ingredients-text strong {
    color: black;
    font-weight: 550;
}

.nutrition-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.nutrition-header h2 {
    font-family: 'host grotesk', prompt, sans-serif;
    font-size: 1.2rem;
    color: black;
    font-weight: 500;
}

.nutrition-header span {
    font-size: 16px;
    color: #555;
    font-family: noto sans mono, prompt, monospace;
}

.nutrition-energy {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 3px solid var(--green);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}

.nutrition-energy p:first-child {
    font-size: 16px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nutrition-energy p:last-child {
    font-family: 'noto sans mono', prompt, monospace;
    font-size: 1.4rem;
    font-weight: 500;
    color: black;
}

.nutrition-rdi-header {
    text-align: right;
    font-size: 0.75rem;
    color: #777;
    padding: 6px 0 4px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2px;
}

.nutrition-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid #e0e0d5;
    font-size: 0.88rem;
    color: black;
    font-family: 'noto sans mono', prompt, monospace;
}

.nutrition-item strong { 
    color: black; 
    font-weight: 500;
}

.nutrition-item.indent {
    padding-left: 18px;
    font-size: 0.84rem;
    color: #555;
}

.nutrition-item span:last-child {
    color: #444;
    font-size: 0.82rem;
    min-width: 36px;
    text-align: right;
    font-family: noto sans mono, prompt, monospace;
}

.nutrition-footnote {
    margin-top: 16px;
    font-size: 0.75rem;
    color: #777;
    text-align: right;
    line-height: 1.5;
    font-family: noto sans mono, prompt, monospace;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .benefit-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 970px) {

  /* ── ROW 1 → STACK + CENTER ───────────────── */
  .product-row-1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .product-title {
    text-align: center;
  }

  .product-size {
    transform: none; /* remove your translate */
    text-align: center;
    margin-bottom: 40px;
  }

  /* ── ROW 2 → STACK + CENTER ───────────────── */
  .product-row-2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  /* buttons stay grouped */
  .product-row-2 > .btn-pill {
    width: auto;
  }

  /* right group (price + buy) moves below */
  .product-row-2 .right-group {
    margin-left: 0;   /* REMOVE push-right */
    justify-content: center;
    gap: 24px;
    width: 100%;
  }

  .product-price {
    text-align: center;
  }

  .product-row-3 {
    gap: 30px;
  }
}


@media (max-width: 640px) {
    .container        { width: calc(100% - 28px); }
    .product-row-1    { flex-direction: column; gap: 6px; }
    .product-row-3    { grid-template-columns: 1fr; }
    .benefit-grid     { grid-template-columns: 1fr; }
    .benefit-card     { min-height: 160px; }
    .modal            { padding: 40px 24px 32px; }
}