/* =========================================================
   Components: chrome, buttons, cards, ornaments, sheets, forms
   ========================================================= */

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--olive-deep);
  color: var(--gold-light);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 4px 44px 4px 12px; position: relative; text-align: center;
  border-bottom: 1px solid rgba(198, 154, 78, .35);
}
@media (max-width: 420px) { .demo-banner { font-size: .8125rem; letter-spacing: 0; } }
.demo-banner p { margin: 0; }
.demo-close {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; color: var(--gold-light); border-radius: 50%;
}
.demo-close svg { width: 18px; height: 18px; }
.demo-close:hover { color: var(--neon); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, var(--olive) 0%, var(--olive-deep) 100%);
  border-bottom: 1.5px solid var(--gold);
  box-shadow: 0 1px 0 rgba(198, 154, 78, .35), 0 6px 18px rgba(20, 25, 8, .28);
}
#site-header { position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 0 auto; border-radius: 6px; }
.brand img { width: 154px; height: auto; }
@media (min-width: 768px) { .brand img { width: 196px; } }

.pendants { display: none; align-self: flex-start; gap: 9px; height: 100%; padding-left: 4px; }
.pendants i { position: relative; display: block; width: 1px; background: linear-gradient(180deg, rgba(198,154,78,.2), var(--gold)); }
.pendants i::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  width: 8px; height: 6px; border-radius: 8px 8px 2px 2px; background: var(--brass-bead);
  box-shadow: 0 3px 8px rgba(250, 243, 55, .25);
}
.pendants i:nth-child(1) { height: 34%; } .pendants i:nth-child(2) { height: 52%; }
.pendants i:nth-child(3) { height: 66%; } .pendants i:nth-child(4) { height: 48%; }
.pendants i:nth-child(5) { height: 30%; }
@media (min-width: 1100px) { .pendants { display: flex; } }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 12px 12px; color: #F3EBD6; text-decoration: none; font-weight: 700;
  font-size: 1rem; border-radius: 6px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform var(--t) var(--ease);
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--neon); }
@media (min-width: 1024px) { .main-nav { display: block; } }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 8px; } }
.header-actions .status-chip { display: none; }
@media (min-width: 1180px) { .header-actions .status-chip { display: inline-flex; } }
.header-actions .header-order { display: none; }
@media (min-width: 768px) { .header-actions .header-order { display: inline-flex; } }

.cart-btn, .menu-toggle, .icon-btn {
  position: relative; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(198, 154, 78, .55); background: rgba(255, 255, 255, .04);
  color: var(--gold-light); transition: background var(--t-fast) var(--ease), color var(--t-fast);
}
.cart-btn:hover, .menu-toggle:hover { background: rgba(198, 154, 78, .16); color: var(--neon); }
.menu-toggle { border-color: transparent; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.badge {
  position: absolute; top: -3px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--neon); color: var(--olive-deep);
  font-size: .78rem; font-weight: 900; display: grid; place-items: center; line-height: 1;
  box-shadow: 0 0 0 2px var(--olive-deep);
}
.badge.is-empty { display: none; }
.badge.bump { animation: bump 420ms var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }

