/* Base public menu styles */

:root {
  --primary: #EA7C26;
  --primary-dark: #B86010;
  --primary-light: #F5EFE6;
  --dark: #18181B;
  --dark-soft: #27272A;
  --muted: #78716C;
  --muted-light: #A8A49E;
  --text-body: #44403C;
  --card: #FFFFFF;
  --background: #EDEBE6;
  --section-alt: #E6E3DD;
  --border: #C8C4BC;
  --border-warm: #D8D4CD;
  --danger: #DC2626;
  --danger-light: #FEF2F2;
  --success: #16A34A;
  --surface-dark: #0C0A09;
  --surface-elevated: rgba(12,10,9,0.90);
  /* Shared focus ring + brand shadow so interactive states stay consistent. */
  --focus-ring: 0 0 0 3px rgba(234,124,38,0.45);
  --shadow-primary: 0 6px 20px rgba(234,124,38,0.32);
}

/* Visible, consistent keyboard focus for every interactive control. Pointer
   users keep the clean look; keyboard users always get a clear orange ring. */
a:focus-visible,
button:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

input:focus-visible,
textarea:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--background);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: min(1160px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* Restaurant hero and status */

.hero {
  position: relative;
  min-height: 220px;
  background: var(--surface-dark);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: flex-end;
  padding: 28px 24px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse at 75% 40%,
    rgba(234,124,38,0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero--with-cover {
  background-color: var(--surface-dark);
  background-image: var(--hero-cover-image);
  background-size: cover;
  background-position: center center;
}

.hero--with-cover::before {
  background:
    linear-gradient(90deg, rgba(12,10,9,.90), rgba(12,10,9,.74) 50%, rgba(12,10,9,.52)),
    linear-gradient(180deg, rgba(12,10,9,.20), rgba(12,10,9,.68));
}

.hero--fallback {
  background: var(--surface-dark);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding-bottom: 36px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  color: #FAFAF9;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero p {
  color: rgba(255,255,255,0.5);
  font-size: .9rem;
  max-width: 480px;
}

.hero-meta {
  display: flex;
  gap: 16px;
  font-size: .78rem;
  color: rgba(255,255,255,0.48);
  margin-top: 10px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-status--open {
  background: rgba(22,163,74,0.14);
  border-color: rgba(74,222,128,0.34);
  color: #86EFAC;
}

.hero-status--closed {
  background: rgba(234,124,38,0.15);
  border-color: rgba(251,146,60,0.38);
  color: #FDBA74;
}

.hero-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}

.hero-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-service-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  font-weight: 700;
}

.hero-closed-message {
  margin-top: 12px;
  color: #FECACA;
  font-weight: 700;
}

.logo-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.reservation-cta {
    margin-top: 18px;
}

.reservation-cta .reservation-cta__intro {
    margin: 0 0 10px;
    max-width: 620px;
    color: rgba(255, 255, 255, .9);
}

.reservation-cta__button {
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all .22s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--restaurant-button, var(--primary));
    color: #1c1917;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,.38);
    color: white;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.6);
}

/* Restaurant contact strip */

.info-strip {
    position: relative;
    z-index: 5;
    margin-top: -20px;
}

/* Subtle public announcement between the hero and menu content. */
.announcement-shell {
    position: relative;
    z-index: 6;
    padding: 14px 16px 0;
}

.announcement-shell + .info-strip {
    margin-top: 0;
    padding-top: clamp(10px, 2vw, 14px);
}

.announcement-bar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 15px 16px;
    border: 1px solid var(--primary-border);
    border-radius: 16px;
    color: #292524;
    background: var(--primary-light);
    box-shadow: 0 8px 24px rgba(28, 25, 23, .07);
}

.announcement-bar--promo {
    border-color: color-mix(in srgb, var(--restaurant-accent) 26%, transparent);
    background: color-mix(in srgb, var(--restaurant-accent) 9%, white);
}

.announcement-bar--warning {
    border-color: rgba(217, 119, 6, .24);
    background: #fff8eb;
}

.announcement-bar__content {
    min-width: 0;
    flex: 1;
}

.announcement-bar__title {
    display: block;
    margin-bottom: 3px;
    color: var(--restaurant-secondary);
    font-size: .94rem;
    font-weight: 800;
}

.announcement-bar__message {
    margin: 0;
    color: #57534e;
    font-size: .9rem;
    line-height: 1.55;
}

.announcement-bar__cta {
    display: inline-flex;
    margin-top: 9px;
    color: var(--restaurant-accent);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.announcement-bar__cta:hover {
    text-decoration: underline;
}

.announcement-bar__dismiss {
    display: inline-grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #78716c;
    background: rgba(255, 255, 255, .62);
    cursor: pointer;
}

.announcement-bar__dismiss:hover {
    color: #292524;
    background: rgba(255, 255, 255, .95);
}

@media (min-width: 640px) {
    .announcement-bar {
        align-items: center;
        padding: 16px 20px;
    }

    .announcement-bar__content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 20px;
    }

    .announcement-bar__title,
    .announcement-bar__message {
        grid-column: 1;
    }

    .announcement-bar__cta {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
    }
}

.info-card {
    background: var(--card);
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: 0 8px 40px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.06);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, 1.16fr) minmax(0, .95fr);
    gap: 22px;
}

.info-card--without-location {
    grid-template-columns: minmax(280px, 1.08fr) minmax(0, .92fr);
}

.info-item {
    min-width: 0;
    padding: 4px 0;
}

.info-item + .info-item {
    border-left: 1px solid var(--border-warm);
    padding-left: 22px;
    margin-left: 0;
}

.info-item small {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 5px;
}

.info-item span {
    font-weight: 700;
    font-size: .95rem;
    color: var(--dark);
}

.info-action-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    flex-wrap: wrap;
}

.info-action-text {
    min-width: 0;
    max-width: 32ch;
    flex: 1;
    line-height: 1.45;
}

.info-action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    flex-wrap: wrap;
}

.info-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    padding: 7px 12px;
    color: var(--primary-dark);
    background: rgba(234, 124, 38, .10);
    border: 1px solid rgba(234, 124, 38, .24);
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, background .15s, border-color .15s, transform .15s;
}

.info-action-button--secondary {
    color: var(--dark-soft);
    background: rgba(255, 255, 255, .72);
    border-color: var(--border-warm);
}

.info-action-button:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.info-action-button--secondary:hover {
    color: var(--dark);
    background: var(--card);
    border-color: var(--border);
}

.info-weekly-schedule {
    display: grid;
    gap: 0;
    width: min(100%, 350px);
    padding: 7px;
    border: 1px solid rgba(216, 212, 205, .68);
    border-radius: 14px;
    background: rgba(248, 247, 245, .62);
}

