/* Last Bite style template. Uses tokens from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--font-ui); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--c-muted); }
.caption { font-size: var(--fs-small); color: var(--c-muted); }
.caption.on-dark { color: #CFC8BF; margin-top: 8px; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i-fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 2px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--c-accent); }
.todo { background: rgb(var(--accent-rgb) / .35); color: var(--c-ink); padding: 0 6px; border-radius: 4px; font-size: .92em; }

/* Demo bar */
.demo-bar { background: var(--c-dark); color: #E7E1D9; font-size: .8125rem; padding: 8px var(--gutter); text-align: center; }
.demo-bar strong { color: var(--c-accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.2; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-cta); color: #fff; }
.btn-primary:hover { background: var(--c-cta-hover); }
.btn-secondary { background: transparent; border-color: var(--c-ink); color: var(--c-ink); }
.btn-secondary:hover { background: var(--c-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; padding: 0 12px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { background: #E4DCCF; border-color: #E4DCCF; color: #6B625A; cursor: not-allowed; }
.hero .btn-secondary, .section--dark .btn-secondary { border-color: #fff; color: #fff; }
.hero .btn-secondary:hover, .section--dark .btn-secondary:hover { background: #fff; color: var(--c-ink); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--c-border); background: var(--c-surface); }
.icon-btn:hover { border-color: var(--c-ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 248 240 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-border); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.375rem; text-transform: uppercase; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; background: var(--c-cta); color: #fff; align-items: center; justify-content: center; }
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; }
.nav-link { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.nav-link:hover { background: rgb(var(--accent-rgb) / .3); }
.nav-link[aria-current="page"] { background: var(--c-ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.cart-btn { position: relative; }
.cart-count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c-accent); color: var(--c-ink); font-size: .8125rem; font-weight: 800; align-items: center; justify-content: center; }
.cart-label { display: none; }
@media (min-width: 480px) { .cart-label { display: inline; } }
.burger { display: inline-flex; }
@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .header-actions { margin-left: 0; }
  .burger { display: none; }
}
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--c-bg); display: flex; flex-direction: column; padding: 0 var(--gutter) 24px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.drawer nav ul { list-style: none; margin-top: 8px; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--c-border); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-decoration: none; }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.drawer-foot address { font-style: normal; color: var(--c-muted); text-align: center; margin-top: 8px; }

/* Mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-dark); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a, .mobile-bar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: #fff; background: none; border: 0; text-decoration: none; font-size: .75rem; font-weight: 600; }
.mobile-bar .i { width: 22px; height: 22px; }
.mobile-bar .cart-count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: .6875rem; }
@media (min-width: 960px) { .mobile-bar { display: none; } }
body { padding-bottom: 58px; }
@media (min-width: 960px) { body { padding-bottom: 0; } }

/* Hero */
.hero { background: var(--c-dark); color: #fff; padding: 48px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; color: var(--c-accent); margin-bottom: 12px; }
.hero h1 { color: #fff; }
.hero-sub { margin-top: 18px; max-width: 34em; font-size: 1.125rem; color: #E7E1D9; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { list-style: none; display: grid; gap: 10px; margin-top: 28px; }
.trust li { display: flex; align-items: center; gap: 10px; color: #E7E1D9; }
.trust .i { color: var(--c-accent); }
.trust a { color: #fff; }
.hero-visual { text-align: center; }
.hero-art { width: min(100%, 360px); height: auto; filter: drop-shadow(0 10px 24px rgb(0 0 0 / .35)); }
.hero-img { width: min(100%, 480px); height: auto; border-radius: 16px; box-shadow: 0 12px 36px rgb(0 0 0 / .38); object-fit: cover; display: block; margin: 0 auto; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero { padding: 72px 0; } }
.status { font-weight: 600; }
.status[data-state="open"]::before, .status[data-state="closed"]::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: #8A8178; }
.status[data-state="open"]::before { background: #4FBF74; }
.status[data-state="closed"]::before { background: #E5736B; }

/* Sections */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--alt { background: #FBEFDD; }
.section--dark { background: var(--c-dark); color: #fff; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head p { color: var(--c-muted); margin-top: 8px; }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 20px; }
.modes { list-style: none; display: grid; gap: 12px; }
.modes li { display: flex; gap: 14px; align-items: flex-start; }
.modes .i { width: 32px; height: 32px; color: var(--c-cta); }
.modes h2 { font-size: 1.25rem; margin-bottom: 4px; }
.modes p { color: var(--c-muted); font-size: .9688rem; }
@media (min-width: 800px) { .modes { grid-template-columns: repeat(3, 1fr); } }

/* Dish cards */
.dish { display: flex; flex-direction: column; gap: 8px; padding: 0 0 16px; overflow: hidden; }
.dish > *:not(.thumb) { margin-left: 16px; margin-right: 16px; }
.thumb { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FBE3BC, #F5C77A); color: rgb(28 27 25 / .55); }
.thumb .i { width: 56px; height: 56px; stroke-width: 1.4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; margin-top: 4px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: #F0E6D6; color: var(--c-ink); }
.b-hit { background: var(--c-accent); }
.b-new { background: var(--c-ink); color: #fff; }
.b-spicy { background: #FADBD8; color: #7A1D14; }
.b-veg, .b-vegan { background: #DDEFD9; color: #1F4D2B; }
.dish h3 { font-size: 1.25rem; }
.dish .desc { color: var(--c-muted); font-size: .9688rem; }
.dish .alg { font-size: .8125rem; color: var(--c-muted); }
.dish .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.is-soldout .thumb { filter: grayscale(1); opacity: .6; }
.dish.is-added { outline: 3px solid var(--c-success); }
.dish-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }

/* Carousel */
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: thin; }
.carousel > * { flex: 0 0 min(82%, 300px); scroll-snap-align: start; }
.carousel-controls { display: none; gap: 8px; }
@media (min-width: 768px) { .carousel-controls { display: flex; } }

/* Teaser */
.teaser { display: grid; gap: 32px; align-items: center; }
.teaser h2 { color: #fff; }
.teaser p { color: #E7E1D9; margin-top: 12px; max-width: 32em; }
.teaser-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.teaser-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #262626; font-weight: 700; }
.teaser-steps span { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent); color: var(--c-ink); align-items: center; justify-content: center; font-weight: 800; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1.1fr .9fr; } }

/* Reviews */
.review-head { display: flex; align-items: center; gap: 16px; }
.review-score { font-family: var(--font-display); font-weight: 900; font-size: 3.5rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #B07A00; }
.review-count { margin-top: 4px; }
.review-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Ingredients */
.ing-grid { list-style: none; display: grid; gap: 16px; }
.ing-grid h3 { margin-bottom: 8px; }
@media (min-width: 700px) { .ing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ing-grid { grid-template-columns: repeat(4, 1fr); } }

/* Location */
.loc-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1fr 1.2fr; } }
.loc-card address { font-style: normal; margin: 12px 0; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--c-border); font-weight: 400; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 800; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map-frame { min-height: 320px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); background: #EADFD0; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 700; cursor: pointer; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
details[open] summary .i { transform: rotate(180deg); }
.answer { padding: 0 18px 18px; color: var(--c-muted); }

/* Footer */
.site-footer { background: var(--c-dark); color: #CFC8BF; padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: #fff; text-transform: uppercase; }
.site-footer h2 { font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #CFC8BF; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: .875rem; }
.footer-bottom ul { display: flex; gap: 16px; }
.todo { word-break: break-word; }
.site-footer .todo { color: var(--c-ink); }

/* Page hero & breadcrumbs */
.page-hero { background: #FBEFDD; padding: 32px 0 36px; border-bottom: 1px solid var(--c-border); }
.page-hero h1 { margin-top: 12px; font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); }
.page-hero p { margin-top: 12px; color: var(--c-muted); max-width: 40em; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .875rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }

/* Menu */
.menu-wrap { padding-top: 24px; }
.menu-tools { display: grid; gap: 14px; }
@media (min-width: 800px) { .menu-tools { grid-template-columns: 340px 1fr; align-items: end; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-ink); outline: none; box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .6); }
.error { display: none; color: var(--c-error); font-size: .875rem; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-error); }
.field.is-invalid .error { display: block; }
.search { margin: 0; }
.search-box { position: relative; }
.search-box .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.search-box input { padding-left: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--c-border); background: var(--c-surface); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--c-ink); }
.chip[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.cat-tabs { position: sticky; top: 68px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-top: 8px; background: var(--c-bg); scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.menu-count { color: var(--c-muted); font-size: .9375rem; margin: 8px 0 0; min-height: 1.5em; }
.menu-sec { margin-top: 28px; }
.menu-sec h2 { margin-bottom: 16px; }
.empty { text-align: center; padding: 48px 16px; display: grid; gap: 8px; justify-items: center; }

/* Cart & modal dialogs */
dialog { color: var(--c-ink); }
dialog::backdrop { background: rgb(21 21 21 / .55); }
.cart { margin: 0 0 0 auto; padding: 0; width: min(100%, 440px); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; background: var(--c-bg); flex-direction: column; overflow: hidden; }
.cart[open] { display: flex; }
.cart-head, .modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-head { padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.cart-head h2, .modal-head h2 { font-size: 1.5rem; }
.cart-scroll { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 16px; align-content: start; }
.cart-foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-border); background: var(--c-surface); }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: #F0E6D6; border-radius: 999px; }
.mode button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; }
.mode button[aria-pressed="true"] { background: var(--c-ink); color: #fff; }
.cart-note { background: rgb(var(--accent-rgb) / .35); padding: 10px 14px; border-radius: var(--r-md); font-size: .9375rem; }
.cart-empty { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 28px 8px; }
.cart-empty .ico { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #F0E6D6; align-items: center; justify-content: center; }
.cart-empty .ico .i { width: 30px; height: 30px; }
.cart-lines { list-style: none; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.line h3 { font-size: 1rem; }
.line .opts-txt { grid-column: 1; color: var(--c-muted); font-size: .875rem; }
.line .l-price { grid-row: 1; grid-column: 2; font-weight: 800; }
.line .l-ctl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--c-border); border-radius: 999px; background: var(--c-surface); }
.qty button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; }
.qty button:hover { background: #F0E6D6; }
.qty output { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.l-remove { border: 0; background: none; color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; padding: 0 8px; }
.upsell h3 { font-size: 1rem; margin-bottom: 8px; }
.upsell-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.up { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--c-border); background: var(--c-surface); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.up:hover { border-color: var(--c-ink); }
.promo label { font-weight: 700; font-size: .9375rem; }
.promo-row { display: flex; gap: 8px; margin-top: 6px; }
.promo-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 2px solid var(--c-border); border-radius: 999px; background: var(--c-surface); text-transform: uppercase; }
.promo-msg { min-height: 1.4em; font-size: .875rem; margin-top: 4px; }
.promo-msg.ok { color: #2E6B40; }
.promo-msg.bad { color: var(--c-error); }
.totals { margin: 0; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt, .totals dd { margin: 0; }
.totals .total { border-top: 2px solid var(--c-ink); padding-top: 10px; margin-top: 4px; font-family: var(--font-display); font-weight: 900; font-size: 1.375rem; }
.modal { margin: auto; padding: 20px; width: min(calc(100% - 24px), 480px); max-height: calc(100dvh - 24px); overflow-y: auto; border: 0; border-radius: var(--r-lg); background: var(--c-bg); }
.modal-head { margin-bottom: 12px; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.opt-list { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.opt-list legend { font-weight: 800; padding: 0; margin-bottom: 8px; }
.opt-list > div { display: grid; gap: 8px; }
.pay { margin: 4px 0 14px; }
.pay h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: .9375rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--c-cta); flex: none; }
.success-box { display: flex; gap: 12px; align-items: flex-start; background: #DDEFD9; color: #1F4D2B; padding: 14px; border-radius: var(--r-md); }
[data-co-summary] { margin-bottom: 14px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 2px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--c-ink); background: #FFF3DD; }
.opt:has(input:focus-visible) { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.opt input { width: 20px; height: 20px; accent-color: var(--c-cta); flex: none; }
.opt .o-name { flex: 1; font-weight: 600; min-width: 0; }
.opt .o-price { color: var(--c-muted); font-size: .9375rem; white-space: nowrap; }

/* Builder */
.builder { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .builder { grid-template-columns: 1fr 380px; } .b-sum { position: sticky; top: 92px; } }
.b-form { display: grid; gap: 20px; }
.b-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.b-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; }
.b-step legend small { font-family: var(--font-ui); font-weight: 400; font-size: .875rem; color: var(--c-muted); }
.b-step .n { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--c-ink); color: #fff; align-items: center; justify-content: center; font-size: 1rem; }
.opts { display: grid; gap: 8px; }
@media (min-width: 600px) { .opts { grid-template-columns: repeat(2, 1fr); } }
.limit { font-size: .875rem; color: var(--c-muted); min-height: 1.3em; margin-top: 6px; }
.b-sum h2 { font-size: 1.5rem; margin-bottom: 12px; }
.b-list { list-style: none; display: grid; gap: 6px; font-size: .9688rem; }
.b-list li { display: flex; justify-content: space-between; gap: 12px; }
.b-list li span:last-child { color: var(--c-muted); white-space: nowrap; }
.b-alg { margin-top: 12px; font-size: .875rem; color: var(--c-muted); }
.b-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--c-ink); font-weight: 700; }
.b-price strong { font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; }
.b-bar { display: none; }
@media (max-width: 959px) {
  .has-bar .mobile-bar { display: none; }
  .has-bar { padding-bottom: 84px; }
  .b-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--c-dark); color: #fff; }
  .b-bar .caption { color: #CFC8BF; display: block; }
  .b-bar strong { font-family: var(--font-display); font-size: 1.5rem; }
  .b-sum .modal-foot { display: none; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 300; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--c-ink); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Fixes: keep dialog content inside its width */
.cart-scroll { grid-template-columns: minmax(0, 1fr); }
.cart-scroll > * { min-width: 0; }
.caption.on-dark .todo { background: var(--c-accent); }
