:root {
  --royal: #2563eb;
  --deep: #1d4ed8;
  --sky: #38bdf8;
  --ice: #f8fafc;
  --white: #ffffff;
  --ink: #0b1f42;
  --muted: #58708f;
  --glass: rgba(255, 255, 255, .88);
  --blue-glass: rgba(37, 99, 235, .13);
  --line: rgba(148, 198, 255, .36);
  --shadow: 0 26px 80px rgba(37, 99, 235, .18);
  --glow: 0 0 45px rgba(56, 189, 248, .32);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(56,189,248,.36), transparent 30rem),
    radial-gradient(circle at 92% 10%, rgba(37,99,235,.26), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 42%, #eaf6ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(37,99,235,.2) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(56,189,248,.16) 1px, transparent 1.5px);
  background-size: 62px 62px, 88px 88px;
  animation: particleDrift 24s linear infinite;
}
body.dark {
  --ice: #071833;
  --white: #0d2450;
  --ink: #eff6ff;
  --muted: #bed7ff;
  --glass: rgba(13, 36, 80, .84);
  --line: rgba(56,189,248,.28);
  background: radial-gradient(circle at 10% 0%, rgba(56,189,248,.22), transparent 30rem), linear-gradient(135deg, #061329, #0b2a5a 55%, #071833);
}
@keyframes particleDrift { to { background-position: 140px 90px, -100px 120px; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.82);
  color: #0b1f42;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
textarea { min-height: 124px; resize: vertical; }

.glass {
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(219,238,255,.68));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(56,189,248,.25), transparent 22rem), linear-gradient(135deg, #eff6ff, #fff);
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader span {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 6px solid rgba(37,99,235,.14);
  border-top-color: var(--royal);
  border-right-color: var(--sky);
  box-shadow: var(--glow);
  animation: spin .9s cubic-bezier(.65,0,.35,1) infinite;
}
.loader strong { position: absolute; margin-top: 124px; color: var(--deep); letter-spacing: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.cursor {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(37,99,235,.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(56,189,248,.45);
  transition: width .18s ease, height .18s ease, opacity .18s ease;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: min(1180px, calc(100% - 22px));
  min-height: 58px;
  margin: 12px auto 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(219,238,255,.64));
  border: 1px solid rgba(255,255,255,.78);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 60px rgba(37,99,235,.16);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; white-space: nowrap; }
.brand span {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal), var(--sky));
  color: #fff;
  box-shadow: 0 10px 34px rgba(37,99,235,.32);
}
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a, .account-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: #31547a;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-nav a:hover, .account-link:hover { background: rgba(37,99,235,.12); color: var(--deep); transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  border: 0;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(219,238,255,.86));
  color: var(--deep);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,99,235,.12);
}
.cart-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--deep), var(--royal));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(37,99,235,.24);
}
.cart-pill b { background: #fff; color: var(--deep); border-radius: 20px; padding: 2px 8px; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 22px; color: var(--deep); }

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 560px);
  align-items: center;
  gap: 38px;
  padding: 36px max(18px, calc((100vw - 1180px) / 2)) 78px;
  overflow: hidden;
}
#milkScene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; pointer-events: none; }
.blue-particles span {
  position: absolute;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.38), transparent 68%);
  filter: blur(2px);
  animation: float 8s ease-in-out infinite;
}
.blue-particles span:nth-child(1) { top: 18%; left: 8%; }
.blue-particles span:nth-child(2) { top: 62%; left: 44%; animation-delay: -2s; }
.blue-particles span:nth-child(3) { top: 18%; right: 8%; animation-delay: -4s; }
.blue-particles span:nth-child(4) { bottom: 4%; right: 30%; animation-delay: -6s; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(56,189,248,.4);
  color: var(--deep);
  background: rgba(255,255,255,.78);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(37,99,235,.12);
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(56px, 9vw, 124px);
  line-height: .88;
  letter-spacing: 0;
  color: #0b2c6f;
  text-shadow: 0 12px 38px rgba(37,99,235,.14);
}
.hero p { font-size: clamp(20px, 2.5vw, 31px); color: var(--muted); max-width: 690px; line-height: 1.35; }
.hero-actions, .card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.01); }
.btn.primary { background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff; box-shadow: 0 18px 46px rgba(37,99,235,.32); }
.btn.ghost, .btn.quick { background: rgba(255,255,255,.84); color: var(--deep); border: 1px solid rgba(37,99,235,.16); }
.btn.light { background: #fff; color: var(--deep); }
.btn.whatsapp { background: #25d366; color: #fff; }
.hero-cta { min-height: 54px; padding-inline: 24px; }

.floating-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(219,238,255,.78));
  color: var(--deep);
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37,99,235,.22);
  animation: float 5s ease-in-out infinite;
}
.chip-one { top: 9%; left: -5%; }
.chip-two { right: -4%; top: 45%; animation-delay: -1.8s; }
.chip-three { bottom: 10%; left: 12%; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.strip, .section, .deal-band, .video-banner, .map-contact, .page-hero, .shop-layout, .product-detail, .checkout, .auth-grid, .dashboard, .tracking, .premium-content-page {
  width: min(1180px, calc(100% - 28px));
  margin: 34px auto;
}
.section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section h2, .section-head h2, .deal-band h2, .video-banner h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  margin: 0;
  letter-spacing: 0;
  color: #0b2c6f;
}
.section-head a { color: var(--royal); font-weight: 900; }