.info-weekly-row {
    display: grid;
    grid-template-columns: minmax(88px, .78fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 5px 8px;
    border-radius: 9px;
    background: transparent;
}

.info-weekly-row + .info-weekly-row {
    box-shadow: inset 0 1px 0 rgba(216, 212, 205, .42);
}

.info-weekly-row--today {
    background: rgba(234, 124, 38, .08);
    box-shadow: inset 3px 0 0 rgba(234, 124, 38, .36);
}

.info-weekly-row--closed {
    background: transparent;
}

.info-weekly-day,
.info-weekly-hours {
    font-size: .76rem;
    line-height: 1.2;
}

.info-weekly-day {
    color: var(--muted);
    font-weight: 700;
}

.info-weekly-row--today .info-weekly-day {
    color: var(--primary-dark);
}

.info-weekly-hours {
    color: var(--dark);
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.info-weekly-hours--closed {
    color: var(--muted);
    font-weight: 600;
}

.info-schedule-status {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.info-status-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 4px 10px;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.1;
}

.info-status-badge--open {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: #166534;
}

.info-status-badge--closed {
    background: #FEF2F2;
    border-color: #FCA5A5;
    color: #991B1B;
}

.info-status-separator {
    flex-shrink: 0;
    color: var(--muted-light);
    font-weight: 800;
}

.info-status-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 800;
    color: var(--dark);
}

/* Shared section rhythm */

.section {
    padding: 40px 0;
}

.section--alt {
    background: var(--section-alt);
}

.deals-section,
.featured-section {
    padding: 14px 0 10px;
}

.info-strip + .deals-section {
    padding-top: 8px;
}

.deals-header .section-label {
    margin-bottom: 4px;
}

#menu.section {
    padding-top: 10px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 999px;
  flex-shrink: 0;
}

.section-label span,
.section-label-text {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-divider {
  height: 1px;
  background: var(--border-warm);
  margin: 4px 0 10px;
}

.section-header {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.section-header h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 3px;
}

.section-header p {
    color: var(--muted);
    font-size: .97rem;
}

.menu-header {
    align-items: flex-end;
    margin-bottom: 6px;
}

.menu-header .menu-search-hint {
    margin-left: auto;
    padding-bottom: 2px;
    white-space: nowrap;
}

/* Featured carousel */

.deals-header {
    align-items: center;
}

.deals-controls {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.deals-nav-btn {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.55);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.deals-nav-btn--prev {
    left: -8px;
}

.deals-nav-btn--next {
    right: -8px;
}

.deals-nav-btn:hover {
    background: rgba(0,0,0,.80);
    border-color: rgba(255,255,255,.26);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.deals-nav-btn:disabled,
.deals-nav-btn[aria-disabled="true"] {
    opacity: .36;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.deals-nav-btn[hidden] {
    display: none;
}

.deals-carousel {
    position: relative;
    overflow: hidden;
}

.deals-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 2px 12px;
}

.deals-track.is-resizing {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.deals-track.is-looping {
    overflow: visible;
    scroll-behavior: auto;
    scroll-snap-type: none;
    transition: transform .36s ease;
    will-change: transform;
}

.deals-track.is-looping.is-loop-jump {
    transition: none;
}

.deals-track.is-looping .deals-slide {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

.deals-track::-webkit-scrollbar {
    display: none;
}

.deals-slide {
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.deals-slide .product-card {
    height: 100%;
}

.deals-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 2px;
}

.deals-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: width .18s ease, background .18s ease;
}

.deals-dot.is-active {
    width: 24px;
    background: var(--primary);
}

.deals-dot[hidden],
.deals-dots[hidden] {
    display: none;
}

/* Category filters */

.category-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    background: var(--section-alt);
    padding: 10px 18px;
    border-bottom: 1px solid var(--border-warm);
    margin-bottom: 18px;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--dark-soft);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  transition: border-color .15s, background .15s, color .15s;
}

.filter-btn:hover {
  border-color: var(--dark-soft);
}

.filter-btn.active {
  background: #18181B;
  border-color: #18181B;
  color: white;
}


.menu-search-hint {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 600;
}

.menu-no-results {
    display: none;
    background: white;
    border: 1.5px dashed var(--border);
    border-radius: 18px;
    padding: 28px;
    color: var(--muted);
    text-align: center;
    font-size: .95rem;
    margin-top: 16px;
}

@media (max-width: 640px) {
    .menu-search-hint {
        width: 100%;
        font-size: .82rem;
    }

    .menu-header .menu-search-hint {
        margin-left: 0;
        padding-bottom: 0;
    }
}

/* Product grid layout */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.menu-product-list {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 10px 12px;
}

/* Product cards */

.product-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.product-card--compact {
  min-height: 116px;
  flex-direction: row;
  border-radius: 14px;
}

.product-card[data-product-detail] {
  cursor: pointer;
}

.product-card[data-product-detail]:focus-visible {
  outline: 3px solid rgba(234,124,38,.28);
  outline-offset: 3px;
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted-light);
}

.product-placeholder span {
    font-size: .85rem;
    font-weight: 600;
}

.product-card--compact .product-image {
  width: 112px;
  min-height: 116px;
  flex: 0 0 112px;
  aspect-ratio: auto;
}

.product-card--compact .product-placeholder {
  gap: 6px;
}

.product-card--compact .product-placeholder div {
  width: 48px !important;
  height: 48px !important;
  border-radius: 15px !important;
  font-size: 1.25rem !important;
}

.product-card--compact .product-placeholder span {
  font-size: .72rem;
  max-width: 90px;
  text-align: center;
}

.product-card--compact .product-placeholder small {
  display: none;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: .78rem;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: .02em;
}

.badge--offer {
    background: var(--primary);
    color: #1c1917;
}

.badge--featured {
    background: var(--dark);
    color: white;
}

.product-content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-category {
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px;
}

.product-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 750;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--compact .product-content {
  padding: 11px 12px 11px 14px;
}

.product-card--compact .product-category {
  font-size: .68rem;
  margin-bottom: 3px;
}

.product-card--compact .product-content h3 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.product-card--compact .product-desc {
  flex: 0 1 auto;
  font-size: .76rem;
  line-height: 1.35;
  margin-bottom: 6px;
  -webkit-line-clamp: 1;
}

.product-card--compact .price-row {
  align-items: flex-end;
  gap: 10px;
}

.product-card--compact .price-block {
  min-width: 0;
}

.product-card--compact .price {
  line-height: 1.05;
}

.product-card--compact .product-cart-control {
  flex: 0 0 auto;
  min-width: 34px;
}

.product-card--compact .badge {
  top: 8px;
  left: 8px;
  max-width: 92px;
  padding: 4px 8px;
  font-size: .64rem;
  line-height: 1.12;
  white-space: normal;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.price {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.old-price {
  font-size: .72rem;
  color: var(--muted-light);
  text-decoration: line-through;
  display: block;
  line-height: 1;
}

.offer-price {
    color: var(--danger);
}

.product-cart-control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 112px;
    position: relative;
}

/* Product card cart controls */
.add-to-cart {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.3rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(234,124,38,.28);
  transition: background .15s, transform .1s, box-shadow .15s;
  line-height: 1;
}

.add-to-cart:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-primary);
}

