:root {
  --red: #D62828;
  --red-deep: #A11A1A;
  --red-soft: #fdeaea;
  --yellow: #F2B807;
  --yellow-soft: #FFF8DC;
  --green: #16a34a;
  --cream: #f4f6f8;
  --cream-2: #e9ecf0;
  --paper: #ffffff;
  --ink: #1a1a2e;
  --ink-2: #4a5568;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #f4f6f8;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.font-display { font-family: 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: -0.02em; }
.font-hand { font-family: 'Caveat', cursive; }

/* ===================== layout ===================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 720px) { .container { padding: 0 16px; } }

section { padding: 56px 0; }
@media (max-width: 720px) { section { padding: 36px 0; } }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-soft);
  color: var(--red);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section-head .sub { color: var(--ink-2); font-size: 15px; max-width: 420px; }

/* ===================== announcement bar ===================== */
.announce {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
}
.announce-track {
  display: flex;
  gap: 48px;
  padding: 10px 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.announce-item { display: inline-flex; align-items: center; gap: 10px; }
.announce-item .dot { width: 4px; height: 4px; border-radius: 99px; background: var(--yellow); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== header ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-row1 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(214,40,40,0.35);
}
.logo-mark::after { display: none; }
.logo-text { line-height: 1; }
.logo-text .tag {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 2px;
}

.searchbar {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.searchbar input {
  width: 100%;
  background: #f4f6f8;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 48px 12px 44px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.searchbar input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(214,40,40,0.10); }
.searchbar .icn { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.searchbar .clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 5px 10px; font-size: 12px; color: var(--muted); border-radius: 99px; }
.searchbar .clear:hover { background: var(--cream-2); color: var(--ink); }

.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icn-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.icn-btn:hover { border-color: #c0cad6; background: #f8fafc; box-shadow: var(--shadow-sm); }
.icn-btn.wa { background: #25D366; border-color: #1da851; color: white; }
.icn-btn.wa:hover { background: #1da851; }
.cart-pill {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(0.4); } to { transform: scale(1); } }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a.active { background: var(--red); color: #fff; }
.nav .divider { width: 1px; height: 16px; background: var(--line); margin: 0 4px; }

.mode-switch {
  display: inline-flex;
  background: var(--cream);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--line);
  margin-left: auto;
}
.mode-switch button {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .2s;
}
.mode-switch button.on {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

@media (max-width: 900px) {
  .header-row1 { grid-template-columns: auto auto; }
  .searchbar { grid-column: 1 / -1; order: 3; max-width: none; }
  .nav { padding-bottom: 10px; }
}

/* ===================== hero ===================== */
.hero {
  padding-top: 20px;
}
.hero-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.hero-slide {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 52px 52px;
  min-height: 440px;
  position: relative;
}
.hero-slide .copy h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 0.97;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-slide .copy h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero-slide .copy h1 em::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0;
  height: 10px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 2px;
}
.hero-slide .copy p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 460px;
  line-height: 1.55;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 3px 10px rgba(214,40,40,0.30);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(214,40,40,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--cream); border-color: #c0cad6; }
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(242,184,7,0.30);
}
.btn-yellow:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(242,184,7,0.35); }

.hero-art {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
  z-index: 4;
}
.hero-arrows button {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.hero-arrows button:hover { transform: scale(1.06); background: #fff; box-shadow: var(--shadow-md); }
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.hero-dots button {
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: rgba(26,26,46,0.18);
  transition: width .25s, background .25s;
}
.hero-dots button.on { background: var(--ink); width: 40px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero-tag .pulse {
  width: 7px; height: 7px; border-radius: 99px; background: var(--red);
  box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214,40,40,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(214,40,40,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,40,40,0); }
}
.hero-side {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-side .avatars { display: flex; }
.hero-side .avatars span {
  width: 26px; height: 26px; border-radius: 99px;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: white;
  margin-left: -7px;
}
.hero-side .avatars span:first-child { margin-left: 0; }

@media (max-width: 800px) {
  .hero-slide { grid-template-columns: 1fr; padding: 32px 20px 50px; min-height: 0; }
  .hero-art { min-height: 260px; }
}

/* ===================== categories ===================== */
#cat { background: #fff; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 52px;
  background: var(--bg, var(--cream));
  z-index: 0;
  border-bottom: 1px solid var(--line);
}
.cat-card > * { position: relative; z-index: 1; }
.cat-card .cat-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-top: 4px;
}
.cat-card .cat-name { font-weight: 600; font-size: 13px; color: var(--ink); }
.cat-card .cat-count { font-size: 11px; color: var(--muted); }
.cat-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}
.cat-card .cat-icon { transition: transform .25s; }
.cat-card:hover .cat-icon { transform: scale(1.06); }

/* ===================== products ===================== */
#prods { background: #f4f6f8; }
.product-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { border-color: #cbd5e1; color: var(--ink); background: #f8fafc; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.prod {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.prod:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.prod-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.prod-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.prod-img-wrap image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
.prod-img .ill { width: 72%; height: 72%; transition: transform .25s; }
.prod:hover .prod-img .ill { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge.new { background: var(--ink); }
.badge.bulk { background: var(--yellow); color: var(--ink); }
.fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all .15s;
  color: var(--muted);
}
.fav:hover { color: var(--red); border-color: #fca5a5; background: #fff; }
.fav.on { color: var(--red); border-color: #fca5a5; background: var(--red-soft); }

.prod-brand { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.prod-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.prod-name:hover { color: var(--red); }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.price .cur { font-size: 12px; color: var(--ink-2); font-weight: 600; margin-right: 2px; }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.unit { font-size: 11px; color: var(--muted); margin-top: -4px; }
.btn-row { display: flex; gap: 6px; margin-top: 6px; }
.btn-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-add:hover { background: var(--red-deep); box-shadow: 0 3px 10px rgba(214,40,40,0.25); }
.btn-add:active { transform: scale(0.97); }
.btn-wa {
  width: 38px;
  border-radius: 8px;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.btn-wa:hover { background: #1da851; }

/* ===================== mayorista pill on product ===================== */
.bulk-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  background: rgba(22,163,74,0.08);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

/* ===================== offer / countdown ===================== */
.offer-card {
  position: relative;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 44px 52px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(214,40,40,0.28);
}
.offer-card::before, .offer-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.offer-card::before { width: 360px; height: 360px; background: rgba(255,255,255,0.07); top: -120px; right: -100px; }
.offer-card::after  { width: 220px; height: 220px; background: var(--yellow); opacity: 0.15; bottom: -80px; left: -60px; }
.offer-card h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
  text-wrap: balance;
}
.offer-card h2 em { font-style: normal; color: var(--yellow); }
.offer-card p { margin: 0 0 22px; max-width: 420px; opacity: 0.9; }
.count-grid { display: flex; gap: 10px; margin-bottom: 22px; }
.count-cell {
  background: rgba(0,0,0,0.25);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 72px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.count-cell .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.count-cell .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-top: 3px;
}
.offer-products {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.offer-prod {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  transition: background .15s;
  cursor: pointer;
}
.offer-prod:hover { background: var(--cream); }
.offer-prod .ill-mini { width: 56px; height: 56px; background: #f8fafc; border-radius: 8px; display: grid; place-items: center; }
.offer-prod .ill-mini > div { display: grid; place-items: center; }
.offer-prod .ill-mini svg { width: 44px; height: 44px; }
.cart-row .ill-mini > div { display: grid; place-items: center; }
.cart-row .ill-mini svg { width: 44px; height: 44px; }
.prod-img > svg { width: 72%; height: 72%; transition: transform .25s; }
.prod:hover .prod-img > svg { transform: scale(1.04); }
.modal-img > svg { width: 65%; height: 65%; max-width: 220px; }
.offer-prod .nm { font-size: 13px; font-weight: 600; line-height: 1.25; }
.offer-prod .pr { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 17px; color: var(--red); letter-spacing: -0.02em; }
.offer-prod .pr small { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 11px; display: block; }

@media (max-width: 800px) {
  .offer-card { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* ===================== locations ===================== */
.locs {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) { .locs { grid-template-columns: 1fr; } }
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d9e6cf;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}
.map-wrap svg { display: block; width: 100%; height: 100%; }
.loc-list { display: grid; gap: 10px; align-content: start; }
.loc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.loc-card:hover, .loc-card.on { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.loc-card.on { background: var(--yellow-soft); }
.loc-card .pin {
  width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: white;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(214,40,40,0.25);
}
.loc-card h4 { margin: 0; font-size: 15px; font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -0.01em; }
.loc-card p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.loc-card .open-tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(22,163,74,0.12); color: var(--green); }

/* ===================== footer ===================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer a, .footer p { font-size: 14px; opacity: 0.72; margin: 6px 0; display: block; transition: opacity .15s; }
.footer a:hover { opacity: 1; }
.pay-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pay-badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: 0.5;
}

/* ===================== WhatsApp floating ===================== */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-fab::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: ring 2s infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.wa-fab:hover .wa-tooltip { opacity: 1; }
.wa-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--ink);
}

/* ===================== modal ===================== */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  animation: rise .25s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes rise { from { transform: translateY(20px) scale(0.96); opacity: 0; } }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 720px) { .modal-grid { grid-template-columns: 1fr; } }
.modal-img {
  background: #f8fafc;
  display: grid;
  place-items: center;
  padding: 40px;
  position: relative;
  border-right: 1px solid var(--line);
}
@media (max-width: 720px) { .modal-img { border-right: 0; border-bottom: 1px solid var(--line); } }
.modal-img .ill { width: 65%; height: 65%; max-width: 220px; }
.modal-body { padding: 32px; }
.modal-body h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; margin: 4px 0 6px; line-height: 1.08; letter-spacing: -0.02em; }
.modal-body .meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background .15s, border-color .15s;
}
.modal-close:hover { background: #f4f6f8; border-color: #cbd5e1; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}
.qty button { width: 38px; height: 42px; font-size: 17px; font-weight: 700; }
.qty button:hover { background: var(--cream-2); }
.qty input { width: 48px; height: 42px; border: 0; text-align: center; font-weight: 700; font-size: 15px; background: transparent; color: inherit; }
.qty input:focus { outline: none; }
.spec-list { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.spec-list div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.spec-list div span:last-child { color: var(--ink); font-weight: 600; }

/* ===================== cart drawer ===================== */
.drawer-back { position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 95; animation: fade .2s; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: #fff;
  z-index: 96;
  display: flex;
  flex-direction: column;
  animation: slidein .25s cubic-bezier(.2,.9,.3,1);
  border-left: 1px solid var(--line);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
@keyframes slidein { from { transform: translateX(100%); } }
.drawer-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; letter-spacing: -0.02em; }
.drawer-body { flex: 1; overflow: auto; padding: 10px 12px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: #f8fafc; }
.cart-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 10px; border-radius: 10px; align-items: center; transition: background .15s; }
.cart-row:hover { background: #f8fafc; }
.cart-row .ill-mini { width: 56px; height: 56px; background: #f4f6f8; border-radius: 8px; display: grid; place-items: center; }
.cart-row .nm { font-size: 13px; font-weight: 600; line-height: 1.25; }
.cart-row .ctrl { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.cart-row .ctrl button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line); font-weight: 700; background: #fff; }
.cart-row .ctrl button:hover { border-color: #cbd5e1; background: #f4f6f8; }
.cart-row .ctrl span { font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-row .px { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15px; }
.cart-empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.cart-empty svg { margin: 0 auto 14px; color: var(--line); }
.tot-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; padding: 5px 0; color: var(--ink-2); }
.tot-row.grand { font-size: 16px; color: var(--ink); font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.tot-row.grand .v { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

/* ===================== about ===================== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
  display: inline-flex;
  align-items: flex-start;
}
.stat-num span { font-size: 20px; color: var(--ink); margin-top: 4px; }
.stat-lbl {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.about-photo {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: visible;
  background: #fff;
  box-shadow: var(--shadow-md);
  min-height: 380px;
}
.about-photo > image-slot { border-radius: 18px; overflow: hidden; }
.about-photo-tape {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 14px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 10px;
  background: var(--cream);
}
.about-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.about-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;
}
.value-list > span {
  font-size: 13px;
  color: var(--ink-2);
  padding-top: 12px;
  border-top: 1.5px solid var(--line);
}
.value-list strong { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 700; font-size: 14px; }
@media (max-width: 720px) { .value-list { grid-template-columns: 1fr; } }

.about-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
@media (max-width: 880px) { .about-collage { grid-template-columns: repeat(2, 1fr); } }
.about-collage-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  transition: transform .2s, box-shadow .2s;
}
.about-collage-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-collage-cap {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
}

.timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
@media (max-width: 720px) { .timeline::before { left: 14px; } }
.tl-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}
@media (max-width: 720px) { .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; } }
.tl-dot {
  position: absolute;
  left: 64px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  z-index: 1;
}
@media (max-width: 720px) { .tl-dot { left: 8px; } }
.tl-year {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--red);
  text-align: right;
  padding-top: 6px;
}
@media (max-width: 720px) { .tl-year { text-align: left; padding-top: 0; } }
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tl-card:hover { border-color: #cbd5e1; transform: translateX(4px); box-shadow: var(--shadow-sm); }
.tl-card h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.tl-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ===================== checkout ===================== */
.checkout-modal {
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}
.checkout-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8fafc;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.checkout-head .modal-close { position: static; flex-shrink: 0; }
.checkout-steps {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  overflow-x: auto;
}
.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.checkout-steps .step.on { color: var(--ink); }
.checkout-steps .step.now { background: var(--ink); color: #fff; }
.checkout-steps .step-n {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.checkout-steps .step.on .step-n { background: var(--yellow); color: var(--ink); }
.checkout-steps .step.now .step-n { background: var(--yellow); color: var(--ink); }
.checkout-body {
  flex: 1;
  overflow: auto;
  padding: 24px;
}
.checkout-foot {
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  flex-wrap: wrap;
}
.checkout-summary { color: var(--ink-2); font-size: 14px; }
.checkout-summary strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); margin-left: 8px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,40,40,0.10);
}
.field textarea { resize: vertical; min-height: 60px; font-family: inherit; }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.seg button {
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, color .15s;
}
.seg button.on { background: var(--ink); color: #fff; }

.pay-grid { display: grid; gap: 10px; }
.pay-card {
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1.5px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: all .15s;
}
.pay-card:hover { border-color: #cbd5e1; background: #f8fafc; }
.pay-card.on { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 1px var(--red); }
.pay-logo {
  width: 56px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.pay-radio {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color .15s;
}
.pay-card.on .pay-radio { border-color: var(--red); }
.pay-radio span { width: 10px; height: 10px; border-radius: 999px; background: var(--red); display: block; }
.pay-note {
  background: #f8fafc;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 8px;
  border: 1px solid var(--line);
}

.confirm-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .confirm-grid { grid-template-columns: 1fr; } }
.confirm-block {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--line);
}
.confirm-block h5 {
  margin: 0 0 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.confirm-block p { margin: 4px 0; font-size: 14px; color: var(--ink); }
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.confirm-row em { font-style: normal; color: var(--muted); margin-left: 4px; }
.confirm-row.totals { padding-top: 8px; border-top: 1px dashed var(--line); }
.confirm-row.totals:not(:nth-of-type(2)) { border-top: 0; }
.confirm-row.grand {
  padding-top: 12px;
  border-top: 1.5px solid var(--line);
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink);
}
.confirm-row.grand strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* ===================== misc ===================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  animation: toast .25s;
}
@keyframes toast { from { transform: translateX(-50%) translateY(20px); opacity: 0; } }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.on { opacity: 1; transform: translateY(0); }

/* photo hint */
.photo-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--yellow-soft);
  border: 1px dashed #d4af37;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--ink);
}
.photo-hint-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { scrollbar-width: none; }

/* ===================== trust strip ===================== */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-title { font-weight: 700; font-size: 13px; line-height: 1.3; }
.trust-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ===================== responsive — tablet (≤900px) ===================== */
@media (max-width: 900px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
}

/* ===================== responsive — mobile (≤640px) ===================== */
@media (max-width: 640px) {
  /* --- layout --- */
  section { padding: 32px 0; }

  /* --- header --- */
  .logo-tagline { display: none; }
  .logo { font-size: 22px; }
  .logo-mark { width: 32px; height: 32px; font-size: 18px; border-radius: 8px; }
  .header-row1 { gap: 10px; padding: 10px 0; }
  .head-actions { gap: 6px; }
  .icn-btn { padding: 8px 10px; font-size: 13px; }
  .nav { padding: 0 0 8px; }
  .nav a { padding: 6px 10px; font-size: 12px; }
  .mode-switch { margin-left: 0; }
  .mode-switch button { padding: 4px 10px; font-size: 11px; }

  /* --- hero --- */
  .hero { padding-top: 12px; }
  .hero-slider { border-radius: 16px; }
  .hero-slide { padding: 24px 20px 52px; gap: 0; }
  .hero-slide .copy h1 { font-size: clamp(28px, 8vw, 44px); margin-bottom: 10px; }
  .hero-slide .copy p { font-size: 14px; margin-bottom: 18px; }
  .hero-art { min-height: 160px; }
  .hero-side { display: none; }
  .hero-cta { gap: 8px; flex-wrap: wrap; }
  .hero-cta .btn { font-size: 13px; padding: 10px 14px; }
  .hero-arrows button { width: 38px; height: 38px; }

  /* --- trust strip --- */
  .trust-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .trust-item { padding: 10px 12px; gap: 8px; border-radius: 10px; }
  .trust-icon { width: 30px; height: 30px; border-radius: 8px; }
  .trust-title { font-size: 12px; }
  .trust-sub { display: none; }

  /* --- section heads --- */
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 16px; gap: 8px; }
  .section-head h2 { font-size: clamp(20px, 6vw, 28px); }
  .section-head .sub { max-width: 100%; font-size: 13px; }

  /* --- categories: horizontal scroll row --- */
  .cat-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card {
    flex: 0 0 80px;
    min-width: 80px;
    scroll-snap-align: start;
    padding: 12px 6px 10px;
    border-radius: 10px;
  }
  .cat-card .cat-icon { width: 44px; height: 44px; }
  .cat-card .cat-name { font-size: 11px; line-height: 1.2; }
  .cat-card .cat-count { display: none; }
  .cat-card::before { height: 44px; }

  /* --- products --- */
  .product-tools {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px;
  }
  .product-tools::-webkit-scrollbar { display: none; }
  .product-tools > div:last-child { display: none; } /* hide count on mobile */
  .chip { padding: 6px 12px; font-size: 12px; flex-shrink: 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod { padding: 10px 10px 12px; gap: 6px; }
  .prod-name { font-size: 12px; min-height: 30px; }
  .prod-brand { font-size: 10px; }
  .unit { display: none; }
  .price { font-size: 17px; }
  .price .cur { font-size: 11px; }
  .price-old { font-size: 11px; }
  .bulk-note { font-size: 10px; padding: 3px 6px; }
  .btn-row { gap: 5px; margin-top: 4px; }
  .btn-add { padding: 8px 6px; font-size: 12px; }
  .btn-wa { width: 34px; border-radius: 7px; }

  /* --- product modal — bottom sheet --- */
  .modal-back { align-items: flex-end; padding: 0; }
  .modal {
    border-radius: 20px 20px 0 0;
    max-height: 94vh;
    animation: rise-mobile .3s cubic-bezier(.2,.9,.3,1);
  }
  @keyframes rise-mobile { from { transform: translateY(40px); opacity: 0; } }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-img { padding: 24px; min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .modal-body { padding: 20px; }
  .modal-body h3 { font-size: 20px; }
  .modal-close { top: 12px; right: 12px; }

  /* --- offer --- */
  .count-grid { gap: 6px; }
  .count-cell { min-width: 58px; padding: 10px 8px; border-radius: 10px; }
  .count-cell .num { font-size: 26px; }
  .count-cell .lbl { font-size: 9px; }

  /* --- cart drawer --- */
  .drawer { width: 100%; }
  .drawer-head h3 { font-size: 18px; }

  /* --- checkout modal --- */
  .checkout-modal { max-height: 100vh; border-radius: 0; }
  .checkout-head { border-radius: 0; }
  .checkout-foot { border-radius: 0; }
  .checkout-body { padding: 18px; }
  .checkout-foot { padding: 12px 18px; }
  .confirm-grid { grid-template-columns: 1fr; }

  /* --- footer --- */
  .footer { padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