.category-grid, .product-grid, .testimonial-grid, .area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.premium-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card, .product-card, blockquote, .area-card, .content-page, .tracking, .cart-page, .checkout-form, .order-summary, .auth-card {
  border-radius: var(--radius);
  padding: 20px;
}
.category-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  display: grid;
  align-content: end;
  transition: transform .28s ease, box-shadow .28s ease;
}
.category-card:hover { transform: translateY(-10px) scale(1.015); box-shadow: 0 34px 90px rgba(37,99,235,.25); }
.category-visual {
  position: absolute;
  inset: 12px 12px auto;
  height: 178px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(56,189,248,.18));
}
.category-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .5s ease; }
.category-card:hover .category-visual img { transform: scale(1.16); }
.category-icon { font-weight: 900; color: var(--royal); }
.category-card h3, .product-card h3 { margin: 8px 0; color: #0b2c6f; }
.category-card p, .product-card p { color: var(--muted); margin: 0; }
.scroll-cue {
  width: fit-content;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-weight: 900;
}
.scroll-cue span {
  width: 22px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--royal);
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  animation: arrowDrop 1.3s ease-in-out infinite;
}
@keyframes arrowDrop { 70% { top: 22px; opacity: .35; } 100% { top: 7px; opacity: 1; } }

.product-card {
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-10px) rotateX(2deg); box-shadow: 0 34px 94px rgba(37,99,235,.28); }
.floaty { animation: subtleFloat 7s ease-in-out infinite; }
.floaty:nth-child(even) { animation-delay: -2.5s; }
@keyframes subtleFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.product-media {
  display: block;
  position: relative;
  margin: -8px -8px 16px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}