.add-to-cart:active {
  transform: scale(.93);
}

.add-to-cart[hidden] {
    display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border-radius: 999px;
  padding: 3px 6px;
}

.card-qty-controls[hidden] {
    display: none;
}

.card-qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 1.1rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.card-qty-btn:hover {
  background: var(--primary-dark);
}

.card-qty-controls strong {
  min-width: 20px;
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Complete menu category groups */

.category-block {
    margin-bottom: 12px;
}

.category-title {
    font-family: 'Fraunces', serif;
    font-size: 1.42rem;
    font-weight: 700;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--border-warm);
    color: var(--dark);
}

.empty {
    background: white;
    border: 1.5px dashed var(--border);
    border-radius: 18px;
    padding: 36px;
    color: var(--muted);
    text-align: center;
    font-size: .95rem;
}

.post-order-notice {
    /* Tone is set per state via a modifier class; default is the reassuring
       confirmed look so any path stays on-brand even without a modifier. */
    --notice-accent: var(--success);
    --notice-bg: linear-gradient(180deg, #F1FBF5 0%, #EAF7EF 100%);
    --notice-fg: #15803D;
    background: var(--notice-bg);
    border: 1px solid rgba(12, 10, 9, .06);
    border-left: 4px solid var(--notice-accent);
    color: var(--notice-fg);
    border-radius: 16px;
    padding: 15px 18px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 10px 30px rgba(12, 10, 9, .07);
    font-size: .94rem;
}

.post-order-notice strong {
    font-weight: 800;
    font-size: .98rem;
    color: var(--notice-fg);
}

.post-order-notice span {
    color: var(--text-body);
    line-height: 1.5;
}

/* Confirmed: premium, reassuring (default tone, kept explicit for clarity). */
.post-order-notice--confirmed {
    --notice-accent: var(--success);
    --notice-bg: linear-gradient(180deg, #F1FBF5 0%, #EAF7EF 100%);
    --notice-fg: #15803D;
}

/* Pending: calm amber, not alarming. */
.post-order-notice--pending {
    --notice-accent: #D9A53B;
    --notice-bg: #FBF7EC;
    --notice-fg: #8A6411;
}

/* Failed: calm warm tone (brand orange), never a harsh red alarm. */
.post-order-notice--failed {
    --notice-accent: var(--primary);
    --notice-bg: #FCF4ED;
    --notice-fg: #9A3412;
}

/* Info: neutral (stale-cart refresh, "order already sent"). */
.post-order-notice--info {
    --notice-accent: var(--border);
    --notice-bg: #F6F5F2;
    --notice-fg: var(--dark-soft);
}

/* Cart and checkout modal */

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 900;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .26s;
}

.cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(12, 10, 9, .58);
    opacity: 0;
    cursor: pointer;
    transition: opacity .22s ease;
}

.cart-drawer.is-open .cart-drawer__backdrop {
    opacity: 1;
}

.cart-box {
    position: absolute;
    top: 0;
    right: 0;
    width: min(460px, 100vw);
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fffdf9;
    border-left: 1px solid #f5e6c8;
    border-radius: 0;
    padding: 24px;
    margin: 0;
    box-shadow: -16px 0 60px rgba(0,0,0,.20);
    transform: translateX(100%);
    transition: transform .26s ease;
}

.cart-drawer.is-open .cart-box {
    transform: translateX(0);
}

.cart-sheet-handle {
    display: none;
}

.cart-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    background: #fffdf9;
    border-bottom: 1px solid var(--border-warm);
}

.cart-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--primary-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cart-header p {
    color: var(--muted);
    font-size: .92rem;
}

.cart-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-warm);
    background: white;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .16s ease, border-color .16s ease;
}

.cart-close:hover {
    background: var(--section-alt);
    border-color: var(--border);
}

.cart-empty {
    color: var(--muted);
    margin-bottom: 14px;
    background: white;
    border: 1.5px dashed var(--border);
    padding: 16px 18px;
    border-radius: 14px;
    font-size: .92rem;
    text-align: center;
}

.cart-limit-alert {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #FCD34D;
    border-radius: 14px;
    background: #FFFBEB;
    color: #92400E;
    box-shadow: 0 8px 24px rgba(146, 64, 14, .08);
}

.cart-limit-alert[hidden] {
    display: none;
}

.cart-limit-alert strong {
    display: block;
    font-size: .92rem;
    line-height: 1.45;
}

.cart-limit-alert a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    border-radius: 999px;
    background: #25D366;
    color: white;
    padding: 8px 13px;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.cart-limit-alert button {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: rgba(146, 64, 14, .10);
    color: #92400E;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-items {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 13px 16px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--border-warm);
}

.cart-item strong {
    display: block;
    font-weight: 700;
    font-size: .95rem;
}

.cart-item small {
    color: var(--muted);
    font-size: .84rem;
}

.cart-item-options {
    list-style: none;
    display: grid;
    gap: 2px;
    margin: 6px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.35;
}

.cart-item-note,
.order-confirm-item-note {
    display: block;
    margin-top: 5px;
    color: var(--primary-dark);
    font-size: .78rem;
    font-style: normal;
    font-weight: 700;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--dark);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.qty-btn:hover {
    background: var(--primary-dark);
}

.remove-btn {
    background: var(--danger-light);
    color: #991b1b;
    padding: 7px 12px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: .84rem;
    transition: background .15s;
}

.remove-btn:hover {
    background: #fecaca;
}

.cart-pricing-summary {
    display: grid;
    gap: 7px;
    margin: 18px 0 24px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--section-alt);
    border: 1px solid var(--border-warm);
}

.cart-pricing-line,
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.cart-pricing-line strong {
    color: var(--dark);
    font-weight: 800;
}

.cart-pricing-line--delivery strong {
    color: var(--primary-dark);
}

.cart-pricing-line--discount strong,
.order-confirm-discount dd {
    color: var(--success);
}

#cart-discount-row[hidden],
#order-confirm-discount-row[hidden] {
    display: none !important;
}

.cart-total {
    padding-top: 8px;
    border-top: 1px solid var(--border-warm);
    font-size: 1.05rem;
    color: var(--dark);
}

.cart-total strong {
    color: var(--primary-dark);
}

/* Checkout form */

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--section-alt);
  color: var(--dark);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .18s, background .18s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(232,130,26,.12);
}

.form-group input[readonly] {
    background: var(--section-alt);
    color: var(--muted);
}

.requested-time-toggle {
    display: grid;
    gap: 8px;
}

.form-group .requested-time-option,
.form-group .group-order-label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    margin: 0;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--section-alt);
    color: var(--dark);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
    transition: border-color .18s, background .18s;
}

.form-group .requested-time-option:has(input:checked),
.form-group .group-order-label:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-light);
}

