:root {
  --brand: #E20A16;
  --brand-dark: #B60812;
  --brand-deep: #8e040c;
  --gold: #FFC72C;
  --gold-dark: #e6ad00;
  --ink: #171717;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --wa: #25D366;
  --wa-dark: #1eb457;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .08);
  --font-h: 'Poppins', system-ui, sans-serif;
  --font-b: 'Roboto', system-ui, sans-serif;
  --font-jp: 'Noto Sans JP', 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ TOPBAR ============ */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--brand-dark));
  box-shadow: 0 4px 18px rgba(142, 4, 12, .45);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px; padding: 3px;
  object-fit: contain; border-radius: 50%;
  border: 3px solid var(--gold); background: #fff;
}
.brand-text {
  line-height: 1.05; color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .18);
  padding: 6px 14px 7px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.brand-text strong {
  font-family: var(--font-jp); font-weight: 900; font-size: 22px;
  letter-spacing: .5px; display: block; line-height: 1;
  transform: skewX(-4deg);
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .22), 3px 3px 0 rgba(226, 10, 22, .28);
}
.brand-text strong span { color: var(--ink); }
.brand-text small { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #7a2026; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); color: #fff;
  transition: transform .15s, background .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
.topbar-account { width: auto; gap: 7px; padding: 0 12px; }
.tba-label { font-size: 13px; font-weight: 800; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gold); }
.tba-label.on { color: #fff; }

.cart-btn {
  position: relative;
  height: 42px; padding: 0 16px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .15s;
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

.searchbar {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 160;
  padding: 0 20px 14px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--brand-dark));
  box-shadow: 0 8px 18px rgba(142, 4, 12, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.searchbar.open { opacity: 1; visibility: visible; transform: translateY(0); }
.searchbar input {
  width: 100%; max-width: 1240px; margin: 0 auto; display: block;
  padding: 12px 18px; font-size: 15px;
  border: none; border-radius: 999px; outline: none;
  font-family: var(--font-b); box-shadow: inset 0 0 0 2px #fff, 0 6px 18px rgba(0,0,0,.25);
}
.search-drop {
  position: absolute; top: calc(100% + 10px); left: 20px; right: 20px;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 0 0 1px #ecece6;
  animation: pop .18s ease;
}
.search-drop-inner { max-height: 360px; overflow-y: auto; padding: 8px; }
.sd-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 9px 10px; border-radius: 12px; background: none; cursor: pointer;
  transition: background .12s;
}
.sd-item:hover, .sd-item.sel { background: var(--bg-soft); }
.sd-item img, .sd-item .sd-ph {
  width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
  background: #f0efe9; flex: 0 0 auto;
}
.sd-item .sd-ph { display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sd-info { min-width: 0; }
.sd-name { font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-name mark { background: var(--gold); border-radius: 4px; padding: 0 2px; color: inherit; }
.sd-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-price { margin-left: auto; flex: 0 0 auto; font-family: var(--font-h); font-weight: 800; font-size: 13.5px; color: var(--brand); }
.sd-empty { padding: 18px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ============ HERO ============ */
.hero { position: relative; height: 70vh; min-height: 420px; max-height: 620px; overflow: hidden; }
.hero-slider, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: #120407;
  opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { background: linear-gradient(180deg, rgba(10,0,2,.55), rgba(10,0,2,.15) 45%, rgba(10,0,2,.75)); }
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 0 20px;
}
.hero-content h1 {
  font-family: var(--font-jp); font-weight: 900;
  font-size: clamp(40px, 7vw, 84px); line-height: 1.02;
  text-shadow: 0 6px 30px rgba(0,0,0,.55); letter-spacing: 1px;
  transform: skewX(-3deg);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  font-size: clamp(15px, 2vw, 20px); font-weight: 500; margin-top: 12px;
  letter-spacing: 1px; text-shadow: 0 3px 14px rgba(0,0,0,.6);
}
.hero-cta {
  margin-top: 28px; display: inline-block;
  background: var(--brand); color: #fff;
  font-family: var(--font-h); font-weight: 800; font-size: 17px;
  padding: 16px 38px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(226, 10, 22, .55), inset 0 0 0 3px #fff;
  transition: transform .18s, box-shadow .18s;
}
.hero-cta:hover { transform: translateY(-3px) scale(1.03); }
.hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 999px; background: rgba(255,255,255,.5);
  transition: width .2s, background .2s;
}
.hero-dots button.active { width: 34px; background: var(--gold); }

/* ============ INFO BAR ============ */
.infobar { background: var(--ink); color: #fff; }
.infobar-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.info-item { display: flex; gap: 12px; align-items: center; }
.info-icon { font-size: 26px; }
.info-item strong { display: block; font-size: 14.5px; font-weight: 700; }
.info-item small { color: #c8c8c8; font-size: 12.5px; }

/* ============ CAT NAV ============ */
.catnav {
  position: sticky; top: 66px; z-index: 80;
  background: var(--bg-soft);
  border-bottom: 1px solid #e7e7e2;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  display: flex; align-items: center; gap: 4px;
  padding: 0 8px;
}
.catnav-arrow {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  display: none; align-items: center; justify-content: center;
  background: #fff; border: 2px solid #e4e4de; color: var(--ink);
  font-size: 24px; line-height: 1; font-weight: 700;
  box-shadow: var(--shadow-sm); transition: all .14s;
}
.catnav-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.catnav-arrow:disabled { opacity: .32; cursor: default; }
@media (min-width: 721px) {
  .catnav-arrow { display: inline-flex; }
}
.catnav-inner {
  flex: 1; min-width: 0;
  padding: 12px 4px;
  display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav-inner a {
  flex: 0 0 auto;
  font-weight: 700; font-size: 14px; color: var(--ink);
  background: #fff; border: 2px solid #e4e4de; border-radius: 999px;
  padding: 9px 18px; transition: all .15s;
}
.catnav-inner a:hover, .catnav-inner a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============ MENU ============ */
.menu { max-width: 1280px; margin: 0 auto; padding: 36px 20px 60px; }
.menu-intro { text-align: center; margin-bottom: 28px; }
.menu-intro h2 {
  font-family: var(--font-h); font-weight: 900; font-size: clamp(28px, 4vw, 42px); color: var(--brand);
}
.menu-intro h2 span { color: var(--ink); }
.menu-intro p { color: var(--muted); margin-top: 6px; font-weight: 500; }

.section { margin-bottom: 44px; scroll-margin-top: 140px; }
.section-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.section-head h3 {
  font-family: var(--font-h); font-weight: 800; font-size: clamp(22px, 3vw, 30px);
  color: var(--ink); white-space: nowrap;
}
.section-head .rule { flex: 1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #ecece6; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img-wrap { position: relative; aspect-ratio: 4 / 3; background: #f0efe9; overflow: hidden; }
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.06); }
.card-img-wrap .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 64px; background: linear-gradient(135deg, #ffe9d6, #ffd9ce);
}
.discount-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: var(--ink); font-weight: 900; font-size: 12px;
  padding: 5px 10px; border-radius: 999px;
}
.card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 7px; }
.card-name { font-family: var(--font-h); font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.45; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 4px; }
.card-price { font-family: var(--font-h); font-weight: 800; font-size: 20px; color: var(--brand); }
.card-price-old { font-size: 13px; color: #999; text-decoration: line-through; }

/* extras picker */
.extras { display: grid; gap: 6px; margin: 8px 0 2px; }
.extras .x-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.extras .x-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); min-width: 58px; }
.x-chip {
  font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  border: 1.5px solid #dadad2; color: #444; background: #fff; transition: all .12s;
}
.x-chip:hover { border-color: var(--gold); }
.x-chip.sel { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 800; }
.x-chip.qty { min-width: 40px; }

.add-row { display: flex; gap: 8px; margin-top: 10px; }
.add-btn { flex: 1; }
.edit-btn { flex: 0 0 auto; }
.btn-outline {
  background: #fff; color: var(--brand); border: 2px solid var(--brand);
  padding: 11px 14px; box-shadow: none;
}
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn {
  font-family: var(--font-h); font-weight: 800; font-size: 14.5px;
  padding: 13px 20px; border-radius: 999px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; transition: transform .14s, box-shadow .14s, background .14s;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(226,10,22,.35); }
.btn-red:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 18px rgba(255,199,44,.4); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.btn-white:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; width: 100%; padding: 15px; font-size: 16px; box-shadow: 0 8px 20px rgba(37,211,102,.4); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }

