/* =========================================================
   Meshi · estética japonesa moderna
   Papel kinari + tinta sumi + bermellón shu, mucho aire (ma),
   tipografía mincho, texto vertical y patrón seigaiha.
   ========================================================= */
:root {
  --paper: #f4efe4;      /* kinari */
  --paper-2: #ebe3d3;
  --paper-3: #e2d8c4;
  --sumi: #1b1917;       /* tinta */
  --sumi-2: #2a2623;
  --ink-soft: #4a443e;
  --muted: #7d7368;
  --line: rgba(27, 25, 23, .14);
  --shu: #c3402c;        /* bermellón */
  --shu-2: #a8321f;
  --matcha: #5d7a4a;
  --r: 6px;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--sumi); font: 16px/1.7 var(--sans); }
/* grano sutil de papel */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 680px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shu { color: var(--shu); }
.tate { display: block; writing-mode: vertical-rl; text-orientation: upright; font-family: var(--serif); letter-spacing: .2em; line-height: 1.3; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 1em; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--shu); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 36em; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--sumi); color: var(--paper); text-decoration: none;
  font-weight: 700; letter-spacing: .04em; padding: .9em 1.6em; border-radius: 2px; border: 1px solid var(--sumi); min-height: 46px;
  transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--shu); border-color: var(--shu); }
.btn-line { background: transparent; color: var(--sumi); }
.btn-line:hover { background: var(--sumi); color: var(--paper); border-color: var(--sumi); }
.btn-sm { padding: .5em 1.2em; min-height: 38px; font-size: .9rem; }

/* Logo: sello hanko */
.logo { display: inline-flex; align-items: center; gap: .7em; text-decoration: none; }
.hanko { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 7px; background: var(--shu); color: #fff8ef;
  font-family: var(--serif); font-weight: 800; font-size: 1.3rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); transform: rotate(-3deg); }
.logo-img { height: 50px; width: auto; max-width: 180px; object-fit: contain; }
.logo-fb { display: inline-flex; align-items: center; gap: .7em; }
.logo-fb[hidden] { display: none; }
.menu-top .logo-img { height: 42px; }
.footer .logo-img { mix-blend-mode: normal; background: var(--paper); padding: 6px 10px; border-radius: 4px; height: 56px; }
.logo-txt { font-family: var(--serif); font-weight: 800; letter-spacing: .38em; font-size: 1.05rem; }

/* Seigaiha (olas) */
.seigaiha { --a: var(--paper-2); --b: var(--paper); height: 64px; background-color: var(--a);
  background-image:
    radial-gradient(circle at 100% 150%, var(--a) 24%, var(--b) 24%, var(--b) 28%, var(--a) 28%, var(--a) 36%, var(--b) 36%, var(--b) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0 150%, var(--a) 24%, var(--b) 24%, var(--b) 28%, var(--a) 28%, var(--a) 36%, var(--b) 36%, var(--b) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, var(--b) 10%, var(--a) 10%, var(--a) 23%, var(--b) 23%, var(--b) 30%, var(--a) 30%, var(--a) 43%, var(--b) 43%, var(--b) 50%, var(--a) 50%, var(--a) 63%, var(--b) 63%, var(--b) 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, var(--b) 5%, var(--a) 5%, var(--a) 15%, var(--b) 15%, var(--b) 20%, var(--a) 20%, var(--a) 29%, var(--b) 29%, var(--b) 34%, var(--a) 34%, var(--a) 44%, var(--b) 44%, var(--b) 49%, transparent 49%, transparent),
    radial-gradient(circle at 0 50%, var(--b) 5%, var(--a) 5%, var(--a) 15%, var(--b) 15%, var(--b) 20%, var(--a) 20%, var(--a) 29%, var(--b) 29%, var(--b) 34%, var(--a) 34%, var(--a) 44%, var(--b) 44%, var(--b) 49%, transparent 49%, transparent);
  background-size: 64px 32px; }