.requested-time-option input,
.group-order-label .group-order-checkbox {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary);
}

.requested-time-option small,
.group-order-helper {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 600;
}

.branch-helper {
    margin-top: 7px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.4;
}

.delivery-zone-message,
.payment-method-message {
    margin-top: 7px;
    border-radius: 10px;
    border: 1px solid rgba(234, 124, 38, .22);
    background: #FFF7ED;
    color: #9A3412;
    padding: 8px 10px;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.4;
}

.delivery-zone-message[hidden],
.payment-method-message[hidden] {
    display: none;
}

.delivery-address-reminder {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.4;
}

.requested-time-select-hidden {
    display: none;
}

.requested-time-empty {
    margin: 8px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--border-warm);
    border-radius: 12px;
    background: #fffbeb;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
}

.form-note {
    color: var(--muted);
    font-size: .875rem;
    margin-top: 2px;
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border-warm);
    line-height: 1.65;
}

.form-note a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

.form-alert,
.submit-hint {
    grid-column: 1 / -1;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: .92rem;
    line-height: 1.5;
}

.form-alert {
    border: 1px solid rgba(234,124,38,.32);
    background: #FFF7ED;
    color: #9A3412;
    box-shadow: 0 8px 22px rgba(154,52,18,.08);
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.form-alert strong {
    display: block;
    color: #7C2D12;
    margin-bottom: 2px;
}

.submit-hint {
    margin: 0;
    border: 1px solid var(--border-warm);
    background: #fffbeb;
    color: var(--muted);
}

.submit-order {
    background: var(--restaurant-button, var(--primary));
    color: #1c1917;
    padding: 15px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    grid-column: 1 / -1;
    transition: all .2s ease;
    letter-spacing: .01em;
}

.submit-order:hover:not(:disabled) {
    background: var(--primary-dark);
    color: white;
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.submit-order:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* Order review modal */

.order-confirm-modal[hidden] {
    display: none;
}

.order-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 9, .64);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.order-confirm-dialog {
    position: relative;
    width: min(480px, 100%);
    max-height: min(680px, 90vh);
    overflow-y: auto;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-warm);
    box-shadow: 0 24px 80px rgba(12, 10, 9, .34);
    padding: 18px;
}

.order-confirm-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-warm);
}

.order-confirm-header small {
    display: block;
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 3px;
    font-size: .68rem;
}

.order-confirm-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.38rem;
    line-height: 1.15;
    color: var(--dark);
}

.order-confirm-items {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.order-confirm-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid var(--border-warm);
    border-radius: 12px;
    background: var(--section-alt);
}

.order-confirm-item:last-child {
    border-bottom: 1px solid var(--border-warm);
}

.order-confirm-item strong,
.order-confirm-item span {
    color: var(--dark);
    font-weight: 800;
}

.order-confirm-item small {
    color: var(--muted);
    font-weight: 600;
    font-size: .78rem;
    display: block;
    margin-top: 2px;
}

.order-confirm-summary {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border-warm);
    border-radius: 12px;
    background: var(--card);
    margin-bottom: 14px;
}

.order-confirm-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-weight: 700;
    font-size: .84rem;
}

.order-confirm-summary dd {
    color: var(--dark);
    font-weight: 800;
    text-align: right;
}

.order-confirm-total dd {
    color: var(--primary-dark);
    font-size: 1.08rem;
}

.order-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.order-confirm-actions button {
    border: none;
    border-radius: 999px;
    min-height: 42px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 800;
    font-size: .86rem;
    transition: all .18s ease;
}

.order-confirm-edit {
    background: var(--section-alt);
    color: var(--dark);
}

.order-confirm-edit:hover {
    background: var(--border);
}

.order-confirm-submit {
    background: var(--restaurant-button, var(--primary));
    color: #1c1917;
}

.order-confirm-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    color: white;
}

.order-confirm-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* Product detail modal */

.product-detail-modal[hidden] {
    display: none;
}

.product-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 980;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-detail-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(12, 10, 9, .56);
    cursor: pointer;
}

.product-detail-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(760px, 90vh);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border-warm);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
}

.product-detail-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(12,10,9,.76);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-detail-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    flex-shrink: 0;
    border-radius: 18px 18px 0 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(234,124,38,.16), transparent 48%),
        var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.product-detail-media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 1px;
    background: rgba(28,25,23,.08);
    pointer-events: none;
}

.product-detail-media > img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: var(--section-alt);
}

.product-detail-media img[hidden],
.product-detail-placeholder[hidden] {
    display: none !important;
}

.product-detail-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(254,215,170,.72), transparent 42%),
        linear-gradient(135deg, #fff7ed, #f5efe6);
    color: #92400e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-detail-placeholder span {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 2.35rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(146,64,14,.10);
}

.product-detail-placeholder small {
    color: var(--muted-light);
    font-size: .82rem;
    font-weight: 700;
}

.product-detail-gallery-button {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(12, 10, 9, .68);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-detail-gallery-button[hidden] {
    display: none !important;
}

.product-detail-gallery-button:hover,
.product-detail-gallery-button:focus-visible {
    background: rgba(12, 10, 9, .86);
}

.product-detail-gallery-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .82);
    outline-offset: 2px;
}

.product-detail-gallery-button--previous {
    left: 14px;
}

.product-detail-gallery-button--next {
    right: 14px;
}

.product-detail-body {
    padding: 22px;
    overflow-y: auto;
    border-top: 1px solid var(--border-warm);
    background: var(--card);
}

.product-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.product-detail-meta span {
    color: var(--primary-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-detail-meta strong {
    color: white;
    background: var(--dark);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .72rem;
}

.product-detail-body h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 8px;
}

.product-detail-body p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

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

.product-detail-option-group {
    border: 1px solid var(--border-warm);
    border-radius: 14px;
    padding: 12px;
    background: rgba(245, 239, 230, .58);
}

.product-detail-option-group legend {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0 2px;
    color: var(--dark);
    font-weight: 800;
    font-size: .9rem;
}

.product-detail-option-group legend small {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.product-detail-option-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.product-detail-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid rgba(216, 212, 205, .88);
    border-radius: 12px;
    background: white;
    color: var(--dark);
    font-size: .9rem;
    font-weight: 700;
}

.product-detail-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.product-detail-option small {
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 800;
}

.product-detail-error {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    font-size: .84rem;
    font-weight: 700;
}

.product-detail-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--primary-light);
    border: 1px solid var(--border-warm);
    font-weight: 800;
}

.product-detail-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-detail-qty-controls button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 999px;
    background: var(--dark);
    color: white;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 900;
}

.product-detail-qty-controls button:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.product-detail-note {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    color: var(--dark);
    font-size: .9rem;
    font-weight: 800;
}

.product-detail-note textarea {
    width: 100%;
    min-height: 86px;
    resize: vertical;
    border: 1px solid var(--border-warm);
    border-radius: 14px;
    padding: 12px 13px;
    color: var(--dark);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
}

