﻿/*
   EO Market — Flujo de compra · styles.css
   Builds on colors_and_type.css tokens. No hard-coded brand hexes.
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; }

/* ---------- loading screen ---------- */
.app-loading {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  background: var(--eo-pink-100);
}
.app-loading__spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--eo-pink-200);
  border-top-color: var(--eo-magenta);
  animation: spin .7s linear infinite;
}
.app-loading__text { font-family: var(--font-body); font-weight: 600; color: var(--eo-slate); }
@keyframes spin { to { transform: rotate(360deg); } }

/* spinner dentro del botón de confirmar */
.btn-spinner {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .6s linear infinite;
}
body { font-family: var(--font-body); background: var(--eo-pink-100); color: var(--eo-ink); -webkit-font-smoothing: antialiased; }
img { display: block; }
button, input, select, textarea { font-family: inherit; }
.app { min-height: 100vh; }

/* ---------- shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 12px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--eo-magenta); }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.muted { color: var(--eo-slate-300); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--eo-magenta); }
.price-lg { font-size: 26px; }

.btn { font-family: var(--font-body); font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  border-radius: var(--r-pill); padding: 13px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .12s ease, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--eo-magenta); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { background: var(--eo-magenta-700); }
.btn-secondary { background: #fff; color: var(--eo-magenta); box-shadow: inset 0 0 0 2px var(--eo-magenta); }
.btn-secondary:hover { background: var(--eo-pink-100); }
.btn-ghost { background: none; color: var(--eo-slate); box-shadow: inset 0 0 0 2px var(--eo-slate-100); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--eo-slate-300); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--eo-slate-100); color: var(--eo-slate); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--eo-pink-200); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--eo-slate-100); }
.hdr-inner { max-width: 1200px; margin: 0 auto; padding: 11px 24px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.brand-eo { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--eo-magenta); line-height: .8; }
.brand-stack { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--eo-slate); line-height: 1; }
.brand-tag { font-weight: 600; font-size: 8.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--eo-slate-500); }

.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 9px; background: var(--eo-slate-100);
  border: 2px solid transparent; border-radius: var(--r-pill); padding: 9px 16px; color: var(--eo-slate-500); }
.search:focus-within { border-color: var(--eo-magenta); background: #fff; box-shadow: 0 0 0 4px var(--focus-ring); }
.search input { border: 0; background: transparent; outline: 0; font-weight: 500; font-size: 14.5px; width: 100%; color: var(--eo-ink); }
.search input::placeholder { color: var(--eo-slate-500); }

.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.city-wrap { position: relative; }
.city-btn { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--eo-slate-100);
  border-radius: var(--r-pill); padding: 8px 14px; font-weight: 700; font-size: 13.5px; color: var(--eo-slate); cursor: pointer; }
.city-btn:hover { border-color: var(--eo-rose); }
.city-scrim { position: fixed; inset: 0; z-index: 39; }
.city-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 6px; width: 210px; z-index: 40; }
.city-item { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0;
  text-align: left; font-weight: 600; font-size: 14px; color: var(--eo-ink); padding: 10px 12px; border-radius: var(--r-md); cursor: pointer; }
.city-item:hover { background: var(--eo-pink-100); }
.city-item.on { color: var(--eo-magenta); }

.cart-pill { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--eo-pink-200);
  border-radius: var(--r-pill); padding: 5px 16px 5px 5px; cursor: pointer; transition: .15s; }
.cart-pill:hover { border-color: var(--eo-magenta); }
.cart-pill-ic { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--eo-magenta); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-pink); }
.cart-pill-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.cart-pill-label { font-size: 10.5px; font-weight: 700; color: var(--eo-slate-500); text-transform: uppercase; letter-spacing: .5px; }
.cart-pill-total { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--eo-ink); }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--eo-lime); color: var(--eo-ink);
  font-weight: 700; font-size: 11px; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }

/* ---------- stepper band ---------- */
.stepper-band { background: #fff; border-bottom: 1px solid var(--eo-slate-100); }
.stepper-band-inner { max-width: 1200px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 8px; justify-content: center; }
.step { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 6px; cursor: default; }
.step.clickable { cursor: pointer; }
.step-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; transition: .18s; }
.step-num { font-weight: 700; font-size: 14px; }
.step.todo .step-dot { background: var(--eo-slate-100); color: var(--eo-slate-500); }
.step.now  .step-dot { background: var(--eo-magenta); color: #fff; box-shadow: var(--shadow-pink); }
.step.done .step-dot { background: var(--eo-lime); color: var(--eo-ink); }
.step-label { font-weight: 700; font-size: 14px; color: var(--eo-slate-500); white-space: nowrap; }
.step.now .step-label, .step.done .step-label { color: var(--eo-ink); }
.step-bar { width: 54px; height: 3px; border-radius: 2px; background: var(--eo-slate-100); }
.step-bar.done { background: var(--eo-lime); }

/* ---------- hero (compact) ---------- */
.hero { max-width: 1200px; margin: 0 auto; padding: 28px 24px 18px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: .98; margin: 12px 0 14px; color: var(--eo-ink); }
.hero-lead { font-weight: 500; font-size: 16.5px; line-height: 1.5; color: var(--eo-slate); max-width: 470px; margin: 0 0 18px; }
.hero-lead b { color: var(--eo-ink); }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; color: var(--eo-slate-500); }
.hero-trust svg { color: var(--eo-magenta); }
.hero-art { position: relative; height: 300px; background: #fff; border: 5px solid var(--eo-lime); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-jar { position: absolute; bottom: 0; }
.hero-jar.j1 { left: 4%; bottom: -12px; height: 240px; }
.hero-jar.j2 { left: 33%; bottom: 0; height: 202px; }
.hero-jar.j3 { right: 2%; bottom: -6px; height: 232px; }
.hero-mascot { position: absolute; top: 10px; right: 14px; height: 108px; transform: rotate(8deg); filter: drop-shadow(0 6px 10px rgba(43,42,51,.18)); }
.hero-badge { position: absolute; left: 16px; top: 14px; z-index: 2; background: var(--eo-magenta); color: #fff;
  font-weight: 700; font-size: 12px; padding: 6px 13px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-pink); white-space: nowrap; }