.product-media img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; transition: transform .48s ease; }
.product-card:hover img { transform: scale(1.09); }
.badge, .stock-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.badge { top: 12px; left: 12px; background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff; }
.badge.sale, .badge.discount { background: linear-gradient(135deg, #1d4ed8, #38bdf8); }
.stock-badge { right: 12px; bottom: 12px; background: rgba(255,255,255,.9); color: var(--deep); }
.rating { color: #2563eb; font-weight: 900; letter-spacing: 1px; }
.rating span { color: var(--muted); letter-spacing: 0; }
.product-body strong { display: block; margin: 12px 0; font-size: 21px; color: #0b2c6f; }
del { color: var(--muted); font-size: 14px; margin-left: 6px; }
.card-actions form { margin: 0; }

.deal-band {
  min-height: 300px;
  border-radius: 34px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(56,189,248,.52), transparent 24rem),
    linear-gradient(135deg, #0b2c6f, var(--deep) 54%, var(--royal));
  color: #fff;
  box-shadow: 0 34px 100px rgba(37,99,235,.34);
  overflow: hidden;
}
.deal-band h2 { color: #fff; }
.deal-band p { color: rgba(255,255,255,.85); }

.two-col, .map-contact, .checkout, .auth-grid, .dashboard, .product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-list { display: grid; gap: 14px; }
.feature-list p, .timeline li {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(219,238,255,.68));
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 48px rgba(37,99,235,.12);
}
.timeline { display: grid; gap: 14px; counter-reset: step; padding-left: 0; list-style: none; }
.timeline li { position: relative; padding-left: 64px; }
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--sky));
}
.testimonial-grid blockquote { min-height: 210px; }
.testimonial-grid blockquote p { font-size: 18px; line-height: 1.6; }
.faq details { margin-bottom: 14px; padding: 20px; border-radius: 24px; }
.faq summary { font-weight: 900; cursor: pointer; color: #0b2c6f; }
.map-only iframe, .map-contact iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.contact-section { display: grid; place-items: center; }
.contact-mini {
  width: min(760px, 100%);
  padding: 26px;
  border-radius: 28px;
  display: grid;
  gap: 13px;
}

.site-footer {
  margin-top: 70px;
  padding: 52px max(18px, calc((100vw - 1180px) / 2));
  background: radial-gradient(circle at top right, rgba(56,189,248,.24), transparent 26rem), linear-gradient(135deg, #061b42, #0b2c6f 58%, #1d4ed8);
  color: #eff6ff;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 28px;
  border-radius: 36px 36px 0 0;
}
.site-footer a { display: block; color: #cce8ff; margin: 8px 0; }
.newsletter { display: grid; gap: 10px; }

.float-cart, .float-whatsapp {
  position: fixed;
  z-index: 900;
  right: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.float-cart { bottom: 82px; width: 58px; height: 58px; color: var(--deep); }
.float-cart span { position: absolute; top: -5px; right: -5px; background: var(--royal); color: #fff; border-radius: 20px; padding: 2px 7px; }
.float-whatsapp { bottom: 20px; background: #25d366; color: #fff; padding: 14px 18px; box-shadow: 0 12px 40px rgba(37,211,102,.32); }

.flash {
  width: min(760px, calc(100% - 28px));
  margin: 20px auto;
  border-radius: 18px;
  padding: 14px 18px;
  background: #e0f2fe;
  color: #0b2c6f;
  font-weight: 900;
}
.flash.error { background: #fee2e2; color: #8f1722; }

.page-hero {
  min-height: 270px;
  display: grid;
  align-content: center;
  border-radius: 34px;
  padding: 42px;
  background:
    radial-gradient(circle at 90% 20%, rgba(56,189,248,.36), transparent 22rem),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(219,238,255,.7));
  box-shadow: var(--shadow);
}
.page-hero h1 { font-size: clamp(42px, 6vw, 82px); margin: 0 0 10px; color: #0b2c6f; }
.page-hero p { color: var(--muted); font-size: 20px; }
.shop-layout { display: grid; grid-template-columns: 270px 1fr; align-items: start; gap: 22px; }
.filters { border-radius: 24px; padding: 18px; position: sticky; top: 94px; }
.filters form { display: grid; gap: 10px; }
.product-gallery { padding: 14px; border-radius: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.product-gallery img { border-radius: 22px; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(36px, 5vw, 68px); margin: 8px 0; color: #0b2c6f; }
.price { font-size: 34px; font-weight: 900; margin: 12px 0; color: var(--deep); }
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.meta-grid span, .qr { background: rgba(255,255,255,.78); border-radius: 18px; padding: 13px; border: 1px solid var(--line); }
.buy-box { padding: 14px; border-radius: 24px; display: flex; gap: 10px; }
.buy-box input { max-width: 96px; }
.product-tabs { padding: 20px; border-radius: 24px; margin-top: 16px; }
.review-form { display: grid; gap: 10px; padding: 20px; border-radius: 24px; }
.cart-row, .order-card {
  display: grid;
  grid-template-columns: 80px 1fr 100px 120px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-row img { width: 74px; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.cart-total { text-align: right; font-size: 24px; padding: 16px; }
.checkout-form, .order-summary, .auth-card { display: grid; gap: 12px; }
.tracking { padding: 30px; max-width: 760px; }
.tracking form { display: flex; gap: 10px; }
.premium-content-page {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}
.policy-visual, .policy-cards article {
  border-radius: 30px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.policy-visual img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; }
.policy-visual span {
  position: absolute;
  left: 34px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--deep);
  font-weight: 900;
  box-shadow: var(--shadow);
}
.policy-visual span:nth-of-type(1) { top: 42px; }
.policy-visual span:nth-of-type(2) { bottom: 42px; }
.policy-cards { display: grid; gap: 18px; }
.policy-cards h2 { font-size: clamp(34px, 5vw, 64px); margin: 0 0 10px; color: #0b2c6f; }
.policy-cards p { color: var(--muted); line-height: 1.75; }
.install-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.install-card { width: min(640px, 100%); border-radius: 28px; padding: 30px; display: grid; gap: 12px; }
.reveal { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(10px); transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1), filter .72s ease; }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.reveal.in img { animation: imagePulse .7s ease both; }
@keyframes imagePulse { from { scale: 1.035; } to { scale: 1; } }

@media (max-width: 980px) {
  .site-header { min-height: 52px; padding: 7px 8px; border-radius: 24px; flex-wrap: wrap; top: 8px; }
  .brand span { width: 34px; }
  .brand b { font-size: 15px; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; width: 100%; order: 3; flex-direction: column; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 9px 12px; }
  .header-actions { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero, .video-banner, .two-col, .map-contact, .checkout, .auth-grid, .dashboard, .product-detail, .shop-layout, .premium-content-page { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; min-height: auto; }
  .category-grid, .product-grid, .testimonial-grid, .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .filters { position: static; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 16px); }
  .hero h1 { font-size: 58px; }
  .hero p { font-size: 19px; }
  .hero-actions .btn, .deal-band .btn { width: 100%; }
  .product-grid, .testimonial-grid, .area-grid { grid-template-columns: 1fr; }
  .premium-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { min-height: 250px; padding: 14px; }
  .category-visual { height: 136px; }
  .category-card h3 { font-size: 17px; }
  .category-card p { font-size: 13px; }
  .deal-band { display: block; padding: 26px; border-radius: 28px; }
  .site-footer { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .tracking form, .buy-box { flex-direction: column; }
  .meta-grid { grid-template-columns: 1fr; }
  .cursor { display: none; }
}

/* Complete homepage and WhatsApp commerce redesign */
.site-header { height: 58px; min-height: 58px; flex-wrap: nowrap; border-radius: 999px; }
.site-nav { margin-left: auto; }
.header-actions { width: auto; padding: 0; }
.search-icon { font-size: 0; }
.search-icon::before { content: "Search"; font-size: 13px; font-weight: 900; }
.home-hero {
  width: 100%;
  min-height: calc(100vh - 70px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 570px);
  align-items: center;
  gap: 44px;
  padding: 78px max(20px, calc((100vw - 1180px) / 2)) 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(56,189,248,.44), transparent 28rem),
    radial-gradient(circle at 18% 12%, rgba(147,197,253,.45), transparent 26rem),
    linear-gradient(135deg, #f8fbff 0%, #eaf4ff 46%, #dbeafe 100%);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 48px;
  border: 1px solid rgba(255,255,255,.6);
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(37,99,235,.08));
  pointer-events: none;
}
.home-hero #milkScene { z-index: 0; }
.hero-glow { position: absolute; width: 240px; aspect-ratio: 1; border-radius: 50%; filter: blur(12px); opacity: .75; animation: float 8s ease-in-out infinite; }
.hero-glow-a { background: radial-gradient(circle, rgba(37,99,235,.28), transparent 68%); left: 7%; top: 24%; }
.hero-glow-b { background: radial-gradient(circle, rgba(56,189,248,.32), transparent 68%); right: 12%; bottom: 12%; animation-delay: -3s; }
.home-hero .hero-copy, .hero-stage { position: relative; z-index: 2; }
.home-hero .hero-copy h1 { font-size: clamp(58px, 8vw, 122px); margin: 14px 0 8px; color: #08245d; line-height: .88; }
.home-hero .hero-copy h2 { font-size: clamp(34px, 5vw, 70px); margin: 0; color: #0b2c6f; line-height: .98; }
.home-hero .hero-copy p { font-size: clamp(19px, 2.1vw, 26px); color: #46627f; max-width: 680px; }
.home-hero .hero-copy small { display: block; max-width: 640px; color: #64748b; font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.hero-stage { border-radius: 44px; padding: 14px; animation: float 6s ease-in-out infinite; }
.hero-stage img { border-radius: 34px; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: 0 34px 90px rgba(37,99,235,.24); }
.float-label { position: absolute; border-radius: 999px; padding: 11px 16px; color: var(--deep); background: rgba(255,255,255,.9); box-shadow: var(--shadow); font-weight: 950; animation: float 4.8s ease-in-out infinite; }
.label-a { top: 9%; left: -6%; }
.label-b { right: -5%; top: 43%; animation-delay: -1.5s; }
.label-c { bottom: 9%; left: 10%; animation-delay: -2.7s; }
.section-head { display: grid; justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 8px 0 0; }
.premium-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.best-sellers .wide-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sale-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { padding: 24px; border-radius: 34px; }
.product-media { border-radius: 30px; margin: -10px -10px 18px; }
.product-media img { aspect-ratio: 16 / 11; }
.quantity-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.quantity-chips label input { display: none; }
.quantity-chips label span { display: inline-flex; border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.8); border: 1px solid var(--line); color: var(--deep); font-weight: 900; cursor: pointer; transition: .2s ease; }
.quantity-chips label input:checked + span, .quantity-chips label span:hover { background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff; box-shadow: 0 12px 28px rgba(37,99,235,.22); }
.mini-selector .card-actions { align-items: stretch; }
.mini-selector .btn.quick { flex: 1 1 120px; }
.mini-selector .btn.primary { flex: 1 1 145px; }
.wishlist-submit { flex: 0 0 46px; }
.flash-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; border-radius: 38px; padding: 34px; margin-bottom: 22px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-width: 330px; }
.countdown span { border-radius: 24px; padding: 16px; text-align: center; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(56,189,248,.12)); color: var(--muted); font-weight: 900; }
.countdown b { display: block; color: var(--deep); font-size: 34px; }
.feature-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card, .process-card { border-radius: 30px; padding: 24px; min-height: 210px; transition: .25s ease; }
.feature-card:hover, .process-card:hover { transform: translateY(-8px); box-shadow: 0 34px 90px rgba(37,99,235,.22); }
.feature-card span, .process-card span { width: 46px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff; font-weight: 950; box-shadow: 0 14px 32px rgba(37,99,235,.24); }
.feature-card h3, .process-card h3 { color: #0b2c6f; font-size: 24px; }
.review-track { display: flex; gap: 18px; overflow: hidden; scroll-behavior: smooth; }
.review-card { min-width: min(360px, 86vw); border-radius: 30px; padding: 24px; }
.review-card img { width: 62px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.review-card span { color: var(--royal); font-weight: 900; }
.faq-section details { border-radius: 28px; padding: 20px 24px; margin: 14px auto; max-width: 900px; }
.map-shell { border-radius: 34px; padding: 12px; }
.map-shell iframe { width: 100%; min-height: 430px; border: 0; border-radius: 26px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.contact-details { border-radius: 30px; padding: 26px; display: grid; align-content: center; gap: 14px; }
.contact-details p { display: grid; gap: 4px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.64); color: var(--muted); }
.contact-details b { color: var(--deep); }
.toast { position: fixed; right: 22px; bottom: 96px; z-index: 2000; transform: translateY(20px); opacity: 0; pointer-events: none; background: linear-gradient(135deg, var(--deep), var(--sky)); color: #fff; border-radius: 999px; padding: 14px 20px; font-weight: 950; box-shadow: 0 22px 60px rgba(37,99,235,.3); transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.cart-page { border-radius: 34px; padding: 24px; }
.cart-row { grid-template-columns: 78px 1.4fr 160px 100px 120px auto; border-radius: 24px; margin-bottom: 12px; background: rgba(255,255,255,.58); border: 1px solid var(--line); }
.cart-row a small { display: block; color: var(--deep); font-weight: 900; margin-top: 4px; }
.cart-stepper { display: flex; align-items: center; gap: 6px; }
.cart-stepper button, .remove-btn { border: 0; border-radius: 999px; padding: 10px 13px; background: rgba(37,99,235,.1); color: var(--deep); font-weight: 950; cursor: pointer; }
.cart-stepper input { text-align: center; padding: 10px; border-radius: 999px; }
.remove-btn { background: #dbeafe; }
.cart-summary { margin-top: 18px; border-radius: 28px; padding: 22px; display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; background: linear-gradient(135deg, rgba(219,238,255,.78), rgba(255,255,255,.86)); }
.cart-summary p { margin: 0; color: var(--muted); }
.cart-summary strong { color: var(--deep); font-size: 24px; margin-left: 8px; }
.whatsapp-checkout { align-items: start; }
.info-card { border-radius: 24px; padding: 18px; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(56,189,248,.14)); color: #0b2c6f; font-weight: 850; line-height: 1.6; }
.order-summary p { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.order-summary span { color: var(--muted); }
.site-footer { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; }
.site-footer small { color: #cfe8ff; }
@media (max-width: 980px) {
  .site-header { height: auto; min-height: 52px; flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .home-hero, .contact-grid { grid-template-columns: 1fr; }
  .premium-category-grid, .feature-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .best-sellers .wide-products, .sale-products { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 68px 1fr; }
  .cart-row > * { min-width: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .home-hero { padding-top: 46px; }
  .premium-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .feature-grid, .process-grid { grid-template-columns: 1fr; }
  .countdown, .flash-panel { grid-template-columns: 1fr; min-width: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .cart-summary { justify-content: stretch; }
  .cart-summary .btn { width: 100%; }
}

/* High-priority homepage polish pass */
body {
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
:where(.btn, button, input, textarea, select, .glass, .product-card, .category-card, .feature-card, .process-card, .review-card, .page-hero, .cart-page, .checkout-form, .order-summary, .contact-mini, .contact-details, img) {
  border-radius: 26px;
}
.site-header {
  height: 56px;
  min-height: 56px;
  padding: 7px 10px;
  display: flex;
  flex-wrap: nowrap;
  overflow: visible;
}
.brand b { letter-spacing: 0; }
.site-nav { white-space: nowrap; }
.site-nav a { padding: 9px 12px; font-size: 14px; }
.search-icon { font-size: 18px; }
.search-icon::before { content: none; }
.cart-pill { min-height: 42px; padding: 9px 14px; }
.home-hero {
  grid-template-columns: minmax(0, .96fr) minmax(360px, 560px);
  gap: clamp(28px, 5vw, 70px);
  padding-top: clamp(58px, 7vw, 92px);
}
.home-hero::after {
  inset: 7% max(16px, calc((100vw - 1220px) / 2));
  border-radius: 56px;
}
.home-hero .hero-copy {
  max-width: 720px;
}
.home-hero .hero-copy h1 {
  font-weight: 950;
  letter-spacing: 0;
}
.home-hero .hero-copy h2 {
  max-width: 700px;
  font-weight: 900;
  letter-spacing: 0;
}
.home-hero .hero-copy p,
.home-hero .hero-copy small {
  line-height: 1.7;
}
.hero-stage {
  justify-self: end;
  width: min(100%, 560px);
  box-shadow: 0 38px 120px rgba(37,99,235,.22), 0 0 90px rgba(56,189,248,.22);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.42), transparent 68%);
  filter: blur(18px);
}
.hero-stage img {
  aspect-ratio: 1 / 1;
  object-position: center;
}
.section {
  padding-block: clamp(46px, 6vw, 82px);
}
.section-head h2 {
  line-height: 1.04;
  font-weight: 950;
}
.section-head p {
  max-width: 660px;
}
.premium-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.category-card {
  min-height: 300px;
  border-radius: 34px;
}
.category-visual {
  border-radius: 28px;
}
.best-sellers .wide-products,
.sale-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}
.product-media img {
  aspect-ratio: 16 / 10;
}
.product-body {
  display: grid;
  align-content: start;
}
.product-body h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.16;
  font-weight: 900;
}
.product-body p {
  font-weight: 750;
}
.card-actions.single-action {
  margin-top: 16px;
}
.card-actions.single-action .btn {
  width: 100%;
}
.quantity-sheet {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: end center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.quantity-sheet.open {
  opacity: 1;
  pointer-events: auto;
}
.quantity-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 45, .42);
  backdrop-filter: blur(10px);
}
.quantity-panel {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 0 auto 18px;
  padding: 22px;
  border-radius: 34px;
  transform: translateY(34px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .28s ease;
}
.quantity-sheet.open .quantity-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  color: var(--deep);
  font-size: 24px;
  line-height: 1;
}
.sheet-product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.sheet-product img {
  width: 96px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.sheet-product h3 {
  margin: 8px 44px 6px 0;
  color: #0b2c6f;
  font-size: 25px;
  line-height: 1.16;
}
.sheet-product p {
  margin: 0;
  color: var(--deep);
  font-weight: 950;
}
.sheet-options {
  margin: 4px 0 18px;
}
.sheet-options label span {
  min-width: 96px;
  justify-content: center;
}
.flash-panel {
  border-radius: 38px;
}
.feature-card,
.process-card,
.review-card,
.faq-section details,
.map-shell,
.contact-mini,
.contact-details {
  border-radius: 34px;
}
@media (max-width: 980px) {
  .site-header {
    height: 54px;
    min-height: 54px;
    flex-wrap: nowrap;
    border-radius: 999px;
  }
  .site-nav,
  .nav-toggle {
    display: none;
  }
  .brand b {
    font-size: 14px;
  }
  .header-actions {
    margin-left: auto;
    width: auto;
    overflow: visible;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-stage {
    justify-self: center;
    max-width: 500px;
  }
  .premium-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 18px);
    top: 8px;
    padding: 7px 8px;
  }
  .brand span {
    width: 36px;
  }
  .home-hero {
    padding: 36px 16px 58px;
  }
  .home-hero .hero-stage {
    order: 1;
    width: min(92vw, 420px);
  }
  .home-hero .hero-copy {
    order: 2;
    text-align: center;
    justify-self: center;
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(44px, 15vw, 72px);
  }
  .home-hero .hero-copy h2 {
    font-size: clamp(28px, 8vw, 46px);
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-actions .btn {
    width: min(100%, 330px);
  }
  .best-sellers .wide-products,
  .sale-products {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .brand b {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cart-pill {
    font-size: 0;
    min-width: 52px;
    justify-content: center;
  }
  .cart-pill::before {
    content: "Cart";
    font-size: 12px;
  }
  .premium-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-card {
    min-height: 240px;
    padding: 14px;
  }
  .category-visual {
    height: 126px;
  }
  .quantity-panel {
    width: calc(100% - 14px);
    margin-bottom: 8px;
    padding: 18px;
    border-radius: 30px;
  }
  .sheet-product {
    grid-template-columns: 78px 1fr;
  }
  .sheet-product img {
    width: 78px;
  }
}

/* Critical UI/UX stabilization layer */
:root {
  --premium-font: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --header-blue: rgba(219, 238, 255, .82);
}

body {
  font-family: var(--premium-font);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, .brand, .btn, .site-nav a, .cart-pill, .eyebrow {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p, small, li {
  line-height: 1.72;
}

.site-header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: clamp(6px, 1.4vw, 14px);
  height: auto;
  min-height: 54px;
  padding: 7px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: linear-gradient(135deg, rgba(255,255,255,.9), var(--header-blue));
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 18px 62px rgba(29,78,216,.18);
}

.site-header::-webkit-scrollbar {
  display: none;
}

.nav-toggle {
  display: none !important;
}

.brand {
  flex: 0 0 auto;
}

.brand span {
  width: 38px;
}

.site-nav {
  display: flex !important;
  flex: 0 0 auto;
  width: auto;
  margin-left: auto;
  gap: 2px;
  white-space: nowrap;
}

.site-nav a {
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1;
}

.header-actions {
  flex: 0 0 auto;
  width: auto !important;
  margin-left: 0;
  padding: 0;
  overflow: visible;
}

.icon-btn,
.cart-pill {
  flex: 0 0 auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  font-size: 17px;
}

.cart-pill {
  min-width: 48px;
  min-height: 38px;
  padding: 7px 10px;
  gap: 6px;
  font-size: 14px;
}

.cart-symbol {
  font-size: 17px;
  line-height: 1;
}

.cart-pill b {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 2px 6px;
}

.home-hero {
  min-height: min(860px, calc(100vh - 68px));
  grid-template-columns: minmax(0, 1fr) minmax(340px, 540px);
  align-items: center;
  isolation: isolate;
}

.home-hero::after {
  z-index: 0;
}

.home-hero .hero-copy {
  z-index: 3;
}

.home-hero .hero-copy h1,
.home-hero .hero-copy h2 {
  overflow-wrap: normal;
}

.home-hero .hero-copy p {
  max-width: 650px;
}

.hero-stage {
  min-height: clamp(360px, 44vw, 560px);
  aspect-ratio: 1 / 1;
  justify-self: end;
  overflow: hidden;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 48% 34%, rgba(255,255,255,.9), transparent 12rem),
    radial-gradient(circle at 62% 54%, rgba(56,189,248,.28), transparent 18rem),
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(219,238,255,.58));
}

.hero-stage img {
  display: none !important;
}

.hero-stage #milkScene {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: .96;
}

.dairy-fallback {
  position: absolute;
  inset: 10%;
  z-index: 1;
  transform: perspective(900px) rotateY(-10deg) rotateX(7deg);
}

.milk-bottle {
  position: absolute;
  left: 20%;
  bottom: 10%;
  width: 30%;
  height: 62%;
  border-radius: 34% 34% 22% 22%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82), rgba(219,238,255,.36) 36%, rgba(37,99,235,.16)),
    linear-gradient(180deg, rgba(255,255,255,.95) 0 46%, rgba(240,249,255,.96) 46% 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 28px 34px 70px rgba(37,99,235,.22), inset -18px 0 34px rgba(37,99,235,.12);
  animation: bottleFloat 5.8s ease-in-out infinite;
}

.milk-bottle::before {
  content: "";
  position: absolute;
  left: 28%;
  top: -22%;
  width: 44%;
  height: 32%;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(219,238,255,.56));
  border: 1px solid rgba(255,255,255,.9);
}

.milk-bottle::after {
  content: "";
  position: absolute;
  left: 22%;
  top: -31%;
  width: 56%;
  height: 12%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--deep), var(--sky));
  box-shadow: 0 12px 34px rgba(37,99,235,.35);
}

.milk-bottle i {
  position: absolute;
  inset: 22% 16% auto;
  height: 30%;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37,99,235,.92), rgba(56,189,248,.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.milk-cup {
  position: absolute;
  right: 17%;
  bottom: 13%;
  width: 30%;
  height: 30%;
  border-radius: 18% 18% 40% 40%;
  background: linear-gradient(145deg, #fff, #dbeafe);
  box-shadow: 24px 24px 64px rgba(37,99,235,.2), inset -16px -10px 28px rgba(37,99,235,.12);
  animation: cupFloat 6.4s ease-in-out infinite;
}

.milk-cup::before {
  content: "";
  position: absolute;
  inset: -12% 8% auto;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 18%, #dbeafe 72%);
  border: 1px solid rgba(37,99,235,.12);
}

.splash,
.milk-orbit {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: drop-shadow(0 16px 34px rgba(37,99,235,.24));
}

.splash {
  background: radial-gradient(circle at 35% 32%, #fff, #e0f2fe 60%, rgba(56,189,248,.72));
}

.splash-a { width: 22%; aspect-ratio: 1; top: 8%; right: 23%; animation: splashPulse 4.6s ease-in-out infinite; }
.splash-b { width: 12%; aspect-ratio: 1; top: 26%; right: 9%; animation: splashPulse 5.2s ease-in-out infinite -.8s; }
.splash-c { width: 9%; aspect-ratio: 1; top: 14%; left: 42%; animation: splashPulse 4.1s ease-in-out infinite -1.4s; }

.milk-orbit {
  border: 1px solid rgba(37,99,235,.24);
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(56,189,248,.24));
}

.orbit-a { inset: 8% 4% 20% 16%; transform: rotate(-18deg); }
.orbit-b { inset: 18% 12% 12% 5%; transform: rotate(24deg); }

@keyframes bottleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(0, -18px, 16px) rotate(3deg); }
}

@keyframes cupFloat {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-13px) rotate(-3deg); }
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1) translateY(0); opacity: .92; }
  50% { transform: scale(1.12) translateY(-12px); opacity: 1; }
}

.section-head {
  align-items: center;
}

.featured-categories .section-head h2,
.featured-categories .section-head p {
  text-align: center;
}

.premium-category-grid {
  align-items: stretch;
}

.category-card {
  min-width: 0;
  min-height: 292px;
  grid-template-rows: 1fr auto auto auto;
  align-content: end;
}

.category-card h3,
.category-card p,
.product-body h3,
.product-body p {
  overflow-wrap: anywhere;
}

.category-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.faq-section {
  max-width: 980px;
}

.faq-section details,
.faq details {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(219,238,255,.7));
}

.faq-section summary,
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: #0b2c6f;
  font-weight: 900;
}

.faq-section summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after,
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--royal), var(--sky));
  box-shadow: 0 10px 24px rgba(37,99,235,.22);
  transition: transform .25s ease;
}

.faq-section details[open] summary::after,
.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq-section details p,
.faq details p {
  margin: 14px 0 0;
  color: var(--muted);
  animation: faqReveal .28s ease;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-detail,
.shop-layout,
.checkout,
.auth-grid,
.dashboard,
.premium-content-page {
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 94px;
}

.buy-box {
  flex-wrap: wrap;
  align-items: center;
}

.buy-box .quantity-selector {
  flex: 1 1 100%;
}

.buy-box .btn {
  flex: 1 1 180px;
}

.cart-row {
  min-width: 0;
}

.cart-row > * {
  min-width: 0;
}

.cart-row a {
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .brand b {
    font-size: 14px;
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-stage {
    justify-self: center;
    width: min(540px, 100%);
  }

  .home-hero .hero-copy {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 12px);
    top: 6px;
    min-height: 46px;
    padding: 5px 7px;
    border-radius: 999px;
  }

  .brand span {
    width: 30px;
    font-size: 12px;
  }

  .brand b {
    max-width: 86px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    margin-left: 0;
  }

  .site-nav a {
    padding: 7px 6px;
    font-size: 11px;
  }

  .icon-btn {
    width: 32px;
    min-width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .cart-pill {
    min-width: 42px;
    min-height: 32px;
    padding: 5px 7px;
  }

  .cart-pill::before {
    content: none;
  }

  .cart-symbol {
    font-size: 15px;
  }

  .cart-pill b {
    min-width: 18px;
    min-height: 18px;
    font-size: 11px;
  }

  .home-hero {
    padding: 34px 14px 52px;
  }

  .home-hero .hero-copy {
    order: 1;
    text-align: center;
  }

  .home-hero .hero-stage {
    order: 2;
    min-height: min(86vw, 420px);
    width: min(92vw, 420px);
  }

  .float-label {
    padding: 8px 10px;
    font-size: 12px;
  }

  .section,
  .page-hero,
  .shop-layout,
  .product-detail,
  .checkout,
  .auth-grid,
  .dashboard,
  .tracking,
  .premium-content-page {
    width: min(100% - 20px, 1180px);
  }

  .premium-category-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 5px;
  }

  .brand b {
    max-width: 62px;
  }

  .site-nav a {
    font-size: 10px;
    padding-inline: 4px;
  }

  .header-actions {
    gap: 4px;
  }

  .search-icon,
  .cart-symbol {
    font-size: 14px;
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .home-hero .hero-copy h2 {
    font-size: clamp(25px, 8vw, 38px);
  }

  .home-hero .hero-copy p,
  .home-hero .hero-copy small {
    font-size: 14px;
  }
}

/* Final interaction and mobile navigation pass */
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 30px rgba(37,99,235,.22);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(219,238,255,.86));
  box-shadow: 0 10px 24px rgba(37,99,235,.14);
  color: var(--deep);
  cursor: pointer;
  place-items: center;
  gap: 3px;
  padding: 0;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1490;
  background: rgba(8, 24, 55, .34);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1500;
  width: min(330px, calc(100vw - 24px));
  padding: 18px;
  border-radius: 30px;
  transform: translateX(28px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .24s ease;
}

.mobile-drawer.open {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #0b2c6f;
}

.drawer-head button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(37,99,235,.1);
  color: var(--deep);
  font-size: 24px;
  cursor: pointer;
}

.mobile-drawer nav {
  display: grid;
  gap: 8px;
}

.mobile-drawer nav a {
  border-radius: 18px;
  padding: 13px 14px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.78);
  color: #0b2c6f;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.mobile-drawer nav a:hover {
  transform: translateX(-3px);
  background: rgba(219,238,255,.9);
}

.home-hero {
  padding-top: clamp(46px, 6vw, 72px);
  padding-bottom: clamp(36px, 4vw, 54px);
  min-height: min(790px, calc(100vh - 64px));
}

.home-hero + .section {
  margin-top: 0;
  padding-top: clamp(30px, 4vw, 52px);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.atmo {
  position: absolute;
  display: block;
  filter: drop-shadow(0 24px 54px rgba(37,99,235,.24));
  animation: atmoFloat 7s ease-in-out infinite;
}

.atmo-bottle {
  left: 9%;
  top: 20%;
  width: 78px;
  height: 142px;
  border-radius: 26px 26px 20px 20px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.86), rgba(219,238,255,.42)),
    linear-gradient(180deg, transparent 0 40%, rgba(255,255,255,.96) 40% 100%);
  border: 1px solid rgba(255,255,255,.76);
  transform: rotate(-12deg);
}

.atmo-bottle::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -34px;
  width: 28px;
  height: 42px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(219,238,255,.65));
}

.atmo-splash {
  left: 30%;
  top: 16%;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 45% 55% 48% 52%;
  background: radial-gradient(circle at 32% 30%, #fff, rgba(224,242,254,.85) 56%, rgba(56,189,248,.36));
  opacity: .8;
  animation-delay: -2s;
}

.atmo-cube {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(56,189,248,.34));
  border: 1px solid rgba(255,255,255,.68);
  transform: rotate(18deg);
}

.atmo-cube-a { left: 4%; bottom: 18%; animation-delay: -3.2s; }
.atmo-cube-b { left: 45%; bottom: 14%; width: 54px; animation-delay: -1.1s; }

.atmo-light {
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.34), transparent 68%);
  filter: blur(12px);
}

