:root {
  --brand: #66000d;
  --brand-dark: #410008;
  --accent: #d80a20;
  --accent-dark: #b60016;
  --ink: #241d1e;
  --muted: #716568;
  --paper: #f8f5f3;
  --surface: #ffffff;
  --soft: #f4ebed;
  --line: #e5dadd;
  --success: #08783f;
  --warning: #7b4c00;
  --danger: #a80016;
  --whatsapp: #138c4d;
  --shadow: 0 18px 50px rgba(62, 0, 9, .11);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
body.has-mobile-cart { padding-bottom: 0; }
button, input, select, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
button, input, select, textarea, a { outline: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  box-shadow: 0 0 0 4px rgba(216, 10, 32, .2);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wrap { width: min(1320px, calc(100% - 36px)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.service-banner {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 8px 14px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  text-align: center;
}
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(102, 0, 13, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 32px rgba(70, 0, 10, .06);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1380px, calc(100% - 32px));
  height: 84px;
  margin-inline: auto;
}
.brand {
  display: grid;
  flex: 0 0 126px;
  place-items: center;
  min-height: 58px;
  border-radius: 10px;
}
.brand img { width: 118px; height: auto; }
.search-box {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 50px;
  padding: 0 17px;
  border: 1px solid #dcd1d4;
  border-radius: 15px;
  background: #fcfbfa;
  transition: border-color .18s, box-shadow .18s;
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(216, 10, 32, .09); }
.search-box svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #76696c; stroke-width: 1.8; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; color: var(--ink); background: transparent; line-height: 1.4; }
.search-box input::placeholder { color: #8b7f81; }
.desktop-search { flex: 1; }
.mobile-search { display: none; margin-bottom: 14px; }
.cart-button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 17px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(216, 10, 32, .22);
  font-weight: 900;
  cursor: pointer;
}
.cart-button:hover { background: var(--accent-dark); }
.cart-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--accent);
  background: #fff;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding-block: clamp(48px, 7vw, 90px) 58px;
}
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 950; letter-spacing: .14em; }
.hero h1, .section-heading h2, .assistance h2, .drawer h2, .checkout-head h2 {
  margin: .25em 0;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: .98;
  letter-spacing: -.052em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:not(.location-line) { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 29px 0 23px; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 13px;
  font-weight: 900;
  text-decoration: none;
}
.primary-button { color: #fff; background: var(--accent); box-shadow: 0 12px 24px rgba(216, 10, 32, .18); }
.primary-button:hover { background: var(--accent-dark); }
.secondary-button { border: 1px solid var(--line); color: var(--brand); background: #fff; }
.location-line { display: flex; align-items: center; gap: 8px; margin: 0; color: #5f5355; font-size: 14px; font-weight: 800; }
.location-line svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.order-guide {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 25px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #8b0012);
}
.guide-head > span { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.guide-head strong { font-size: 17px; }
.order-guide ol { display: grid; gap: 0; margin: 0; padding: 8px 25px; list-style: none; }
.order-guide li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.order-guide li:last-child { border-bottom: 0; }
.order-guide li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--brand); background: var(--soft); font-weight: 950; }
.order-guide li strong, .order-guide li small { display: block; }
.order-guide li strong { margin-bottom: 4px; }
.order-guide li small { color: var(--muted); line-height: 1.4; }
.order-guide > p { margin: 0; padding: 15px 25px; color: #695c5f; background: #faf7f6; font-size: 12px; line-height: 1.5; text-align: center; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 68px; }
.trust-strip article { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.trust-strip article > span { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--soft); }
.trust-strip article > span svg { width: 23px; height: 23px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip small { margin-top: 3px; color: var(--muted); line-height: 1.35; }

.catalog { scroll-margin-top: 112px; padding-bottom: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2, .assistance h2 { font-size: clamp(36px, 4vw, 56px); }
.section-heading p { max-width: 520px; margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 750; line-height: 1.45; text-align: right; }
.chips {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-padding-inline: 2px;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.chip {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4e4244;
  background: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
}
.chip:hover, .chip.active { border-color: var(--brand); color: #fff; background: var(--brand); }
.catalog-notice { margin: 0 0 16px; padding: 13px 16px; border: 1px solid #b9dbc9; border-radius: 13px; color: #075d35; background: #effaf4; font-size: 13px; font-weight: 700; }
.catalog-notice[data-tone="warning"] { border-color: #ead5a5; color: var(--warning); background: #fff8e9; }
.loading-state, .catalog-error, .empty-state {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 35px;
  color: var(--muted);
  text-align: center;
}
.loading-state strong, .loading-state small { display: block; }
.loading-state small { margin-top: 4px; }
.spinner { width: 34px; height: 34px; margin-bottom: 13px; border: 4px solid var(--soft); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(52, 0, 7, .045);
  transition: transform .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(52, 0, 7, .09); }
.product-image { position: relative; display: grid; overflow: hidden; place-items: center; aspect-ratio: 1 / 1; padding: 17px; background: linear-gradient(145deg, #fff, #f4eeef); }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.missing-image::after { content: "Sin foto confirmada"; position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 999px; color: var(--brand); background: rgba(255, 255, 255, .92); font-size: 9px; font-weight: 900; }
.product-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 17px; }
.product-meta { overflow: hidden; color: var(--accent); font-size: 10px; font-weight: 950; letter-spacing: .09em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.product-card h3 { display: -webkit-box; overflow: hidden; min-height: 43px; margin: 8px 0 5px; font-size: 17px; line-height: 1.27; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-detail { display: -webkit-box; overflow: hidden; min-height: 35px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.price-block { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.product-price { min-width: 0; color: var(--brand-dark); font-size: clamp(18px, 1.8vw, 23px); line-height: 1.12; letter-spacing: -.03em; }
.product-sku { flex: none; color: #96898c; font-size: 9px; }
.product-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 13px; }
.product-actions:has(.weight-select) { grid-template-columns: minmax(92px, .72fr) 1fr; }
.product-actions:has(.card-quantity) { grid-template-columns: minmax(112px, .8fr) 1fr; }
.weight-select, .add-button { width: 100%; min-width: 0; min-height: 46px; border-radius: 12px; font-weight: 900; }
.weight-select { padding: 0 10px; border: 1px solid var(--line); color: var(--brand); background: #fff; cursor: pointer; }
.add-button { border: 0; color: var(--brand); background: var(--soft); cursor: pointer; }
.add-button:hover, .add-button.added { color: #fff; background: var(--accent); }
.card-quantity { display: grid; grid-template-columns: 36px 1fr 36px; min-height: 46px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.card-quantity button { border: 0; color: var(--brand); background: var(--soft); font-size: 19px; font-weight: 900; cursor: pointer; }
.card-quantity output { display: grid; place-items: center; min-width: 30px; color: var(--ink); font-weight: 900; }
.card-quantity button:hover { color: #fff; background: var(--brand); }
.empty-state > span { color: #b39da1; font-size: 50px; }
.empty-state strong { color: var(--ink); font-size: 23px; }
.empty-state p { margin: 4px 0 13px; }
.empty-state button, .catalog-error button { min-height: 44px; padding: 0 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--brand); background: #fff; font-weight: 850; cursor: pointer; }
.load-more-wrap { display: flex; justify-content: center; min-height: 66px; padding-top: 25px; }
.load-more { min-height: 48px; padding: 0 23px; border: 1px solid var(--brand); border-radius: 13px; color: var(--brand); background: #fff; font-weight: 900; cursor: pointer; }
.load-more:hover { color: #fff; background: var(--brand); }

.assistance {
  display: grid;
  grid-template-columns: 1fr .82fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 28px;
  color: #fff;
  background: var(--brand);
}
.assistance .eyebrow { color: #ffabb5; }
.assistance h2 { margin-bottom: 0; }
.assistance-copy { color: #f0dce0; line-height: 1.65; }
.assistance-copy p { margin: 0 0 14px; }

.site-footer { color: #fff; background: #270005; }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 50px; min-height: 235px; padding-block: 42px; }
.footer-brand img { width: 128px; height: auto; filter: drop-shadow(0 8px 15px rgba(0, 0, 0, .15)); }
.site-footer strong { display: block; margin-bottom: 12px; color: #fff; }
.site-footer p, .site-footer address, .site-footer a { color: #ddc8cc; font-size: 14px; line-height: 1.65; }
.site-footer a { display: inline-block; margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 15px; }
.opening-hours { display: grid; gap: 3px; margin-bottom: 12px; color: #ddc8cc; font-size: 14px; line-height: 1.5; }
.footer-credit { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-block: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .09); color: #9e858a; font-size: 11px; }
.site-footer .runa-credit { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: #ddc8cc; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-decoration: none; transition: color .2s ease; }
.site-footer .runa-credit:hover { color: #fff; }
.runa-credit svg { flex: 0 0 auto; }

.overlay { position: fixed; z-index: 70; inset: 0; background: rgba(24, 0, 4, .52); backdrop-filter: blur(3px); }
.drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(480px, 100%);
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px rgba(30, 0, 4, .23);
  transform: translateX(102%);
  transition: transform .22s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-head, .checkout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 23px; border-bottom: 1px solid var(--line); }
.drawer-head h2, .checkout-head h2 { margin: .14em 0 0; font-size: 34px; }
.icon-button { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 29px; line-height: 1; cursor: pointer; }
.cart-notices { padding: 9px 18px; border-bottom: 1px solid #e3cf9d; color: var(--warning); background: #fff9e9; font-size: 12px; }
.cart-notices p { margin: 5px 0; }
.cart-items { overflow-y: auto; padding: 8px 19px; overscroll-behavior: contain; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { position: relative; display: grid; overflow: hidden; place-items: center; width: 72px; height: 72px; border-radius: 13px; background: #f6f0f1; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-image.missing-image::after { display: none; }
.cart-item-info { min-width: 0; }
.cart-item-title { display: block; font-size: 13px; line-height: 1.32; }
.cart-item-price { display: block; margin-top: 4px; color: var(--muted); }
.cart-line-subtotal { display: block; margin-top: 5px; color: var(--brand); font-size: 12px; font-weight: 850; }
.remove-item { margin-top: 6px; padding: 0; border: 0; color: var(--danger); background: none; font-size: 11px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.quantity-control { display: grid; grid-template-columns: 32px minmax(36px, auto) 32px; align-items: center; gap: 4px; }
.quantity-control button { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 950; cursor: pointer; }
.quantity-control b { color: var(--brand); font-size: 11px; text-align: center; white-space: nowrap; }
.cart-empty { display: grid; flex: 1; place-items: center; align-content: center; gap: 7px; padding: 30px; color: var(--muted); text-align: center; }
.cart-empty > span { font-size: 40px; }
.cart-empty strong { color: var(--ink); font-size: 20px; }
.drawer-footer { display: grid; gap: 11px; margin-top: auto; padding: 18px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart-summary-line, .subtotal { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.cart-summary-line { color: var(--muted); font-size: 12px; }
.subtotal strong { color: var(--brand); font-size: 24px; }
.checkout-start, .clear-cart { width: 100%; min-height: 49px; border-radius: 13px; font-weight: 900; cursor: pointer; }
.checkout-start { border: 0; color: #fff; background: var(--whatsapp); }
.checkout-start:hover { background: #0b783f; }
.clear-cart { border: 1px solid var(--line); color: var(--brand); background: #fff; }
.checkout-start:disabled, .clear-cart:disabled { cursor: not-allowed; opacity: .45; }
.drawer-footer > small { color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }

.checkout-modal {
  position: fixed;
  z-index: 90;
  inset: 50% auto auto 50%;
  width: min(900px, calc(100% - 30px));
  max-height: min(92dvh, 940px);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(30, 0, 4, .3);
  opacity: 0;
  transform: translate(-50%, -48%) scale(.98);
  transition: opacity .18s, transform .18s;
}
.checkout-modal.open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.checkout-modal form { display: grid; max-height: inherit; grid-template-rows: auto minmax(0, 1fr) auto; }
.checkout-head { padding: 19px 24px; }
.checkout-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.checkout-body { display: grid; gap: 14px; overflow-y: auto; padding: 20px 24px 24px; background: #fbf9f8; overscroll-behavior: contain; }
.form-summary { padding: 14px 17px; border: 1px solid #ebb3bb; border-radius: 13px; color: var(--danger); background: #fff0f2; }
.form-summary strong { display: block; margin-bottom: 5px; }
.form-summary ul { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.5; }
.form-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.form-section > h3, .form-section > legend { grid-column: 1 / -1; width: 100%; margin: 0 0 2px; padding: 0; color: var(--brand); font-size: 15px; font-weight: 950; }
.form-section > h3 span, .form-section > legend span { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 7px; border-radius: 9px; color: #fff; background: var(--brand); font-size: 12px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field.full-width { grid-column: 1 / -1; }
.field > span { color: #4e4144; font-size: 12px; font-weight: 850; }
.field b { color: var(--accent); }
.field em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #dcd1d4; border-radius: 11px; color: var(--ink); background: #fff; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], input[aria-invalid="true"] { border-color: var(--danger); background: #fff8f9; }
.field-error { min-height: 0; color: var(--danger); font-size: 11px; font-weight: 750; }
.field-error:empty { display: none; }
.choice-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-card { display: flex; align-items: flex-start; gap: 10px; min-height: 78px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--brand); background: #fbf2f4; box-shadow: inset 0 0 0 1px var(--brand); }
.choice-card input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 13px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.delivery-fields { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 4px; }
.conditional-panel { grid-column: 1 / -1; padding: 13px; border-radius: 12px; background: #f8f3f4; }
.safe-note { margin: 0; color: #4f4345; font-size: 12px; line-height: 1.5; }
.change-line { margin: 7px 0 0; color: var(--brand); font-size: 12px; font-weight: 850; }
.stacked-choices { display: grid; grid-column: 1 / -1; gap: 8px; }
.stacked-choices label { min-height: 43px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; font-size: 13px; cursor: pointer; }
.stacked-choices label:has(input:checked) { border-color: var(--brand); background: #fbf2f4; }
.stacked-choices input { margin-right: 7px; accent-color: var(--brand); }
.checkout-total { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 15px; padding: 18px; border-radius: 16px; color: #fff; background: var(--brand); }
.checkout-total strong { font-size: 25px; }
.checkout-total small { grid-column: 1 / -1; color: #ead4d8; font-size: 11px; }
.checkout-actions { display: grid; grid-template-columns: .6fr 1.4fr; gap: 10px; padding: 15px 24px max(15px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.checkout-actions button { min-height: 49px; border-radius: 13px; font-weight: 900; cursor: pointer; }
.secondary-action { border: 1px solid var(--line); color: var(--brand); background: #fff; }
.whatsapp-action { border: 0; color: #fff; background: var(--whatsapp); }

.mobile-cart-bar { display: none; }
.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 24px;
  max-width: min(90vw, 500px);
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: #211b1c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  transform: translate(-50%, 140px);
  transition: transform .24s;
}
.toast.show { transform: translate(-50%, 0); }
.analytics-consent { position: fixed; z-index: 150; right: 18px; bottom: 18px; width: min(420px, calc(100% - 36px)); padding: 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; color: #fff; background: #211b1c; box-shadow: 0 18px 48px rgba(0, 0, 0, .32); }
.analytics-consent p { margin: 0 0 14px; font-size: 13px; line-height: 1.5; }
.analytics-consent p strong { display: block; margin-bottom: 3px; }
.analytics-consent > div { display: flex; justify-content: flex-end; gap: 8px; }
.analytics-consent button { min-height: 42px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 11px; color: #fff; background: transparent; font-weight: 850; cursor: pointer; }
.analytics-consent #acceptAnalytics { border-color: var(--accent); background: var(--accent); }
.noscript { margin: 0; padding: 15px; color: #fff; background: var(--danger); text-align: center; }

@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 35px; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .order-guide { max-width: 680px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article { padding: 15px 17px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assistance { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 92px; }
  body.has-mobile-cart { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .wrap { width: min(100% - 22px, 1320px); }
  .service-banner { display: block; padding: 7px 10px; font-size: 10px; line-height: 1.4; }
  .service-banner span:nth-child(2) { display: none; }
  .service-banner span { display: block; }
  .header-inner { width: calc(100% - 20px); height: 70px; gap: 8px; }
  .brand { flex-basis: 110px; justify-content: start; }
  .brand img { width: 104px; }
  .desktop-search { display: none; }
  .mobile-search { display: flex; }
  .cart-button { margin-left: auto; min-height: 44px; padding: 0 11px; }
  .cart-label { display: none; }
  .hero { gap: 27px; padding-block: 34px 42px; }
  .hero h1 { font-size: clamp(43px, 14vw, 60px); }
  .hero-copy > p:not(.location-line) { font-size: 16px; }
  .hero-actions > a { flex: 1 1 100%; }
  .guide-head { padding: 18px; }
  .order-guide ol { padding-inline: 18px; }
  .order-guide li { padding: 16px 0; }
  .order-guide > p { padding-inline: 18px; }
  .trust-strip { margin-bottom: 52px; }
  .catalog { padding-bottom: 62px; }
  .section-heading { display: block; margin-bottom: 15px; }
  .section-heading h2 { margin-bottom: 10px; }
  .section-heading p { max-width: none; margin: 0; font-size: 11px; text-align: left; }
  .chips { margin-right: -11px; padding-right: 11px; scroll-snap-type: x proximity; }
  .chip { min-height: 42px; padding-inline: 14px; font-size: 12px; }
  .product-grid { gap: 10px; }
  .product-card { border-radius: 16px; }
  .product-image { padding: 10px; }
  .product-body { padding: 12px; }
  .product-card h3 { min-height: 38px; font-size: 14px; }
  .product-detail { min-height: 31px; font-size: 11px; }
  .price-block { display: block; }
  .product-price { display: block; font-size: 17px; }
  .product-sku { display: none; }
  .product-actions:has(.weight-select) { grid-template-columns: 1fr; }
  .product-actions:has(.card-quantity) { grid-template-columns: 1fr; }
  .card-quantity { min-height: 43px; }
  .weight-select, .add-button { min-height: 43px; font-size: 12px; }
  .assistance { margin-bottom: 55px; padding: 27px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-block: 35px; text-align: center; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { margin-inline: auto; }
  .footer-links { justify-content: center; }
  .footer-credit { justify-content: center; }
  .drawer { width: 100%; }
  .cart-item { grid-template-columns: 62px minmax(0, 1fr); }
  .cart-item-image { width: 62px; height: 62px; }
  .quantity-control { grid-column: 2; justify-content: start; }
  .checkout-modal { inset: 0; width: 100%; max-height: 100dvh; border-radius: 0; transform: translateY(10px); }
  .checkout-modal.open { transform: none; }
  .checkout-head { padding: 15px 16px; }
  .checkout-head h2 { font-size: 29px; }
  .checkout-body { padding: 13px 12px 18px; }
  .form-section { grid-template-columns: 1fr; padding: 15px; }
  .choice-grid, .delivery-fields { grid-template-columns: 1fr; }
  .checkout-actions { grid-template-columns: 1fr; padding-inline: 12px; }
  .secondary-action { order: 2; }
  .mobile-cart-bar {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 0 17px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: var(--brand);
    box-shadow: 0 15px 36px rgba(43, 0, 6, .28);
    font-weight: 900;
    cursor: pointer;
  }
  .mobile-cart-bar strong { font-size: 12px; text-align: right; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .analytics-consent { right: 10px; bottom: calc(82px + env(safe-area-inset-bottom)); width: calc(100% - 20px); }
  .analytics-consent > div { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 350px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card h3 { min-height: auto; font-size: 16px; }
  .product-actions:has(.weight-select) { grid-template-columns: .8fr 1fr; }
  .product-actions:has(.card-quantity) { grid-template-columns: .9fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