/* ---------- shell: catalog + persistent cart ---------- */
.shell { max-width: 1200px; margin: 0 auto; padding: 4px 24px 60px; display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; align-items: start; }
.catalog { min-width: 0; }
.catbar { position: sticky; top: 64px; z-index: 20; display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 0; background: var(--eo-pink-100); }
.cat-pill { font-weight: 600; font-size: 14.5px; padding: 9px 18px; border-radius: var(--r-pill); background: #fff; color: var(--eo-slate); border: 2px solid var(--eo-slate-100); cursor: pointer; transition: .14s; }
.cat-pill:hover { border-color: var(--eo-rose); }
.cat-pill.on { background: var(--eo-magenta); color: #fff; border-color: var(--eo-magenta); box-shadow: var(--shadow-pink); }

.section { margin-top: 26px; }
.section:first-child { margin-top: 6px; }
.section-head { margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0; color: var(--eo-ink); }
.section-sub { font-weight: 500; font-size: 14px; color: var(--eo-slate-500); margin: 4px 0 0; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* product card */
.pcard { position: relative; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; transition: transform .14s ease, box-shadow .14s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard.in-cart { box-shadow: 0 0 0 2px var(--eo-lime), var(--shadow-md); }
.pcard-flag { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--eo-lime); color: var(--eo-ink);
  font-weight: 700; font-size: 11px; padding: 3px 9px 3px 7px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 4px; }
.well { height: 172px; background: #fff; border-bottom: 1px solid var(--eo-slate-100); display: flex; align-items: center; justify-content: center; }
.well img { height: 160px; object-fit: contain; }
.pcard-body { padding: 13px 15px 16px; }
.pcard-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--eo-orange); }
.pcard-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 2px 0 10px; color: var(--eo-ink); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; }
.add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--eo-magenta); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-pink); transition: transform .12s, background .15s; }
.add:hover { background: var(--eo-magenta-700); }
.add:active { transform: scale(.9); }

.stepper { display: flex; align-items: center; gap: 6px; background: var(--eo-pink-100); border-radius: var(--r-pill); padding: 4px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--eo-magenta); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .1s; }
.stepper button:active { transform: scale(.88); }
.stepper span { min-width: 22px; text-align: center; font-weight: 700; font-size: 15px; color: var(--eo-ink); }
.stepper.sm button { width: 28px; height: 28px; }
.stepper.sm span { min-width: 18px; font-size: 14px; }

