:root {
  --ink: #3b2419;
  --muted: #735f52;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --soft: #fff5e9;
  --warm: #fff0dd;
  --brand: #ff7417;
  --brand-dark: #b6500d;
  --gold: #f7bd69;
  --gold-soft: #fff3df;
  --ember: #ff8a24;
  --leaf: #1f7a4d;
  --charcoal: #4b2b1f;
  --charcoal-soft: rgba(75, 43, 31, 0.76);
  --line: rgba(240, 138, 34, 0.22);
  --shadow: 0 22px 70px rgba(122, 70, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 153, 36, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(31, 122, 77, 0.08), transparent 24rem),
    linear-gradient(180deg, #fffaf2 0%, #fff4e6 52%, #fffaf6 100%);
  color: var(--ink);
  font-family: Arial, "Tahoma", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-shell {
  min-height: 100vh;
  padding: 104px 12px 12px;
}

.icon {
  display: inline-grid;
  width: 1.18em;
  height: 1.18em;
  place-items: center;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.top-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 1000;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(12px, 2vw, 26px);
  align-items: center;
  width: min(calc(100% - 24px), 1440px);
  transform: translateX(-50%);
  border: 1px solid rgba(240, 138, 34, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 240, 0.88)),
    rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 10px 12px;
  box-shadow:
    0 16px 42px rgba(120, 69, 22, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.top-bar::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-inline-end: 4px;
}

.brand-mark img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(240, 138, 34, 0.26);
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.brand-mark strong {
  color: var(--charcoal);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 900;
  white-space: nowrap;
}

.top-bar nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2.8vw, 40px);
  min-width: 0;
}