.atmo-light-a { left: 12%; top: 44%; animation-delay: -4s; }
.atmo-light-b { right: 8%; top: 8%; animation-delay: -1.8s; }

@keyframes atmoFloat {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 12px -18px; rotate: 5deg; }
}

.hero-copy {
  padding: 8px 0;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(255,255,255,.68);
}

.toast span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.toast strong {
  font-size: 14px;
}

.toast.error {
  background: linear-gradient(135deg, #dc2626, #f87171);
}

.cart-bump {
  animation: cartBump .62s cubic-bezier(.22,1,.36,1);
}

@keyframes cartBump {
  0% { transform: scale(1); box-shadow: 0 14px 34px rgba(37,99,235,.24); }
  45% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(56,189,248,.16), 0 20px 48px rgba(37,99,235,.34); }
  100% { transform: scale(1); }
}

.cart-empty {
  display: none;
  border-radius: 22px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  font-weight: 850;
}

.cart-empty.show {
  display: block;
}

.cart-row {
  grid-template-columns: 78px minmax(180px, 1.3fr) minmax(250px, .95fr) minmax(110px, auto) auto;
  gap: 18px;
}

.cart-stepper {
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}

.cart-stepper button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(56,189,248,.16));
}

.cart-stepper input {
  width: 64px;
  min-width: 64px;
  height: 40px;
  padding: 0 6px;
  text-align: center;
  font-weight: 950;
  color: #0b2c6f;
  background: rgba(255,255,255,.9);
}

