/* Sistema visual EDER — extraído de eder.gal (Betheme + Elementor), 14 ago 2026.
   Amarillo #FFC547 · burdeos #79171D · tinta #363332 · crema #EADED0 · gris #F1F1F1 */
:root {
  --yellow: #ffc547;
  --yellow-dark: #f6a03b;
  --burgundy: #79171d;
  --burgundy-light: #b22029;
  --ink: #363332;
  --muted: #776c5e;
  --grey: #f1f1f1;
  --cream: #eaded0;
  --sand: #cfba9e;
  --black: #141212;
  --footer: #25282b;
  --white: #fff;
  --wrap: 1280px;
  --radius: 0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* gana a los display: flex de abajo */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--burgundy); }

/* ---------------------------------------------------------- tipografía */
.display, .h2, .h5, .h6, h1, h2, h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0 0 .4em;
}
.display { font-size: clamp(31px, 5.2vw, 52px); line-height: 1.02; font-weight: 900; letter-spacing: -2px; }
.h2 { font-size: clamp(27px, 4vw, 45px); line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
.h2--invert, .display--invert { color: var(--white); }
.h4 { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.2; font-weight: 900; margin: 0; }
.h5 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; line-height: 1.3; font-weight: 500; margin: 0 0 .5em; }
.h6 {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; line-height: 1.4;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--burgundy); margin: 0 0 .8em;
}
.hl { color: var(--yellow); }
.section--white .hl, .section--cream .hl { color: var(--burgundy); }
.lead { color: var(--muted); max-width: 62ch; margin: 0 auto 1.6rem; }
.micro { font-size: 13px; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }

.eyebrow {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--burgundy); margin: 0 0 .5rem;
}
/* garabato ondulado: mismo recurso decorativo que usa la web */
.squiggle {
  width: 46px; height: 10px; margin: 0 auto 1.1rem;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 10'%3E%3Cpath d='M1 6c3-6 6.5-6 9.5 0S17 12 20 6s6.5-6 9.5 0S36 12 39 6s5-5 6-4' fill='none' stroke='%2379171d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ estructura */
.section { padding: clamp(48px, 8vw, 100px) 20px; }
.section--white { background: var(--white); }
.section--grey { background: var(--grey); }
.section--cream { background: var(--cream); }
.section--black { background: var(--black); color: var(--white); }
.wrap { max-width: var(--wrap); margin: 0 auto; text-align: center; }
.wrap--narrow { max-width: 720px; }

/* --------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: Inter, sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; padding: 16px 32px; border: 0; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; transition: background .2s, color .2s;
}
.btn--yellow { background: var(--yellow); color: var(--burgundy); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--burgundy); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.iconbtn { background: none; border: 0; font-size: 20px; cursor: pointer; color: inherit; line-height: 1; padding: 4px 8px; }

/* --------------------------------------------------------------- topbar */
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 20px; background: var(--black); color: var(--white);
}
.topbar__brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 700; font-family: Inter, sans-serif; }
.topbar__brand img { width: 52px; height: 52px; }
.topbar__brand span { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__local { font-size: 13px; color: var(--yellow); font-weight: 700; }
.badge { background: var(--burgundy); color: var(--white); border-radius: 999px; padding: 1px 8px; font-size: 12px; }

.demo-banner { background: var(--burgundy); color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; }

/* --------------------------------------------------------------- locales */
.locals { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 2.5rem; text-align: left; }
.local { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; border: 0; cursor: pointer; text-align: left; font: inherit; transition: transform .18s; }
.local:hover { transform: translateY(-4px); }
.local h3 { font-size: 30px; line-height: 1.05; font-weight: 900; letter-spacing: -1px; margin: 0; }
.local p { margin: 0; font-size: 14px; }
.local__tel { font-family: Inter, sans-serif; font-weight: 900; font-size: 20px; }
.local__pick { margin-top: auto; padding-top: 14px; font-family: Inter, sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.local--yellow { background: var(--yellow); color: var(--burgundy); }
.local--yellow .local__eyebrow, .local--yellow h3 { color: var(--burgundy); }
.local--black { background: var(--black); color: var(--white); }
.local--black h3 { color: var(--white); }
.local--white { background: var(--white); color: var(--ink); }
.local--white h3 { color: var(--ink); }
.local__eyebrow { font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); }
.local--black .local__eyebrow { color: var(--yellow); }
.local[aria-pressed="true"] { outline: 4px solid var(--burgundy); outline-offset: 3px; }

/* --------------------------------------------------------- nav categorías */
.catnav { position: sticky; top: 72px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px; background: var(--grey); border-bottom: 1px solid rgba(0,0,0,.06); }
.catnav a {
  flex: 0 0 auto; padding: 8px 14px; background: var(--white); color: var(--ink); text-decoration: none;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.catnav a:hover, .catnav a[aria-current="true"] { background: var(--yellow); color: var(--burgundy); }

/* ---------------------------------------------------------------- carta */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px 40px; text-align: left; margin-top: 2rem; }
.item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 2px dotted var(--sand); }
.item__body { flex: 1; min-width: 0; }
.item__name { font-family: Inter, sans-serif; font-weight: 900; font-size: 19px; line-height: 1.2; text-transform: uppercase; margin: 0 0 4px; }
.item__desc { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; line-height: 1.35; color: var(--muted); margin: 0; }
.item__tag { display: inline-block; margin-left: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; background: var(--cream); color: var(--burgundy); padding: 2px 8px; font-weight: 700; }
.item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.price { font-family: Inter, sans-serif; font-weight: 900; white-space: nowrap; }
.price--big { font-size: 28px; }
.item .price { background: var(--yellow); color: var(--burgundy); padding: 4px 10px; font-size: 15px; }
.item select { font: inherit; font-size: 13px; padding: 5px 6px; border: 1px solid var(--sand); background: var(--white); }
.add { background: var(--black); color: var(--white); border: 0; width: 38px; height: 38px; font-size: 20px; cursor: pointer; line-height: 1; }
.add:hover { background: var(--burgundy); }
.cat__note { color: var(--muted); font-size: 14px; margin: -.5rem 0 0; }