.mobile-nav { background: var(--olive-deep); border-top: 1px solid rgba(198, 154, 78, .35); padding: 12px 0 20px; }
.mobile-nav ul { list-style: none; margin: 10px 0; padding: 0; }
.mobile-nav li + li { border-top: 1px solid rgba(198, 154, 78, .2); }
.mobile-nav a { display: block; padding: 14px 4px; color: #F3EBD6; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--neon); }
.mobile-nav .mobile-call { display: inline-flex; align-items: center; gap: 10px; color: var(--neon); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Status chip ---------- */
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 12px;
  border-radius: 20px; font-size: .875rem; font-weight: 800; white-space: nowrap;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(198, 154, 78, .5); color: #F3EBD6;
}
.status-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok-bright); box-shadow: 0 0 0 3px rgba(91, 210, 122, .22); flex: none; }
.status-chip.is-closing .dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(226, 164, 58, .25); }
.status-chip.is-closed .dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(226, 164, 58, .25); }
.status-chip.on-light { background: #fff; color: var(--ink); border-color: var(--line); }
.status-chip.on-light .dot { background: var(--ok); }
.status-chip.on-light.is-closed .dot, .status-chip.on-light.is-closing .dot { background: #C4831A; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; line-height: 1.2;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }

.btn-gold {
  background: var(--gold-gradient); color: var(--olive-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(90, 60, 10, .35), 0 3px 8px rgba(40, 30, 10, .3);
  border: 1px solid #8C6420;
}
.btn-gold:hover { background: var(--gold-gradient-hover); color: var(--olive-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 5px 14px rgba(40, 30, 10, .35); }

.btn-olive { background: var(--olive); color: var(--neon); border: 1px solid var(--gold); }
.btn-olive:hover { background: var(--olive-light); color: var(--neon); }

.btn-outline { background: transparent; color: var(--olive); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: rgba(198, 154, 78, .12); color: var(--olive-deep); }

.btn-ghost-light { background: transparent; color: #F8F4EA; border: 1.5px solid var(--gold); }
.btn-ghost-light:hover { background: rgba(198, 154, 78, .15); color: var(--neon); }

.btn-add {
  min-height: 44px; min-width: 76px; padding: 8px 18px; font-size: .95rem;
  background: var(--olive); color: var(--neon); border: 1px solid var(--gold);
  box-shadow: 0 2px 6px rgba(30, 39, 13, .25);
  position: relative; z-index: 2;
}
.btn-add:hover { background: var(--olive-light); color: var(--neon); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow { font-weight: 800; color: var(--olive); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-arrow::after { content: " →"; color: var(--gold-deep); }
.link-arrow:hover { color: var(--gold-deep); }
.text-btn { background: none; border: 0; padding: 0; color: var(--olive); font-weight: 800; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; min-height: 0; }

/* ---------- Ornaments ---------- */
.bead {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: var(--brass-bead);
  box-shadow: 0 1px 2px rgba(60, 40, 10, .45), inset 0 -1px 1px rgba(90, 60, 10, .35);
}
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 10px; max-width: 760px;
}
.section-title > h1, .section-title > h2 {
  margin: 0; text-align: center; text-shadow: var(--emboss); padding: 0 4px;
}
.section-title .st-rule { flex: 1 1 40px; height: 1.5px; min-width: 24px; }
.section-title .st-rule:first-child { background: linear-gradient(90deg, rgba(198, 154, 78, 0), var(--gold)); }
.section-title .st-rule:last-child { background: linear-gradient(90deg, var(--gold), rgba(198, 154, 78, 0)); }
.section-title.on-dark > h2, .section-title.on-dark > h1 { color: var(--gold-light); text-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.section-sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 32px; }
.on-dark .section-sub, .section-sub.on-dark { color: #E8E0CB; }

/* Thin double gold frame: 1.5px gold + 1px translucent gold, 4px apart */
.gold-frame {
  position: relative; border: 1.5px solid var(--gold); padding: 4px; border-radius: 10px;
}
.gold-frame::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(198, 154, 78, .55); border-radius: 7px; pointer-events: none; z-index: 1;
}
.gold-frame > img, .gold-frame > .frame-inner { border-radius: 7px; width: 100%; }

.photo { border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: var(--photo-shadow); }

.card {
  background: var(--card-bg); border: 1.5px solid var(--gold); border-radius: 10px; box-shadow: var(--card-shadow);
}

/* Typographic card for dishes without a photo */
.typo-card {
  position: relative; overflow: hidden; display: grid; place-items: center; text-align: center;
  background: radial-gradient(ellipse at 50% 30%, var(--olive-light), var(--olive) 60%, var(--olive-deep));
  aspect-ratio: 16 / 10; padding: 20px;
}
.typo-card::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 62%; aspect-ratio: 905 / 933; height: auto;
  background: url("../assets/web/emblem-400.png") center / contain no-repeat; opacity: .1;
}
.typo-card::after {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(198, 154, 78, .5); border-radius: 4px; pointer-events: none;
}
.typo-name {
  position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 5vw, 1.9rem);
  color: var(--gold-light); line-height: 1.2; text-shadow: 0 2px 4px rgba(0, 0, 0, .35); max-width: 14ch;
}

/* Markers */
.veg-dot {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid var(--ok); border-radius: 3px; flex: none;
}
.veg-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.gf-badge {
  display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .05em; color: var(--gold-deep);
  border: 1.5px solid var(--gold-deep); border-radius: 4px; padding: 0 5px; line-height: 1.35;
}

/* ---------- Dish card ---------- */
.dish-card {
  position: relative; display: flex; gap: 14px; padding: 16px;
  background: var(--card-bg); border: 1.5px solid var(--gold); border-radius: 10px; box-shadow: var(--card-shadow);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.dish-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(60, 45, 15, .2), inset 0 1px 0 #fff; }
.dc-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dc-title { font-family: var(--font-body); font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; line-height: 1.3; }
@media (min-width: 768px) { .dc-title { font-size: 1.1875rem; } }
.dc-name {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: none; cursor: pointer;
}
.dc-name::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 10px; }
.dc-name:focus-visible { outline: none; box-shadow: none; }
.dc-name:focus-visible::after { outline: 3px solid var(--gold); outline-offset: 2px; }
.dc-badges { display: inline-flex; gap: 6px; align-items: center; }
.dc-desc { color: var(--muted); font-size: 1rem; margin: 0 0 12px; line-height: 1.5; }
.dc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 900; color: var(--gold-deep); font-size: 1.2rem; letter-spacing: .01em; }
.dc-thumb { order: 2; flex: 0 0 112px; align-self: flex-start; }
.dc-thumb img { width: 112px; height: 112px; object-fit: cover; border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: 0 4px 10px rgba(40, 30, 10, .22); }
@media (min-width: 768px) { .dc-thumb { flex-basis: 132px; } .dc-thumb img { width: 132px; height: 132px; } }
.soldout-tag { font-size: .875rem; font-weight: 800; color: var(--danger); border: 1.5px dashed var(--danger); padding: 6px 10px; border-radius: 6px; }
.dish-card.is-soldout { opacity: .75; }
.dish-card.is-soldout .dc-thumb img { filter: grayscale(.8); }

/* Feature variant (home signatures) */
.dish-card--feature { flex-direction: column; padding: 0; overflow: hidden; gap: 0; }
.dish-card--feature .dc-media { border-bottom: 2px solid var(--gold); aspect-ratio: 4 / 3; overflow: hidden; background: var(--olive); }
.dish-card--feature .dc-media img, .dish-card--feature .typo-card { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.dish-card--feature .dc-body { padding: 16px 16px 18px; }
.dish-card--feature .dc-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--olive); }

/* ---------- Overlay & sheets (cart drawer, item sheet) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 22, 10, .55);
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.overlay.is-open { opacity: 1; }
.sheet {
  position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; max-height: 90vh; max-height: 90dvh;
  display: flex; flex-direction: column;
  background: var(--ivory); border-top: 2px solid var(--gold); border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 30px rgba(20, 22, 10, .35);
  transform: translateY(100%); transition: transform var(--t) var(--ease);
}
.sheet.is-open { transform: translateY(0); }
.sheet-handle { width: 44px; height: 5px; border-radius: 3px; background: rgba(140, 100, 32, .45); margin: 10px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px 10px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-head h2 { margin: 0; font-size: 1.5rem; }
.sheet .icon-btn { color: var(--olive); border-color: var(--line); background: #fff; }
.sheet .icon-btn:hover { background: #F3E5C1; }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }

@media (min-width: 768px) {
  .cart-drawer.sheet {
    top: 0; bottom: 0; left: auto; width: 440px; max-height: none; height: 100%;
    border-top: 0; border-left: 2px solid var(--gold); border-radius: 0;
    transform: translateX(100%);
  }
  .cart-drawer.sheet.is-open { transform: translateX(0); }
  .cart-drawer .sheet-handle { display: none; }
  .cart-drawer .sheet-head { padding: 18px 22px; }
  .cart-drawer .sheet-scroll { padding: 18px 22px; }
}
body.no-scroll { overflow: hidden; }
body.cart-open .bottom-bar { transform: translateY(110%); }

/* Cart content */
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cl-main { flex: 1; min-width: 0; }
.cl-name { font-weight: 800; font-size: 1.0625rem; margin: 0 0 2px; }
.cl-opts { font-size: .9rem; color: var(--muted); margin: 0 0 2px; }
.cl-unit { font-size: .85rem; color: var(--muted); margin: 0; }
.cl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cl-price { font-weight: 900; color: var(--gold-deep); margin: 0; font-size: 1.0625rem; }
.cart-allergy { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.cart-empty { text-align: center; padding: 26px 8px; }
.cart-empty img { margin: 0 auto 12px; opacity: .9; }
.cart-foot { flex: none; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--gold); background: linear-gradient(180deg, #FDF8EB, #F3E5C1); }
@media (min-width: 768px) { .cart-foot { padding: 16px 22px 22px; } }

.totals { margin: 0 0 8px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-size: 1.15rem; }
.totals .grand dt { color: var(--ink); font-weight: 900; }
.totals .grand dd { font-weight: 900; color: var(--ink); }
.fine { font-size: .875rem; color: var(--muted); margin: 0 0 10px; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--gold); border-radius: 999px; background: #fff; }
.stepper button { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; color: var(--olive); border-radius: 50%; }
.stepper button:hover { background: #F3E5C1; }
.stepper span { min-width: 30px; text-align: center; font-weight: 900; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.stepper-sm button { width: 44px; height: 44px; }

/* Notices */
.notice { background: #FFF8E1; border: 1px solid var(--gold); border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 6px; font-size: .95rem; margin: 0 0 12px; }
.notice-warn { border-left-color: var(--danger); background: #FBEDE6; }

/* ---------- Toast ---------- */
.toast-region { position: fixed; left: 0; right: 0; bottom: calc(var(--bottombar-h) + 12px + env(safe-area-inset-bottom)); z-index: 120; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
@media (min-width: 768px) { .toast-region { bottom: 28px; } }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 14px; max-width: 520px;
  background: var(--olive-deep); color: #F8F4EA; border: 1.5px solid var(--gold); border-radius: 12px;
  padding: 10px 10px 10px 18px; font-weight: 700; box-shadow: 0 10px 24px rgba(20, 22, 10, .4);
  transform: translateY(16px); opacity: 0; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.toast.is-in { transform: none; opacity: 1; }
.toast-sep { color: var(--gold); margin: 0 -6px; }
.toast-action { background: none; border: 0; color: var(--neon); font-weight: 900; min-height: 44px; padding: 0 10px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bottom action bar (mobile) ---------- */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--olive), var(--olive-deep));
  border-top: 1.5px solid var(--gold); box-shadow: 0 -6px 18px rgba(20, 22, 10, .3);
  transition: transform var(--t) var(--ease);
}
.bottom-bar .btn { min-height: 54px; font-size: 1.0625rem; }
.bottom-bar .bb-call { padding-inline: 22px; color: var(--neon); }
@media (min-width: 768px) { .bottom-bar { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-deep); color: #E8E0CB; border-top: 2px solid var(--gold); padding: 48px 0 calc(24px); margin-top: 0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 240px; margin-bottom: 12px; }
.footer-tag { color: #CFC6AE; max-width: 32ch; }
.footer-h { font-family: var(--font-display); color: var(--gold-light); font-size: 1.2rem; margin-bottom: 10px; }
.site-footer a { color: #F3EBD6; text-decoration-color: var(--gold); }
.site-footer a:hover { color: var(--neon); }
.site-footer .footer-phone { color: var(--neon); font-weight: 900; font-size: 1.2rem; text-decoration: none; }
.footer-allergy { color: var(--gold-light); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(198, 154, 78, .3); font-size: .875rem; color: #B9B097; }
.footer-base p { margin: 0; }
.site-footer .staff-link { color: #B9B097; font-size: .875rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 800; font-size: 1rem; }
.field .hint { font-size: .875rem; color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  background: #fff; border: 1.5px solid #B9A274; border-radius: 8px; color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { min-height: 90px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(198, 154, 78, .35); outline: none; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.error-msg { color: var(--danger); font-weight: 700; font-size: .9rem; margin: 0; }
.row-2 { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }

/* Choice tiles (radios/checkboxes styled as chips) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px;
  border: 1.5px solid #C9B587; border-radius: 10px; background: #fff; font-weight: 700;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.choice input:checked + span { background: var(--olive); color: #fff; border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:checked + span .muted, .choice input:checked + span small { color: var(--gold-light); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice input:disabled + span { opacity: .5; cursor: not-allowed; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--gold); border-radius: 12px; padding: 4px; background: #fff; }
.segmented .choice span { border: 0; border-radius: 9px; justify-content: center; min-height: 52px; font-size: 1.0625rem; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--olive); flex: none; }

/* Chips for filters */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--gold); background: #fff; color: var(--ink); font-weight: 800; font-size: .95rem; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--olive); color: var(--neon); border-color: var(--olive); }
.chip[aria-pressed="true"] .veg-dot { border-color: var(--neon); }
.chip[aria-pressed="true"] .veg-dot::before { background: var(--neon); }
.chip[aria-pressed="true"] .gf-badge { color: var(--neon); border-color: var(--neon); }

/* Arch shape (Indian arch: rounded top with a small pointed tip) */
.arch-clip { clip-path: url(#arch-clip); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