.top-bar nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.top-bar nav a,
.phone-link {
  min-height: 42px;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 800;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.top-bar nav a:hover,
.top-bar nav a:focus-visible {
  background: rgba(255, 116, 23, 0.1);
  color: var(--brand-dark);
  outline: none;
  transform: translateY(-1px);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 116, 23, 0.76);
  background:
    linear-gradient(180deg, #ff8b20 0%, #ff650d 100%),
    var(--brand);
  color: #fff;
  direction: ltr;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 26px rgba(255, 116, 23, 0.26);
}

.phone-link:hover,
.phone-link:focus-visible {
  border-color: rgba(255, 196, 110, 0.95);
  background:
    linear-gradient(180deg, #ff9832 0%, #f05d07 100%),
    var(--brand);
  outline: none;
  transform: translateY(-1px);
}

.order-nav-link,
.secondary-action {
  position: relative;
}

.order-nav-link {
  position: relative;
}

.cart-badge {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8b20 0%, #ff650d 100%);
  color: #fff;
  padding: 0 7px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 116, 23, 0.3);
}

.cart-badge[hidden],
.cart-count-pill[hidden] {
  display: none !important;
}

.cart-count-pill {
  display: inline-grid;
  min-height: 26px;
  place-items: center;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
  vertical-align: middle;
}

.is-cart-updated .cart-badge,
.cart-count-pill.is-cart-updated {
  animation: badge-pop 700ms ease;
}

.order-panel.is-cart-updated {
  animation: order-glow 850ms ease;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  gap: clamp(24px, 4vw, 46px);
  max-width: 1440px;
  min-height: calc(100svh - 116px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(240, 138, 34, 0.24);
  border-radius: 16px;
  background: #2a1608;
  color: var(--ink);
  padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 26px 80px rgba(164, 91, 20, 0.12);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 24%, rgba(255, 116, 23, 0.1), transparent 20rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: right;
  justify-self: right;
  align-self: center;
  width: min(100%, 680px);
  margin-right: 0;
  margin-left: auto;
  padding: clamp(24px, 3vw, 46px) clamp(24px, 3.4vw, 52px);
  text-align: right;
  background: none;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.order-panel .eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  gap: 8px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: clamp(0.95rem, 1.7vw, 1.25rem);
  font-weight: 900;
}

h1 {
  max-width: 100%;
  margin-top: 18px;
  color: var(--brand);
  font-size: clamp(4.6rem, 10vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 10px 28px rgba(255, 116, 23, 0.16);
}

h1 span {
  color: var(--charcoal);
}

.hero-copy p {
  max-width: 700px;
  margin-top: 28px;
  color: #3f2c22;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
  text-align: right;
  text-shadow:
    0 1px 2px rgba(255, 250, 245, 0.9),
    0 0 10px rgba(255, 250, 245, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.product-footer button,
.submit-order,
.category-tabs button,
.segmented-control button,
.quantity-control button,
.address-title button {
  min-height: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  padding: 0 24px;
}

.primary-action,
.product-footer button,
.submit-order {
  background: linear-gradient(180deg, #ff9b2a 0%, #e27214 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(226, 114, 20, 0.28);
}

.primary-action:hover,
.product-footer button:hover,
.submit-order:hover {
  background: #df6416;
}

.product-footer button.is-added {
  background: #1f7a4d;
  box-shadow: 0 12px 30px rgba(31, 122, 77, 0.24);
  transform: scale(1.08);
}

.secondary-action {
  border: 1px solid rgba(75, 43, 31, 0.25);
  background: rgba(255, 255, 255, 0.76);
  color: var(--charcoal);
  box-shadow: 0 12px 34px rgba(75, 43, 31, 0.08);
}

.hero-benefits {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 248, 240, 0.9) 100%);
  padding: 14px 18px;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink);
  box-shadow:
    0 22px 54px rgba(43, 22, 8, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.hero-benefits > span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  align-content: center;
  padding: 0 22px;
  color: #6a4a37;
  font-size: 0.94rem;
  line-height: 1.45;
  text-shadow: 0 1px 3px rgba(255, 249, 244, 0.7);
}

.hero-benefits > span + span {
  border-right: 1px solid rgba(240, 138, 34, 0.24);
}

.hero-benefits .icon {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.benefit-icon {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.hero-benefits strong {
  display: block;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 900;
}

.store-status-banner {
  max-width: 1440px;
  margin: 18px auto 0;
  border: 1px solid rgba(157, 52, 20, 0.2);
  border-radius: 8px;
  background: rgba(157, 52, 20, 0.08);
  color: var(--brand-dark);
  padding: 14px 18px;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}

.not-found-shell {
  display: grid;
  min-height: 100vh;
}

.not-found-hero {
  display: grid;
  min-height: calc(100svh - 116px);
  place-items: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(240, 138, 34, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 250, 243, 0.8) 48%, rgba(255, 252, 247, 0.98) 100%),
    url("/assets/background.jpg") center / cover no-repeat,
    #fff8ef;
  padding: clamp(24px, 5vw, 72px);
  box-shadow: 0 26px 80px rgba(164, 91, 20, 0.12);
}

.not-found-card {
  display: grid;
  justify-items: right;
  width: min(100%, 680px);
  margin-right: 0;
  margin-left: auto;
  border: 1px solid rgba(240, 138, 34, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(24px, 5vw, 52px);
  text-align: right;
  box-shadow: 0 22px 64px rgba(120, 69, 22, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.not-found-card h1 {
  margin-top: 10px;
  color: var(--brand);
  font-size: clamp(5rem, 15vw, 10rem);
}

.not-found-card p {
  max-width: 520px;
  margin-top: 18px;
  color: #4e3a30;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.85;
}

.legal-shell {
  display: grid;
  min-height: 100vh;
}

.legal-hero {
  display: grid;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(240, 138, 34, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 250, 243, 0.88) 46%, rgba(255, 252, 247, 0.98) 100%),
    url("/assets/background.jpg") center / cover no-repeat,
    #fff8ef;
  padding: clamp(18px, 4vw, 56px);
  box-shadow: 0 26px 80px rgba(164, 91, 20, 0.12);
}

.legal-card {
  width: min(100%, 860px);
  margin-right: 0;
  margin-left: auto;
  border: 1px solid rgba(240, 138, 34, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: 0 22px 64px rgba(120, 69, 22, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-card h1 {
  margin-top: 10px;
  color: var(--brand);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

.legal-card h2 {
  margin-top: 28px;
  color: var(--charcoal);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}

.legal-card p {
  margin-top: 12px;
  color: #4e3a30;
  font-size: 1rem;
  line-height: 1.9;
}

.legal-updated {
  color: var(--muted) !important;
  font-weight: 900;
}

.admin-shell {
  display: grid;
  gap: 18px;
}

.admin-login {
  display: grid;
  min-height: calc(100svh - 116px);
  place-items: center;
}

.admin-login .not-found-card h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.admin-dashboard {
  display: grid;
  gap: 18px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.admin-card,
.admin-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.admin-card {
  padding: clamp(18px, 3vw, 30px);
}

.admin-status {
  color: var(--leaf);
  padding: 12px 16px;
  font-weight: 900;
}

.status-control-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 116, 23, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.92);
}

.status-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-switch {
  cursor: pointer;
}

.status-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  border: 1px solid rgba(157, 52, 20, 0.18);
  border-radius: 8px;
  background: #fff7ef;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(120, 69, 22, 0.08);
  transition:
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.switch-text strong,
.switch-text small {
  display: block;
}

.switch-text strong {
  color: var(--brand-dark);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.5;
}

.switch-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
}

.switch-track {
  position: relative;
  width: 76px;
  height: 42px;
  border-radius: 999px;
  background: rgba(157, 52, 20, 0.18);
  box-shadow: inset 0 2px 8px rgba(75, 43, 31, 0.12);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.switch-track span {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(75, 43, 31, 0.18);
  transition:
    transform 190ms cubic-bezier(0.2, 0.9, 0.2, 1.18),
    background 180ms ease;
}

.status-switch input:checked + .switch-shell {
  border-color: rgba(31, 122, 77, 0.34);
  background: linear-gradient(180deg, rgba(31, 122, 77, 0.12), rgba(255, 255, 255, 0.96));
  box-shadow:
    0 16px 38px rgba(31, 122, 77, 0.13),
    0 0 0 4px rgba(31, 122, 77, 0.06);
}

.status-switch input:checked + .switch-shell .switch-text strong {
  color: var(--leaf);
}

.status-switch input:checked + .switch-shell .switch-track {
  background: linear-gradient(180deg, #35a86f, #1f7a4d);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.2);
}

.status-switch input:checked + .switch-shell .switch-track span {
  transform: translateX(-34px);
}

.status-switch:hover .switch-shell,
.status-switch input:focus-visible + .switch-shell {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(120, 69, 22, 0.13);
}

.status-message-form {
  margin-top: 14px;
}

.status-switch input:disabled + .switch-shell {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 116, 23, 0.18);
  border-radius: 8px;
  background: #fff8ef;
  padding: 12px;
}

.admin-form-heading strong,
.admin-form-heading span {
  display: block;
}

.admin-form-heading strong {
  color: var(--charcoal);
  font-size: 1.05rem;
}

.admin-form-heading span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.admin-form-heading button {
  min-height: 38px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0 12px;
  font-weight: 900;
}

.admin-form label {
  display: grid;
  gap: 7px;
}

.admin-form label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-options-editor textarea {
  min-height: 118px;
  direction: rtl;
}

.product-options-editor small,
.admin-option-summary {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.7;
}

.admin-option-summary {
  display: block;
  margin-top: 6px;
}

.admin-count-badge {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(157, 52, 20, 0.09);
  color: var(--brand-dark);
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 46px;
}

.admin-check input {
  width: 18px;
  min-height: 18px;
}

.compact-action {
  width: auto;
  min-width: 180px;
  padding: 0 16px;
}

.admin-signout {
  cursor: pointer;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(240, 138, 34, 0.18);
  border-radius: 8px;
  background: #fff8ef;
  padding: 12px;
}

.product-admin-item {
  display: block;
}

.product-admin-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-thumb {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 116, 23, 0.18);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.admin-thumb-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.product-image-admin {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 116, 23, 0.18);
  border-radius: 8px;
  background: #fff8ef;
  padding: 10px;
}

.product-image-admin img {
  width: 110px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
}

.product-image-admin span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-list-item strong,
.admin-list-item span {
  display: block;
}

.admin-list-item span,
.admin-list-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.admin-list-actions button,
.admin-list-actions a,
.order-status-control select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0 10px;
  font-weight: 900;
}

.order-status-control {
  display: grid;
  gap: 6px;
  min-width: 160px;
}

.order-status-control span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.order-status-control select {
  display: block;
  min-height: 38px;
  background: #fff;
  color: var(--brand-dark);
}

.order-status {
  display: inline-grid;
  width: fit-content;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.1);
  color: var(--leaf);
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Nav orders badge */
.nav-orders-badge {
  min-width: 22px;
  height: 22px;
  font-size: 0.74rem;
}

/* ---- Visual options editor ---- */
.editor-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.options-editor {
  display: grid;
  gap: 12px;
}

.options-groups {
  display: grid;
  gap: 12px;
}

.option-group-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(120, 69, 22, 0.06);
}

.option-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-group-name {
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid rgba(255, 116, 23, 0.28);
  border-radius: 8px;
  background: #fff8ef;
  padding: 0 12px;
  font-weight: 900;
  color: var(--charcoal);
}

.option-remove-group,
.option-remove-choice {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  min-height: 40px;
  border: 1px solid rgba(157, 52, 20, 0.28);
  border-radius: 8px;
  background: #fff;
  color: #b23b16;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.option-remove-choice {
  width: 38px;
  min-height: 38px;
}

.option-remove-group:hover,
.option-remove-choice:hover {
  background: rgba(178, 59, 22, 0.09);
}

.option-group-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 2px 2px 4px;
}

.opt-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.opt-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt-switch-track {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(157, 52, 20, 0.22);
  box-shadow: inset 0 1px 4px rgba(75, 43, 31, 0.14);
  transition: background 180ms ease;
}

.opt-switch-track span {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(75, 43, 31, 0.22);
  transition: transform 190ms cubic-bezier(0.2, 0.9, 0.2, 1.18);
}

.opt-switch input:checked + .opt-switch-track {
  background: linear-gradient(180deg, #35a86f, #1f7a4d);
}

.opt-switch input:checked + .opt-switch-track span {
  transform: translateX(-20px);
}

.opt-switch input:checked ~ .opt-switch-label {
  color: var(--leaf);
}

.opt-switch:hover .opt-switch-track,
.opt-switch input:focus-visible + .opt-switch-track {
  box-shadow:
    inset 0 1px 4px rgba(75, 43, 31, 0.14),
    0 0 0 3px rgba(255, 116, 23, 0.16);
}

.option-choices {
  display: grid;
  gap: 8px;
}

.option-choice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px auto auto;
  gap: 8px;
  align-items: center;
}

.option-choice-name,
.option-choice-delta {
  height: 42px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  font-weight: 800;
  color: var(--charcoal);
}

.option-choice-delta {
  text-align: center;
}

.option-choice-unit {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.options-add-group,
.option-add-choice {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  border: 1px dashed rgba(255, 116, 23, 0.5);
  border-radius: 8px;
  background: rgba(255, 116, 23, 0.06);
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0 14px;
  font-weight: 900;
}

.option-add-choice {
  min-height: 38px;
  width: fit-content;
  font-size: 0.86rem;
}

.options-add-group:hover,
.option-add-choice:hover {
  background: rgba(255, 116, 23, 0.12);
}

.options-editor-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.7;
}

/* ---- Inline product edit panel ---- */
.product-edit-panel {
  margin-top: 12px;
  border-top: 1px dashed rgba(255, 116, 23, 0.3);
  padding-top: 14px;
}

.product-admin-item.is-editing {
  border-color: rgba(255, 116, 23, 0.55);
  box-shadow: 0 14px 34px rgba(255, 116, 23, 0.14);
}

.inline-edit-form {
  animation: edit-panel-in 220ms ease;
}

@keyframes edit-panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-edit-image {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 116, 23, 0.18);
  border-radius: 10px;
  background: #fff8ef;
  padding: 10px;
}

.edit-image-thumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.edit-image-actions {
  display: grid;
  gap: 4px;
}

.image-edit-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 116, 23, 0.4);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(255, 116, 23, 0.16);
}

.image-edit-button:hover {
  background: rgba(255, 116, 23, 0.1);
}

.edit-image-note {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.inline-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.inline-edit-actions .submit-order {
  width: auto;
  min-width: 170px;
}

.inline-cancel {
  min-height: 44px;
  border: 1px solid rgba(157, 52, 20, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0 18px;
  font-weight: 900;
}

/* ---- AI image generation ---- */
.ai-controls {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.ai-controls input[type="password"] {
  min-height: 44px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  font-weight: 700;
  color: var(--charcoal);
}

.ai-password-change {
  border: 1px solid rgba(120, 79, 240, 0.28);
  border-radius: 10px;
  background: rgba(120, 79, 240, 0.05);
  padding: 10px 14px;
}

.ai-password-change summary {
  cursor: pointer;
  color: #6d28d9;
  font-weight: 900;
}

.ai-password-change > label,
.ai-password-change > button,
.ai-password-change > p {
  margin-top: 10px;
}

.ai-password-change > label {
  display: grid;
  gap: 7px;
}

.ai-password-change > label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.ai-password-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.7;
}

#setAiPasswordButton {
  min-height: 42px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #8b5cf6, #6d28d9);
  color: #fff;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 900;
}

.ai-controls textarea,
.ai-inline-prompt {
  min-height: 78px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--charcoal);
  direction: rtl;
  resize: vertical;
}

#generateAllImagesButton {
  background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 14px 34px rgba(109, 40, 217, 0.28);
}

#generateAllImagesButton:hover {
  background: #6d28d9;
}

.admin-list-actions .delete-product-btn {
  border-color: rgba(200, 30, 30, 0.45);
  color: #c81e1e;
  background: rgba(200, 30, 30, 0.06);
}

.admin-list-actions .delete-product-btn:hover {
  background: rgba(200, 30, 30, 0.13);
}

.admin-list-actions .ai-generate-btn {
  border-color: rgba(120, 79, 240, 0.45);
  color: #6d28d9;
  background: rgba(120, 79, 240, 0.08);
}

.admin-list-actions .ai-generate-btn:hover {
  background: rgba(120, 79, 240, 0.15);
}

.ai-inline {
  display: grid;
  gap: 8px;
  border: 1px dashed rgba(120, 79, 240, 0.45);
  border-radius: 10px;
  background: rgba(120, 79, 240, 0.05);
  padding: 12px;
}

.ai-inline-generate {
  min-height: 42px;
  width: fit-content;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #8b5cf6, #6d28d9);
  color: #fff;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 900;
}

.ai-inline-generate:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ai-inline-note {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
}

/* ---- Order filter ---- */
.order-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 16px;
  border: 1px solid rgba(255, 116, 23, 0.2);
  border-radius: 999px;
  background: #fff8ef;
  padding: 5px;
}