.qty-stepper {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.qty-stepper button {
  width: 40px; height: 42px; font-size: 20px; font-weight: 800;
  background: #fff; border: 2px solid #e4e4de; color: var(--ink); border-radius: 12px;
  transition: background .12s, color .12s;
}
.qty-stepper button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.qty-stepper .qty-val {
  flex: 1; text-align: center; font-family: var(--font-h); font-weight: 800; font-size: 17px;
  min-width: 34px;
}
.qty-stepper.mini button { width: 32px; height: 34px; font-size: 16px; }
.qty-stepper.mini .qty-val { font-size: 15px; }

.no-results { text-align: center; padding: 50px 0; color: var(--muted); font-size: 17px; }
.no-results p { margin-bottom: 18px; }
.no-results button { font-family: var(--font-h); }

/* ============ PROMO STRIP ============ */
.promo-strip {
  background: linear-gradient(100deg, var(--brand), var(--brand-dark));
  color: #fff; padding: 30px 20px;
  display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; text-align: center;
}
.promo-strip h3 { font-family: var(--font-h); font-weight: 900; font-size: 26px; }
.promo-strip p { opacity: .92; margin-top: 4px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #fff; }
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 48px 20px 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px;
}
.footer-logo { width: 64px; height: 64px; padding: 4px; border-radius: 50%; border: 3px solid var(--gold); object-fit: contain; background: #fff; }
.footer-brand h3 { font-family: var(--font-h); font-weight: 900; font-size: 20px; margin: 12px 0 6px; color: var(--gold); }
.footer-brand p { color: #b9b9b9; font-size: 14px; line-height: 1.55; }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { font-size: 13px; font-weight: 700; color: #fff; background: #2a2a2a; padding: 8px 14px; border-radius: 999px; transition: background .15s; }
.socials a:hover { background: var(--brand); }
.footer-col h4 { font-family: var(--font-h); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 12px; }
.footer-col p { color: #c5c5c5; font-size: 14px; line-height: 1.7; }
.maps-link { color: var(--gold); font-weight: 700; font-size: 14px; }
.wa-foot { display: inline-block; margin-top: 10px; color: var(--wa); font-weight: 800; font-size: 17px; }
.footer-bottom { border-top: 1px solid #2b2b2b; text-align: center; padding: 18px; color: #7d7d7d; font-size: 13px; }

/* ============ FLOATING ============ */
.wa-float {
  position: fixed; right: 20px; bottom: 96px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.55);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.1); }
.cart-float {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: 10px 22px 10px 12px; box-shadow: 0 10px 28px rgba(226,10,22,.5);
  transition: transform .18s;
}
.cart-float:hover { transform: translateX(-50%) translateY(-3px); }
.cart-float-inner { position: relative; }
.cart-float-count {
  position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold); color: var(--ink); border-radius: 999px;
  font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.cart-float-label { font-family: var(--font-h); font-weight: 800; font-size: 15px; }

/* ============ OVERLAY / DRAWER ============ */
.overlay {
  position: fixed; inset: 0; background: rgba(10,0,2,.5); z-index: 95; backdrop-filter: blur(2px);
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(420px, 94vw); background: #fff;
  transform: translateX(105%); transition: transform .28s ease;
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,.25);
}
.cart-drawer.open { transform: translateX(0); }
.cd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: var(--ink); color: #fff;
}
.cd-header h3 { font-family: var(--font-h); font-weight: 800; font-size: 19px; }
.cd-header .icon-btn { background: rgba(255,255,255,.15); }
.cd-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cd-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.cd-empty .big { font-size: 46px; }
.cd-footer { padding: 16px 20px 20px; border-top: 1px solid #ecece6; background: #fafaf8; }
.cd-totals { margin-bottom: 12px; }
.cd-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 3px 0; }
.cd-row strong { font-family: var(--font-h); }
.cd-grand { font-size: 18px; font-weight: 800; border-top: 1px dashed #ccc; margin-top: 6px; padding-top: 10px; }
.cd-grand span { color: var(--muted); }
.cd-footer small { display: block; text-align: center; color: var(--muted); margin-top: 10px; font-size: 12px; }

.cart-line {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f0f0ea; align-items: start;
}
.cart-line img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; background: #f0efe9; }
.cart-line .cl-info { min-width: 0; }
.cart-line .cl-name { font-family: var(--font-h); font-weight: 700; font-size: 14px; line-height: 1.25; }
.cart-line .cl-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cart-line .cl-extras { margin-top: 5px; display: grid; gap: 2px; }
.cart-line .cl-extra { font-size: 11.5px; color: #575757; }
.cart-line .cl-extra b { color: var(--brand); }
.cart-line .cl-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line .cl-price { font-family: var(--font-h); font-weight: 800; font-size: 15px; color: var(--brand); }
.cl-extra-row { display: flex; gap: 14px; margin-top: 3px; }
.cl-edit { color: var(--brand); font-weight: 700; font-size: 12px; }
.cl-edit:hover { text-decoration: underline; }
.cl-remove { font-size: 12px; font-weight: 700; color: #a00; }
.cl-remove:hover { text-decoration: underline; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,0,2,.55); z-index: 120; backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal {
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow); animation: pop .25s ease;
}
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-sm { width: min(460px, 100%); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: var(--ink); color: #fff; border-radius: 22px 22px 0 0;
}
.modal-header h3 { font-family: var(--font-h); font-weight: 800; font-size: 19px; }
.modal-header .icon-btn { background: rgba(255,255,255,.15); }
.modal-body { padding: 20px 22px 8px; }
.modal-summary {
  background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
  display: grid; gap: 4px; font-size: 13.5px; max-height: 180px; overflow-y: auto;
}
.modal-summary .ms-line { display: flex; justify-content: space-between; gap: 10px; }
.modal-summary .ms-line b { font-family: var(--font-h); }
.sin-tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .4px;
  color: var(--brand); background: #ffe3e4; border-radius: 999px; padding: 1px 7px; margin: 0 3px;
  vertical-align: middle; text-transform: none;
}
.form-section { margin-bottom: 18px; }
.form-section h4 { font-family: var(--font-h); font-weight: 800; font-size: 15px; margin-bottom: 10px; color: var(--ink); text-transform: uppercase; letter-spacing: .6px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 12px; }
.seg button {
  padding: 11px; border: 2px solid #e2e2da; border-radius: 12px;
  font-weight: 700; font-size: 14px; color: #555; background: #fff; transition: all .13s;
}
.seg button:hover { border-color: var(--gold); }
.seg button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.field { margin-bottom: 10px; }
.field label { display: block; font-weight: 700; font-size: 12.5px; margin-bottom: 5px; color: #444; }
.field input, .field select {
  width: 100%; padding: 11px 13px; border: 2px solid #e2e2da; border-radius: 12px;
  font-size: 14.5px; font-family: var(--font-b); outline: none; transition: border-color .13s;
}
.field input:focus, .field select:focus { border-color: var(--brand); }
.modal-totals { border-top: 2px dashed #dadad2; padding-top: 12px; margin-top: 6px; display: grid; gap: 6px; }
.modal-totals > div { display: flex; justify-content: space-between; font-size: 14px; }
.modal-totals .grand { font-size: 18px; font-weight: 800; }
.modal-totals .grand span { color: var(--muted); font-weight: 500; font-size: 13px; }
.modal-footer { padding: 14px 22px 20px; }
.modal-note { display: block; text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }

/* ============ ACCOUNT ============ */
.acct-help { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.acct-alt { text-align: center; margin-top: 10px; }
.link-btn { color: var(--brand); font-weight: 700; text-decoration: underline; font-size: 14px; }
.acct-hello { font-family: var(--font-h); font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.acct-hello b { color: var(--brand); }
.acct-sub { font-family: var(--font-h); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; margin: 16px 0 10px; color: var(--ink); }
.acct-freq { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-chip {
  font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 2px solid #e4e4de; color: var(--ink); transition: all .13s; text-align: left;
}
.acct-chip:hover { border-color: var(--brand); color: var(--brand); }
.acct-orders { display: grid; gap: 10px; margin-bottom: 14px; max-height: 250px; overflow-y: auto; }
.acct-order {
  background: var(--bg-soft); border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
}
.acct-order .ao-info { font-size: 12.5px; line-height: 1.55; color: var(--muted); min-width: 0; }
.acct-order .ao-info b { font-size: 13.5px; color: var(--ink); display: block; }
.acct-order .ao-info .ao-meta { font-size: 11px; }
.order-btn {
  flex: 0 0 auto; font-weight: 800; font-size: 12.5px; padding: 9px 14px; border-radius: 999px;
  background: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(226,10,22,.3); transition: all .14s;
}
.order-btn:hover { background: var(--brand-dark); }
.acct-empty { font-size: 13px; color: var(--muted); }

/* ============ EDIT ROLL ============ */
.edit-intro {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px;
}
.edit-intro img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.edit-intro h4 { font-family: var(--font-h); font-weight: 800; font-size: 16px; }
.edit-intro small { color: var(--muted); display: block; margin-top: 2px; }
.edit-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.edit-ing { display: flex; flex-wrap: wrap; gap: 8px; }
.ing-chip {
  font-size: 13px; font-weight: 700; padding: 8px 13px; border-radius: 999px;
  border: 2px solid #e4e4de; background: #fff; color: var(--ink); transition: all .13s;
}
.ing-chip:hover { border-color: var(--brand); }
.ing-chip.off { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: line-through; }
.ing-chip.off span { color: var(--gold); text-decoration: none; }

/* ============ VARIANTS ============ */
.var-list { display: grid; gap: 8px; }
.var-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 2px solid #e2e2da; border-radius: 12px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 14px;
  text-align: left; transition: all .13s;
}
.var-btn:hover { border-color: var(--gold); }
.var-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.var-btn .vb-price { font-family: var(--font-h); font-size: 14px; opacity: .85; white-space: nowrap; }
.var-ph {
  flex: 0 0 60px; width: 60px; height: 60px; border-radius: 12px;
  background: #f0efe9; display: flex; align-items: center; justify-content: center; font-size: 26px;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200;
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  animation: fadeIn .25s ease;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .brand-text strong { font-size: 17px; }
  .brand-text { padding: 5px 11px 6px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
  .card-name { font-size: 14.5px; }
  .card-price { font-size: 17px; }
  .card-desc { font-size: 12px; }
  .x-chip { font-size: 11px; padding: 4px 8px; }
  .add-row { flex-direction: column; }
  .edit-btn { align-self: stretch; }
  .tba-label { display: none; }
  .topbar-account { padding: 0 10px; }
  .cart-float-label { display: none; }
  .cart-float { padding: 10px 14px 10px 12px; }
  .hero { height: 56vh; min-height: 340px; }
}
/* ================= Banner cerrado + campo teléfono + widget delivery ================= */
.closed-banner {
  background: linear-gradient(135deg, #7a1f22, #b60812);
  color: #fff;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 3px solid #ffc72c;
}
.cb-icon { font-size: 32px; }
.cb-body strong { display: block; font-size: 15px; }
.cb-body small { display: block; opacity: .9; font-size: 12px; }
body.shop-closed #btnCheckout {
  opacity: .55; cursor: not-allowed;
}
.req { color: #E20A16; font-weight: 800; margin-left: 4px; }
.addr-row {
  display: flex; gap: 8px; align-items: stretch;
}
.addr-row input {
  flex: 1;
}
.btn-sm { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
.deliv-hint {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  background: #f5f6fa;
  color: #4b5563;
}
.deliv-hint.ok  { background: #e5fbf3; color: #0f766e; border-left: 3px solid #10b981; }
.deliv-hint.bad { background: #fef2f2; color: #b91c1c; border-left: 3px solid #ef4444; }
.map-wrap {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
#mapPreview { width: 100%; height: 260px; }

.acct-active {
  padding: 10px 12px;
  background: #fff8ec;
  border-left: 3px solid #FFC72C;
  border-radius: 8px;
  margin-bottom: 6px;
}
.acct-active .tag {
  display: inline-block;
  background: #fff;
  padding: 1px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; margin-left: 6px;
}
.acct-active small { color: #6b7280; display: block; margin-top: 4px; }
