
    html { scroll-behavior: smooth; background: #F8F4EE; }
    body { margin: 0; background: #F8F4EE; }
  
html[data-theme="dark"] {
  --wine: #F8A808;
  --wine-dark: #E19A05;
  --wine-soft: #C46B79;
  --cream: #121212;
  --cream-2: #171717;
  --gold: #F8A808;
  --sand: #252525;
  --text: #F5F5F5;
  --muted: #B8B8B8;
  --line: #303030;
  --green: #2FA86F;
  --shadow: 0 18px 40px rgba(0, 0, 0, .34);
}

html[data-theme="dark"] body {
  background: #121212 !important;
}

html[data-theme="dark"] #ls-app {
  background:
    radial-gradient(circle at top right, rgba(162,58,76,.07), transparent 24%),
    linear-gradient(180deg, #171717 0%, #121212 100%);
}

html[data-theme="dark"] .topbar {
  background: rgba(18,18,18,.92);
  border-bottom-color: #282828;
}

html[data-theme="dark"] .cart-button,
html[data-theme="dark"] .search,
html[data-theme="dark"] .category-btn,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .drawer,
html[data-theme="dark"] .drawer-footer,
html[data-theme="dark"] .notes textarea {
  background: #1B1B1B;
  color: var(--text);
  border-color: #303030;
}

html[data-theme="dark"] .toolbar {
  background: linear-gradient(180deg, rgba(18,18,18,.97), rgba(18,18,18,.88));
}

html[data-theme="dark"] .search {
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

html[data-theme="dark"] .category-btn {
  color: #C7C7C7;
}

html[data-theme="dark"] .category-btn.active {
  background: #F8A808;
  color: #171717;
  border-color: #F8A808;
  box-shadow: 0 0 0 1px rgba(248,168,8,.24);
}

html[data-theme="dark"] .thumb {
  background: #202020;
}

html[data-theme="dark"] .card {
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

html[data-theme="dark"] .card:hover {
  box-shadow: 0 18px 38px rgba(0,0,0,.32);
}

html[data-theme="dark"] .price,
html[data-theme="dark"] .brand-copy strong,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .footer strong {
  color: #F5F5F5;
}

html[data-theme="dark"] .add-btn,
html[data-theme="dark"] .floating-cart {
  background: #F8A808;
  color: #171717;
}

html[data-theme="dark"] .card-qty {
  background: #F8A808;
}

html[data-theme="dark"] .card-qty button {
  background: rgba(0,0,0,.12);
  color: #171717;
}

html[data-theme="dark"] .qty {
  background: #242424;
}

html[data-theme="dark"] .qty button {
  background: #303030;
  color: #F5F5F5;
}

html[data-theme="dark"] .footer {
  background: #151515;
  border-top-color: #282828;
}

html[data-theme="dark"] .drawer-backdrop {
  background: rgba(0,0,0,.62);
}

html[data-theme="dark"] .drawer {
  box-shadow: -24px 0 60px rgba(0,0,0,.45);
}

html[data-theme="dark"] .checkout-btn {
  background: #25895B;
}

html[data-theme="dark"] .theme-toggle {
  background: #1B1B1B;
  color: #F1C96B;
  border-color: #303030;
}


html[data-theme="dark"] .brand-mark {
  background: linear-gradient(135deg, #F8A808, #E19A05);
  color: #171717;
  box-shadow: 0 10px 24px rgba(248,168,8,.22);
}

html[data-theme="dark"] .cart-badge {
  background: #F8A808;
  color: #171717;
}

html[data-theme="dark"] .cart-button {
  color: #F5F5F5;
}

html[data-theme="dark"] .btn-primary {
  background: #F8A808;
  color: #171717;
  box-shadow: 0 12px 24px rgba(248,168,8,.18);
}

html[data-theme="dark"] .summary-dot {
  background: #F8A808;
  box-shadow: 0 0 0 8px rgba(248,168,8,.14);
}

html[data-theme="dark"] .theme-toggle {
  color: #F8A808;
}


/* En móvil, todo el carrito se desplaza como una sola columna.
   Así ningún producto queda cortado detrás del formulario. */
@media (max-width: 700px) {
  .drawer {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .drawer-head {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
  }

  html[data-theme="dark"] .drawer-head {
    background: #1B1B1B;
  }

  .drawer-items {
    flex: none;
    overflow: visible;
    padding-bottom: 8px;
  }

  .drawer-footer {
    flex: none;
    position: static;
  }

  .item {
    min-height: max-content;
  }
}



:root {
  --wine: #6B1F2B;
  --wine-dark: #4B121C;
  --wine-soft: #8E4A55;
  --cream: #F8F4EE;
  --cream-2: #FCFAF7;
  --gold: #D8A34A;
  --sand: #E9DFD1;
  --text: #221B1D;
  --muted: #72676A;
  --line: #EDE5DA;
  --green: #188C56;
  --shadow: 0 18px 40px rgba(48, 25, 31, .08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}
#ls-app, #ls-app * { box-sizing: border-box; }
#ls-app [hidden] { display: none !important; }
#ls-app {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(216,163,74,.11), transparent 22%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
#ls-app button, #ls-app input, #ls-app textarea { font: inherit; }
#ls-app button { cursor: pointer; }
#ls-app a { color: inherit; text-decoration: none; }
#ls-app img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(107,31,43,.07);
  background: rgba(252,250,247,.82);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  font-weight: 900; letter-spacing: -.04em;
  box-shadow: 0 10px 24px rgba(107,31,43,.18);
}
.brand-copy strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: 12px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.link-soft {
  padding: 10px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 650;
}
.cart-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.75);
  color: var(--wine-dark); font-weight: 800;
}
.cart-badge {
  min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; display: grid; place-items: center;
  background: var(--wine); color: #fff; font-size: 12px;
}

.hero {
  padding: 34px 0 26px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch;
}
.hero-copy, .hero-art {
  border: 1px solid rgba(107,31,43,.06);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: clamp(28px, 4vw, 54px);
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow {
  display: inline-flex; width: fit-content;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(107,31,43,.07); color: var(--wine);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: .98; letter-spacing: -.055em;
  max-width: 11ch;
}
.hero-copy p {
  margin: 0; max-width: 57ch;
  color: var(--muted); font-size: 16px;
}
.hero-actions {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px;
}
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; border-radius: 999px; font-weight: 800;
}
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 12px 24px rgba(107,31,43,.18); }
.btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--wine-dark); }
.hero-meta {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.hero-meta div {
  padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 20px; background: rgba(255,255,255,.8);
}
.hero-meta strong { display: block; font-size: 22px; color: var(--wine-dark); }
.hero-meta span { color: var(--muted); font-size: 13px; }
.hero-art {
  padding: 18px; display: grid; place-items: center;
  min-height: 560px;
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 24px;
}

.toolbar {
  margin-top: 18px;
  position: sticky; top: 76px; z-index: 40;
  padding: 12px 0 8px;
  background: linear-gradient(180deg, rgba(248,244,238,.95), rgba(248,244,238,.84));
  backdrop-filter: blur(14px);
}
.toolbar-inner {
  display: grid; gap: 12px;
}
.search {
  height: 56px; display: flex; align-items: center; gap: 12px;
  padding: 0 18px; border-radius: 20px;
  background: rgba(255,255,255,.82); border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(33,27,29,.04);
}
.search span { color: var(--muted); font-size: 20px; }
.search input {
  width: 100%; border: 0; outline: 0; background: transparent; color: var(--text);
}
.categories {
  display: flex; gap: 9px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none;
}
.categories::-webkit-scrollbar { display: none; }
.category-btn {
  flex: 0 0 auto; border: 1px solid var(--line); background: rgba(255,255,255,.82);
  color: var(--muted); padding: 10px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 750;
}
.category-btn.active {
  color: #fff; background: var(--wine); border-color: var(--wine);
}

.category-summary { padding-top: 16px; }
.summary-card {
  border: 1px solid var(--line); background: rgba(255,255,255,.75);
  border-radius: 20px; padding: 14px 16px; display: flex; align-items: center; gap: 10px;
}
.summary-dot {
  width: 10px; height: 10px; border-radius: 999px; background: var(--gold);
  box-shadow: 0 0 0 8px rgba(216,163,74,.14);
}
.summary-card p { margin: 0; color: var(--muted); font-size: 14px; }

.catalog { padding: 26px 0 120px; }
.section {
  margin-top: 34px; scroll-margin-top: 164px;
}
.section-head {
  margin-bottom: 16px;
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
}
.section-head h1,.section-head h2 {
  margin: 0; font-size: 28px; letter-spacing: -.04em;
}
.section-head span { color: var(--muted); font-size: 13px; }
.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.card {
  overflow: hidden; background: rgba(255,255,255,.82);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 10px 22px rgba(33,27,29,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(33,27,29,.08); }
.thumb {
  aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff, #f7f0e7);
  padding: 12px;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
}
.body { padding: 14px; }
.body h3 {
  margin: 0; font-size: 15px; line-height: 1.28; letter-spacing: -.018em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 39px;
}
.body p {
  margin: 6px 0 0; color: var(--muted); font-size: 12px; min-height: 18px;
}
.bottom {
  margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price {
  font-size: 17px; font-weight: 900; color: var(--wine-dark);
}
.add-btn {
  width: 40px; height: 40px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark)); color: #fff;
  font-size: 24px; line-height: 1; box-shadow: 0 12px 24px rgba(107,31,43,.16);
}

.card-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 12px 24px rgba(107,31,43,.16);
}
.card-qty button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.card-qty button:hover {
  background: rgba(255,255,255,.24);
}
.card-qty strong {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.empty {
  padding: 80px 20px 140px; text-align: center;
}
.empty-icon {
  width: 72px; height: 72px; margin: 0 auto 14px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(107,31,43,.08); color: var(--wine); font-size: 28px;
}
.empty h2 { margin: 0 0 6px; }
.empty p { margin: 0; color: var(--muted); }

.floating-cart {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(560px, calc(100% - 28px)); z-index: 45;
  border: 0; border-radius: 999px; padding: 15px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--wine); color: #fff; box-shadow: 0 24px 44px rgba(107,31,43,.28);
}

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(34,27,29,.34); backdrop-filter: blur(5px);
}
.drawer {
  position: fixed; top: 0; right: 0; z-index: 80;
  width: min(440px, 100%); height: 100dvh; background: #fff;
  /* One scroll container keeps products, form and submit reachable at any height. */
  display: block; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  scroll-padding-top: 120px; scroll-padding-bottom: 24px;
  box-shadow: -24px 0 60px rgba(31,22,24,.18);
  transform: translateX(104%); transition: transform .24s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 22px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 20; background: #fff;
}
html[data-theme="dark"] .drawer-head { background: #1B1B1B; }
.drawer-head small { color: var(--muted); }
.drawer-head h2 { margin: 2px 0 0; font-size: 28px; letter-spacing: -.04em; }
.icon-btn {
  width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: 14px; font-size: 26px; line-height: 1;
}
.drawer-items {
  flex: none; height: auto; max-height: none; overflow: visible; padding: 8px 20px 20px;
}
.item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.item img {
  width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: #f7f0e7;
}
.item h4 { margin: 0; font-size: 14px; line-height: 1.28; }
.item-price { margin-top: 4px; color: var(--wine); font-size: 13px; font-weight: 850; }
.qty {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 9px;
  padding: 4px; border-radius: 14px; background: #f7f3ee;
}
.qty button {
  width: 28px; height: 28px; border: 0; border-radius: 10px; background: #fff; font-weight: 900;
}
.remove-btn {
  border: 0; background: transparent; color: var(--wine-soft); font-size: 18px; align-self: start;
}
.drawer-empty {
  margin: auto; text-align: center; padding: 30px; color: var(--muted);
}
.drawer-empty div { font-size: 42px; }
.drawer-empty h3 { margin: 12px 0 4px; color: var(--text); }
.drawer-empty p { margin: 0; }
.drawer-footer {
  position: static; flex: none; height: auto; max-height: none; overflow: visible;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff;
}
.notes {
  display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 750;
}

.checkout-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  background: #fff;
  color: var(--text);
}