/* lid label (fallback art) */
.lid { border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
.lid-name { font-family: var(--font-display); font-weight: 700; line-height: .95; text-transform: uppercase; text-shadow: 1px 2px 0 rgba(0,0,0,.18); padding: 0 6px; }
.lid-handle { font-size: 7px; font-weight: 700; letter-spacing: .4px; margin-top: 5px; opacity: .9; }

/* combos */
.combo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.combo { position: relative; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; }
.combo.featured { box-shadow: 0 0 0 3px var(--eo-magenta), var(--shadow-md); }
.combo.in-cart { box-shadow: 0 0 0 3px var(--eo-lime), var(--shadow-md); }
.combo-head { position: relative; height: 134px; display: flex; align-items: center; justify-content: center; }
.combo-head-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: #fff; text-shadow: 1px 2px 0 rgba(0,0,0,.16); text-align: center; padding: 0 14px; }
.combo-img { width: 100%; height: 100%; object-fit: cover; }
.combo-badge { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.35); color: #fff; font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 5px; backdrop-filter: blur(3px); }
.combo-star { position: absolute; right: 10px; top: 10px; background: var(--eo-lime); color: var(--eo-ink); font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 4px; }
.combo-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.combo-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--eo-ink); }
.combo-serves { font-weight: 600; font-size: 13px; color: var(--eo-magenta); margin-bottom: 10px; }
.combo-items { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.combo-items li { display: flex; gap: 7px; align-items: flex-start; font-weight: 500; font-size: 13px; color: var(--eo-slate); }
.combo-items svg { color: var(--ok); flex: 0 0 auto; margin-top: 1px; }
.combo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }

/* catalog empty / no results */
.empty { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); padding: 44px 32px; text-align: center; color: var(--eo-slate-500); }
.empty svg { color: var(--eo-rose); }
.empty h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--eo-ink); margin: 12px 0 6px; }
.empty p { font-weight: 500; font-size: 14.5px; max-width: 460px; margin: 0 auto; line-height: 1.55; }

/* ---------- persistent cart panel ---------- */
.cart-panel { position: sticky; top: 86px; align-self: start; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); display: flex; flex-direction: column; max-height: calc(100vh - 104px); overflow: hidden; }
.cart-panel-head { display: flex; align-items: center; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--eo-slate-100); flex: 0 0 auto; }
.cart-panel-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0; color: var(--eo-ink); display: flex; align-items: center; gap: 8px; }
.cart-panel-head h3 svg { color: var(--eo-magenta); }
.cart-panel-count { margin-left: auto; background: var(--eo-lime); color: var(--eo-ink); font-weight: 700; font-size: 13px; min-width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; padding: 0 7px; }

.cart-note { margin: 12px 16px 0; padding: 9px 13px; background: var(--eo-pink-100); border-radius: var(--r-md); font-size: 12.5px; font-weight: 600; color: var(--eo-slate); flex: 0 0 auto; }
.cart-note span { display: inline-flex; align-items: center; gap: 6px; }
.cart-note svg { color: var(--eo-magenta); flex: 0 0 auto; }
.cart-note-ok { color: var(--ok); }
.cart-note-ok svg { color: var(--ok); }

.cart-list { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 9px; }
.line { display: flex; align-items: center; gap: 11px; }
.line-thumb { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; }
.line-thumb img { height: 44px; object-fit: contain; }
.line-dot { width: 20px; height: 20px; border-radius: 50%; }
.line-info { flex: 1; min-width: 0; }
.line-name { font-weight: 600; font-size: 13.5px; color: var(--eo-ink); line-height: 1.25; }
.line-price { font-weight: 700; font-size: 12px; color: var(--eo-magenta); }
.line-sub { color: var(--eo-slate-500); font-weight: 600; }

