/* =========================================================
   CROWN OIL MACHINES — App-style front end
   Light, glass UI · mobile first
   ========================================================= */

:root {
  --bg:        #f7f5f1;
  --bg-2:      #efebe4;
  --surface:   #ffffff;
  --ink:       #17161b;
  --ink-2:     #45434c;
  --muted:     #807c86;
  --line:      rgba(23, 22, 27, .08);
  --line-2:    rgba(23, 22, 27, .14);

  --brand:     #c8102e;
  --brand-600: #a50d26;
  --brand-50:  #fdecee;
  --brand-100: #fad4d9;
  --gold:      #e3a008;
  --gold-600:  #b77f00;
  --gold-50:   #fff7e1;
  --green:     #14804a;
  --green-50:  #e7f6ee;
  --wa:        #25d366;
  --wa-600:    #1da851;

  --glass:        rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-line:   rgba(255, 255, 255, .75);
  --blur:         saturate(180%) blur(22px);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --sh-1: 0 1px 2px rgba(23,22,27,.04), 0 2px 8px rgba(23,22,27,.04);
  --sh-2: 0 4px 14px rgba(23,22,27,.06), 0 1px 3px rgba(23,22,27,.05);
  --sh-3: 0 18px 50px -12px rgba(23,22,27,.18), 0 4px 14px rgba(23,22,27,.05);
  --sh-brand: 0 10px 26px -8px rgba(200,16,46,.55);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: .28s var(--ease);

  --top-h: 64px;
  --tab-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-top: calc(var(--top-h) + var(--safe-t));
  padding-bottom: calc(var(--tab-h) + 22px + var(--safe-b));
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--brand-100); color: var(--ink); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.ambient .a1 { width: 420px; height: 420px; background: #ffd9de; top: -140px; right: -120px; }
.ambient .a2 { width: 380px; height: 380px; background: #ffeec2; top: 30vh; left: -180px; }
.ambient .a3 { width: 320px; height: 320px; background: #fde3e6; bottom: -120px; right: 10%; opacity: .4; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding-top: var(--safe-t);
  background: rgba(247,245,241,.72);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
  transition: background var(--t), box-shadow var(--t);
}
.topbar.scrolled { background: rgba(255,255,255,.8); box-shadow: 0 6px 24px -12px rgba(23,22,27,.18); }
.topbar-inner { height: var(--top-h); display: flex; align-items: center; gap: 12px; }

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: var(--sh-1); }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; }