.seigaiha-dark { --a: var(--sumi); --b: #2c2825; height: 48px; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--shu); transition: right .25s; }
.nav a:hover::after { right: 0; }
@media (max-width: 760px) { .nav { display: none; } }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: auto 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero-tate { margin: 0; font-size: 1.05rem; color: var(--shu); letter-spacing: .45em; align-self: start; padding-top: 10px; border-left: 1px solid var(--line); padding-left: 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.hero-media { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; justify-self: end; width: 100%; }
.hinomaru { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--shu); right: -6%; top: 2%; }
.arch { position: absolute; left: 4%; bottom: 0; width: 66%; height: 88%; object-fit: cover; border-radius: 999px 999px 4px 4px; box-shadow: 0 30px 60px -30px rgba(27,25,23,.6); }
.circle { position: absolute; right: 0; bottom: 6%; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--paper); box-shadow: 0 20px 40px -20px rgba(27,25,23,.6); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tate { display: none; }
  .hero-media { justify-self: center; max-width: 420px; }
}

/* Secciones */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-sumi { background: var(--sumi); color: var(--paper); }
.sec-sumi .lead, .sec-sumi .eyebrow { color: #cdbfae; }
.sec-sumi .btn { background: var(--shu); border-color: var(--shu); }
.sec-sumi .btn:hover { background: var(--paper); color: var(--sumi); border-color: var(--paper); }
.sec-paper2 { background: var(--paper-2); }
.sec-h { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 8px; }
.num { font-family: var(--serif); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--shu); }
.num-c { display: block; margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.feature { position: relative; display: block; text-decoration: none; }
.feature-img { overflow: hidden; border-radius: 999px 999px 4px 4px; aspect-ratio: 4 / 4.4; background: var(--sumi); }
.feature-img img, .feature-img .fimg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature-img img, .feature-img .fimg { transform: scale(1.05); }
.feature-jp { position: absolute; top: 24px; right: -12px; background: var(--paper); color: var(--shu); padding: 12px 6px; font-size: .95rem; font-weight: 700; border: 1px solid var(--line); }
.feature-body { padding: 20px 4px 0; }
.feature-body p { color: var(--ink-soft); font-size: .96rem; }
.arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .92rem; border-bottom: 1px solid var(--shu); padding-bottom: 2px; }
.arrow::after { content: "→"; color: var(--shu); transition: transform .25s; }
.feature:hover .arrow::after { transform: translateX(4px); }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; gap: 40px; max-width: 460px; }
  .feature-img { aspect-ratio: 4 / 3.4; }
  .feature-jp { right: 8px; }
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.card-tel { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; border: 1px solid var(--line); text-decoration: none; background: rgba(255,255,255,.35); transition: border-color .2s, background .2s; }
.card-tel:hover { border-color: var(--shu); }
.card-k { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-tel strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 800; }
.card-s { font-size: .85rem; color: var(--muted); }
.sec-sumi .card-tel { border-color: rgba(244,239,228,.18); background: rgba(255,255,255,.03); }
.sec-sumi .card-tel:hover { border-color: var(--shu); background: rgba(195,64,44,.08); }
.sec-sumi .card-k, .sec-sumi .card-s { color: #a89a89; }
.card-wa strong { color: inherit; }
.card-wa .card-k::before { content: "● "; color: #3fae63; }

.map { border: 1px solid var(--line); aspect-ratio: 4 / 3; padding: 8px; background: rgba(255,255,255,.4); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) contrast(.95); }

/* Footer */
.footer { background: var(--sumi); color: #d8ccbc; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 48px; }
.footer h4 { font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--shu); }
.footer a { color: var(--paper); }
.footer .logo { margin-bottom: 14px; color: var(--paper); }
.footer-jp { font-family: var(--serif); letter-spacing: .3em; color: #8f8272; }
.footer-bottom { margin-top: 36px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #8f8272; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(27,25,23,.3); }

/* =================== Carta =================== */
.preview-bar { background: var(--shu); color: #fff; text-align: center; padding: 8px 16px; font-size: .9rem; }
.menu-top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.menu-top .hanko { width: 32px; height: 32px; font-size: 1.05rem; }
.switch { display: inline-flex; border: 1px solid var(--sumi); border-radius: 2px; }
.switch a { text-decoration: none; font-size: .86rem; font-weight: 700; padding: .45em 1em; white-space: nowrap; }
.switch a.on { background: var(--sumi); color: var(--paper); }
.groups { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.groups::-webkit-scrollbar { display: none; }
.groups a { flex: none; white-space: nowrap; display: inline-flex; align-items: baseline; gap: .45em; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--muted); padding: 6px 0 8px; border-bottom: 2px solid transparent; }
.groups a span { font-size: .8rem; color: var(--shu); opacity: .7; }
.groups a.on { color: var(--sumi); border-color: var(--shu); }
.groups a.on span { opacity: 1; }
.chips { overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.chips::-webkit-scrollbar { display: none; }
.chips-in { display: flex; gap: 6px; padding-top: 9px; padding-bottom: 9px; width: max-content; min-width: 100%; }
.chips a { flex: none; text-decoration: none; font-size: .84rem; padding: .35em .9em; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: rgba(255,255,255,.35); }
.chips a.on { background: var(--sumi); border-color: var(--sumi); color: var(--paper); }
@media (max-width: 480px) { .menu-top .logo-txt { display: none; } .groups { gap: 20px; } .groups a span { display: none; } }

.menu-main { max-width: 880px; padding-top: 36px; padding-bottom: 48px; }
.menu-intro h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin-bottom: .1em; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; }
.search { flex: 1 1 240px; }
.search input { width: 100%; font: inherit; color: var(--sumi); background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 2px; padding: .7em 1em; min-height: 46px; }
.search input:focus { outline: 2px solid var(--shu); outline-offset: -1px; }
.toggle { font: inherit; font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: .55em; color: var(--sumi); background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: .6em 1.1em; cursor: pointer; min-height: 46px; }
.toggle[aria-pressed="true"] { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.toggle[aria-pressed="true"] .dot-tacc { background: #fff; }
.dot-tacc { width: 9px; height: 9px; border-radius: 50%; background: var(--matcha); }

.grupo { scroll-margin-top: 170px; margin-top: 56px; }
.grupo-h { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--sumi); }
.grupo-k { display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 8px; background: var(--shu); color: #fff8ef; font-family: var(--serif); font-weight: 800; font-size: 1.5rem; border-radius: 4px; }
.grupo-h h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.cat { scroll-margin-top: 175px; padding-top: 34px; }
.cat-h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.cat-k { color: var(--shu); font-size: .85rem; font-weight: 700; padding-top: 6px; letter-spacing: .15em; border-right: 1px solid var(--line); padding-right: 10px; min-height: 3.5em; }
.cat-h h3 { font-size: 1.6rem; margin: 0; }
.cat-h p { margin: 0; color: var(--muted); font-size: .92rem; }
.items { list-style: none; margin: 0; padding: 0; }
.item { padding: 16px 0 15px; border-bottom: 1px solid var(--line); }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin: 0; }
.leader { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(27,25,23,.35); transform: translateY(-4px); }
.prices { display: flex; gap: 16px; flex: none; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1.05rem; }
.price small { font-weight: 500; font-size: .74rem; color: var(--muted); margin-right: .4em; }
.item-d { margin: 4px 0 0; color: var(--ink-soft); font-size: .93rem; }
.b { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .1em .55em; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); margin-left: 4px; vertical-align: 2px; }
.b-tacc { color: var(--matcha); border-color: rgba(93,122,74,.45); }
.b-hot { color: var(--shu); border-color: rgba(195,64,44,.45); }
.vars { margin: 10px 0 0; display: grid; gap: 4px; max-width: 460px; }
.vars div { display: flex; align-items: baseline; gap: 8px; font-size: .96rem; }
.vars dt { color: var(--ink-soft); }
.vars div::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(27,25,23,.3); }
.vars dd { order: 2; margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .leader { min-width: 12px; }
  .prices { flex-direction: column; align-items: flex-end; gap: 0; }
  .price { font-size: 1rem; }
}
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.menu-contact { margin-top: 64px; padding: 32px 28px; background: var(--sumi); color: var(--paper); border-radius: 4px; }
.menu-contact h2 { font-size: 1.8rem; }
.menu-contact .muted { color: #b3a594; }
.menu-contact .cards { margin: 18px 0; }
.menu-contact .card-tel { border-color: rgba(244,239,228,.18); background: rgba(255,255,255,.03); }
.menu-contact .card-tel:hover { border-color: var(--shu); }
.menu-contact .card-k, .menu-contact .card-s { color: #a89a89; }
[hidden] { display: none !important; }

/* Casillero sin foto: bloque de diseño en vez de imagen pixelada */
.ph { display: grid; place-items: center; background-color: var(--sumi); overflow: hidden;
  background-image: radial-gradient(circle at 50% 120%, rgba(195,64,44,.35), transparent 60%); }
.ph span { font-family: var(--serif); font-weight: 800; color: var(--paper); font-size: clamp(3rem, 9vw, 6rem); opacity: .92; }
.circle.ph { background: var(--sumi-2); }
.circle.ph span { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--shu); }
.feature-img .ph { width: 100%; height: 100%; }

/* Opiniones */
.rev-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.rev-score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 220px; aspect-ratio: 1; border-radius: 50%;
  background: var(--shu); color: #fff8ef; text-align: center; box-shadow: 0 24px 50px -28px rgba(168,50,31,.8); }
.rev-num { font-family: var(--serif); font-weight: 800; font-size: 4.2rem; line-height: 1; }
.stars { letter-spacing: .15em; font-size: 1.1rem; margin: 6px 0 4px; }
.rev-sub { font-size: .8rem; max-width: 150px; line-height: 1.35; opacity: .95; }
.rev-locales { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.rev-locales b { color: var(--shu); margin-right: 6px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.rev { margin: 0; padding: 26px 24px 22px; background: var(--paper); border: 1px solid var(--line); position: relative; }
.rev::before { content: "“"; position: absolute; top: -18px; left: 18px; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--shu); }
.rev blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; }
.rev figcaption { font-size: .85rem; color: var(--muted); }
.stars-s { color: #d9a21b; letter-spacing: .08em; }
.rev-foot { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.rev-foot a { text-decoration: none; }
@media (max-width: 860px) {
  .rev-top { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .rev-score { width: 180px; }
  .rev-num { font-size: 3.4rem; }
  .rev-grid { grid-template-columns: 1fr; }
}

/* Fotos reales */
.arch, .circle { background: var(--sumi); }
.salon { margin: 0; }
.salon-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 240px 240px 4px 4px; display: block; box-shadow: 0 30px 60px -30px rgba(27,25,23,.55); }
.salon figcaption { margin-top: 14px; text-align: right; }
.salon figcaption a { text-decoration: none; }
.sec-tight { padding: 0 0 clamp(56px, 8vw, 100px); }
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gal-item { overflow: hidden; aspect-ratio: 1; background: var(--sumi); }
.gal-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal-item:hover .gal-img { transform: scale(1.06); }
.gal-item:nth-child(odd) { border-radius: 999px 999px 0 0; }
@media (max-width: 860px) { .gal { grid-template-columns: repeat(3, 1fr); } }

/* ================= Pedido por WhatsApp ================= */
.hint { margin: 14px 0 0; font-size: .92rem; color: var(--ink-soft); background: rgba(195,64,44,.08); border-left: 3px solid var(--shu); padding: 8px 12px; }
button.price { font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--sumi); background: transparent; border: 1px solid transparent; border-radius: 999px;
  padding: 3px 6px 3px 10px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
button.price:hover { border-color: var(--line); background: rgba(255,255,255,.6); }
button.price .plus { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: var(--sumi); color: var(--paper); font-size: .85rem; font-weight: 700; line-height: 1; }
button.price.in .plus { background: var(--shu); }
button.price:active { transform: scale(.97); }
.vars dd button.price { font-size: .96rem; padding: 1px 4px 1px 8px; }
.vars dd button.price .plus { min-width: 22px; height: 22px; }

.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.cartbar-btn { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--shu); color: #fff;
  border: 0; border-radius: 999px; padding: 14px 20px; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 14px 34px -10px rgba(168,50,31,.7); }
.cart-count { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: #fff; color: var(--shu); font-size: .9rem; }
.cart-total { margin-left: auto; font-variant-numeric: tabular-nums; }
.menu-page:has(.cartbar:not([hidden])) .footer { padding-bottom: 80px; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(27,25,23,.5); animation: fade .2s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); overflow-y: auto; padding: 20px 20px 32px;
  box-shadow: -20px 0 50px rgba(0,0,0,.25); animation: slide .25s cubic-bezier(.2,.7,.2,1); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@media (max-width: 560px) { .drawer-panel { top: auto; max-height: 92vh; width: 100%; border-radius: 18px 18px 0 0; animation-name: up; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.drawer-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-h h2 { margin: 0; font-size: 1.7rem; }
.x { font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--sumi); width: 44px; height: 44px; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-list .cart-empty { display: block; color: var(--muted); }
.ci-name { font-weight: 500; line-height: 1.35; }
.ci-sub { font-weight: 700; min-width: 76px; text-align: right; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; color: var(--sumi); }
.qty span { min-width: 20px; text-align: center; font-weight: 700; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; margin: 16px 0 4px; }
.cart-sum b { font-family: var(--serif); font-size: 1.6rem; }
.order { margin-top: 18px; display: grid; gap: 12px; }
.order label { display: grid; gap: 4px; font-weight: 700; font-size: .88rem; }
.order input, .order select, .order textarea { font: inherit; font-weight: 400; color: var(--sumi); background: #fffdf8; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; min-height: 46px; width: 100%; }
.order input:focus, .order select:focus, .order textarea:focus { outline: 2px solid var(--shu); outline-offset: -1px; }
.solo-delivery { display: grid; gap: 12px; }
.solo-delivery[hidden] { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sumi); border-radius: 4px; overflow: hidden; }
.seg label { display: block; text-align: center; padding: 11px 6px; cursor: pointer; font-weight: 700; font-size: .92rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--sumi); color: var(--paper); }
.form-err { color: var(--shu-2); font-weight: 700; margin: 0; }
.btn-wa { background: #1f9d55; border-color: #1f9d55; width: 100%; font-size: 1.05rem; padding: 1em; border-radius: 999px; }
.btn-wa:hover { background: #178046; border-color: #178046; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; justify-self: center; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 70; background: var(--sumi); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: .9rem; max-width: 90vw; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Selector de sucursal */
.suc { display: grid; place-items: center; padding: 16px; }
.suc .drawer-bg { cursor: default; }
.suc-panel { position: relative; background: var(--paper); width: min(520px, 100%); padding: 28px 24px 24px; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: up .25s cubic-bezier(.2,.7,.2,1); }
.suc-panel h2 { font-size: clamp(1.6rem, 5vw, 2rem); margin-bottom: .2em; }
.suc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.suc-opt { display: grid; gap: 4px; justify-items: start; text-align: left; font: inherit; color: var(--sumi); background: rgba(255,255,255,.55); border: 1px solid var(--line);
  border-radius: 6px; padding: 18px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.suc-opt:hover, .suc-opt:focus-visible { border-color: var(--shu); background: #fff; outline: none; }
.suc-opt strong { font-family: var(--serif); font-size: 1.5rem; }
.suc-opt .muted { font-size: .85rem; line-height: 1.4; }
.suc-k { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--shu); color: #fff8ef; font-family: var(--serif); font-weight: 800; margin-bottom: 6px; }
@media (max-width: 440px) { .suc-opts { grid-template-columns: 1fr; } }
.suc-chip { margin: 12px 0 0; font-size: .95rem; }
.suc-chip b { color: var(--shu); }
.suc-sel { padding: 12px 14px; background: rgba(195,64,44,.08); border-radius: 4px; font-size: .95rem; }
.suc-sel b { color: var(--shu); }

/* ================= 20 años ================= */
.aniv-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 16px; background: var(--shu); color: #fff8ef; text-decoration: none; font-size: .9rem; font-weight: 500; line-height: 1.35; text-align: center; }
.aniv-bar:hover .aniv-go { transform: translateX(3px); }
.aniv-20 { flex: none; font-family: var(--serif); font-weight: 800; font-size: 1.05rem; border: 1.5px solid currentColor; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; }
.aniv-go { transition: transform .2s; }
.aniv { background: linear-gradient(180deg, var(--paper) 0%, #efe8db 100%); }
.aniv-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.aniv-img { margin: 0; }
.aniv-pic { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 40px 70px -40px rgba(27,25,23,.55), 0 0 0 1px var(--line); }
.aniv-pic.ph { aspect-ratio: 4 / 5; }
.aniv-txt { position: relative; }
.aniv-jp { margin: 0 0 12px; font-family: var(--serif); font-weight: 800; color: var(--shu); letter-spacing: .35em; font-size: 1rem; }
.aniv h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.aniv-num { color: var(--shu); font-size: 1.5em; line-height: .9; display: inline-block; margin-right: .08em; }
.aniv-txt > p:not(.lead):not(.eyebrow):not(.aniv-jp) { color: var(--ink-soft); max-width: 34em; }
@media (max-width: 860px) {
  .aniv-grid { grid-template-columns: 1fr; }
  .aniv-img { max-width: 440px; margin: 0 auto; }
  .aniv-bar { font-size: .82rem; }
}
#20-anos { scroll-margin-top: 90px; }