.cart-foot { border-top: 1px solid var(--eo-slate-100); padding: 14px 18px 18px; flex: 0 0 auto; }
.trow { display: flex; justify-content: space-between; font-weight: 600; font-size: 13.5px; color: var(--eo-slate); padding: 3px 0; }
.trow .free { color: var(--ok); font-weight: 700; }
.trow.total { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--eo-ink); border-top: 1px dashed var(--eo-slate-300); margin-top: 6px; padding-top: 10px; }
.link-btn { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--eo-slate-500); font-weight: 600; font-size: 12.5px; cursor: pointer; text-decoration: underline; }

.cart-empty { padding: 40px 26px 46px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cart-empty-art { width: 64px; height: 64px; border-radius: 50%; background: var(--eo-pink-100); color: var(--eo-rose); display: grid; place-items: center; margin-bottom: 8px; }
.cart-empty-t { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--eo-ink); margin: 0; }
.cart-empty-s { font-weight: 500; font-size: 13.5px; color: var(--eo-slate-500); margin: 0; line-height: 1.5; }

/* ---------- mobile cart: bottom bar + sheet ---------- */
.mcart-bar { display: none; }
.mcart-bar-main { width: 100%; display: flex; align-items: center; gap: 12px; background: var(--eo-magenta); color: #fff; border: 0; border-radius: var(--r-pill); padding: 11px 14px; box-shadow: var(--shadow-lg); cursor: pointer; }
.mcart-bar-ic { position: relative; display: grid; place-items: center; }
.mcart-bar-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.mcart-bar-label { font-size: 11.5px; font-weight: 600; opacity: .92; }
.mcart-bar-total { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.mcart-bar-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.18); padding: 8px 13px; border-radius: var(--r-pill); }

.sheet-scrim { position: fixed; inset: 0; background: rgba(43,42,51,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 55; }
.sheet-scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); max-height: 86vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.sheet.on { transform: translateY(0); }
.sheet-grab { width: 42px; height: 5px; border-radius: 3px; background: var(--eo-slate-300); margin: 10px auto 2px; flex: 0 0 auto; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; border-bottom: 1px solid var(--eo-slate-100); flex: 0 0 auto; }
.sheet-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0; display: flex; align-items: center; gap: 8px; color: var(--eo-ink); }
.sheet-head h3 svg { color: var(--eo-magenta); }
.sheet-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }

/* ---------- checkout (step 2) ---------- */
.checkout { max-width: 1200px; margin: 0 auto; padding: 26px 24px 70px; display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 18px; }
.form-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: 24px 26px; }
.form-head { margin-bottom: 18px; }
.form-sub-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 2px; color: var(--eo-ink); display: flex; align-items: center; gap: 8px; }
.form-sub-title svg { color: var(--eo-magenta); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field-label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--eo-slate); }
.field-label svg { color: var(--eo-magenta); }
.inp { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--eo-ink); background: #fff; border: 2px solid var(--eo-slate-100); border-radius: var(--r-md); padding: 12px 14px; outline: 0; transition: .15s; width: 100%; }
.inp::placeholder { color: var(--eo-slate-300); font-weight: 500; }
.inp:focus { border-color: var(--eo-magenta); box-shadow: 0 0 0 4px var(--focus-ring); }
.inp.area { resize: vertical; min-height: 66px; line-height: 1.5; }
.field.err .inp { border-color: var(--eo-red); }
.field-hint { font-size: 12px; font-weight: 500; color: var(--eo-slate-500); }
.field-msg { font-size: 12px; font-weight: 700; color: var(--eo-red); }
.select-wrap { position: relative; display: flex; align-items: center; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.select-wrap > svg { position: absolute; right: 12px; pointer-events: none; color: var(--eo-slate-500); }
.select-wrap.sm select { padding: 9px 32px 9px 12px; font-size: 14px; }

.marinados { display: flex; flex-direction: column; gap: 10px; }
.marinado-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--eo-pink-100); border-radius: var(--r-md); padding: 8px 8px 8px 14px; }
.marinado-name { font-weight: 600; font-size: 14px; color: var(--eo-ink); }
.marinado-row .select-wrap { min-width: 162px; flex: 0 0 auto; }
.marinado-row .inp { background: #fff; }

.checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.form-error-hint { color: var(--eo-red); font-weight: 600; font-size: 13.5px; margin: 10px 0 0; text-align: right; }

.cart-panel.summary { top: 86px; }
.mini-edit { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; color: var(--eo-magenta); font-family: var(--font-body); font-weight: 700; font-size: 13px; cursor: pointer; }
.line.tidy { display: flex; align-items: baseline; gap: 8px; }
.line-qty { font-weight: 700; color: var(--eo-magenta); font-size: 13px; flex: 0 0 auto; }
.line.tidy .line-name { flex: 1; font-size: 13.5px; }
.line.tidy .line-price { font-weight: 700; color: var(--eo-ink); font-size: 13px; flex: 0 0 auto; }

/* ---------- confirmation (step 3) ---------- */
.done-wrap { max-width: 640px; margin: 0 auto; padding: 44px 24px 90px; }
.done-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 44px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done-badge { width: 96px; height: 96px; border-radius: 50%; background: var(--eo-lime); color: var(--eo-ink); display: grid; place-items: center; box-shadow: var(--shadow-md); animation: pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done-title { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.06; color: var(--eo-ink); margin: 2px 0 0; }
.done-msg { font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--eo-slate); max-width: 470px; margin: 0; }
.done-msg b { color: var(--eo-ink); }
.done-summary { width: 100%; background: var(--eo-pink-100); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; text-align: left; margin-top: 6px; }
.done-row { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--eo-ink); }
.done-row span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.done-row svg { color: var(--eo-magenta); flex: 0 0 auto; }
.done-row.sub { font-weight: 600; font-size: 13.5px; color: var(--eo-slate); }
.done-total { font-family: var(--font-display); font-size: 18px; color: var(--eo-magenta); }
.done-steps { display: flex; flex-wrap: wrap; gap: 9px 7px; justify-content: center; margin: 4px 0; }
.done-step { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12.5px; color: var(--eo-slate-300); background: var(--eo-slate-100); padding: 5px 13px 5px 5px; border-radius: var(--r-pill); }
.done-step.on { color: var(--eo-ink); background: var(--eo-pink-100); }
.ds-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--eo-slate-300); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.done-step.on .ds-dot { background: var(--eo-magenta); }