.checkout-field input:focus {
  border-color: rgba(107,31,43,.35);
  box-shadow: 0 0 0 4px rgba(107,31,43,.08);
}

html[data-theme="dark"] .checkout-field input {
  background: #1B1B1B;
  color: #F5F5F5;
  border-color: #303030;
}

html[data-theme="dark"] .checkout-field input:focus {
  border-color: #F8A808;
  box-shadow: 0 0 0 4px rgba(248,168,8,.12);
}

@media (max-width: 430px) {
  .checkout-field-row {
    grid-template-columns: 1fr;
  }
}
.notes textarea {
  width: 100%; min-height: 76px; resize: vertical; padding: 12px 13px;
  border: 1px solid var(--line); border-radius: 16px; outline: 0; background: #fff;
}
.notes textarea:focus {
  border-color: rgba(107,31,43,.35); box-shadow: 0 0 0 4px rgba(107,31,43,.08);
}
.total-row {
  margin: 15px 0; display: flex; align-items: center; justify-content: space-between;
}
.total-row strong { font-size: 24px; color: var(--wine-dark); }
.checkout-btn {
  width: 100%; border: 0; border-radius: 18px; padding: 15px;
  background: var(--green); color: #fff; font-weight: 900;
}
.small-note {
  margin: 8px 0 0; color: var(--muted); font-size: 11px; text-align: center;
}

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px);
  z-index: 100; padding: 11px 15px; border-radius: 14px; background: #241d1f; color: #fff;
  font-size: 13px; font-weight: 700; box-shadow: 0 18px 34px rgba(33,27,29,.18);
  opacity: 0; pointer-events: none; transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.footer {
  border-top: 1px solid rgba(107,31,43,.07);
  background: rgba(255,255,255,.44);
}
.footer-inner {
  padding: 26px 0 36px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.footer strong { font-size: 18px; }
.footer p { margin: 4px 0 0; color: var(--muted); }
.footer span { color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 20px, 1180px); }
  .topbar-inner { height: 68px; }
  .toolbar { top: 68px; }
  .brand-copy small, .link-soft { display: none; }
  .hero { padding-top: 18px; }
  .hero-copy h1 { font-size: 42px; max-width: 12ch; }
  .hero-meta { grid-template-columns: 1fr 1fr 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section-head h2 { font-size: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 390px) {
  .grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
}


@media (max-width: 700px) {
  .drawer {
    display: block !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .drawer-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    background: #fff !important;
  }

  html[data-theme="dark"] .drawer-head {
    background: #1B1B1B !important;
  }

  .drawer-items {
    display: block !important;
    flex: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px 20px 8px !important;
  }

  .drawer-items .item {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    break-inside: avoid;
  }

  .drawer-footer {
    display: block !important;
    position: static !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
  }

  .drawer-empty {
    min-height: 45vh;
  }
}


.builder-category-btn {
  font-weight: 900;
}

.builder-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.builder-kicker {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  color: var(--wine);
}

.builder-intro h2 {
  margin: 0 0 7px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
}

.builder-intro p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.builder-rule {
  flex: 0 0 auto;
  min-width: 100px;
  padding: 16px;
  border-radius: 20px;
  background: var(--wine);
  color: #fff;
  text-align: center;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.builder-rule small {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 800;
  opacity: .84;
}

.builder-card .body > p {
  min-height: 0;
}

.builder-bottom {
  align-items: center;
  gap: 10px;
}

.per-unit {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.builder-add-btn {
  border: 0;
  border-radius: 13px;
  padding: 10px 12px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.builder-subtotal {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.builder-cart-label {
  margin: 3px 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

html[data-theme="dark"] .builder-intro {
  background: #1B1B1B;
  border-color: #303030;
}

html[data-theme="dark"] .builder-kicker {
  color: #F8A808;
}

html[data-theme="dark"] .builder-rule,
html[data-theme="dark"] .builder-add-btn {
  background: #F8A808;
  color: #171717;
}

html[data-theme="dark"] .builder-category-btn.active {
  background: #F8A808;
  color: #171717;
  border-color: #F8A808;
}

@media (max-width: 700px) {
  .builder-intro {
    align-items: flex-start;
    padding: 18px;
  }

  .builder-rule {
    min-width: 82px;
    padding: 13px 10px;
    font-size: 20px;
  }
}

@media (max-width: 460px) {
  .builder-intro {
    display: block;
  }

  .builder-rule {
    display: inline-block;
    margin-top: 14px;
  }

  .builder-add-btn {
    padding: 9px 10px;
  }
}

.product-details{margin-top:12px;color:var(--muted);font-size:13px}.product-details-title{margin:0;font:inherit;font-weight:700;color:var(--text)}.product-details p{height:auto!important;display:block!important;margin:8px 0}.product-details ul{padding-left:18px}
.preview-banner{position:relative;z-index:80;padding:12px 16px;background:#f8a808;color:#151515;text-align:center;font-weight:700}.preview-banner a{text-decoration:underline}
.order-result{padding:18px;border:1px solid var(--line);border-radius:18px;margin:16px;color:var(--text);background:var(--cream)}.order-result p{overflow-wrap:anywhere}.order-result a{display:block;padding:14px;background:#188c56;color:white!important;border-radius:12px;text-align:center;font-weight:800;margin-top:12px}
.checkout-btn:disabled{opacity:.6;cursor:wait}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.load-error{padding:32px;text-align:center}.drawer[aria-hidden="true"]{visibility:hidden}.drawer[aria-hidden="false"]{visibility:visible}.thumb img{object-fit:contain}.checkout-field input:invalid:not(:placeholder-shown){border-color:#b14545}

.featured-menu{padding-top:26px;display:grid;gap:20px}
.featured-product{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);overflow:hidden;border:1px solid var(--line);border-radius:28px;background:var(--cream-2);box-shadow:var(--shadow)}
.featured-media{display:grid;place-items:center;min-width:0;padding:18px;background:rgba(216,163,74,.07)}
.featured-media img{width:100%;height:100%;max-height:620px;object-fit:contain;border-radius:16px}
.featured-copy{padding:clamp(24px,4vw,46px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.featured-kicker{align-self:flex-start;padding:7px 12px;border-radius:999px;background:rgba(216,163,74,.17);color:var(--wine);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.featured-copy h1{margin:18px 0 12px;font-size:clamp(30px,3.8vw,48px);line-height:1.05;letter-spacing:-.035em;overflow-wrap:anywhere}
.featured-subtitle{margin:0 0 12px;font-size:18px;font-weight:700;color:var(--text)}
.featured-description{margin:0;color:var(--muted);font-size:15px;line-height:1.65;white-space:pre-line}
.featured-components{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:22px 0 0;padding:0;list-style:none;font-size:14px;color:var(--text)}
.featured-components li{padding-left:14px;position:relative;overflow-wrap:anywhere}.featured-components li::before{content:"";position:absolute;left:0;top:.55em;width:5px;height:5px;background:var(--gold);border-radius:50%}.featured-components span{color:var(--muted)}
.featured-buy{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-top:28px}
.featured-price{font-size:clamp(30px,3.6vw,42px);font-weight:900;letter-spacing:-.03em;color:var(--wine-dark);line-height:1.15}
.product-price-offer{display:flex;flex-direction:column;gap:5px;min-width:0}.price-before{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);line-height:1.2}.featured-price-offer .price-before{font-size:16px}
.discount-badge{display:inline-flex;padding:4px 7px;border-radius:7px;background:rgba(24,140,86,.12);color:#126e43;font-size:11px;font-weight:900}.featured-price-offer .discount-badge{font-size:12px}
.featured-controls{display:flex;flex-direction:column;align-items:center;gap:7px}.featured-add{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;border:0;border-radius:15px;padding:14px 20px;background:var(--wine);color:#fff;font-weight:850}.featured-add span{font-size:24px;line-height:1}.featured-add:hover{background:var(--wine-dark)}
.featured-qty{gap:14px;padding:6px}.featured-qty button{width:44px;height:44px;font-size:25px}.featured-qty strong{min-width:30px;font-size:20px}.featured-cart-note{font-size:12px;color:var(--muted)}
.featured-deadline{margin:16px 0 0;color:var(--muted);font-size:12px}.body p.product-discount-deadline{margin-top:10px;min-height:0;line-height:1.45;font-size:11px}
.price-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.featured-add:focus-visible,.featured-qty button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
html[data-theme="dark"] .featured-product{background:#1b1b1b}html[data-theme="dark"] .featured-kicker,html[data-theme="dark"] .featured-price{color:#f8a808}html[data-theme="dark"] .featured-add{background:#f8a808;color:#171717}html[data-theme="dark"] .featured-add:hover{background:#ffbd39}html[data-theme="dark"] .discount-badge{background:rgba(105,211,153,.15);color:#8ee3b2}
@media(max-width:760px){.featured-menu{padding-top:16px}.featured-product{grid-template-columns:1fr;border-radius:22px}.featured-media{padding:12px}.featured-media img{height:auto;max-height:560px}.featured-copy{padding:24px}.featured-copy h1{font-size:32px}.featured-buy{gap:16px}.featured-components{gap:10px 14px}}
@media(max-width:420px){.featured-copy{padding:20px}.featured-components{grid-template-columns:1fr}.featured-buy{align-items:flex-start;flex-direction:column}.featured-controls,.featured-add{width:100%}.featured-controls{align-items:stretch}.featured-qty{align-self:flex-start}.featured-cart-note{text-align:left}}

.product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:14px;padding-top:10px;border-top:1px solid var(--line)}
.product-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:0;border-radius:9px;padding:8px 6px;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.product-action svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.product-action:hover{background:rgba(216,163,74,.1);color:var(--wine-dark)}
.product-action:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.featured-heading-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 14px}
.featured-heading-tools .product-actions{margin:0;padding:0;border:0}
.featured-heading-tools .product-action{font-size:12px}
.share-copy-buffer{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0}
.thumb,.featured-media{position:relative}
.product-copy-icon{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(20,20,20,.6);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12);cursor:pointer;backdrop-filter:blur(5px)}
.featured-media .product-copy-icon{top:26px;right:26px}
.product-copy-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-copy-icon:hover{background:rgba(20,20,20,.82)}.product-copy-icon:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.product-copy-icon:disabled{cursor:wait;opacity:.65}
@media(max-width:760px){.featured-media .product-copy-icon{top:20px;right:20px}}
@media(pointer:coarse){.product-copy-icon{width:44px;height:44px}}
@media(max-width:420px){.product-actions{gap:2px 5px}.product-action{padding:8px 4px;font-size:10px}.featured-heading-tools .product-action{font-size:11px}}

.share-overlay,.share-overlay *{box-sizing:border-box}.share-overlay[hidden],.share-option[hidden],.share-manual[hidden]{display:none!important}
.share-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.58);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);overflow:auto;overscroll-behavior:contain}
.share-sheet{width:min(100%,480px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--line);border-radius:26px;background:var(--cream-2);padding:26px;box-shadow:0 20px 70px rgba(0,0,0,.3)}
.share-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.share-eyebrow{margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.share-sheet h2{margin:0;font-size:23px;line-height:1.2;overflow-wrap:anywhere}
.share-close{flex:none;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text);font-size:28px;cursor:pointer}.share-hint{margin:16px 0 20px;font-size:14px;color:var(--muted);line-height:1.45}
.share-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}.share-option{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:106px;padding:12px 4px;border:1px solid var(--line);border-radius:16px;background:transparent;color:var(--text);font:inherit;font-size:12px;font-weight:700;text-decoration:none;text-align:center;cursor:pointer;line-height:1.3}.share-option:hover{background:var(--sand)}.share-option:disabled{opacity:.55;cursor:wait}
.share-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--sand);color:var(--text);font-size:24px;font-weight:800}.share-whatsapp{background:#187f4a;color:#fff}.share-facebook{background:#1764d5;color:#fff}.share-instagram{background:linear-gradient(140deg,#f9a335,#dd2a7b,#8134af);color:#fff}
.share-status{margin:18px 0 0;min-height:2.8em;color:var(--muted);font-size:13px;line-height:1.4}.share-option:focus-visible,.share-close:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.share-symbol svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.share-manual label{display:block;margin-bottom:6px;font-size:12px;color:var(--muted)}.share-manual input{width:100%;min-height:42px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--cream);color:var(--text);font:inherit;font-size:13px}
@media(max-width:600px){.share-overlay{align-items:flex-end;padding:0}.share-sheet{width:100%;max-height:calc(100dvh - 20px);border-radius:24px 24px 0 0;padding:24px 20px calc(20px + env(safe-area-inset-bottom))}.share-sheet h2{font-size:22px}.share-options{gap:10px 8px}.share-option{min-height:100px}}

.share-instagram-hint{margin:18px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}.share-status:empty{display:none}
@media(max-width:420px){.share-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Align nearby product rows without trapping long descriptions or fast scrolling. */
html.menu-scroll {
  scroll-snap-type:y proximity;
  scroll-padding-top:var(--menu-scroll-top,224px);
  scroll-padding-bottom:var(--menu-scroll-bottom,16px);
}
.menu-scroll .grid > .card {scroll-snap-align:start;scroll-snap-stop:normal;}
.menu-scroll .grid > .card > .thumb {width:100%;max-height:clamp(170px,30svh,300px);}
.menu-scroll .categories {scroll-snap-type:x proximity;scroll-padding-inline:4px;}
.menu-scroll .category-btn {scroll-snap-align:start;scroll-snap-stop:normal;}
.menu-scroll #empty {scroll-margin-top:12px;}
@media(max-width:700px){html.menu-scroll{scroll-padding-top:var(--menu-scroll-top,216px);}}
@media(prefers-reduced-motion:reduce){html.menu-scroll{scroll-behavior:auto;}}

/* Category links share the same device panel and social options as products. */
.category-heading{min-width:0}
.category-heading h1,.category-heading h2{overflow-wrap:anywhere}
.category-heading>span{display:block;margin-top:4px}
.category-share-actions{display:flex;align-items:center;gap:4px;flex:none}
.category-share-actions .product-action{padding:8px;font-size:12px}
.category-share-actions .product-action span{font-size:inherit}
.category-copy-icon{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:9px;padding:0;background:transparent;color:var(--muted);cursor:pointer}
.category-copy-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.category-copy-icon:hover{background:rgba(216,163,74,.1);color:var(--wine-dark)}
.category-copy-icon:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.category-copy-icon:disabled{opacity:.55;cursor:wait}
.builder-share-head{align-items:center}
.builder-share-head h1,.builder-share-head h2{font-size:22px}
.category-unavailable{padding:38px 22px;text-align:center;border:1px solid var(--line);border-radius:22px;background:var(--cream-2)}
.category-unavailable h1,.category-unavailable h2{margin:0 0 10px;font-size:24px}
.category-unavailable p{margin:0 0 20px;color:var(--muted)}
.order-result{flex:none}
.order-success-heading{display:flex;align-items:center;gap:10px}
.order-success-heading h3{margin:0;font-size:21px;line-height:1.2}
.order-success-mark{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:rgba(24,140,86,.13);color:var(--green);font-size:20px;font-weight:800}
.order-result .order-reference{margin:10px 0 20px;color:var(--muted);font-size:12px;line-height:1.5}
.order-success-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--line);font-size:14px}
.order-success-total strong{font-size:20px;white-space:nowrap}
.order-result .order-success-note{margin:4px 0 18px;color:var(--muted);font-size:12px}
.order-result .order-success-next{margin:0;font-size:14px;line-height:1.5}
@media(max-width:520px){.section-head{align-items:flex-start;flex-wrap:wrap}.category-heading{flex:1 1 170px}.category-share-actions{margin-left:auto}.section-head h1,.section-head h2{font-size:25px}.builder-share-head h1,.builder-share-head h2{font-size:21px}}
@media(pointer:coarse){.category-copy-icon,.category-share-actions .product-action{min-width:44px;min-height:44px}}