.product-detail-note textarea:focus {
    outline: 2px solid rgba(234, 124, 38, .24);
    border-color: var(--primary);
}

.product-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.product-detail-prices {
    display: grid;
    gap: 2px;
}

.product-detail-old-price {
    color: var(--muted-light);
    font-size: .82rem;
    text-decoration: line-through;
    font-weight: 700;
}

#product-detail-price {
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 900;
}

.product-detail-add {
    border: none;
    border-radius: 999px;
    background: var(--restaurant-button, var(--primary));
    color: white;
    cursor: pointer;
    padding: 13px 18px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.product-detail-add:hover {
    background: var(--primary-dark);
}

body.cart-open,
body.product-detail-open,
body.order-confirm-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .cart-drawer {
        display: flex;
        align-items: flex-end;
    }

    .cart-box {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - 12px);
        height: calc(100dvh - 12px);
        border-left: none;
        border-top: 1px solid #f5e6c8;
        border-radius: 18px 18px 0 0;
        padding: 18px 16px 22px;
        box-shadow: 0 -18px 60px rgba(0,0,0,.22);
        transform: translateY(100%);
    }

    .cart-drawer.is-open .cart-box {
        transform: translateY(0);
    }

    .cart-sheet-handle {
        display: block;
        width: 44px;
        height: 4px;
        margin: 0 auto 14px;
        border-radius: 999px;
        background: var(--border);
    }

    .cart-header {
        align-items: flex-start;
        margin-bottom: 16px;
    }
}

/* Footer */