/* ---------- footer ---------- */
.ftr { background: var(--eo-magenta); color: #fff; margin-top: 20px; }
.ftr-inner { max-width: 1200px; margin: 0 auto; padding: 36px 24px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ftr-brand .brand-eo { color: #fff; }
.ftr-brand p { font-weight: 500; font-size: 14px; line-height: 1.5; margin: 8px 0 14px; opacity: .92; }
.ftr-brand .eyebrow { color: #fff; opacity: .9; }
.ftr-links { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ftr-links span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; }

/* combo configured state (card) */
.combo-incart { display: flex; align-items: center; gap: 8px; }
.combo-edit { display: inline-flex; align-items: center; gap: 5px; background: var(--eo-pink-100); color: var(--eo-magenta); border: 0; font-family: var(--font-body); font-weight: 700; font-size: 13.5px; padding: 9px 14px; border-radius: var(--r-pill); cursor: pointer; transition: .14s; }
.combo-edit:hover { background: var(--eo-pink-200); }
.combo-remove { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--eo-slate-100); color: var(--eo-slate); cursor: pointer; display: grid; place-items: center; transition: .14s; }
.combo-remove:hover { background: var(--eo-pink-200); color: var(--eo-magenta); }
.combo.in-cart .combo-head::after { content: ""; }

/* ---------- combo configurator modal ---------- */
.cfg-scrim { position: fixed; inset: 0; background: rgba(43,42,51,.5); z-index: 70; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cfg-modal { position: fixed; z-index: 71; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 760px; max-width: 94vw; max-height: 90vh;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: modalIn .26s cubic-bezier(.34,1.3,.64,1); }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.cfg-head { padding: 18px 22px; color: #fff; flex: 0 0 auto; }
.cfg-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cfg-eyebrow { font-weight: 700; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; opacity: .92; text-shadow: 0 1px 2px rgba(0,0,0,.15); }
.cfg-title { font-family: var(--font-display); font-weight: 700; font-size: 30px; text-transform: uppercase; margin: 3px 0 0; text-shadow: 1px 2px 0 rgba(0,0,0,.16); }
.cfg-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.cfg-close:hover { background: rgba(255,255,255,.4); }
.cfg-head-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 700; }
.cfg-price { font-family: var(--font-display); font-size: 22px; text-shadow: 1px 1px 0 rgba(0,0,0,.14); }
.cfg-dot-sep { opacity: .7; }
.cfg-incl { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; background: rgba(255,255,255,.22); padding: 4px 12px; border-radius: var(--r-pill); }

.cfg-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 22px 8px; }
.cfg-intro { font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--eo-slate); background: var(--eo-pink-100); border-radius: var(--r-md); padding: 11px 14px; margin: 0 0 20px; }
.cfg-intro b { color: var(--eo-ink); }

.cfg-slot { margin-bottom: 24px; }
.cfg-slot-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.cfg-slot-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; color: var(--eo-ink); }
.cfg-slot-sub { font-weight: 500; font-size: 13px; color: var(--eo-slate-500); margin: 2px 0 0; }
.cfg-count { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--eo-magenta); background: var(--eo-pink-100); padding: 5px 13px; border-radius: var(--r-pill); flex: 0 0 auto; }
.cfg-count.full { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, white); }
.cfg-bar { height: 7px; background: var(--eo-slate-100); border-radius: 4px; overflow: hidden; }
.cfg-bar-fill { display: block; height: 100%; background: var(--eo-magenta); border-radius: 4px; transition: width .22s ease, background .2s; }
.cfg-bar-fill.full { background: var(--ok); }
.cfg-slot-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 12px; }
.cfg-help { font-weight: 600; font-size: 13px; color: var(--eo-slate-500); }
.cfg-fill { display: inline-flex; align-items: center; gap: 5px; background: none; border: 2px solid var(--eo-slate-100); color: var(--eo-magenta); font-family: var(--font-body); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: var(--r-pill); cursor: pointer; transition: .14s; }
.cfg-fill:hover:not(:disabled) { border-color: var(--eo-magenta); }
.cfg-fill:disabled { color: var(--eo-slate-300); cursor: default; }

