/* Milk Drinks page — Figma frame 6:528 */
:root { --md-pink: #c64969; --md-yellow: #ebcd32; --md-pill: #dcd5c5; }

.md-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 243px; min-height: 76px; padding: 20px 32px;
  border: 0; border-radius: 90px; font-family: var(--font); font-weight: 600; font-size: 24px; line-height: 1.5; text-decoration: none;
  cursor: pointer; filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)); transition: transform .15s ease, box-shadow .15s ease; }
.md-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(86,57,22,.2); }
.md-btn:focus-visible, .md-switch__item:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }
.md-btn--yellow { background: var(--md-yellow); color: var(--ink); }
.md-btn--pink { background: var(--md-pink); color: var(--white); }

/* hero (6:637) */
.md-hero { position: relative; }
.md-hero__img, .md-product__img { width: 100%; aspect-ratio: 1440 / 814; object-fit: cover; }
.md-hero__btn { position: absolute; left: 50%; top: 78.6%; transform: translateX(-50%); font-family: var(--font-ui); min-width: 244px; }
.md-hero__btn:hover { transform: translate(-50%, -2px); }

/* pill switch (6:622) */
.md-switch { background: var(--md-pink); height: 128px; display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.md-switch__pill { display: flex; align-items: center; gap: 8px; background: var(--md-pill); border-radius: 77px; padding: 8px; }
.md-switch__item { min-width: 190px; padding: 14px 32px; border-radius: 90px; text-align: center; font-weight: 500; font-size: 27px; line-height: 1.5;
  color: var(--md-pink); text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.md-switch__item.is-active { background: var(--md-pink); color: var(--white); font-weight: 600; min-width: 243px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)); }
.md-switch__item:not(.is-active):hover { background: var(--md-pink); color: var(--white); }

/* product bands (6:630 Bandung Rose, 6:647 Panda Milk) */
.md-product { position: relative; overflow: hidden; scroll-margin-top: 170px; }
.md-product__copy { position: absolute; top: 15.8%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center;
  gap: clamp(16px, 1.6vw, 24px); text-align: center; }
.md-product h2 { font-family: "Source Sans Pro", var(--font); font-weight: 700; font-size: clamp(30px, 4.44vw, 64px); line-height: .941;
  letter-spacing: -0.02em; white-space: nowrap; }
.md-product--rose .md-product__copy { left: 33.75%; }
.md-product--rose h2 { color: var(--md-pink); }
.md-product--panda .md-product__copy { left: 70.2%; }
.md-product--panda h2 { color: var(--white); }

@media (max-width: 1100px) {
  .md-product { scroll-margin-top: 80px; }
  .md-btn { min-width: 200px; min-height: 60px; padding: 12px 28px; font-size: 20px; }
  .md-switch { height: 100px; }
  .md-switch__item { font-size: 22px; min-width: 160px; padding: 10px 24px; }
  .md-switch__item.is-active { min-width: 190px; }
}
@media (max-width: 760px) {
  .md-btn { min-width: 160px; min-height: 48px; font-size: 18px; padding: 10px 22px; }
  .md-hero__btn { top: auto; bottom: 5%; min-width: 120px; min-height: 38px; padding: 6px 18px; font-size: 15px; }
  .md-switch { height: 80px; }
  .md-switch__pill { padding: 5px; gap: 4px; }
  .md-switch__item, .md-switch__item.is-active { min-width: 0; font-size: 18px; padding: 8px 20px; }
  .md-product { display: flex; flex-direction: column; }
  .md-product__copy { position: static; transform: none; order: -1; padding: 32px var(--gutter) 28px; }
  .md-product h2 { white-space: normal; font-size: 30px; }
  .md-product--rose .md-product__copy { background: #f6d9c6; }
  .md-product--panda .md-product__copy { background: #0f68d0; }
}

/* pop-ups */
.md-modal img { width: 100%; aspect-ratio: 1440 / 814; object-fit: cover; }
.md-modal__body { padding: 24px 32px 32px; text-align: center; }
.md-modal h2 { font-family: "Source Sans Pro", var(--font); font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); color: var(--md-pink); letter-spacing: -0.02em; }