.footer {
    background: var(--dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer strong {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

.footer p {
    color: #a8a29e;
    font-size: .9rem;
}

.footer-credit {
    color: rgba(255,255,255,.46);
    font-size: .78rem;
    font-weight: 500;
}

.footer-credit a {
    color: inherit;
}

.footer-divider {
    width: 36px;
    height: 2px;
    background: var(--primary);
    margin: 14px auto;
    border-radius: 2px;
}

/* Responsive/mobile adjustments */

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-product-list {
        grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    }

    .deals-track {
        grid-auto-columns: calc((100% - 22px) / 2);
    }

    .info-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .info-item + .info-item {
        border-left: none;
        border-top: 1px solid rgba(216, 212, 205, .68);
        padding-left: 0;
        padding-top: 14px;
    }

    .order-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 410px;
        padding: 66px 20px 44px;
    }

    .hero-content {
        padding-bottom: 26px;
    }

    .logo-box {
        width: 66px;
        height: 66px;
        border-radius: 18px;
        margin-bottom: 18px;
    }

    .logo-placeholder {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .hero p {
        font-size: .84rem;
        line-height: 1.5;
    }

    .hero-actions {
        gap: 8px;
        margin-top: 14px;
    }

    .btn {
        padding: 10px 18px;
        font-size: .88rem;
    }

    .info-card {
        border-radius: 18px;
        gap: 9px;
        padding: 16px 18px;
    }

    .info-item {
        padding: 2px 0;
    }

    .info-item + .info-item {
        padding-top: 11px;
    }

    .info-item small {
        font-size: .68rem;
        margin-bottom: 4px;
    }

    .info-item span {
        font-size: .88rem;
        line-height: 1.45;
    }

    .info-action-row {
        align-items: flex-start;
        gap: 7px;
    }

    .info-action-buttons {
        gap: 6px;
    }

    .info-action-button {
        min-height: 32px;
        padding: 7px 10px;
        font-size: .7rem;
    }

    .info-weekly-schedule {
        width: 100%;
        max-width: none;
        gap: 0;
        padding: 6px;
    }

    .info-weekly-row {
        grid-template-columns: minmax(82px, .72fr) minmax(0, 1fr);
        gap: 8px;
        padding: 5px 7px;
    }

    .info-weekly-day,
    .info-weekly-hours {
        font-size: .76rem;
    }

    .info-schedule-status {
        gap: 6px;
    }

    .info-status-badge {
        padding: 4px 8px;
        font-size: .66rem;
    }

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

    .deals-header {
        align-items: flex-start;
    }

    .deals-track {
        grid-auto-columns: clamp(128px, calc((100% - 16px) / 2.35), 176px);
        gap: 8px;
        padding-bottom: 8px;
    }

    .deals-slide .product-card {
        border-radius: 12px;
    }

    .deals-slide .product-image {
        height: 104px;
        aspect-ratio: auto;
    }

    .deals-slide .product-placeholder {
        gap: 4px;
    }

    .deals-slide .product-placeholder div {
        width: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
        font-size: 1.12rem !important;
    }

    .deals-slide .product-placeholder span {
        font-size: .62rem;
        max-width: 72px;
        text-align: center;
    }

    .deals-slide .product-placeholder small {
        display: none;
    }

    .deals-slide .badge {
        top: 7px;
        left: 7px;
        max-width: 78px;
        padding: 4px 7px;
        font-size: .56rem;
        line-height: 1.1;
        white-space: normal;
    }

    .deals-slide .product-content {
        padding: 10px;
    }

    .deals-slide .product-category {
        font-size: .58rem;
        margin-bottom: 2px;
    }

    .deals-slide .product-content h3 {
        font-size: .82rem;
        line-height: 1.2;
        margin-bottom: 3px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .deals-slide .product-desc {
        display: none;
    }

    .deals-slide .price-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: stretch;
        gap: 4px;
        justify-content: flex-start;
        min-height: 58px;
    }

    .deals-slide .price-block {
        grid-row: 1;
        min-width: 0;
        width: 100%;
    }

    .deals-slide .price {
        display: block;
        font-size: .9rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    .deals-slide .old-price {
        display: none;
    }

    .deals-slide .product-cart-control {
        grid-row: 2;
        width: 100%;
        min-width: 0;
        min-height: 28px;
        justify-content: flex-start;
        overflow: visible;
    }

    .deals-slide .add-to-cart {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        margin-left: 0;
        flex: 0 0 28px;
    }

    .deals-slide .card-qty-controls {
        display: inline-flex;
        flex-wrap: nowrap;
        gap: 3px;
        margin-left: 0;
        padding: 2px 4px;
        width: max-content;
        max-width: 100%;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .deals-slide .add-to-cart[hidden],
    .deals-slide .card-qty-controls[hidden] {
        display: none;
    }

    .deals-slide .card-qty-btn {
        width: 24px;
        height: 24px;
        font-size: .9rem;
        flex: 0 0 24px;
    }

    .deals-slide .card-qty-controls strong {
        min-width: 12px;
        font-size: .74rem;
        flex: 0 0 auto;
    }

    .deals-nav-btn {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(24,24,27,.10);
        background: rgba(255,255,255,.94);
        color: var(--dark);
        box-shadow: 0 8px 24px rgba(0,0,0,.16);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: background .16s ease, border-color .16s ease, color .16s ease;
    }

    .deals-nav-btn:hover {
        background: var(--dark);
        border-color: var(--dark);
        color: white;
        transform: translateY(-50%);
    }

    .deals-nav-btn--prev {
        left: 2px;
    }

    .deals-nav-btn--next {
        right: 2px;
    }

    .section {
        padding: 28px 0;
    }

    .deals-section,
    .featured-section {
        padding: 12px 0 10px;
    }

    .info-strip + .deals-section {
        padding-top: 8px;
    }

    #menu.section {
        padding-top: 10px;
    }

    .section-label {
        margin-bottom: 5px;
    }

    .section-header {
        margin-bottom: 6px;
        gap: 10px;
    }

    .section-header h2 {
        margin-bottom: 3px;
    }

    .menu-header {
        margin-bottom: 6px;
    }

    .category-block {
        margin-bottom: 10px;
    }

    .category-title {
        margin-bottom: 3px;
        padding-bottom: 4px;
    }

    .info-strip {
        margin-top: -12px;
    }

    .product-image {
        height: 220px;
    }

    .menu-product-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .product-card--compact {
        min-height: 82px;
        border-radius: 12px;
    }

    .product-card--compact .product-image {
        width: 82px;
        height: auto;
        min-height: 82px;
        flex-basis: 82px;
    }

    .product-card--compact .product-content {
        padding: 8px 8px 8px 10px;
    }

    .product-card--compact .product-placeholder {
        gap: 3px;
    }

    .product-card--compact .product-placeholder div {
        width: 34px !important;
        height: 34px !important;
        border-radius: 11px !important;
        font-size: 1rem !important;
    }

    .product-card--compact .product-placeholder span {
        font-size: .62rem;
        max-width: 68px;
    }

    .product-card--compact .product-category {
        font-size: .58rem;
        margin-bottom: 2px;
    }

    .product-card--compact .product-content h3 {
        font-size: .82rem;
        margin-bottom: 2px;
    }

    .product-card--compact .product-desc {
        display: -webkit-box;
        font-size: .68rem;
        line-height: 1.25;
        margin-bottom: 4px;
        -webkit-line-clamp: 1;
    }

    .product-card--compact .badge {
        top: 6px;
        left: 6px;
        max-width: 68px;
        padding: 3px 6px;
        font-size: .55rem;
    }

    .product-card--compact .price {
        font-size: .86rem;
    }

    .product-card--compact .old-price {
        font-size: .58rem;
    }

    .product-card--compact .add-to-cart {
        width: 28px;
        height: 28px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .order-form {
        grid-template-columns: 1fr;
    }

    .cart-box {
        padding: 20px 16px;
    }

    .order-confirm-dialog {
        padding: 16px;
        border-radius: 18px;
    }

    .order-confirm-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-detail-modal {
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .product-detail-dialog {
        width: min(420px, 100%);
        max-height: 86vh;
        border-radius: 22px;
    }

    .product-detail-media {
        min-height: 0;
        border-radius: 22px 22px 0 0;
    }

    .product-detail-placeholder span {
        width: 76px;
        height: 76px;
        border-radius: 24px;
        font-size: 2.05rem;
    }

    .product-detail-placeholder small {
        font-size: 16px;
    }

    .product-detail-body {
        padding: 18px 16px 20px;
    }

    .product-detail-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-detail-add {
        width: 100%;
    }
}

/* Small state helpers used by the checkout form */

.post-order-notice-hidden {
    display: none;
}

/* TiloPay hosted payment modal */
.tilopay-payment-modal[hidden] {
    display: none;
}

.tilopay-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.tilopay-payment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 9, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tilopay-payment-dialog {
    position: relative;
    width: min(920px, 100%);
    height: min(860px, calc(100vh - 24px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
    padding: 14px;
}

.tilopay-payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tilopay-payment-header h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.2;
}

.tilopay-payment-close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.tilopay-payment-close:hover {
    border-color: var(--primary);
    background: rgba(234, 124, 38, .08);
}

.tilopay-payment-close:active {
    transform: scale(.97);
}

.tilopay-payment-frame-wrap {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--border-warm);
    border-radius: 16px;
    /* A warm, intentional panel so a blank/blocked local iframe still reads as a
       deliberate payment surface rather than a broken area. */
    background:
        radial-gradient(ellipse at 50% 0%, rgba(234,124,38,.06), transparent 70%),
        #FAF8F4;
    box-shadow: inset 0 1px 3px rgba(12,10,9,.06);
}

.tilopay-payment-frame-wrap[hidden],
.tilopay-payment-result[hidden],
.tilopay-payment-loading[hidden],
.tilopay-payment-retry[hidden] {
    display: none;
}

.tilopay-payment-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    place-items: center;
    padding: 28px;
    background:
        linear-gradient(90deg, rgba(250, 248, 244, .72), rgba(255, 255, 255, .94), rgba(250, 248, 244, .72)),
        repeating-linear-gradient(90deg, rgba(200, 196, 188, .18) 0 1px, transparent 1px 34px),
        #FAF8F4;
    box-shadow: inset 0 1px 3px rgba(12, 10, 9, .06);
    pointer-events: none;
    text-align: center;
}

.tilopay-payment-loading span {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(234, 124, 38, .22);
    border-top-color: var(--primary-dark);
    border-radius: 999px;
    animation: tilopay-loading-spin .7s linear infinite;
}

.tilopay-payment-loading strong {
    margin-top: 6px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 800;
}

.tilopay-payment-loading small {
    max-width: 300px;
    color: var(--text-body);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.45;
}

@keyframes tilopay-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

#tilopay-payment-frame {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    border: 0;
    background: #fff;
}

.tilopay-payment-result {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(200, 196, 188, .8);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f8f7f4 100%);
    padding: 24px;
    text-align: center;
}

.tilopay-payment-result-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(234, 124, 38, .12);
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 800;
}

.tilopay-payment-result h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.25rem;
}

.tilopay-payment-result p {
    max-width: 560px;
    margin: 0;
    color: var(--text-body);
    line-height: 1.55;
}

.tilopay-payment-retry {
    min-width: 210px;
    min-height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--restaurant-button, var(--primary));
    color: #1c1917;
    padding: 11px 20px;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
}

.tilopay-payment-retry:hover {
    background: var(--primary-dark);
    color: #fff;
}