.cfg-group-label { font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--eo-slate-500); margin: 14px 0 9px; }
.cfg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; }
.cfg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 2px solid var(--eo-slate-100); border-radius: var(--r-md); background: #fff; transition: .14s; }
.cfg-item.on { border-color: var(--eo-lime); background: color-mix(in srgb, var(--eo-lime) 12%, white); }
.cfg-thumb { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; }
.cfg-thumb img { height: 36px; object-fit: contain; }
.cfg-dot { width: 18px; height: 18px; border-radius: 50%; }
.cfg-item-info { flex: 1; min-width: 0; }
.cfg-item-name { font-weight: 600; font-size: 13.5px; color: var(--eo-ink); line-height: 1.2; }
.cfg-item-unit { font-weight: 600; font-size: 11px; color: var(--eo-slate-500); }
.cfg-add { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--eo-magenta); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-pink); transition: .14s; flex: 0 0 auto; }
.cfg-add:hover:not(:disabled) { background: var(--eo-magenta-700); }
.cfg-add:disabled { background: var(--eo-slate-300); box-shadow: none; cursor: default; }
.stepper.sm button:disabled { background: var(--eo-slate-300); cursor: default; }

.cfg-includes { border-top: 1px dashed var(--eo-slate-300); padding-top: 6px; }
.cfg-incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; }
.cfg-incl-list li { display: flex; gap: 7px; align-items: flex-start; font-weight: 500; font-size: 13px; color: var(--eo-slate); }
.cfg-incl-list svg { color: var(--ok); flex: 0 0 auto; margin-top: 1px; }