.nav { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions .btn, .top-actions .btn-call { display: none; }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--sh-1); transition: transform var(--t), background var(--t);
  font-size: 16px;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn:hover { background: #fff; }
.badge-dot {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800;
  display: none; align-items: center; justify-content: center; border: 2px solid #fff;
}
.badge-dot.show { display: inline-flex; animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 14px;
  font-weight: 700; font-size: 14.5px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn i { font-size: 1.05em; }
.btn-primary { background: linear-gradient(180deg, #e01a3a, var(--brand)); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: linear-gradient(180deg, #d01534, var(--brand-600)); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(23,22,27,.6); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.btn-light:hover { border-color: var(--ink); }
.btn-glass { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sh-2); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
.btn-whatsapp:hover { background: var(--wa-600); color: #fff; }
.btn-soft { background: var(--brand-50); color: var(--brand); }
.btn-soft:hover { background: var(--brand-100); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 26px; border-radius: 16px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* =========================================================
   MOBILE TAB BAR
   ========================================================= */
.tabbar {
  position: fixed; z-index: 900; left: 12px; right: 12px;
  bottom: calc(10px + var(--safe-b));
  height: var(--tab-h); border-radius: 24px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 16px 40px -14px rgba(23,22,27,.28), 0 2px 6px rgba(23,22,27,.05);
  transition: transform .35s var(--ease);
}
.tabbar.hide { transform: translateY(140%); }
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: 100%; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .01em;
  transition: color var(--t);
}
.tab i { font-size: 19px; transition: transform var(--t); }
.tab.active { color: var(--brand); }
.tab.active::before {
  content: ''; position: absolute; top: 9px; width: 46px; height: 32px; border-radius: 12px;
  background: var(--brand-50); z-index: -1;
}
.tab.active i { transform: translateY(-1px); }
.tab:active i { transform: scale(.88); }
.tab .badge-dot { top: 6px; right: calc(50% - 22px); }
.tab-fab { position: relative; }
.tab-fab .fab {
  width: 54px; height: 54px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #2fe073, var(--wa-600)); color: #fff; font-size: 25px;
  box-shadow: 0 12px 24px -8px rgba(29,168,81,.7), 0 0 0 5px rgba(255,255,255,.9);
}
.tab-fab span { color: var(--wa-600); }

/* Floating WhatsApp (desktop only) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 880;
  width: 58px; height: 58px; border-radius: 20px; display: none; align-items: center; justify-content: center;
  background: var(--wa); color: #fff; font-size: 28px; box-shadow: 0 14px 30px -10px rgba(37,211,102,.75);
  transition: transform var(--t);
}
.wa-float:hover { transform: translateY(-3px); color: #fff; }

/* =========================================================
   SHEETS (menu + cart)
   ========================================================= */
.scrim {
  position: fixed; inset: 0; z-index: 950; background: rgba(23,22,27,.28);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.scrim.open { opacity: 1; visibility: visible; }

.sheet {
  position: fixed; z-index: 960; left: 0; right: 0; bottom: 0;
  max-height: 88vh; display: flex; flex-direction: column;
  border-radius: 28px 28px 0 0;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-top: 1px solid #fff;
  box-shadow: 0 -20px 60px -20px rgba(23,22,27,.3);
  padding-bottom: var(--safe-b);
  transform: translateY(105%); transition: transform .42s var(--ease);
}
.sheet.open { transform: translateY(0); }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: rgba(23,22,27,.15); margin: 10px auto 4px; flex-shrink: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px 14px; }
.sheet-title { font-size: 19px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.sheet-body { padding: 0 20px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); background: rgba(255,255,255,.7); }

/* Menu sheet content */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-tile {
  display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform var(--t);
}
.menu-tile:active { transform: scale(.97); }
.menu-tile .mi { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); font-size: 16px; }
.menu-tile b { color: var(--ink); font-size: 15px; display: block; }
.menu-tile small { color: var(--muted); font-size: 12px; font-weight: 600; }
.menu-tile.active { border-color: var(--brand-100); background: linear-gradient(180deg, #fff, var(--brand-50)); }
.menu-tile.active .mi { background: var(--brand); color: #fff; }
.menu-contact { margin-top: 14px; display: grid; gap: 10px; }
.menu-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.menu-row .mi { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.menu-row div { min-width: 0; }
.menu-row b { display: block; color: var(--ink); font-size: 14px; }
.menu-row small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-row .chev { margin-left: auto; color: var(--muted); font-size: 12px; }

/* Cart items */
.cart-empty { text-align: center; padding: 34px 10px 26px; }
.cart-empty .ce-ic { width: 76px; height: 76px; border-radius: 24px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--bg); font-size: 28px; color: var(--muted); }
.cart-empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.cart-empty p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img, .cart-item .ph { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 13px; font-weight: 800; color: var(--brand); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; background: var(--bg); border-radius: 10px; padding: 2px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; color: var(--ink); }
.qty button:active { background: #fff; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: 13px; color: var(--ink); }
.cart-item-remove { width: 36px; height: 36px; border-radius: 12px; color: var(--muted); flex-shrink: 0; }
.cart-item-remove:hover { color: var(--brand); background: var(--brand-50); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cart-sum span { color: var(--muted); font-size: 13px; font-weight: 600; }
.cart-sum b { color: var(--ink); font-size: 20px; font-weight: 800; }

/* Toast */
.toast {
  position: fixed; z-index: 1000; left: 50%; top: calc(var(--top-h) + var(--safe-t) + 10px);
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid #fff; box-shadow: var(--sh-3);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .t-ic { width: 30px; height: 30px; border-radius: 10px; background: var(--green-50); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast .t-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a { color: var(--brand); margin-left: 6px; white-space: nowrap; }

/* =========================================================
   TYPOGRAPHY / SECTIONS
   ========================================================= */
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .01em; margin-bottom: 14px;
}
.eyebrow i, .eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: 10px; }
.h1 { font-size: clamp(34px, 8.6vw, 58px); letter-spacing: -.035em; line-height: 1.04; }
.h2 { font-size: clamp(26px, 6vw, 40px); letter-spacing: -.03em; }
.h3 { font-size: 19px; }
.hl { color: var(--brand); }
.hl-gold { background: linear-gradient(90deg, var(--gold-600), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 16px; color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--muted); }
.sec-head { margin-bottom: 26px; }
.sec-head .lead { max-width: 560px; margin-top: 10px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head-row .h2 { margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--brand); white-space: nowrap; }
.link-more i { font-size: 11px; transition: transform var(--t); }
.link-more:hover i { transform: translateX(3px); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 22px 0 30px; }
.hero-grid { display: grid; gap: 30px; align-items: center; }
.hero-copy .lead { margin: 16px 0 24px; max-width: 520px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-proof { display: flex; gap: 0; margin-top: 26px; padding: 14px 6px; border-radius: 20px; background: var(--glass-strong); border: 1px solid #fff; box-shadow: var(--sh-2); }
.hero-proof div { flex: 1; text-align: center; padding: 0 6px; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.hero-proof small { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; }
.hero-card {
  display: block; position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f1eee8 100%);
  border: 1px solid #fff; box-shadow: var(--sh-3);
  aspect-ratio: 4 / 3.4;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.35)); pointer-events: none; }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid #fff; box-shadow: var(--sh-3);
  font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.25;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip b { display: block; color: var(--ink); font-size: 13.5px; font-weight: 800; }
.float-chip .fc-ic { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.fc-1 { left: 12px; top: 14px; }
.fc-2 { right: 12px; bottom: 14px; animation-delay: -3s; }
.fc-3 { display: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ic-red { background: var(--brand-50); color: var(--brand); }
.ic-gold { background: var(--gold-50); color: var(--gold-600); }
.ic-green { background: var(--green-50); color: var(--green); }
.ic-wa { background: #e5f9ed; color: var(--wa-600); }
.ic-ink { background: var(--bg); color: var(--ink); }

/* Marquee strip */
.strip { padding: 6px 0 4px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 10px; width: max-content; animation: marquee 38s linear infinite; }
.strip-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.strip-item i { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CATEGORY / NEED CARDS
   ========================================================= */
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.need-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 190px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
  transition: transform var(--t), box-shadow var(--t);
}
.need-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.need-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.need-card:hover img { transform: scale(1.04); }
.need-card .nc-body {
  position: relative; z-index: 1; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid #fff;
}
.need-card b { display: block; color: var(--ink); font-size: 15px; }
.need-card small { color: var(--muted); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* =========================================================
   FILTER CHIPS / SEARCH
   ========================================================= */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 18px 4px; margin: 0 -18px; scroll-snap-type: x proximity; scroll-padding-inline: 18px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 13.5px; font-weight: 700; transition: all var(--t);
}
.chip .n { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 10px; background: var(--bg); color: var(--muted); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active .n { background: rgba(255,255,255,.18); color: #fff; }
.search {
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: border-color var(--t), box-shadow var(--t);
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.search i { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; min-width: 0; color: var(--ink); }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; padding: 4px 18px 14px; margin: 0 -18px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: 22px; border: 1px solid var(--line);
  box-shadow: var(--sh-1); transition: transform var(--t), box-shadow var(--t);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pcard.hidden { display: none; }
.pcard-img { position: relative; display: block; aspect-ratio: 4 / 3.3; background: #ecebe8; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; color: rgba(23,22,27,.18); }
.p-badge {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 5px 10px; border-radius: 100px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  color: var(--brand); border: 1px solid #fff; box-shadow: var(--sh-1);
}
.pcard-body { padding: 12px 12px 4px; display: flex; flex-direction: column; flex: 1; }
.p-meta { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.p-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.32; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.64em; }
.p-desc { display: none; font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 6px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 12px; margin-top: auto; }
.p-price { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.p-price small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.p-price.ask { font-size: 13px; color: var(--muted); }
.add-btn {
  width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: 14px;
  transition: transform var(--t), background var(--t);
}
.add-btn:hover { background: var(--brand); }
.add-btn:active { transform: scale(.9); }
.add-btn.done { background: var(--green); }
.add-btn .lbl { display: none; }

/* =========================================================
   FEATURES (bento)
   ========================================================= */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat {
  padding: 18px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.feat .f-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 14px; }
.feat h3 { font-size: 15px; margin-bottom: 5px; letter-spacing: -.01em; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.feat.wide { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, #fff 0%, var(--brand-50) 100%); border-color: var(--brand-100); }
.feat.wide .f-ic { margin: 0; width: 54px; height: 54px; border-radius: 18px; font-size: 22px; background: var(--brand); color: #fff; flex-shrink: 0; box-shadow: var(--sh-brand); }

/* =========================================================
   STATS
   ========================================================= */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 18px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
.stat b em { font-style: normal; color: var(--brand); }
.stat > span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* =========================================================
   ABOUT SPLIT
   ========================================================= */
.split { display: grid; gap: 28px; align-items: center; }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); border: 1px solid #fff; background: #eceae6; aspect-ratio: 1 / 1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .float-chip { animation: none; }
.media-frame .fc-1 { top: auto; bottom: 14px; left: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check-list li i { width: 24px; height: 24px; border-radius: 8px; background: var(--green-50); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* =========================================================
   STEPS
   ========================================================= */
.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  position: relative; display: flex; gap: 16px; padding: 18px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.step-n { width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; background: var(--ink); color: #fff; }
.step:nth-child(2) .step-n { background: var(--brand); }
.step:nth-child(3) .step-n { background: var(--gold); color: var(--ink); }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* =========================================================
   CTA CARD (light)
   ========================================================= */
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 34px 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, #ffe0e5 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, #fff0c7 0%, transparent 55%),
    #fff;
  border: 1px solid #fff; box-shadow: var(--sh-3); text-align: center;
}
.cta-card .h2 { max-width: 640px; margin: 0 auto 12px; }
.cta-card .lead { max-width: 520px; margin: 0 auto 24px; }
.cta-card .btn-row { justify-content: center; }
.cta-card .crown-mark { position: absolute; right: -18px; top: -18px; font-size: 120px; color: rgba(227,160,8,.12); transform: rotate(14deg); pointer-events: none; }

/* =========================================================
   FORMS / CONTACT
   ========================================================= */
.card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-2); padding: 22px 18px; }
.card-title { font-size: 20px; margin-bottom: 4px; }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--brand); }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  background: var(--bg); border: 1.5px solid transparent; outline: 0;
  font-size: 15px; color: var(--ink);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #a8a4ad; }
.input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23807c86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-note a { color: var(--wa-600); font-weight: 700; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; margin-top: 16px; }
.alert i { margin-top: 3px; }
.alert-ok { background: var(--green-50); color: var(--green); border: 1px solid #c4ead5; }
.alert-err { background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100); }

.info-list { display: grid; gap: 10px; }
.info-item {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform var(--t), border-color var(--t);
}
a.info-item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.info-item .ii-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.info-item div { min-width: 0; }
.info-item small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.info-item b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.4; word-break: break-word; }
.info-item .chev { margin-left: auto; color: var(--muted); font-size: 12px; }
.hours { padding: 16px; border-radius: 18px; background: var(--gold-50); border: 1px solid #fbe5a8; font-size: 13.5px; color: var(--ink-2); }
.hours b { color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.hours b i { color: var(--gold-600); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid #fff; box-shadow: var(--sh-2); height: 300px; background: var(--bg-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================
   PAGE HEAD (subpages)
   ========================================================= */
.page-head { padding: 18px 0 8px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-size: 9px; opacity: .6; }
.crumbs .cur { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.page-head .lead { margin-top: 10px; max-width: 600px; }
.toolbar { position: sticky; top: calc(var(--top-h) + var(--safe-t)); z-index: 50; padding: 12px 0; margin-bottom: 8px; background: linear-gradient(180deg, var(--bg) 70%, rgba(247,245,241,0)); }
.toolbar .search { margin-bottom: 12px; }
.empty-state { display: none; text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state i { font-size: 30px; margin-bottom: 10px; display: block; }

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.pd { display: grid; gap: 22px; }
.gallery { position: relative; margin: 0 -18px; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3.3; background: #ecebe8; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-slide .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; color: rgba(23,22,27,.15); }
.g-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 8px; border-radius: 100px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.g-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(23,22,27,.25); transition: all var(--t); }
.g-dots span.on { width: 18px; background: var(--ink); }
.g-thumbs { display: none; gap: 10px; margin-top: 12px; }
.g-thumb { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: #ecebe8; opacity: .7; transition: all var(--t); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.on { border-color: var(--ink); opacity: 1; }
.gallery .p-badge { left: 14px; top: 14px; }

.pd-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 100px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.tag.red { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.pd-title { font-size: clamp(24px, 6vw, 36px); letter-spacing: -.03em; margin-bottom: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pd-price b { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.035em; }
.pd-price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pd-desc { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: 20px; }
.pd-desc p { margin-bottom: 10px; }
.pd-desc ul, .pd-desc ol { padding-left: 20px; margin-bottom: 10px; }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.perk { text-align: center; padding: 14px 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.perk i { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 6px; }
.perk small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.perk b { display: block; font-size: 13px; color: var(--ink); line-height: 1.3; }
.pd-ctas { display: none; gap: 10px; margin-bottom: 24px; }
.block { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); padding: 18px; margin-bottom: 14px; }
.block-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.block-title i { color: var(--brand); }
.spec-list { list-style: none; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.spec-list li:last-child { border-bottom: 0; padding-bottom: 2px; }
.spec-list span { color: var(--muted); font-weight: 600; flex-shrink: 0; }
.spec-list b { color: var(--ink); font-weight: 700; text-align: right; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 100px; background: var(--bg); font-size: 13px; font-weight: 700; color: var(--ink); }
.pill-list i { color: var(--green); font-size: 11px; }
.ext-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ext-grid div { padding: 14px; border-radius: 16px; background: var(--bg); text-align: center; }
.ext-grid small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ext-grid b { font-size: 16px; color: var(--green); }

/* Mobile buy bar */
.buybar {
  position: fixed; z-index: 905; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b));
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 24px;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid #fff; box-shadow: 0 16px 40px -14px rgba(23,22,27,.3);
}
.buybar .bb-price { margin-right: auto; min-width: 0; line-height: 1.15; }
.buybar .bb-price small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.buybar .bb-price b { font-size: 18px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.buybar .btn { height: 48px; padding: 0 16px; }
.buybar .btn-whatsapp { width: 48px; padding: 0; font-size: 22px; }
body.has-buybar .tabbar { display: none; }

/* =========================================================
   CHECKOUT
   ========================================================= */
.co-grid { display: grid; gap: 16px; }
.co-success { display: none; text-align: center; padding: 36px 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); max-width: 560px; margin: 0 auto; }
.co-success .ok { width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--green-50); color: var(--green); font-size: 32px; }
.co-total { display: none; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-total .row { display: flex; justify-content: space-between; align-items: baseline; }
.co-total b { font-size: 22px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.co-total p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.co-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.co-item:last-child { border-bottom: 0; }
.co-item img, .co-item .ph { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.co-item .n { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.co-item .p { font-size: 12.5px; font-weight: 800; color: var(--brand); margin-top: 3px; }
.co-item .p.ask { color: var(--muted); font-weight: 600; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.secure-note i { color: var(--green); }
.pay-error { display: none; color: var(--brand-600); font-size: 13px; font-weight: 600; margin-top: 10px; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: 30px; padding: 40px 0 20px; background: var(--surface); border-top: 1px solid var(--line); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.f-brand { grid-column: 1 / -1; }
.f-brand .brand { margin-bottom: 14px; }
.f-brand p { font-size: 14px; color: var(--muted); max-width: 360px; margin-bottom: 16px; }
.f-head { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.f-links { list-style: none; display: grid; gap: 10px; }
.f-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; transition: color var(--t); }
.f-links a:hover { color: var(--brand); }
.f-contact { grid-column: 1 / -1; display: grid; gap: 10px; }
.f-contact a, .f-contact div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.f-contact i { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.f-contact span { padding-top: 5px; word-break: break-word; }
.f-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.f-bottom i { color: var(--brand); }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .chips, .rail { padding-left: 24px; padding-right: 24px; margin-left: -24px; margin-right: -24px; scroll-padding-inline: 24px; }
  .gallery { margin: 0; }
  .g-track { border-radius: var(--r-xl); border: 1px solid #fff; box-shadow: var(--sh-3); }
  .p-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .rail { grid-auto-columns: 44%; }
  .p-name { font-size: 15px; }
  .pcard-body { padding: 16px 16px 4px; }
  .pcard-foot { padding: 10px 16px 16px; }
  .p-desc { display: -webkit-box; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .feat.wide { grid-column: span 3; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .card { padding: 30px; }
  .need-card { min-height: 260px; padding: 18px; }
  .f-grid { grid-template-columns: 2fr 1fr 1fr; }
  .f-brand { grid-column: auto; }
  .f-contact { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .f-bottom { flex-direction: row; justify-content: space-between; }
  .toast { top: auto; bottom: 30px; transform: translate(-50%, 20px); }
  .hero-ctas .btn { flex: 0 0 auto; }
  .cta-card { padding: 54px 40px; }
}

/* =========================================================
   ≥ 992px — desktop
   ========================================================= */
@media (min-width: 992px) {
  :root { --top-h: 76px; }
  body { padding-bottom: 0; padding-top: calc(var(--top-h) + 14px); font-size: 16px; }
  .topbar { top: 12px; left: 50%; right: auto; width: min(1200px, calc(100% - 32px)); transform: translateX(-50%); border-radius: 24px; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.62); box-shadow: 0 10px 30px -18px rgba(23,22,27,.25); padding-top: 0; }
  .topbar.scrolled { background: rgba(255,255,255,.82); }
  .topbar .container { padding: 0 12px 0 16px; }
  .topbar-inner { height: var(--top-h); }
  .brand { margin-right: 0; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 16px; }
  .nav { display: flex; gap: 2px; margin: 0 auto; padding: 5px; border-radius: 16px; background: rgba(23,22,27,.04); }
  .nav a { position: relative; padding: 9px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: all var(--t); }
  .nav a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
  .nav a.active { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
  .top-actions .btn, .top-actions .btn-call { display: inline-flex; }
  .menu-btn { display: none; }
  .tabbar, .buybar { display: none; }
  .wa-float { display: flex; }
  .toast { bottom: 100px; }

  .sheet.cart { left: auto; top: 12px; bottom: 12px; right: 12px; width: 420px; max-height: none; border-radius: 28px; border: 1px solid #fff; transform: translateX(calc(100% + 24px)); }
  .sheet.cart.open { transform: translateX(0); }
  .sheet.cart .sheet-grip { display: none; }
  .sheet.cart .sheet-head { padding-top: 20px; }
  .sheet.cart .sheet-body { flex: 1; }
  .sheet.cart .sheet-foot { border-radius: 0 0 28px 28px; }

  .section { padding: 96px 0; }
  .section-sm { padding: 60px 0; }
  .sec-head { margin-bottom: 40px; }
  .lead { font-size: 17.5px; }

  .hero { padding: 54px 0 50px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-copy .lead { margin: 22px 0 30px; }
  .hero-proof { max-width: 480px; }
  .hero-card { aspect-ratio: 4 / 4.1; }
  .fc-1 { left: -26px; top: 40px; }
  .fc-2 { right: -22px; bottom: 60px; }
  .fc-3 { display: flex; left: 30px; bottom: -22px; animation-delay: -1.5s; }

  .need-grid { gap: 20px; }
  .need-card { min-height: 340px; padding: 22px; }
  .need-card b { font-size: 19px; }

  .p-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .p-grid.four { grid-template-columns: repeat(4, 1fr); }
  .rail { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 22px; overflow: visible; padding: 0; margin: 0; }
  .p-name { font-size: 16px; }
  .p-price { font-size: 19px; }
  .add-btn { width: auto; padding: 0 16px; gap: 8px; height: 42px; font-size: 13.5px; font-weight: 700; }
  .add-btn .lbl { display: inline; }

  .bento { gap: 18px; }
  .feat { padding: 26px; }
  .feat h3 { font-size: 17px; }
  .feat p { font-size: 14px; }
  .feat.wide { padding: 28px 30px; }

  .stats { gap: 18px; }
  .stat { padding: 26px; }
  .stat b { font-size: 42px; }

  .split { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .split.rev > :first-child { order: 2; }
  .media-frame { aspect-ratio: 4 / 4.4; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step { flex-direction: column; padding: 26px; }

  .contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
  .card { padding: 36px; }

  .page-head { padding: 40px 0 16px; }
  .toolbar { display: flex; gap: 16px; align-items: center; top: calc(var(--top-h) + 20px); padding: 14px 0; }
  .toolbar .search { margin: 0; width: 320px; flex-shrink: 0; order: 2; }
  .toolbar .chips { flex: 1; margin: 0; padding: 2px 0; flex-wrap: wrap; }

  .pd { grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; }
  .pd-media { position: sticky; top: calc(var(--top-h) + 34px); }
  .g-thumbs { display: flex; }
  .g-dots { display: none; }
  .pd-ctas { display: flex; }
  .pd-ctas .btn { flex: 1; }

  .co-grid { grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
  .co-grid .sticky { position: sticky; top: calc(var(--top-h) + 34px); }

  .footer { padding: 64px 0 26px; margin-top: 50px; }
  .f-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.6fr; gap: 40px; }
  .f-contact { grid-column: auto; grid-template-columns: 1fr; }
}

@media (min-width: 1200px) {
  .p-grid.four { gap: 22px; }
}