.cart-unit-price {
  margin-left: 12px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--deep);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  font-weight: 950;
  white-space: nowrap;
}

.cart-line-total {
  justify-self: end;
  color: #0b2c6f;
  white-space: nowrap;
}

.cart-row-updated {
  animation: rowPulse .52s ease;
}

.cart-row.removing {
  opacity: 0;
  transform: translateX(18px) scale(.98);
  transition: opacity .22s ease, transform .22s ease;
}

@keyframes rowPulse {
  0% { background: rgba(255,255,255,.58); }
  45% { background: rgba(191,219,254,.72); box-shadow: 0 0 0 4px rgba(56,189,248,.16); }
  100% { background: rgba(255,255,255,.58); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 44px;
    padding: 5px 7px;
    gap: 8px;
  }

  .brand img,
  .brand span {
    width: 30px;
    height: 30px;
  }

  .brand b {
    max-width: 116px;
    font-size: 12px;
  }

  .site-nav {
    display: none !important;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
    width: 32px;
    height: 32px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 28px;
    gap: 20px;
  }

  .home-hero + .section {
    padding-top: 24px;
  }

  .atmo-bottle { left: -4%; top: 28%; width: 50px; height: 92px; }
  .atmo-splash { left: 2%; top: 12%; width: 130px; }
  .atmo-cube-b { display: none; }

  .cart-row {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: start;
  }

  .cart-stepper,
  .cart-line-total,
  .remove-btn {
    grid-column: 1 / -1;
  }

  .cart-stepper {
    justify-content: space-between;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.58);
  }

  .cart-unit-price {
    margin-left: auto;
  }

  .cart-line-total {
    justify-self: stretch;
    text-align: right;
  }
}