.cfg-foot { flex: 0 0 auto; border-top: 1px solid var(--eo-slate-100); padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cfg-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; color: var(--eo-magenta); }
.cfg-status b { color: var(--eo-ink); }
.cfg-status.ok { color: var(--ok); }
.cfg-foot-btns { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn:disabled { background: var(--eo-slate-300); box-shadow: none; cursor: default; color: #fff; }

/* ---------- combo line in cart ---------- */
.cline { border: 1.5px solid var(--eo-slate-100); border-radius: var(--r-lg); padding: 11px 12px; background: color-mix(in srgb, var(--eo-lime) 5%, white); }
.cline-top { display: flex; align-items: center; gap: 10px; }
.cline-tag { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--eo-magenta); background: var(--eo-pink-100); padding: 2px 7px; border-radius: var(--r-pill); vertical-align: 1px; }
.cline-acts { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.cline-edit { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--eo-magenta); font-family: var(--font-body); font-weight: 700; font-size: 12px; cursor: pointer; padding: 5px 7px; border-radius: var(--r-sm); }
.cline-edit:hover { background: var(--eo-pink-100); }
.cline-rm { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--eo-slate-500); cursor: pointer; display: grid; place-items: center; }
.cline-rm:hover { background: var(--eo-pink-100); color: var(--eo-magenta); }
.cline-body { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.cline-slot { font-size: 12px; line-height: 1.45; color: var(--eo-slate); }
.cline-slot-label { font-weight: 700; color: var(--eo-ink); margin-right: 5px; }
.cline-inc { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--eo-slate-500); }
.cline-inc svg { color: var(--ok); }

/* ---------- combo block in step-2 summary ---------- */
.sum-combo { background: var(--eo-pink-100); border-radius: var(--r-md); padding: 8px 10px; }
.sum-combo-body { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }
.sum-slot { font-size: 11.5px; line-height: 1.4; color: var(--eo-slate); }
.sum-slot b { color: var(--eo-ink); }
.sum-slot.muted { color: var(--eo-slate-500); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .shell, .checkout { grid-template-columns: 1fr; }
  .cart-panel:not(.summary) { display: none; }
  .cart-panel.summary { position: static; max-height: none; }
  .mcart-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 76px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 250px; }
  .search { display: none; }
}
@media (max-width: 720px) {
  .hero-title { font-size: 36px; }
  .combo-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-actions { flex-direction: column-reverse; align-items: stretch; }
  .checkout-actions .btn { width: 100%; }
  .done-card { padding: 34px 22px; }
  .done-title { font-size: 26px; }
}
@media (max-width: 560px) {
  .brand-stack { display: none; }
  .cart-pill-txt { display: none; }
  .cart-pill { padding: 5px; border-color: transparent; }
  .step-label { display: none; }
  .step.now .step-label { display: inline; }
  .step-bar { width: 22px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 680px) {
  .cfg-modal { width: 100vw; max-width: 100vw; max-height: 92vh; top: auto; bottom: 0; left: 0; transform: none; border-radius: 22px 22px 0 0; animation: sheetUp .28s cubic-bezier(.4,0,.2,1); }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .cfg-title { font-size: 25px; }
  .cfg-grid { grid-template-columns: 1fr 1fr; }
  .cfg-incl-list { grid-template-columns: 1fr; }
  .cfg-foot { flex-direction: column; align-items: stretch; }
  .cfg-foot-btns { margin-left: 0; }
  .cfg-foot-btns .btn { flex: 1; }
}
@media (max-width: 420px) {
  .cfg-grid { grid-template-columns: 1fr; }
}

/* ── Ajustes de padding y layout en pantallas pequeñas ── */
@media (max-width: 560px) {
  .hdr-inner { padding: 10px 14px; gap: 10px; }
  .hero { padding: 16px 14px 10px; }
  .hero-title { font-size: 30px; }
  .hero-lead { font-size: 15px; margin-bottom: 12px; }
  .hero-trust { gap: 10px; }
  .hero-art { display: none; }
  .shell { padding: 4px 14px 86px; }
  .checkout { padding: 14px 14px 86px; }
  .catbar { padding: 10px 0; gap: 7px; }
  .cat-pill { font-size: 13px; padding: 7px 13px; }
  .section-title { font-size: 22px; }
  .stepper-band-inner { padding: 10px 14px; gap: 4px; }
  .step-bar { width: 18px; }
  .form-card { padding: 18px 16px; }
  .marinado-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .marinado-row .select-wrap { width: 100%; }
  .marinado-row .inp { width: 100%; }
  .done-wrap { padding: 20px 14px 90px; }
  .done-card { padding: 26px 16px; }
  .done-title { font-size: 23px; }
  .done-summary { padding: 12px 14px; }
  .ftr-inner { padding: 24px 14px; }
}

/* ── Pantallas muy pequeñas (≤380px): 1 columna de productos ── */
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .brand-eo { font-size: 24px; }
}