.tilopay-payment-actions {
    width: min(100%, 560px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.tilopay-payment-secondary {
    min-height: 44px;
    border: 1px solid rgba(200, 196, 188, .9);
    border-radius: 999px;
    background: #fff;
    color: var(--dark);
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.tilopay-payment-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.tilopay-payment-secondary[hidden] {
    display: none;
}

body.tilopay-payment-open {
    overflow: hidden;
}

body.tilopay-payment-open .mobile-cart-cta,
body.tilopay-payment-open .desktop-cart-cta,
body.tilopay-payment-open .back-to-top {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 760px) {
    .tilopay-payment-modal {
        width: 100%;
        height: 100dvh;
        padding: 0;
        overflow: hidden;
    }

    .tilopay-payment-dialog {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 100dvh;
        max-height: none;
        box-sizing: border-box;
        border: 0;
        border-radius: 0;
        padding:
            max(8px, env(safe-area-inset-top))
            max(8px, env(safe-area-inset-right))
            max(8px, env(safe-area-inset-bottom))
            max(8px, env(safe-area-inset-left));
        grid-template-rows: auto minmax(0, 1fr);
        gap: 8px;
        overflow: hidden;
    }

    .tilopay-payment-header {
        min-height: 42px;
    }

    .tilopay-payment-header h2 {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .tilopay-payment-close {
        width: 42px;
        height: 42px;
    }

    .tilopay-payment-frame-wrap {
        min-width: 0;
        min-height: 0;
        border-radius: 12px;
    }

    #tilopay-payment-frame {
        min-width: 0;
        min-height: 0;
    }

    .tilopay-payment-result {
        min-width: 0;
        min-height: 0;
        border-radius: 12px;
        padding: 20px 16px;
    }

    .tilopay-payment-retry {
        width: 100%;
        min-height: 52px;
    }

    .tilopay-payment-actions {
        flex-direction: column;
    }

    .tilopay-payment-secondary {
        width: 100%;
    }
}

.payment-reference-hidden {
    display: none;
}

.group-order-hidden {
    display: none;
}

.party-size-hidden {
    display: none;
}

.delivery-address-hidden {
    display: none;
}

.delivery-branch-hidden {
    display: none;
}

.delivery-zone-hidden {
    display: none;
}

.delivery-notes-hidden {
    display: none;
}

.delivery-location-hidden {
    display: none;
}

.delivery-reference-hidden {
    display: none;
}

.location-button {
    width: 100%;
    min-height: 42px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--dark);
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .18s, background .18s, color .18s;
}

.location-button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.location-button:disabled {
    cursor: wait;
    opacity: .7;
}

.location-status {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.45;
}

.location-status.is-success {
    color: var(--success);
}

.location-status.is-warning {
    color: var(--primary-dark);
}

.delivery-map {
    width: 100%;
    height: 230px;
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fafc;
    overflow: hidden;
}

.delivery-map-helper {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.4;
}

.delivery-map-helper--subtle {
    margin-top: 3px;
    font-weight: 500;
}

.discount-code-controls {
    display: flex;
    gap: 8px;
}

.discount-code-controls input {
    min-width: 0;
}

.discount-code-controls button,
.discount-code-remove {
    border: 1px solid var(--primary);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    padding: 8px 13px;
    font-weight: 700;
    cursor: pointer;
}

.discount-code-message {
    margin: 7px 0 0;
    color: var(--text-body);
    font-size: .82rem;
}

.discount-code-remove {
    margin-top: 7px;
}

.delivery-quote {
    display: grid;
    gap: 3px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(22, 163, 74, .24);
    border-radius: 12px;
    background: #f0fdf4;
    color: #166534;
    font-size: .82rem;
    line-height: 1.4;
}

.delivery-quote[hidden] {
    display: none;
}

.delivery-quote strong {
    font-size: .88rem;
}

.delivery-automatic-unavailable {
    margin: 8px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(234, 124, 38, .22);
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
}

.delivery-automatic-unavailable[hidden] {
    display: none;
}

.location-status.is-loading {
    color: var(--dark-soft);
}

.group-order-copy {
    display: grid;
    gap: 2px;
}

@media (max-width: 340px) {
    .hero {
        min-height: 440px;
        padding-top: 104px;
    }
}

/* Sticky mobile search/cart bar */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  background: var(--surface-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  transform: translateY(-100%);
  transition: transform .25s ease;
}

.site-nav.is-visible {
  transform: translateY(0);
}

.site-nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 800;
  color: #FAFAF9;
  text-decoration: none;
  white-space: nowrap;
  justify-self: start;
  cursor: pointer;
  transition: color .16s ease;
}

.site-nav-logo:hover {
  color: var(--primary);
}

.site-nav-search {
  width: 100%;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(255,255,255,0.55);
}

.site-nav-search svg {
  flex-shrink: 0;
}

.site-nav-search input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #FAFAF9;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
}

.site-nav-search input::placeholder {
  color: rgba(255,255,255,0.45);
}

.site-nav-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.site-nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.back-to-top {
  display: none;
}

.mobile-cart-cta {
  display: none;
}

.desktop-cart-cta {
  display: none;
}

.checkout-error-banner {
  position: fixed;
  top: calc(66px + env(safe-area-inset-top));
  left: 50%;
  z-index: 860;
  width: min(720px, calc(100vw - 32px));
  box-sizing: border-box;
  transform: translateX(-50%);
}

body.cart-open .checkout-error-banner,
body.order-confirm-open .checkout-error-banner {
  display: none;
}

.checkout-error-banner__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(234,124,38,.36);
  border-radius: 18px;
  background: rgba(255,247,237,.98);
  color: #9A3412;
  box-shadow: 0 18px 48px rgba(28,25,23,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.checkout-error-banner__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #FFEDD5;
  color: #C2410C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-error-banner__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.checkout-error-banner__copy strong {
  color: #7C2D12;
  font-size: .95rem;
  line-height: 1.25;
}

.checkout-error-banner__copy span {
  color: #9A3412;
  font-size: .88rem;
  line-height: 1.4;
}

.checkout-error-banner__action {
  flex-shrink: 0;
  min-height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--restaurant-button, var(--primary));
  color: #1c1917;
  padding: 9px 15px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.checkout-error-banner__action:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
}

@media (min-width: 761px) {
  body.has-cart-items {
    padding-bottom: 104px;
  }

  .desktop-cart-cta {
    position: fixed;
    right: 28px;
    bottom: 24px;
    z-index: 190;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: var(--primary);
    color: #1c1917;
    box-shadow: 0 14px 40px rgba(12,10,9,.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 18px 10px 20px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .desktop-cart-cta:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 16px 46px rgba(12,10,9,.24);
  }

  .desktop-cart-cta span {
    font-size: .88rem;
    font-weight: 800;
  }

  .desktop-cart-cta strong {
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap;
  }

  body.has-cart-items .desktop-cart-cta:not([hidden]) {
    opacity: .96;
    pointer-events: auto;
    transform: translateY(0);
  }

  .desktop-cart-cta:active {
    transform: translateY(1px) scale(.99);
  }

  body.has-cart-items.cart-open .desktop-cart-cta,
  body.has-cart-items.order-confirm-open .desktop-cart-cta,
  body.has-cart-items.product-detail-open .desktop-cart-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }
}

