:root {
  --cream: #fbf6ee;
  --cream-2: #f4e7d4;
  --paper: #fffdf9;
  --maroon: #7c2d2d;
  --maroon-deep: #541c1c;
  --maroon-soft: #9a4740;
  --gold: #e2a11a;
  --gold-2: #f6d78a;
  --ink: #2c1814;
  --muted: #6d564e;
  --line: rgba(84, 28, 28, 0.12);
  --ok: #1d7a45;
  --ok-soft: #e7f6ee;
  --warn: #9a5b09;
  --warn-soft: #fff4e2;
  --danger: #9f1239;
  --danger-soft: #fde8ee;
  --shadow: 0 18px 50px rgba(84, 28, 28, 0.08);
  --radius: 22px;
  --header: 88px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --logo: "Fredoka", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(226, 161, 26, 0.16), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(124, 45, 45, 0.08), transparent 26%),
    var(--cream);
  font-family: var(--font);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .brand-warung { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--maroon); color: white; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--header);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nav.is-scrolled, .nav:focus-within {
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(84, 28, 28, 0.06);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fffdf8; flex: none; }
.brand-warung { display: block; font-size: 13px; line-height: 1; color: var(--maroon); }
.brand-anny { display: block; font-family: var(--logo); font-size: 26px; line-height: 1; color: var(--gold); letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 18px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: 15px; }
.nav-links a.is-active, .nav-links a:hover { color: var(--maroon); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle, .cart-btn, .icon-btn {
  border: 1.5px solid rgba(124, 45, 45, .38);
  background: linear-gradient(180deg, #fffefb 0%, #f6eadc 100%);
  border-radius: 999px; min-height: 44px;
  box-shadow: 0 3px 0 rgba(124, 45, 45, .22), 0 8px 16px rgba(84, 28, 28, .08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.nav-toggle:hover, .cart-btn:hover, .icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--maroon);
  box-shadow: 0 4px 0 rgba(124, 45, 45, .24), 0 10px 18px rgba(84, 28, 28, .12);
}
.nav-toggle:active, .cart-btn:active, .icon-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(124, 45, 45, .2);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; min-height: 44px; padding: 0; place-items: center;
  line-height: 0; color: var(--maroon);
}
.nav-toggle-bars {
  display: block; width: 18px; height: 2px; border-radius: 99px; background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-links .nav-panel-status, .nav-links .nav-panel-cta { display: none; }
.status-pill, .badge {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 750;
}
.status-pill { background: var(--paper); border: 1px solid var(--line); }
.status-pill i, .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--danger); display: block;
}
.status-pill.is-open i { background: var(--ok); animation: pulse 1.8s infinite; }
.cart-btn { padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cart-count {
  min-width: 22px; height: 22px; border-radius: 99px; background: var(--maroon); color: white;
  display: inline-grid; place-items: center; font-size: 12px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: 14px; border: 1.5px solid transparent; text-decoration: none; font-weight: 750; cursor: pointer;
  box-shadow: 0 3px 0 rgba(84, 28, 28, .18), 0 8px 16px rgba(84, 28, 28, .1);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(84, 28, 28, .22); }
.btn:disabled, .btn:disabled:hover, .btn:disabled:active {
  opacity: .55; cursor: not-allowed; transform: none; box-shadow: none;
}
.btn-primary {
  background: linear-gradient(180deg, #9a4540 0%, var(--maroon) 46%, #642222 100%);
  color: #fffaf4;
  border-color: #4a1616;
  box-shadow: 0 3px 0 #3d1212, 0 10px 18px rgba(84, 28, 28, .22);
}
.btn-primary:hover { background: linear-gradient(180deg, #a6504a 0%, #8a3530 48%, #541c1c 100%); }
.btn-secondary {
  background: linear-gradient(180deg, #fffefb 0%, #f3e4d2 100%);
  border-color: rgba(124, 45, 45, .48);
  color: var(--maroon);
  box-shadow: 0 3px 0 rgba(124, 45, 45, .24), 0 8px 14px rgba(84, 28, 28, .08);
}
.btn-secondary:hover { background: #fff; border-color: var(--maroon); }
.btn-gold {
  background: linear-gradient(180deg, #ffe7a8 0%, var(--gold-2) 42%, #e2a11a 100%);
  color: var(--maroon-deep);
  border-color: #b88712;
  box-shadow: 0 3px 0 #a87410, 0 8px 16px rgba(196, 124, 8, .28);
}
.btn-gold:hover { background: linear-gradient(180deg, #fff0b8 0%, #f0c85a 46%, #c98a10 100%); }
.btn-order {
  background: linear-gradient(180deg, #ffe08a 0%, #e2a11a 48%, #c47c08 100%);
  color: var(--maroon-deep);
  border: 2px solid var(--maroon-deep);
  box-shadow: 0 3px 0 #8a5a08, 0 10px 22px rgba(196, 124, 8, .38);
}
.btn-order:hover { background: linear-gradient(180deg, #fff0b0 0%, #e8ae28 48%, #b87206 100%); color: var(--maroon-deep); }
.btn-wa {
  background: linear-gradient(180deg, #3dde7a 0%, #25d366 48%, #128c4b 100%);
  color: #fff;
  border-color: #0e6b38;
  box-shadow: 0 3px 0 #0b5a30, 0 8px 16px rgba(14, 92, 48, .24);
}
.btn-wa:hover { background: linear-gradient(180deg, #54e88c 0%, #1ebe5d 48%, #0f7a40 100%); color: #fff; }
.btn svg { flex: none; }
.btn-ghost {
  background: linear-gradient(180deg, #fffefb 0%, #f7eee4 100%);
  color: var(--maroon);
  border-color: rgba(124, 45, 45, .4);
  padding-inline: 14px;
  box-shadow: 0 3px 0 rgba(124, 45, 45, .2), 0 8px 14px rgba(84, 28, 28, .08);
}
.btn-ghost:hover { background: #fff; border-color: var(--maroon); }
.btn-danger {
  background: linear-gradient(180deg, #c2254d 0%, var(--danger) 50%, #7a0e2c 100%);
  color: white;
  border-color: #6d0c27;
  box-shadow: 0 3px 0 #5c0a21, 0 8px 16px rgba(159, 18, 57, .22);
}
.btn-danger:hover { background: linear-gradient(180deg, #d1335c 0%, #b0123a 50%, #6a0c26 100%); }
.btn-small { min-height: 38px; padding: 0 12px; border-radius: 12px; font-size: 14px; }
.closed-banner { padding: 16px 0 0; }
.closed-banner[hidden] { display: none; }
.store-note {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px;
  border-radius: 18px; border: 1px solid transparent;
}
.closed-banner .store-note { margin-top: 0; }
.store-note.is-open { background: var(--ok-soft); border-color: rgba(29, 122, 69, .22); }
.store-note.is-closed { background: var(--warn-soft); border-color: rgba(154, 91, 9, .24); }
.store-note-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: white;
}
.store-note.is-open .store-note-mark { color: var(--ok); }
.store-note.is-closed .store-note-mark { color: var(--warn); }
.store-note.is-open .icon-closed, .store-note.is-closed .icon-open { display: none; }
.store-note strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.store-note p { margin: 2px 0 0; color: var(--ink); font-weight: 650; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; padding: 34px 0 20px; }
.hero-discount {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
  margin: 0; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(180deg, #fff6dc 0%, #f6d78a 100%);
  border: 1.5px solid #e2a11a; color: var(--maroon-deep);
  box-shadow: 0 3px 0 rgba(168, 116, 16, .22);
}
.hero-discount strong { font-size: 1.15rem; line-height: 1.2; }
.hero-discount span { font-weight: 650; }
.eyebrow { color: var(--maroon); font-weight: 800; letter-spacing: .04em; text-transform: capitalize; font-size: 13px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: .98; margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-actions, .cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hours-chip {
  margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow);
}
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: min(420px, 58vw); object-fit: cover; border-radius: 32px;
  border: 6px solid white; box-shadow: var(--shadow);
}
.hero-caption {
  position: absolute; left: 18px; bottom: 18px; background: rgba(255,253,249,.92); border-radius: 16px; padding: 10px 14px;
  font-family: var(--display); color: var(--maroon);
}
.section { padding: 68px 0; }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin-bottom: 0; }
.section-head h2::after, .panel h2::after {
  content: ""; display: block; width: 72px; height: 4px; border-radius: 99px; background: var(--gold); margin-top: 10px;
}
.menu-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.menu-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 100%; min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.menu-media { position: relative; }
.fav-star {
  position: absolute; z-index: 2; top: 8px; right: 8px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(255, 253, 249, .95);
  color: #e2a11a; box-shadow: 0 6px 14px rgba(84, 28, 28, .18);
}
.fav-star svg { display: block; width: 42px; height: 42px; }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(84, 28, 28, 0.12); }
.menu-card.reveal { opacity: 1; transform: none; }
.menu-card.is-added { animation: pop .45s ease; }
.ph, .menu-card img.photo { aspect-ratio: 4/3; background: linear-gradient(160deg, #f8ead7, #f3d7c6 55%, #edd0b4); }
.ph { display: grid; place-items: center; color: var(--maroon); position: relative; }
.ph span { font-family: var(--logo); font-size: 42px; }
.menu-card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.menu-card h3 { font-size: 18px; margin: 0; font-family: var(--font); letter-spacing: 0; }
.price { color: var(--maroon); font-weight: 800; }
.price-block { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.price-block .price, .price-sale, .line-sum .price-now { color: var(--danger); }
.price-original { color: var(--muted); font-weight: 600; text-decoration: line-through; font-size: 12px; line-height: 1.3; }
.price-note { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.3; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.badge-sale { background: var(--danger-soft); color: var(--danger); padding: 2px 8px; font-size: 11px; line-height: 1.4; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; }
.card-actions .btn { width: 100%; min-width: 0; min-height: 40px; padding-inline: 10px; font-size: 14px; }
.badge-gold { background: var(--gold-2); color: var(--maroon-deep); }
.badge-muted { background: var(--cream-2); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip, .search, select.input, input:not([type="file"]), textarea {
  background-color: var(--paper); border: 1px solid var(--line); border-radius: 14px;
}
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 14px; cursor: pointer; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, #fffefb 0%, #f6eadc 100%);
  border: 1.5px solid rgba(124, 45, 45, .35);
  box-shadow: 0 3px 0 rgba(124, 45, 45, .18), 0 6px 12px rgba(84, 28, 28, .06);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.chip:hover { transform: translateY(-1px); border-color: var(--maroon); }
.chip:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(124, 45, 45, .2); }
.chip.is-active {
  background: linear-gradient(180deg, #9a4540 0%, var(--maroon) 48%, #642222 100%);
  color: white; border-color: #4a1616;
  box-shadow: 0 3px 0 #3d1212, 0 8px 14px rgba(84, 28, 28, .16);
}
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search,
select,
.stack input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.stack select,
.stack textarea,
.form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.form-grid select,
.form-grid textarea,
.modal-card input:not([type="checkbox"]):not([type="radio"]),
.modal-card select,
.drawer input:not([type="checkbox"]):not([type="radio"]),
.drawer textarea,
.install-card input:not([type="checkbox"]):not([type="radio"]),
.admin input[type="date"],
.filter-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.filter-card select {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: white;
  line-height: 1.2;
}
select,
select.input,
.toolbar select,
.stack select,
.form-grid select,
.modal-card select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237c2d2d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5 10 12.5 15 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}
textarea, .stack textarea, .form-grid textarea, .drawer textarea { height: auto; min-height: 60px; padding: 12px 14px; resize: vertical; }
.file-field { display: grid; gap: 8px; min-width: 0; }
.file-caption { font-weight: 700; font-size: 14px; }
.file-drop {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  border: 1.5px dashed rgba(124, 45, 45, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fffaf3);
  cursor: pointer;
}
.file-drop:hover, .file-drop:focus-visible, .file-drop.is-drag {
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px rgba(124, 45, 45, 0.08);
  outline: none;
}
.file-drop.is-drag { background: var(--warn-soft); }
.file-drop .file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.file-placeholder, .file-preview {
  width: 88px;
  height: 88px;
  border-radius: 14px;
}
.file-placeholder {
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--maroon);
}
.file-preview { object-fit: cover; background: var(--cream-2); border: 1px solid var(--line); }
.file-preview[hidden], .file-drop:has(.file-preview:not([hidden])) .file-placeholder { display: none; }
.file-copy { display: grid; gap: 4px; min-width: 0; }
.file-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #4a1616;
  background: linear-gradient(180deg, #9a4540 0%, var(--maroon) 48%, #642222 100%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 0 #3d1212, 0 6px 12px rgba(84, 28, 28, .16);
}
.file-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-hint, .item-note-text { color: var(--muted); font-size: 13px; font-weight: 600; }
.file-error { margin: 0; color: var(--danger); font-size: 14px; font-weight: 700; }
.choice input, input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 18px; padding: 0; }
input[data-ribuan] { font-variant-numeric: tabular-nums; }
.table input[data-ribuan] { width: 7.5rem; height: 48px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: white; }
.search { flex: 1; min-width: 220px; width: auto; }
.toolbar select { width: auto; min-width: 190px; flex: 0 0 auto; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.steps, .info-grid, .split, .stat-grid { display: grid; gap: 14px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.step, .panel, .card, .stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.step b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--maroon); color: white; margin-bottom: 8px; }
.split { grid-template-columns: 1.1fr .9fr; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td, .table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.site-footer { background: var(--maroon-deep); color: #f8efe4; padding: 42px 0 24px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 24px; }
.site-footer a { color: var(--gold-2); }
.fine { color: rgba(248,239,228,.72); font-size: 14px; }
.overlay, .drawer, .modal { position: fixed; inset: 0; }
.overlay { background: rgba(44, 24, 20, .45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 40; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  left: auto; width: min(420px, 100%); background: var(--paper); z-index: 41; transform: translateX(104%);
  transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.drawer.is-open { transform: none; }
.drawer header, .modal-card header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.drawer header, .drawer footer { padding: 16px; border-bottom: 1px solid var(--line); }
.drawer footer, .drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.drawer-foot .btn, .checkout-bar .btn { width: auto; }
.drawer-foot .btn-primary { width: 100%; }
.drawer .lines { padding: 8px 16px 16px; overflow: auto; flex: 1; }
.drawer-foot > label, #order-note { width: 100%; max-width: 100%; }
.line { display: grid; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.line-unit { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 2px; display: grid; gap: 4px; justify-items: start; }
.line-sum { white-space: nowrap; text-align: right; display: grid; justify-items: end; gap: 2px; }
.line-sum .price-original { font-size: 12px; }
.cart-summary { display: grid; line-height: 1; }
.money-row.is-discount strong { color: var(--danger); }
.money-row-checkout.is-discount strong { color: var(--danger); }
.line-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.line-remove {
  border: 1.5px solid rgba(159, 18, 57, .45);
  background: linear-gradient(180deg, #fff 0%, #fde8ee 100%);
  color: var(--danger);
  font-weight: 750;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(159, 18, 57, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.line-remove:hover { background: #fff; transform: translateY(-1px); }
.line-remove:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(159, 18, 57, .2); }
.line .item-note { width: 100%; height: 48px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: white; }
.quote-totals { display: grid; gap: 8px; margin-top: 14px; }
.money-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.money-row-checkout { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.money-row strong { margin-left: auto; text-align: right; white-space: nowrap; }
.money-row-checkout strong { margin-left: auto; text-align: right; white-space: nowrap; }
.money-row.is-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.money-row-checkout.is-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.history li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.history time, .history span { color: var(--muted); font-size: 14px; font-weight: 600; }
.track-layout { display: grid; gap: 16px; max-width: 860px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.track-head h2 { margin: 0; font-size: clamp(28px, 4vw, 36px); }
.track-head .btn { flex: none; }
.order-acc.panel { padding: 0; overflow: hidden; }
.order-acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; cursor: pointer; list-style: none;
}
.order-acc summary::-webkit-details-marker { display: none; }
.order-acc summary:focus-visible { outline: 2px solid var(--maroon); outline-offset: -2px; }
.order-acc-main { display: grid; gap: 2px; min-width: 0; }
.order-acc-main > strong { font-size: 1.15rem; }
.order-acc-meta { color: var(--muted); font-size: 14px; font-weight: 600; }
.order-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.order-acc-side { display: flex; align-items: center; gap: 12px; flex: none; }
.order-chevron {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: white;
  display: grid; place-items: center; transition: transform .18s ease;
}
.order-chevron::before {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon);
  transform: translateY(-2px) rotate(45deg);
}
.order-acc[open] .order-chevron { transform: rotate(180deg); }
.order-acc-body { display: grid; gap: 10px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .track-head { align-items: flex-start; }
  .order-acc summary { align-items: flex-start; }
  .order-acc-side { flex-direction: column; align-items: flex-end; }
}
.qty {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1.5px solid rgba(124, 45, 45, .28); border-radius: 999px; background: white;
  box-shadow: inset 0 1px 2px rgba(84, 28, 28, .06);
}
.qty span { min-width: 1.6rem; text-align: center; font-weight: 750; }
.qty button {
  display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #9a4540 0%, var(--maroon) 55%, #642222 100%);
  color: #fffaf4; font-weight: 800; font-size: 18px; line-height: 1;
  box-shadow: 0 2px 0 #3d1212;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.qty button:hover { background: var(--maroon-deep); }
.qty button:active { transform: translateY(1px); box-shadow: none; }
.modal { display: grid; place-items: center; background: rgba(44,24,20,.45); z-index: 42; padding: 18px; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal-card {
  width: min(420px, 100%); background: var(--paper); border-radius: 20px; padding: 16px;
  max-height: min(90vh, 820px); overflow: auto; display: grid; gap: 10px; align-content: start;
}
.modal-card h2 { margin: 0; font-size: 1.45rem; min-width: 0; flex: 1; line-height: 1.2; }
.modal-card header { align-items: flex-start; }
.modal-card header .btn { flex: none; }
.modal-card p { margin: 0; }
.modal-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px;
  background: linear-gradient(160deg, #f8ead7, #f3d7c6 55%, #edd0b4);
}
.modal-card #modal-copy {
  color: var(--muted); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere;
}
.modal-card .btn-primary { width: 100%; }
.fab-stack {
  position: fixed; right: 16px; bottom: 16px; z-index: 36;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  animation: track-float 2.8s ease-in-out infinite;
}
.track-fab {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 18px 0 8px; border-radius: 999px;
  border: 2px solid var(--maroon-deep);
  background: linear-gradient(180deg, #f2c14a 0%, #e2a11a 42%, #c47c08 100%);
  color: var(--maroon-deep); text-decoration: none; font-weight: 800;
  box-shadow: 0 14px 28px rgba(84, 28, 28, .28), inset 0 1px 0 rgba(255, 248, 230, .55);
}
.track-fab.wa-fab {
  border-color: #0e6b38;
  background: linear-gradient(180deg, #3dde7a 0%, #25d366 46%, #128c4b 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(14, 92, 48, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.track-fab.wa-fab::before { border-color: rgba(18, 140, 75, .5); }
.track-fab.wa-fab .track-fab-icon {
  background: #075e36; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.track-fab.wa-fab .track-fab-icon svg { animation: none; }
.track-fab.wa-fab:hover {
  color: #fff;
  background: linear-gradient(180deg, #54e88c 0%, #1ebe5d 46%, #0f7a40 100%);
}
.track-fab::before,
.track-fab::after {
  content: ""; position: absolute; border-radius: inherit; pointer-events: none;
}
.track-fab::before {
  inset: -7px; border: 2px solid rgba(124, 45, 45, .45);
  animation: track-ring 2.4s ease-out infinite;
}
.track-fab::after {
  inset: 0; z-index: 0;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, .42) 50%, transparent 66%);
  background-size: 220% 100%;
  animation: track-sheen 3.8s ease-in-out infinite;
}
.track-fab-icon,
.track-fab-label { position: relative; z-index: 1; }
.track-fab-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--maroon-deep); color: #f6d78a;
  box-shadow: inset 0 0 0 1px rgba(246, 215, 138, .28);
}
.track-fab-icon svg { animation: track-pin 2.8s ease-in-out infinite; }
.track-fab:hover {
  color: var(--maroon-deep);
  background: linear-gradient(180deg, #f8d56a 0%, #e8ae28 46%, #b87206 100%);
  animation: none;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 34px rgba(84, 28, 28, .34), inset 0 1px 0 rgba(255, 248, 230, .65);
}
.track-fab:hover .track-fab-icon svg { animation: track-pin-hop .5s ease; }
body.has-cart .fab-stack { bottom: 112px; }
.toast-root { position: fixed; right: 16px; bottom: 80px; display: grid; gap: 8px; z-index: 50; justify-items: end; }
.fab-stack:has(.wa-fab) ~ .toast-root { bottom: 148px; }
body.has-cart .toast-root { bottom: 176px; }
body.has-cart .fab-stack:has(.wa-fab) ~ .toast-root { bottom: 244px; }
.toast { background: var(--ink); color: white; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); max-width: min(360px, calc(100vw - 32px)); }
.toast-error { background: var(--danger); }
.toast-success { background: var(--ok); }
.alert { border-radius: 14px; padding: 12px 14px; margin: 12px 0; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-success { background: var(--ok-soft); color: var(--ok); }
.alert-info { background: var(--warn-soft); color: var(--warn); }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.checkout-grid, .pay-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.stack { display: grid; gap: 12px; }
.stack[hidden] { display: none; }
.choice { display: flex; gap: 10px; align-items: center; font-weight: 650; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 16px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--maroon-soft);
}
.timeline li::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .done::before { background: var(--ok); border-color: var(--ok); }
.timeline .current::before { background: var(--gold); border-color: var(--maroon); animation: pulse 1.8s infinite; }
.checkout-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--maroon-deep); color: #fff7ea; border-radius: 18px; padding: 12px;
  box-shadow: 0 16px 40px rgba(44, 24, 20, .28);
}
.checkout-bar[hidden] { display: none; }
.checkout-bar .btn-gold,
.checkout-bar .btn-primary {
  background: linear-gradient(180deg, #ffe7a8 0%, #f6d78a 42%, #e2a11a 100%);
  color: var(--maroon-deep);
  border-color: #a87410;
  box-shadow: 0 3px 0 #8a6410, 0 8px 16px rgba(0, 0, 0, .2);
}
.checkout-bar .btn-primary { min-width: 140px; }
body.has-cart { padding-bottom: 96px; }
.copy-account {
  display: grid; gap: 2px; width: 100%; text-align: left; cursor: pointer;
  border: 1.5px solid rgba(124, 45, 45, .42);
  background: linear-gradient(180deg, #fffefb 0%, #f6eadc 100%);
  color: var(--maroon-deep);
  border-radius: 16px; padding: 12px 14px; font-weight: 700;
  box-shadow: 0 3px 0 rgba(124, 45, 45, .2), 0 8px 16px rgba(84, 28, 28, .08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.copy-account:hover { transform: translateY(-1px); border-color: var(--maroon); }
.copy-account:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(124, 45, 45, .2); }
.copy-account strong { font-size: 28px; letter-spacing: .04em; }
.copy-account-light {
  background: linear-gradient(180deg, rgba(255, 247, 234, .16) 0%, rgba(255, 247, 234, .06) 100%);
  color: #fff7ea;
  border-color: rgba(255, 247, 234, .7);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .28), 0 8px 16px rgba(0, 0, 0, .16);
}
.map-frame { width: 100%; height: 420px; border: 0; border-radius: 18px; margin: 12px 0; }
.skeleton { height: 18px; border-radius: 8px; background: linear-gradient(90deg, #f3e7d4, #fff, #f3e7d4); background-size: 200% 100%; animation: shimmer 1.2s infinite; margin: 8px 0; }
.reveal { opacity: 0; transform: translateY(16px); animation: rise .6s ease forwards; }
.reveal:nth-child(2) { animation-delay: .05s; }
.reveal:nth-child(3) { animation-delay: .1s; }
.reveal:nth-child(4) { animation-delay: .15s; }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--maroon-deep); color: #f8efe4; padding: 22px 16px; }
.admin-side .brand { margin-bottom: 18px; }
.admin-side .brand-logo { width: 56px; height: 56px; }
.admin-side a { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; padding: 10px 12px; border-radius: 12px; color: #f8efe4; }
.admin-side a.is-active, .admin-side a:hover { background: rgba(255,255,255,.08); }
.admin-link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.admin-link svg { width: 18px; height: 18px; flex: none; }
.admin-main { padding: 24px; min-width: 0; }
.row-actions { display: flex; flex-wrap: nowrap; gap: 4px; align-items: center; }
.row-actions form { margin: 0; display: inline-flex; }
.table td.row-actions { width: 1%; min-width: 0; white-space: nowrap; vertical-align: middle; }
.row-actions .icon-btn {
  width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0;
  border-radius: 10px; border: 1.5px solid rgba(124, 45, 45, .35);
  background: linear-gradient(180deg, #fff 0%, #f7eee4 100%);
  color: var(--maroon);
  box-shadow: 0 2px 0 rgba(124, 45, 45, .22);
}
.row-actions .icon-btn svg { width: 15px; height: 15px; }
.row-actions .icon-btn.is-star.is-on { color: #9a6b08; background: #fff6dc; border-color: #e6c36a; }
.row-actions .icon-btn.is-star.is-on svg { fill: currentColor; }
.row-actions .icon-btn.is-off { color: var(--muted); }
.row-actions .icon-btn.is-danger {
  color: var(--danger);
  border-color: rgba(159, 18, 57, .45);
  background: linear-gradient(180deg, #fff 0%, #fde8ee 100%);
  box-shadow: 0 2px 0 rgba(159, 18, 57, .28);
}
.row-actions .icon-btn.is-current { background: var(--cream); border-color: rgba(124, 45, 45, .45); }
.row-actions .icon-btn:hover { transform: translateY(-1px); border-color: var(--maroon); }
.row-actions .icon-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(124, 45, 45, .22); }
.table tr.is-editing td { background: #fff8ee; }
.category-form { margin-bottom: 16px; }
.category-form .form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.form-actions-end { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-left: auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.page-head h1 { margin: 0; }
.action-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.action-row + .panel { margin-top: 16px; }
.panel-gap { margin-top: 16px; }
.filter-card { margin: 0 0 16px; }
.filter-grid { display: flex; flex-wrap: wrap; margin: -8px; }
.filter-grid > .col-xs-12 { box-sizing: border-box; padding: 8px; min-width: 0; flex: 0 0 100%; max-width: 100%; width: 100%; }
.filter-card .search,
.filter-card select,
.filter-card input[type="date"] { width: 100%; min-width: 0; flex: none; }
.filter-card .btn { width: 100%; min-height: 48px; height: 48px; }
.admin input[type="date"]::-webkit-datetime-edit { display: inline-flex; align-items: center; height: 100%; padding: 0; }
@media (min-width: 901px) {
  .filter-grid > .col-md-3 { flex: 0 0 25%; max-width: 25%; width: 25%; }
}
.stat-grid { grid-template-columns: repeat(3, 1fr); }
.stat b { display: block; font-size: 28px; font-family: var(--display); }
.table { width: 100%; border-collapse: collapse; background: white; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: white; }
.bar { height: 10px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--maroon); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.span-2 { grid-column: span 2; }
.install-body { display: grid; place-items: center; min-height: 100vh; }
.install-card { width: min(520px, calc(100% - 28px)); background: white; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.thumb { width: 92px; height: 92px; object-fit: cover; border-radius: 16px; }
.proof { max-width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.pager { display: flex; gap: 8px; align-items: center; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { 50% { transform: scale(1.03); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(29, 122, 69, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes track-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes track-ring {
  0% { transform: scale(.94); opacity: .75; }
  75%, 100% { transform: scale(1.22); opacity: 0; }
}
@keyframes track-sheen {
  0%, 58% { background-position: 130% 0; }
  86%, 100% { background-position: -40% 0; }
}
@keyframes track-pin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes track-pin-hop {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-4px) scale(1.12); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .hero, .split, .checkout-grid, .pay-grid, .footer-grid, .admin-shell, .form-grid, .stat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: auto; }
  .container { width: min(1120px, calc(100% - 24px)); }
  .section { padding: 36px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero { gap: 20px; padding: 16px 0 8px; }
  .hero h1 { font-size: clamp(32px, 9vw, 46px); }
  .lede { font-size: 16px; }
  .hours-chip { flex-wrap: wrap; }
  .map-frame { height: 240px; }
  .copy-account strong { font-size: 22px; }
  .nav { --header: 64px; height: 64px; background: rgba(251, 246, 238, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .nav-inner { gap: 8px; }
  .brand-logo { width: 46px; height: 46px; }
  .nav-actions { gap: 8px; flex: none; }
  .nav-bar-status, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .fav-star { width: 32px; height: 32px; top: 4px; right: 4px; }
  .fav-star svg { width: 34px; height: 34px; }
  .cart-btn { padding: 0 12px; }
  .nav-links {
    display: none; position: absolute; top: var(--header); left: 0; right: 0; z-index: 32;
    background: #fbf6ee; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 8px 16px 14px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(84, 28, 28, .08);
  }
  .nav-links a:not(.btn) { padding: 10px 2px; }
  .nav-links.is-open { display: flex; }
  .nav-links.is-open .nav-panel-status { display: inline-flex; align-self: flex-start; margin-top: 6px; }
  .nav-links.is-open .nav-panel-cta { display: inline-flex; margin-top: 8px; }
  .menu-grid { gap: 8px; }
  .menu-card .body { padding: 8px; gap: 6px; }
  .menu-card h3 { font-size: 13px; line-height: 1.3; }
  .menu-card .price { font-size: 12px; }
  .menu-card .price-original, .menu-card .price-note { font-size: 10px; }
  .menu-card .badge-sale { font-size: 9px; padding: 1px 5px; }
  .menu-card .ph span { font-size: 26px; }
  .menu-card .badge { font-size: 10px; padding: 2px 6px; }
  .menu-card .card-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .menu-card .card-actions .btn { width: 100%; min-height: 36px; padding: 0 8px; font-size: 12px; border-radius: 10px; }
  .toolbar { flex-direction: column; }
  .search, .toolbar select { width: 100%; min-width: 0; flex: none; }
  .checkout-bar {
    left: 10px; right: 10px; bottom: 10px; padding: 8px; gap: 8px; flex-wrap: nowrap; border-radius: 16px;
  }
  .checkout-bar .btn, .checkout-bar .btn-primary { min-height: 40px; min-width: 0; flex: none; padding: 0 12px; font-size: 13px; }
  .checkout-bar strong { font-size: 14px; margin-left: auto; }
  body.has-cart { padding-bottom: 78px; }
  .modal { padding: 16px; }
  .modal-card {
    width: min(340px, 100%); padding: 12px; border-radius: 16px; gap: 8px; max-height: min(86dvh, 720px);
  }
  .modal-card h2 { font-size: 1.2rem; }
  .modal-card header .btn { min-height: 34px; padding-inline: 6px; }
  .modal-card input:not([type="checkbox"]):not([type="radio"]),
  .modal-card select { height: 40px; min-height: 40px; }
  body:not(.admin) { padding-bottom: 64px; }
  body.has-cart { padding-bottom: 128px; }
  .fab-stack { right: 10px; bottom: 12px; gap: 8px; flex-direction: row; align-items: center; animation: none; }
  .track-fab {
    width: 42px; height: 42px; min-height: 42px; padding: 0; border-width: 0; gap: 0;
    box-shadow: 0 8px 16px rgba(84, 28, 28, .22);
  }
  .track-fab-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .track-fab-icon { width: 42px; height: 42px; background: transparent; box-shadow: none; }
  .track-fab-icon svg { width: 18px; height: 18px; animation: none; }
  .track-fab::before, .track-fab::after { content: none; }
  .track-fab:hover, .track-fab.wa-fab:hover { transform: none; animation: none; }
  body.has-cart .fab-stack { bottom: 76px; }
  .toast-root,
  .fab-stack:has(.wa-fab) ~ .toast-root,
  body.has-cart .toast-root,
  body.has-cart .fab-stack:has(.wa-fab) ~ .toast-root { left: 12px; right: 112px; bottom: 16px; }
  body.has-cart .toast-root,
  body.has-cart .fab-stack:has(.wa-fab) ~ .toast-root { bottom: 128px; }
  .hero-visual { overflow: hidden; }
  .admin-side {
    position: sticky; top: 0; z-index: 20; padding: 10px 12px;
    display: flex; align-items: center; gap: 10px;
  }
  .admin-side .brand { margin: 0; flex: none; }
  .admin-side .brand-logo { width: 40px; height: 40px; }
  .admin-nav { display: flex; gap: 4px; overflow-x: auto; flex: 1; min-width: 0; }
  .admin-nav a { flex: none; white-space: nowrap; padding: 8px 10px; }
  .admin-main { padding: 16px 12px 28px; }
  .admin h1 { font-size: 1.7rem; }
  .admin .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin .pager { flex-wrap: wrap; }
  .table td { min-width: 120px; }
}
h1, h2, h3, h4,
button, .btn, .track-fab, .chip, .cart-btn, .nav-links a, .admin-side a, .site-footer a,
.file-caption, .file-btn, .badge, .status-pill, label, th, .money-row > span, .order-acc-meta, strong {
  text-transform: capitalize;
}
input, textarea, select, .lede, p, .fine, .alert, .file-hint, .file-name, .file-error,
.item-note-text, .history span, .history time, .line-unit, .line-sum, .money-row strong,
.brand-warung, .brand-anny, .hero-caption, .price, .store-note p, .wa-fab {
  text-transform: none;
}

body.page-home {
  background-size: 140% 140%, 130% 130%, auto;
  animation: home-glow 16s ease-in-out infinite;
}
.page-home .brand-logo { animation: logo-in .8s cubic-bezier(.2, .8, .2, 1) both; }
.page-home .hero-copy > * { animation: enter-up .72s cubic-bezier(.22, .7, .2, 1) both; }
.page-home .hero-copy > *:nth-child(1) { animation-delay: .04s; }
.page-home .hero-copy > *:nth-child(2) { animation-delay: .14s; }
.page-home .hero-copy > *:nth-child(3) { animation-delay: .24s; }
.page-home .hero-copy > *:nth-child(4) { animation-delay: .34s; }
.page-home .hero-copy > *:nth-child(5) { animation-delay: .46s; }
.page-home .hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: left center;
  animation: draw-x .7s .55s ease both;
}
.page-home .hero-actions .btn-primary { position: relative; overflow: hidden; }
.page-home .hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .4) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: btn-sheen 3.8s ease-in-out infinite;
  pointer-events: none;
}
.page-home .hero-visual::before,
.page-home .hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.page-home .hero-visual::before {
  width: 190px;
  height: 190px;
  left: -36px;
  top: -28px;
  background: radial-gradient(circle, rgba(226, 161, 26, .5), rgba(226, 161, 26, 0) 70%);
  animation: blob-drift 7.5s ease-in-out infinite;
}
.page-home .hero-visual::after {
  width: 210px;
  height: 210px;
  right: -28px;
  bottom: 10px;
  background: radial-gradient(circle, rgba(124, 45, 45, .2), rgba(124, 45, 45, 0) 70%);
  animation: blob-drift 9s ease-in-out infinite reverse;
}
.page-home .hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  border: 6px solid white;
  box-shadow: var(--shadow);
  animation: frame-float 6.5s ease-in-out infinite;
}
.page-home .hero-frame img { border: 0; box-shadow: none; border-radius: 26px; }
.page-home .hero-caption { position: static; display: inline-block; z-index: 4; margin-top: 12px; }
.hero-float { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.steam {
  position: absolute;
  top: -28px;
  width: 16px;
  height: 52px;
  border-radius: 99px;
  background: linear-gradient(to top, rgba(255, 248, 236, 0) 8%, rgba(176, 136, 96, .5) 52%, rgba(255, 248, 236, 0));
  filter: blur(2px);
  animation: steam-rise 3.4s ease-in infinite;
  z-index: 2;
}
.steam-a { left: 42%; }
.steam-b { left: 50%; height: 60px; animation-delay: 1.1s; }
.steam-c { left: 57%; animation-delay: 2.05s; }
.twinkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(226, 161, 26, .18);
  animation: twinkle 2.6s ease-in-out infinite;
}
.twinkle-a { top: 6%; right: 16%; }
.twinkle-b { top: 40%; left: 0; animation-delay: .7s; }
.twinkle-c { top: 18%; right: 0; width: 6px; height: 6px; animation-delay: 1.35s; }
.float-badge {
  position: absolute;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 253, 249, .96);
  border: 1px solid rgba(124, 45, 45, .12);
  box-shadow: 0 12px 28px rgba(84, 28, 28, .14);
  animation: track-float 4.8s ease-in-out infinite;
}
.float-chili { top: 18%; left: -16px; }
.float-bowl { top: -14px; right: 14%; animation-duration: 5.6s; animation-delay: .45s; }
.float-bowl::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid rgba(226, 161, 26, .5);
  animation: track-ring 2.6s ease-out infinite;
}
.float-leaf { right: -12px; top: 58%; animation-duration: 5.1s; animation-delay: .9s; }
.page-home .menu-card .photo,
.page-home .menu-card .ph { transition: transform .55s ease; }
.page-home .menu-card:hover .photo,
.page-home .menu-card:hover .ph { transform: scale(1.06); }
.motion .page-home .reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
  transition: opacity .68s ease, transform .68s cubic-bezier(.22, .7, .2, 1);
}
.motion .page-home .reveal.is-in { opacity: 1; transform: none; }
.motion .page-home .menu-card.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }
.motion .page-home .menu-card.is-added { animation: pop .45s ease; }
.motion .page-home #lokasi .panel.reveal { transform: none; }
.motion .page-home .reveal h2::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s ease;
  transition-delay: calc(var(--reveal-delay, 0ms) + 120ms);
}
.motion .page-home .reveal.is-in h2::after { transform: scaleX(1); }
.motion .page-home .step.is-in b {
  animation: step-pop .5s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.motion .page-home #jam.is-in .hours-table tr { animation: row-in .42s ease both; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(1) { animation-delay: .06s; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(2) { animation-delay: .12s; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(3) { animation-delay: .18s; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(4) { animation-delay: .24s; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(5) { animation-delay: .3s; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(6) { animation-delay: .36s; }
.motion .page-home #jam.is-in .hours-table tr:nth-child(7) { animation-delay: .42s; }

@keyframes enter-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes logo-in {
  from { opacity: 0; transform: translateY(-8px) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes home-glow {
  0%, 100% { background-position: 0% 8%, 100% 0%, 0 0; }
  50% { background-position: 20% 28%, 68% 14%, 0 0; }
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, 14px) scale(1.08); }
}
@keyframes frame-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 18px 40px rgba(84, 28, 28, .1); }
  50% { transform: translateY(-8px); box-shadow: 0 28px 48px rgba(226, 161, 26, .22); }
}
@keyframes steam-rise {
  0% { transform: translateY(22px) scaleX(.9); opacity: 0; }
  22% { opacity: .8; }
  100% { transform: translateY(-26px) scaleX(1.45); opacity: 0; }
}
@keyframes twinkle {
  0%, 100% { transform: scale(.55); opacity: .3; }
  50% { transform: scale(1); opacity: 1; }
}
@keyframes btn-sheen {
  0%, 58% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}
@keyframes step-pop {
  0% { transform: scale(.55); }
  65% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes row-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .float-chili, .twinkle-b { left: 8px; }
  .float-bowl { top: 8px; right: 8px; }
  .float-leaf, .twinkle-c { right: 8px; }
  .float-leaf { top: auto; bottom: 68px; }
  .float-badge { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal,
  .motion .page-home .reveal,
  .motion .page-home .reveal h2::after { opacity: 1 !important; transform: none !important; }
}