.order-filter button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 900;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.order-filter button .filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(157, 52, 20, 0.12);
  color: var(--brand-dark);
  padding: 0 6px;
  font-size: 0.74rem;
}

.order-filter button.is-active {
  background: linear-gradient(180deg, #ff8b20 0%, #ff650d 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 116, 23, 0.28);
}

.order-filter button.is-active .filter-count {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ---- Order cards ---- */
.order-card {
  grid-template-columns: minmax(0, 1fr) auto;
  border-right: 5px solid transparent;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.order-card.is-unfinished {
  border-right-color: #ff650d;
  background: #fff6ec;
}

.order-card.is-unfinished.status-new {
  border-right-color: #e23b2f;
  background: #fff1ee;
}

.order-card.is-unfinished.status-delayed {
  border-right-color: #d61f1f;
  background: #fff0ee;
}

.order-card.is-finished {
  border-right-color: #1f7a4d;
  background: #f1faf4;
  opacity: 0.92;
}

.order-card.is-finished.status-cancelled {
  border-right-color: #8a8a8a;
  background: #f4f4f4;
}

.order-main {
  min-width: 0;
}

.order-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.order-head strong {
  display: inline;
}

.order-time {
  display: inline-flex !important;
  align-items: center;
  border-radius: 999px;
  background: rgba(75, 43, 31, 0.08);
  color: var(--charcoal);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.order-actions {
  align-items: stretch;
  align-content: start;
}

.order-whatsapp {
  gap: 7px;
  border-color: rgba(37, 211, 102, 0.5);
  color: #128c4a;
}

.order-whatsapp img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.order-whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
}

.order-map {
  border-color: rgba(33, 102, 194, 0.4) !important;
  background: rgba(33, 102, 194, 0.08) !important;
  color: #174f9b !important;
}

.order-map:hover {
  background: rgba(33, 102, 194, 0.15) !important;
}

/* ---- Big finish switch on each order ---- */
.finish-switch {
  cursor: pointer;
  width: 100%;
}

.finish-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.finish-switch-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 190px;
  min-height: 58px;
  border: 1px solid rgba(157, 52, 20, 0.22);
  border-radius: 12px;
  background: #fff;
  padding: 10px 14px;
  box-shadow: 0 8px 20px rgba(120, 69, 22, 0.08);
  transition:
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease;
}

.finish-switch-text {
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 900;
}

.finish-switch .switch-track {
  width: 60px;
  height: 34px;
  flex: 0 0 auto;
}

.finish-switch .switch-track span {
  width: 26px;
  height: 26px;
  top: 4px;
  right: 4px;
}

.finish-switch input:checked + .finish-switch-shell {
  border-color: rgba(31, 122, 77, 0.4);
  background: linear-gradient(180deg, rgba(31, 122, 77, 0.16), rgba(255, 255, 255, 0.96));
  box-shadow: 0 12px 26px rgba(31, 122, 77, 0.16);
}

.finish-switch input:checked + .finish-switch-shell .finish-switch-text {
  color: var(--leaf);
}

.finish-switch input:checked + .finish-switch-shell .switch-track {
  background: linear-gradient(180deg, #35a86f, #1f7a4d);
}

.finish-switch input:checked + .finish-switch-shell .switch-track span {
  transform: translateX(-26px);
}

.finish-switch:hover .finish-switch-shell,
.finish-switch input:focus-visible + .finish-switch-shell {
  transform: translateY(-1px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 18px;
  align-items: start;
  max-width: 1440px;
  margin: 18px auto 0;
}

.menu-area,
.order-panel,
.original-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.menu-area,
.original-menu {
  padding: clamp(18px, 3vw, 30px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.search-box {
  display: grid;
  min-width: min(100%, 320px);
  gap: 8px;
}

.search-box span,
.checkout-form label span,
.address-title span,
.note-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input {
  min-height: 46px;
  padding: 0 12px;
}

select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 94px;
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(244, 122, 34, 0.75);
  box-shadow: 0 0 0 4px rgba(244, 122, 34, 0.12);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.category-tabs button,
.segmented-control button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 0 14px;
}

.category-tabs button.is-active,
.segmented-control button.is-active {
  border-color: var(--brand);
  background: linear-gradient(180deg, #ff8b20 0%, #ff650d 100%);
  color: #fff;
}

.segmented-control button:disabled,
.segmented-control button.is-unavailable {
  border-color: rgba(115, 95, 82, 0.22);
  background: #ece7df;
  color: rgba(115, 95, 82, 0.72);
  cursor: not-allowed;
  box-shadow: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 212px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 16px;
  box-shadow: 0 12px 34px rgba(120, 69, 22, 0.06);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
  transform 160ms ease;
}

.top-bar-actions,
.app-downloads {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-downloads a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  transition: background 160ms ease, transform 160ms ease;
}

.app-downloads a:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.offers-section {
  max-width: 1440px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 16px 46px rgba(120, 69, 22, 0.08);
}

.offers-track {
  display: grid;
  grid-auto-columns: minmax(280px, 1fr);
  grid-auto-flow: column;
  overflow-x: auto;
  gap: 14px;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
}

.offer-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(105deg, rgba(35, 15, 9, 0.96) 8%, rgba(91, 31, 34, 0.84) 62%, rgba(244, 123, 32, 0.56)),
    var(--offer-image, url("/assets/background.jpg")) center / cover no-repeat;
  color: #fff;
  padding: 22px;
  scroll-snap-align: start;
}

.offer-card-copy {
  display: grid;
  justify-items: start;
  max-width: 72%;
  gap: 8px;
}

.offer-card-copy > span,
.discount-badge,
.unavailable-ribbon {
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
}

.offer-card-copy > span,
.discount-badge {
  background: linear-gradient(135deg, #ff9a2f, #ef5e00);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 94, 0, 0.28);
}

.offer-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.offer-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.offer-card button {
  margin-top: 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  padding: 10px 14px;
  font-weight: 900;
}

.discount-badge,
.unavailable-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
}

.unavailable-ribbon {
  background: rgba(42, 34, 30, 0.92);
  color: #fff;
}

.product-card.is-unavailable .product-image,
.product-card.is-unavailable .product-copy,
.product-card.is-unavailable .product-footer > div {
  filter: grayscale(0.85);
  opacity: 0.58;
}

.product-card.is-unavailable .product-footer button {
  background: #d8cec5;
  color: #6f625b;
  cursor: not-allowed;
}

.product-card.has-promotion {
  border-color: rgba(244, 122, 34, 0.46);
  background: linear-gradient(180deg, #fff 0%, #fff8ed 100%);
  box-shadow: 0 18px 42px rgba(244, 122, 34, 0.14);
}

.product-card.has-promotion .product-image + .product-copy,
.product-card.has-promotion .product-copy:first-of-type {
  padding-top: 24px;
}

.promotion-price {
  display: grid;
  gap: 2px;
}

.promotion-price s {
  color: #9b8a7d;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.promotion-price small {
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 900;
}

.promotion-status {
  margin-inline-start: 6px;
  background: rgba(244, 122, 34, 0.12);
  color: var(--brand-dark);
}

.bulk-discount-panel {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 116, 23, 0.28);
  border-radius: 16px;
  background: rgba(255, 116, 23, 0.06);
  display: grid;
  gap: 12px;
}

.bulk-discount-heading strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-dark);
}

.bulk-discount-heading span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #6f5b4d;
  line-height: 1.5;
}

.bulk-discount-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.bulk-discount-controls label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.bulk-discount-controls input {
  width: 130px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font: inherit;
}

.bulk-discount-controls .ghost-action {
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(182, 80, 13, 0.4);
  background: transparent;
  color: var(--brand-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bulk-discount-controls .ghost-action:hover {
  background: rgba(255, 116, 23, 0.1);
}

.bulk-discount-controls button:disabled {
  opacity: 0.6;
  cursor: default;
}

.bulk-discount-hint {
  margin: 0;
  font-size: 0.8rem;
  color: #6f5b4d;
}

.offer-admin-item {
  display: block;
}

.offer-admin-item.is-editing {
  border-color: rgba(255, 116, 23, 0.55);
  box-shadow: 0 14px 34px rgba(255, 116, 23, 0.14);
}

.offer-admin-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.offer-admin-thumb {
  width: 120px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff4e6;
}

.product-card:hover {
  border-color: rgba(255, 116, 23, 0.38);
  box-shadow: 0 18px 42px rgba(120, 69, 22, 0.11);
  transform: translateY(-2px);
}

.product-copy span {
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-card h3 {
  margin-top: 8px;
  font-size: 1.23rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.product-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-options {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.option-group {
  display: grid;
  gap: 6px;
}

.option-group > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.option-group select {
  min-height: 38px;
  background: #fffaf3;
  font-size: 0.88rem;
}

.option-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.option-choice-list label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
  color: var(--muted);
  padding: 7px 9px;
  font-size: 0.82rem;
  font-weight: 900;
}

.option-choice-list input {
  width: 16px;
  min-height: 16px;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.product-footer em {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
  border-radius: 8px;
  background: rgba(31, 122, 77, 0.1);
  color: var(--leaf);
  padding: 4px 7px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
}

.product-footer strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.product-footer button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  font-size: 1.45rem;
}

.is-store-closed .product-footer button,
.is-store-closed .submit-order {
  opacity: 0.55;
  cursor: not-allowed;
}

.order-panel {
  position: sticky;
  top: 86px;
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.2), transparent 13rem),
    linear-gradient(135deg, #ff8b20 0%, #ee650a 100%);
  color: #fff;
  padding: 18px;
}

.panel-header strong {
  font-size: 1.5rem;
  white-space: nowrap;
}

.cart-lines,
.checkout-form {
  padding: 16px;
}

.cart-lines {
  display: grid;
  max-height: 312px;
  overflow: auto;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8ef;
  padding: 10px;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span,
.empty-cart,
.pickup-note,
.delivery-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-options {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.6;
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quantity-control button {
  min-height: 34px;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.quantity-control span {
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-form label,
.note-field {
  display: grid;
  gap: 7px;
}

.wide-field,
.note-field {
  grid-column: 1 / -1;
}

.address-block {
  display: grid;
  gap: 10px;
}

.address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.address-title button {
  min-height: 34px;
  border: 1px solid rgba(31, 122, 77, 0.24);
  background: rgba(31, 122, 77, 0.1);
  color: var(--leaf);
  padding: 0 10px;
  font-size: 0.82rem;
}

.map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.map-actions button {
  min-height: 42px;
  border: 1px solid rgba(255, 116, 23, 0.24);
  border-radius: 8px;
  background: #fff8ef;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 900;
}

.map-picker {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 116, 23, 0.26);
  border-radius: 8px;
  background: #fff8ef;
}

.map-status {
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 8px;
  background: rgba(31, 122, 77, 0.08);
  color: var(--leaf);
  padding: 10px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.6;
}

.map-status.is-error {
  border-color: rgba(157, 52, 20, 0.24);
  background: rgba(157, 52, 20, 0.08);
  color: var(--brand-dark);
}

.pickup-note {
  border: 1px solid rgba(31, 122, 77, 0.2);
  border-radius: 8px;
  background: rgba(31, 122, 77, 0.09);
  padding: 12px;
  line-height: 1.7;
}

.form-error {
  border: 1px solid rgba(157, 52, 20, 0.24);
  border-radius: 8px;
  background: rgba(157, 52, 20, 0.08);
  color: var(--brand-dark);
  padding: 10px;
  font-weight: 900;
  line-height: 1.6;
}

.save-feedback {
  margin-top: 14px;
  border: 1px solid rgba(240, 138, 34, 0.2);
  border-radius: 8px;
  background: #fff8ef;
  color: var(--muted);
  padding: 11px 13px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.7;
}

.save-feedback.is-success {
  border-color: rgba(31, 122, 77, 0.22);
  background: rgba(31, 122, 77, 0.09);
  color: var(--leaf);
}

.save-feedback.is-error {
  border-color: rgba(157, 52, 20, 0.24);
  background: rgba(157, 52, 20, 0.08);
  color: var(--brand-dark);
}

.submit-order {
  width: 100%;
  min-height: 52px;
  font-size: 1.02rem;
}

.delivery-hint {
  line-height: 1.65;
  text-align: center;
}

.confirmation-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  border: 1px solid rgba(31, 122, 77, 0.22);
  border-radius: 8px;
  background: rgba(31, 122, 77, 0.09);
  padding: 13px;
  text-align: center;
}

.order-lottie {
  width: 142px;
  height: 142px;
  margin-bottom: 2px;
}

.confirmation-box strong {
  color: var(--leaf);
}

.confirmation-box p {
  color: var(--muted);
  line-height: 1.65;
}

.confirmation-box a {
  color: var(--brand-dark);
  font-weight: 900;
}

.toast-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}

.toast-message {
  transform: translateY(12px);
  border: 1px solid rgba(31, 122, 77, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--leaf);
  padding: 13px 15px;
  font-weight: 900;
  line-height: 1.6;
  opacity: 0;
  box-shadow: 0 18px 50px rgba(75, 43, 31, 0.18);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast-message.is-error {
  border-color: rgba(157, 52, 20, 0.22);
  color: var(--brand-dark);
}

.toast-message.is-order {
  border-color: rgba(255, 116, 23, 0.34);
  background: linear-gradient(180deg, #fffdf9, #fff1df);
  color: var(--brand-dark);
  padding: 18px 20px;
  font-size: 1.06rem;
  box-shadow:
    0 22px 70px rgba(255, 116, 23, 0.24),
    0 0 0 4px rgba(255, 116, 23, 0.08);
}

.toast-message.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.original-menu {
  max-width: 1440px;
  margin: 18px auto 0;
}

.original-menu .section-heading p {
  color: var(--muted);
  font-weight: 900;
}

.menu-board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.menu-board-grid img {
  width: 100%;
  aspect-ratio: 16 / 11.31;
  object-fit: cover;
  border: 6px solid var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  max-width: 1440px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-dark);
  outline: none;
}

[hidden] {
  display: none !important;
}

@keyframes badge-pop {
  0% {
    transform: scale(1);
  }

  38% {
    transform: scale(1.34);
  }

  72% {
    transform: scale(0.94);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes order-glow {
  0% {
    box-shadow: var(--shadow);
  }

  42% {
    box-shadow:
      0 0 0 4px rgba(255, 116, 23, 0.16),
      0 22px 68px rgba(255, 116, 23, 0.22);
  }

  100% {
    box-shadow: var(--shadow);
  }
}

@media (max-width: 1180px) {
  .hero-copy {
    justify-self: right;
    width: min(100%, 760px);
    margin-right: 0;
    margin-left: auto;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .hero-benefits > span {
    padding: 14px 20px;
  }

  .hero-benefits > span:nth-child(odd) {
    border-right: 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .order-panel {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-switch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 146px 10px 10px;
  }

  .top-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(calc(100% - 20px), 1440px);
    gap: 10px;
    padding: 9px;
  }

  .brand-mark img {
    width: 46px;
    height: 46px;
  }

  .top-bar nav {
    order: 3;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .admin-page .top-bar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .top-bar nav a {
    position: relative;
    min-height: 38px;
    min-width: 0;
    padding: 8px 10px;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 250, 243, 0.76) 42%, rgba(255, 252, 247, 0.98) 100%),
      url("/assets/background.jpg") 35% center / cover no-repeat,
      #fff8ef;
  }

  h1 {
    max-width: 100%;
  }

  .section-heading {
    display: grid;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
  }
}

@media (max-width: 660px) {
  html {
    scroll-padding-top: 142px;
  }

  .site-shell {
    padding-top: 142px;
  }

  .top-bar {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 14px;
    padding: 8px;
  }

  .brand-mark {
    gap: 8px;
  }

  .brand-mark img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand-mark strong,
  .phone-link {
    font-size: 0.88rem;
  }

  .phone-link {
    min-height: 38px;
    gap: 6px;
    padding: 8px 10px;
  }

  .top-bar nav {
    overflow: visible;
  }

  .top-bar-actions {
    gap: 5px;
  }

  .app-downloads {
    display: flex;
    gap: 4px;
  }

  .app-downloads a {
    padding: 6px;
    font-size: 0.62rem;
  }

  .offers-section {
    padding: 16px;
  }

  .offers-track {
    grid-auto-columns: 88%;
  }

  .offer-card-copy {
    max-width: 90%;
  }

  .offer-admin-row {
    grid-template-columns: 1fr;
  }

  .top-bar nav a {
    min-width: 0;
    padding: 8px 6px;
    font-size: clamp(0.78rem, 3vw, 0.88rem);
  }

  .top-bar nav .cart-badge {
    position: static;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 0.68rem;
  }

  .hero-section {
    gap: 18px;
    padding: 12px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.8), rgba(255, 250, 242, 0.96)),
      url("/assets/background.jpg") 30% center / cover no-repeat,
      #fff8ef;
  }

  .not-found-hero {
    min-height: auto;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.84), rgba(255, 250, 242, 0.96)),
      url("/assets/background.jpg") 30% center / cover no-repeat,
      #fff8ef;
  }

  .not-found-card {
    justify-items: center;
    margin: 0;
    text-align: center;
  }

  .legal-hero {
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.84), rgba(255, 250, 242, 0.96)),
      url("/assets/background.jpg") 30% center / cover no-repeat,
      #fff8ef;
  }

  .legal-card {
    margin: 0;
  }

  .menu-area,
  .original-menu {
    padding: 18px;
  }

  .hero-copy {
    padding: 26px 10px 8px;
    justify-self: right;
    justify-items: right;
    margin-right: 0;
    margin-left: auto;
  }

  .location-chip {
    font-size: 0.92rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-benefits > span,
  .hero-benefits > span + span {
    border-right: 0;
    border-top: 1px solid rgba(240, 138, 34, 0.18);
    padding: 10px 4px;
  }

  .product-grid,
  .form-grid,
  .map-actions,
  .admin-form,
  .status-switch-grid,
  .menu-board-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 180px;
  }

  .admin-list-item {
    grid-template-columns: 1fr;
  }

  .product-admin-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .product-admin-row .admin-list-actions {
    grid-column: 1 / -1;
  }

  .option-choice-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .option-choice-name {
    grid-column: 1 / -1;
  }

  .finish-switch-shell {
    min-width: 0;
  }

  .order-filter {
    display: flex;
    width: 100%;
  }

  .order-filter button {
    flex: 1;
    justify-content: center;
  }

  .admin-list-actions {
    justify-content: stretch;
  }

  .admin-list-actions button,
  .admin-list-actions a,
  .order-status-control {
    flex: 1;
  }

  .order-status-control {
    min-width: 0;
  }

  .order-status-control select {
    width: 100%;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