@media (max-width: 760px) {
  body.has-cart-items {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .site-nav {
    top: var(--foodflow-visual-viewport-top, 0);
    height: 54px;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 12px;
    padding: 0 12px;
    background: rgba(24,24,27,0.96);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    transform: translateY(0);
  }

  body.search-active .site-nav {
    z-index: 960;
    transform: translateY(0);
  }

  body.cart-open .site-nav,
  body.order-confirm-open .site-nav {
    transform: translateY(-100%);
  }

  #menu,
  .category-block {
    scroll-margin-top: 66px;
  }

  .site-nav-logo {
    display: none;
  }

  .site-nav-search {
    width: auto;
    min-width: 0;
    justify-self: stretch;
    height: 38px;
    padding: 0 12px;
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.14);
  }

  body.search-active .site-nav-search {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.24);
    box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.16);
  }

  .site-nav-search input {
    font-size: 16px;
  }

  .site-nav-right {
    min-width: 42px;
    justify-self: end;
  }

  .site-nav-cart {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .site-nav-cart span {
    display: none;
  }

  .back-to-top {
    position: fixed;
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 180;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(24,24,27,.58);
    color: rgba(255,255,255,.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .back-to-top.is-visible {
    opacity: .72;
    pointer-events: auto;
    transform: translateY(0);
  }

  .back-to-top:active {
    background: rgba(24,24,27,.78);
    opacity: .9;
  }

  body.cart-open .back-to-top,
  body.order-confirm-open .back-to-top,
  body.product-detail-open .back-to-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

  body.has-cart-items .back-to-top {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .mobile-cart-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 190;
    min-height: 50px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: var(--primary);
    color: #1c1917;
    box-shadow: 0 12px 36px rgba(12,10,9,.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
  }

  .mobile-cart-cta span {
    font-size: .86rem;
    font-weight: 800;
  }

  .mobile-cart-cta strong {
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
  }

  body.has-cart-items .mobile-cart-cta:not([hidden]) {
    opacity: .96;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cart-cta:active {
    transform: translateY(1px) scale(.99);
  }

  body.has-cart-items.cart-open .mobile-cart-cta,
  body.has-cart-items.order-confirm-open .mobile-cart-cta,
  body.has-cart-items.product-detail-open .mobile-cart-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }
}

@media (max-width: 480px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 0 8px;
  }

  .site-nav-search {
    height: 36px;
    padding: 0 10px;
  }

  .site-nav-right {
    min-width: 40px;
  }

  .site-nav-cart {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .site-nav-cart span {
    display: none;
  }
}

@media (max-width: 340px) {
  .site-nav {
    height: auto;
    min-height: 86px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "search search"
      ". actions";
    align-content: center;
    row-gap: 6px;
    column-gap: 8px;
    padding: 8px;
  }

  .site-nav-search {
    grid-area: search;
    width: 100%;
    justify-self: stretch;
  }

  .site-nav-right {
    grid-area: actions;
    min-width: 38px;
  }

  .site-nav-cart {
    width: 38px;
    height: 38px;
  }

  #menu,
  .category-block {
    scroll-margin-top: 98px;
  }
}

/* Mobile checkout sheet polish */

@media (max-width: 760px) {
    .checkout-error-banner {
        top: calc(62px + env(safe-area-inset-top));
        width: calc(100vw - 24px);
    }

    .checkout-error-banner__inner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .checkout-error-banner__icon {
        width: 32px;
        height: 32px;
    }

    .checkout-error-banner__copy strong {
        font-size: 16px;
    }

    .checkout-error-banner__copy span {
        font-size: 15px;
    }

    .checkout-error-banner__action {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
        justify-content: center;
        font-size: 16px;
    }

    .cart-box {
        height: calc(100vh - 14px);
        height: calc(100dvh - 14px);
        padding: 10px 12px calc(16px + env(safe-area-inset-bottom));
        background: #fffdf9;
        border-radius: 16px 16px 0 0;
        scroll-padding-bottom: 80px;
    }

    .cart-sheet-handle {
        width: 38px;
        height: 4px;
        margin-bottom: 8px;
        background: var(--border-warm);
    }

    .cart-header {
        gap: 12px;
        margin-bottom: 8px;
        padding-bottom: 8px;
        background: #fffdf9;
    }

    .cart-kicker {
        margin-bottom: 1px;
        font-size: .62rem;
        letter-spacing: .08em;
    }

    .cart-header h3 {
        font-size: 1.2rem;
        margin-bottom: 2px;
        line-height: 1.15;
    }

    .cart-header p {
        max-width: 260px;
        font-size: .74rem;
        line-height: 1.35;
    }

    .cart-close {
        width: 40px;
        height: 40px;
    }

    .cart-empty {
        margin-bottom: 10px;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: .84rem;
    }

    .cart-items {
        gap: 7px;
        margin-bottom: 10px;
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 10px;
        padding: 9px 10px;
        border-radius: 12px;
        box-shadow: 0 1px 0 rgba(12,10,9,.03);
    }

    .cart-item strong {
        font-size: .86rem;
        line-height: 1.25;
    }

    .cart-item small {
        font-size: .74rem;
        line-height: 1.25;
    }

    .cart-item .qty-controls {
        justify-self: end;
        gap: 5px;
        padding: 2px 4px;
        border-radius: 999px;
        background: var(--primary-light);
    }

    .cart-item .qty-btn {
        width: 28px;
        height: 28px;
        font-size: .9rem;
        background: var(--dark);
    }

    .cart-item .qty-controls strong {
        min-width: 16px;
        text-align: center;
        font-size: .82rem;
        font-weight: 800;
        color: var(--dark);
    }

    .cart-item .remove-btn {
        grid-column: 1 / -1;
        justify-self: end;
        padding: 4px 8px;
        font-size: .76rem;
        background: transparent;
        color: var(--danger);
    }

    .cart-total {
        position: sticky;
        top: 56px;
        z-index: 1;
        justify-content: space-between;
        margin: 6px 0 12px;
        padding: 8px 0;
        background: #fffdf9;
        border-bottom: 1px solid var(--border-warm);
        font-size: .94rem;
    }

    .cart-total span {
        font-size: 1.18rem;
    }

    .order-form {
        gap: 6px;
    }

    .form-group {
        margin-bottom: 7px;
    }

    .form-group label {
        margin-bottom: 4px;
        font-size: .68rem;
        letter-spacing: .06em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 40px;
        padding: 10px 12px;
        border-radius: 10px;
        border-width: 1px;
        background: #f4f1eb;
        font-size: 16px;
    }

    .form-note {
        padding: 9px 11px;
        border-radius: 10px;
        font-size: .74rem;
        line-height: 1.45;
    }

    .submit-hint,
    .form-alert {
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .form-alert ul {
        margin-top: 6px;
        padding-left: 18px;
    }

    .cart-limit-alert {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .cart-limit-alert strong {
        font-size: 15px;
    }

    .cart-limit-alert a {
        min-height: 38px;
        padding: 8px 13px;
        font-size: 15px;
    }

    .submit-order {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 16px;
        margin-top: 2px;
    }

    .location-button,
    .order-confirm-actions button {
        font-size: 16px;
    }
}