@media (min-width: 761px) {
  .site-nav {
    display: flex !important;
  }
}

/* Mobile performance mode */
.lite-mode .loader {
  transition-duration: .22s;
}

.lite-mode .reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.lite-mode .floaty,
.lite-mode .hero-stage,
.lite-mode .hero-glow,
.lite-mode .float-label,
.lite-mode .atmo,
.lite-mode .milk-bottle,
.lite-mode .milk-cup,
.lite-mode .splash,
.lite-mode .milk-orbit {
  animation: none !important;
}

.lite-mode #milkScene {
  display: none !important;
}

.lite-mode .glass,
.lite-mode .site-header,
.lite-mode .mobile-drawer,
.lite-mode .quantity-backdrop {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lite-mode .product-card,
.lite-mode .category-card,
.lite-mode .feature-card,
.lite-mode .process-card,
.lite-mode .review-card,
.lite-mode .hero-stage,
.lite-mode .glass {
  box-shadow: 0 14px 38px rgba(37,99,235,.12);
}

.lite-mode .product-card:hover,
.lite-mode .category-card:hover,
.lite-mode .feature-card:hover,
.lite-mode .process-card:hover {
  transform: none;
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    animation: none;
    opacity: .45;
  }

  .loader span {
    width: 54px;
    height: 54px;
  }

  .home-hero {
    background:
      radial-gradient(circle at 20% 18%, rgba(56,189,248,.22), transparent 17rem),
      linear-gradient(135deg, #f8fbff 0%, #eaf4ff 58%, #dbeafe 100%);
  }

  .home-hero::after,
  .atmo-light,
  .hero-glow {
    display: none;
  }

  .hero-stage {
    min-height: 300px;
  }

  .product-media img,
  .category-visual img {
    transform: none !important;
    transition: none;
  }

  .review-track {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .review-card {
    scroll-snap-align: start;
  }
}