/* --------------------------------------------------------------- builder */
.builder { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; text-align: left; margin-top: 1.5rem; }
.builder__col { background: var(--grey); padding: 24px; }
.opts { display: flex; flex-direction: column; gap: 6px; }
.opts--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.opt-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--white); cursor: pointer; font-size: 14px; }
.opt-row:hover { background: var(--cream); }
.opt-row input { accent-color: var(--burgundy); }
.opt-row .p { margin-left: auto; font-family: Inter, sans-serif; font-weight: 700; font-size: 13px; color: var(--muted); }
.builder__foot { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 2rem; flex-wrap: wrap; }

/* --------------------------------------------------------------- teléfonos */
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 1.5rem; }
.phones a { display: block; padding: 18px; background: rgba(255,255,255,.06); color: var(--white); text-decoration: none; }
.phones a:hover { background: var(--yellow); color: var(--burgundy); }
.phones strong { display: block; font-family: Inter, sans-serif; font-size: 18px; font-weight: 900; }

/* -------------------------------------------------------------- carrito */
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 60;
  background: var(--white); box-shadow: -8px 0 40px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow-y: auto;
}
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--black); color: var(--white); position: sticky; top: 0; }
.cart__head .h5 { margin: 0; color: var(--white); }
.cart__lines { padding: 8px 20px; }
.cart__line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dotted var(--sand); }
.cart__line b { font-family: Inter, sans-serif; font-size: 15px; text-transform: uppercase; }
.cart__line small { display: block; color: var(--muted); font-size: 12.5px; }
.qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--sand); background: var(--white); cursor: pointer; font-weight: 700; }
.cart__empty { color: var(--muted); padding: 24px 0; text-align: center; }
.cart__total { display: flex; justify-content: space-between; padding: 16px 20px; background: var(--cream); font-family: Inter, sans-serif; font-weight: 900; font-size: 20px; }
.checkout { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.checkout label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.checkout input, .checkout select, .checkout textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #cfc9c0; background: var(--white); width: 100%; }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 13px !important; }
.check input { width: auto; margin-top: 2px; }
.legal { font-size: 11.5px; line-height: 1.45; color: var(--muted); background: var(--grey); padding: 10px 12px; margin: 0; }
.error { background: var(--burgundy); color: #fff; padding: 10px 12px; margin: 0; font-size: 14px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 50; }

/* --------------------------------------------------------------- footer */
.footer { background: var(--footer); color: #d8d5d0; padding: 56px 20px 24px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; text-align: left; }
.footer .h6 { color: var(--yellow); }
.footer a { color: #d8d5d0; }
.footer a:hover { color: var(--yellow); }
.footer p { margin: 0 0 12px; font-size: 14px; }
.footer__sign { text-align: center; margin: 40px 0 0; font-size: 12px; color: #8b8781; }

.done { min-height: 60vh; display: flex; align-items: center; }

@media (max-width: 640px) {
  .topbar__brand span { display: none; }
  .catnav { top: 64px; }
  .cart { width: 100%; }
  .items { grid-template-columns: 1fr; gap: 0; }
}
