:root {
    --tomato: #111111;
    --tomato-dark: #a87325;
    --cream: #f7f5ef;
    --paper: #ffffff;
    --charcoal: #080808;
    --muted: #6c6760;
    --gold: #b9822a;
    --gold-soft: #f4ebdc;
    --green: #1f6b45;
    --orange: #b9822a;
    --danger: #9d2018;
    --line: #ded6c8;
    --shadow: 0 16px 42px rgba(8, 8, 8, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

a {
    color: var(--tomato-dark);
    font-weight: 800;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 246, 227, 0.96);
    border-bottom: 2px solid var(--charcoal);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 950;
    font-size: 1rem;
}

.brand img {
    width: 40px;
    height: 40px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    object-fit: cover;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}

.header-nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.85rem;
    white-space: nowrap;
}

.page-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 18px 14px 42px;
}

.admin-shell {
    width: min(100%, 1180px);
}

.narrow {
    max-width: 680px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 34px 0 28px;
}

.hero::after {
    display: none;
}

.hero h1,
.panel h1,
.kitchen-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 12vw, 4.5rem);
    line-height: 0.95;
    font-weight: 950;
}

.panel h1,
.kitchen-hero h1 {
    font-size: clamp(1.9rem, 8vw, 3.4rem);
}

.hero h2,
.panel h2 {
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.lead {
    max-width: 620px;
    color: #332b25;
    font-size: 1.1rem;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--tomato-dark);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.eyebrow.success {
    color: var(--green);
}

.eyebrow.danger {
    color: var(--danger);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--paper);
    color: var(--charcoal);
    box-shadow: 3px 3px 0 var(--charcoal);
    font: inherit;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--tomato);
    color: #fff;
}

.button.secondary {
    background: var(--gold);
}

.button.danger {
    background: var(--danger);
    color: #fff;
}

.button.disabled,
.button:disabled {
    cursor: not-allowed;
    color: #6e6760;
    background: #e4d8c4;
    box-shadow: none;
}

.button.small {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.button.full {
    width: 100%;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.quick-facts span,
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--paper);
    font-weight: 850;
}

.panel {
    margin: 14px 0;
    padding: 18px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.muted {
    color: var(--muted);
}

.flash {
    margin: 12px 0;
    padding: 12px 14px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--gold);
    font-weight: 800;
}

.flash.error {
    background: #f7cac2;
}

.flash.success {
    background: #caead5;
}

.progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.progress li {
    padding: 8px 6px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--paper);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 950;
}

.progress li.active {
    background: var(--gold);
}

.day-grid,
.slot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.choice-card,
.slot-button {
    width: 100%;
    display: flex;
    min-height: 82px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 14px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
    color: var(--charcoal);
    text-align: left;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--charcoal);
}

.choice-card.selected,
.slot-button:focus {
    background: var(--gold);
}

.choice-card.disabled,
.slot-button.sold-out {
    opacity: 0.55;
    box-shadow: none;
}

.slot-form {
    margin: 0;
}

.collection-summary h1 {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
}

.menu-layout,
.account-grid,
.dashboard-grid,
.kitchen-order {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.menu-list {
    display: grid;
    gap: 12px;
}

.pizza-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--paper);
}

.pizza-card h2 {
    margin: 0 0 6px;
}

.pizza-art {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--gold);
    font-size: 1.8rem;
}

.add-form,
.stack-form,
.grid-form {
    display: grid;
    gap: 12px;
}

label span,
legend {
    display: block;
    margin-bottom: 6px;
    font-size: 0.86rem;
    font-weight: 900;
}

input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
    color: var(--charcoal);
    font: inherit;
}

textarea {
    resize: vertical;
}

.quantity-control {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 8px;
}

.quantity-control span {
    margin: 0;
}

.toppings-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 12px;
    border: 2px dashed var(--charcoal);
    border-radius: 8px;
}

.toppings-box.compact {
    margin-top: 8px;
    padding: 8px;
}

.check-pill {
    display: inline-flex;
}

.check-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-pill span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 10px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
}

.check-pill input:checked + span {
    background: var(--gold);
}

.mini-details {
    margin-top: 8px;
}

.mini-details summary {
    cursor: pointer;
    color: var(--tomato-dark);
    font-weight: 900;
}

.cart-panel {
    position: sticky;
    bottom: 0;
    padding: 14px;
    border: 2px solid var(--charcoal);
    border-radius: 8px 8px 0 0;
    background: var(--cream);
    box-shadow: 0 -8px 24px rgba(31, 28, 24, 0.16);
}

.cart-line {
    display: grid;
    grid-template-columns: 1fr 76px auto;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line small,
.table-wrap small {
    display: block;
    color: var(--muted);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 1.1rem;
}

.cart-dips {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-dips small {
    display: block;
    color: var(--muted);
}

.sticky-cta {
    width: 100%;
}

.hold-banner {
    position: sticky;
    top: 62px;
    z-index: 15;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--gold);
    font-weight: 900;
}

.hold-banner.expired {
    background: #f7cac2;
}

.review-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.review-list dt {
    color: var(--muted);
    font-weight: 900;
}

.review-list dd {
    margin: 0 0 10px;
}

.status-card {
    margin: 14px 0;
    padding: 14px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
}

.status-card.warning,
.badge.warning {
    background: #ffe0a6;
}

.status-card.success,
.badge.success {
    background: #cdeed6;
}

.status-card.danger,
.badge.danger {
    background: #f6c6bf;
}

.empty-state {
    padding: 18px;
    border: 2px dashed var(--charcoal);
    border-radius: 8px;
    background: #fff8ea;
}

.section-head,
.kitchen-hero,
.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.kitchen-hero {
    margin-bottom: 14px;
    padding: 18px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: var(--gold);
    box-shadow: var(--shadow);
}

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

.stat-grid div {
    padding: 12px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
}

.stat-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.stat-grid strong {
    font-size: 2rem;
}

.order-list {
    display: grid;
    gap: 8px;
}

.order-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
    color: var(--charcoal);
    text-decoration: none;
}

.new-order,
.table-warning {
    background: #fff0bc;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--tomato-dark);
    font-size: 0.82rem;
    text-transform: uppercase;
}

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

.grid-form .full {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row input {
    width: 22px;
    min-height: 22px;
}

.checkbox-row span {
    margin: 0;
}

.danger-form,
.inline-delete {
    margin-top: 12px;
}

.slot-admin-list {
    display: grid;
    gap: 8px;
}

.slot-admin-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 8px;
}

.inline-form {
    display: inline;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0 12px;
}

.filter-tabs a {
    padding: 8px 10px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff;
    color: var(--charcoal);
    text-decoration: none;
    white-space: nowrap;
}

.filter-tabs a.active {
    background: var(--gold);
}

.live-orders-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 12px;
    padding: 12px;
    border: 2px solid var(--charcoal);
    border-radius: 8px;
    background: #fff8df;
}

.live-waiting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-waiting small {
    display: block;
    color: var(--muted);
}

.live-spinner {
    width: 26px;
    height: 26px;
    border: 4px solid #f4d58c;
    border-top-color: var(--tomato);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.live-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 12px;
    padding: 14px;
    border: 3px solid var(--charcoal);
    border-radius: 8px;
    background: var(--tomato);
    color: #fff;
    box-shadow: 4px 4px 0 var(--charcoal);
    font-size: 1.05rem;
}

.live-alert strong {
    font-size: 1.25rem;
}

.new-order-arrived {
    animation: orderPulse 1s ease-in-out 8;
}

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

@keyframes orderPulse {
    0%,
    100% {
        outline: 0 solid rgba(201, 39, 30, 0);
    }
    50% {
        outline: 5px solid rgba(201, 39, 30, 0.6);
    }
}

.big-time {
    font-size: 1.3rem;
    font-weight: 950;
}

.order-item {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.timeline {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.timeline li {
    padding-left: 4px;
}

.timeline span,
.timeline small {
    display: block;
    color: var(--muted);
}

.site-footer {
    display: grid;
    gap: 4px;
    padding: 24px 14px;
    border-top: 2px solid var(--charcoal);
    background: var(--charcoal);
    color: var(--cream);
    text-align: center;
}

code {
    padding: 2px 4px;
    border-radius: 4px;
    background: #f2e3c7;
}

@media (min-width: 680px) {
    .page-shell {
        padding: 28px 22px 58px;
    }

    .hero {
        min-height: 620px;
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
        align-items: center;
        column-gap: 36px;
    }

    .hero::after {
        grid-row: 1 / span 4;
        grid-column: 2;
        width: 100%;
    }

    .quick-facts,
    .day-grid,
    .slot-grid,
    .dashboard-grid,
    .account-grid,
    .public-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-menu-extras {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

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

    .pizza-card {
        grid-template-columns: 70px 1fr;
    }

    .pizza-card form {
        grid-column: 1 / -1;
    }

    .order-row {
        grid-template-columns: 70px 1fr 110px 150px;
    }

    .slot-admin-row {
        grid-template-columns: 160px 120px 150px 1fr auto;
        align-items: end;
    }
}

@media (min-width: 960px) {
    .menu-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
    }

    .dips-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        align-items: start;
    }

    .dip-summary {
        position: sticky;
        top: 86px;
    }

    .cart-panel {
        top: 86px;
        bottom: auto;
        border-radius: 8px;
    }

    .kitchen-order {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        align-items: start;
    }
}

/* Pizza King brand refresh */
body {
    background:
        linear-gradient(180deg, rgba(185, 130, 42, 0.08), rgba(255, 255, 255, 0) 340px),
        var(--cream);
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.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;
}

a {
    color: var(--tomato-dark);
}

.site-header {
    min-height: 74px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(8, 8, 8, 0.05);
}

.brand {
    min-width: 116px;
    gap: 10px;
    color: var(--charcoal);
    letter-spacing: 0;
}

.brand img,
.brand-logo {
    width: 124px;
    height: auto;
    max-height: 58px;
    border: 0;
    border-radius: 0;
    object-fit: contain;
}

.admin-brand span {
    padding: 6px 9px;
    border-left: 1px solid var(--line);
    color: var(--gold);
    font-size: 0.88rem;
    text-transform: uppercase;
}

.header-nav {
    gap: 4px;
}

.header-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 7px 9px;
    border-radius: 999px;
    color: var(--charcoal);
    font-size: 0.84rem;
    font-weight: 900;
}

.header-nav a:hover,
.header-nav a:focus {
    background: var(--gold-soft);
}

.page-shell {
    padding-top: 18px;
}

.hero {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0 18px;
}

.hero::after {
    display: none;
}

.hero-brand {
    display: grid;
    place-items: center;
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.hero-brand img {
    width: min(100%, 340px);
    height: auto;
}

.hero-copy {
    display: grid;
    gap: 16px;
    align-content: center;
}

.hero h1,
.panel h1,
.kitchen-hero h1 {
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 10vw, 4rem);
    line-height: 1.02;
    font-weight: 700;
}

.panel h1,
.kitchen-hero h1 {
    font-size: clamp(1.75rem, 7vw, 3rem);
}

.lead {
    margin: 0;
    color: #3d3934;
    font-size: 1.08rem;
}

.shop-status,
.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.shop-status {
    width: fit-content;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid var(--charcoal);
    border-radius: 999px;
    background: #fff;
}

.shop-status.open {
    color: var(--green);
}

.shop-status.closed {
    color: var(--danger);
}

.button {
    border: 1px solid var(--charcoal);
    border-radius: 999px;
    box-shadow: none;
    text-transform: uppercase;
}

.button.primary {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
}

.button.primary:hover,
.button.primary:focus {
    background: var(--gold);
    color: var(--charcoal);
}

.button.secondary,
.progress li.active,
.choice-card.selected,
.slot-button:focus,
.check-pill input:checked + span,
.hold-banner,
.filter-tabs a.active {
    background: var(--gold-soft);
}

.button.secondary {
    color: var(--charcoal);
    border-color: var(--gold);
}

.quick-facts {
    align-self: start;
}

.quick-facts span,
.badge {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.panel,
.pizza-card,
.cart-panel,
.choice-card,
.slot-button,
.status-card,
.empty-state,
.kitchen-hero,
.live-orders-bar {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel,
.pizza-card,
.status-card,
.empty-state {
    background: rgba(255, 255, 255, 0.94);
}

.choice-card,
.slot-button {
    box-shadow: none;
}

.choice-card:hover,
.slot-button:not(:disabled):hover,
.pizza-card:hover {
    border-color: var(--gold);
}

.progress li {
    border: 1px solid var(--line);
    border-radius: 999px;
}

.pizza-card {
    position: relative;
    overflow: hidden;
}

.pizza-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--charcoal), var(--gold), var(--charcoal));
}

.pizza-art {
    width: 58px;
    height: 58px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: #fff;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 700;
}

input,
textarea,
select,
.check-pill span {
    border: 1px solid var(--line);
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(185, 130, 42, 0.22);
    border-color: var(--gold);
}

.toppings-box {
    border: 1px dashed var(--gold);
    background: #fbf8f1;
}

.mini-details summary {
    color: var(--gold);
}

.cart-panel {
    background: rgba(255, 255, 255, 0.98);
}

.hold-banner {
    border: 1px solid var(--gold);
    color: var(--charcoal);
}

.status-card.warning,
.badge.warning {
    background: #f8edd7;
}

.status-card.success,
.badge.success {
    background: #e1f1e7;
}

.status-card.danger,
.badge.danger,
.flash.error,
.hold-banner.expired {
    background: #f6dedb;
}

.flash {
    border: 1px solid var(--line);
    background: var(--gold-soft);
}

.kitchen-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 235, 220, 0.96)),
        var(--gold-soft);
}

.stat-grid div,
.order-row,
.filter-tabs a,
.slot-admin-row {
    border: 1px solid var(--line);
    background: #fff;
}

.new-order,
.table-warning {
    background: #fbf0d9;
}

th {
    color: var(--gold);
}

.live-spinner {
    border-color: #ead7b7;
    border-top-color: var(--gold);
}

.live-alert {
    border: 1px solid var(--gold);
    background: var(--charcoal);
    color: #fff;
    box-shadow: none;
}

.row-actions {
    justify-content: flex-start;
    gap: 8px;
}

.danger-panel {
    border-color: rgba(157, 32, 24, 0.35);
    background: #fff8f6;
}

@keyframes orderPulse {
    0%,
    100% {
        outline: 0 solid rgba(185, 130, 42, 0);
    }
    50% {
        outline: 5px solid rgba(185, 130, 42, 0.55);
    }
}

.site-footer {
    border-top: 4px solid var(--gold);
    background: #080808;
    color: #fff;
}

.setup-logo {
    width: min(100%, 280px);
    margin: 0 auto 18px;
}

@media (min-width: 680px) {
    .brand img,
    .brand-logo {
        width: 156px;
        max-height: 64px;
    }

    .hero {
        min-height: min(620px, calc(100vh - 80px));
        grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        column-gap: 34px;
    }

    .hero-brand {
        min-height: 360px;
    }

    .hero-brand img {
        width: min(100%, 390px);
    }

    .hero-copy {
        grid-column: 2;
        grid-row: 1;
    }

    .quick-facts {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-nav {
        width: 100%;
        justify-content: space-between;
    }

    .brand img,
    .brand-logo {
        width: 138px;
        max-height: 58px;
    }
}

.pizza-subtitle {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customise-summary,
.review-list small,
.order-item small {
    display: block;
    color: var(--muted);
}

.option-panel {
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.option-panel.compact {
    margin-top: 10px;
    padding: 10px;
}

.option-panel.toppings-box {
    border-color: var(--gold);
    background: #fbf8f1;
}

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

.check-pill {
    position: relative;
}

.check-pill span {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.check-pill span small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.check-pill input:checked + span small {
    color: var(--charcoal);
}

.cart-line {
    align-items: start;
}

.cart-line input[type="number"] {
    min-height: 40px;
}

.catalog-admin-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.catalog-admin-item {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.catalog-admin-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.catalog-admin-form.compact {
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .catalog-admin-form {
        grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.3fr) 88px repeat(2, minmax(112px, auto)) auto;
        align-items: end;
    }

    .catalog-admin-form.compact {
        grid-template-columns: minmax(160px, 1fr) minmax(200px, 1.4fr) 116px 88px minmax(96px, auto) auto;
    }
}

.menu-card-actions {
    display: grid;
    grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.base-choice {
    display: grid;
    gap: 5px;
}

.base-choice span {
    margin: 0;
}

.base-choice small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.simple-menu .pizza-card {
    align-items: start;
}

.create-your-own-panel {
    margin-top: 2px;
}

.dips-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.dips-panel .lead {
    margin-bottom: 16px;
}

.dip-upsell-form {
    display: grid;
    gap: 16px;
}

.upsell-section {
    display: grid;
    gap: 10px;
}

.upsell-section + .upsell-section {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.upsell-section h2 {
    margin: 0;
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.dip-grid {
    display: grid;
    gap: 10px;
}

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

.dip-card strong,
.summary-line strong {
    display: block;
}

.dip-card small,
.summary-line small {
    display: block;
    color: var(--muted);
}

.dip-card span {
    display: inline-block;
    margin-top: 4px;
    color: var(--gold);
    font-weight: 950;
}

.dip-stepper {
    display: grid;
    grid-template-columns: 40px 58px 40px;
    gap: 6px;
    align-items: center;
}

.dip-stepper input {
    min-height: 40px;
    padding: 8px 4px;
    text-align: center;
}

.step-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--charcoal);
    border-radius: 999px;
    background: #fff;
    color: var(--charcoal);
    font: inherit;
    font-size: 1.2rem;
    font-weight: 950;
    cursor: pointer;
}

.step-button:hover,
.step-button:focus {
    border-color: var(--gold);
    color: var(--gold);
}

.dips-actions {
    justify-content: flex-start;
}

.dip-summary {
    align-self: start;
}

.summary-line {
    display: grid;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.summary-line span {
    color: var(--muted);
}

.menu-intro {
    display: grid;
    gap: 14px;
}

.public-menu {
    display: grid;
    gap: 16px;
    margin: 22px 0;
}

.public-menu-head {
    align-items: end;
    padding: 0 2px;
}

.public-menu-head h2 {
    margin: 0;
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 7vw, 3rem);
    line-height: 1;
}

.public-menu-head > strong {
    padding: 8px 12px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: #fff;
    color: var(--gold);
    white-space: nowrap;
}

.public-menu-grid {
    display: grid;
    gap: 10px;
}

.public-menu-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.public-menu-item h3,
.public-menu-extras h3 {
    margin: 0;
    color: var(--charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.1;
}

.public-menu-item p {
    margin: 0;
    color: #3d3934;
}

.public-menu-item small {
    color: var(--muted);
}

.public-menu-item > strong {
    color: var(--gold);
    font-size: 1.05rem;
}

.public-menu-extras {
    display: grid;
    gap: 10px;
}

.public-menu-extras > div {
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.public-menu-extras span {
    color: #3d3934;
    font-weight: 800;
}

.public-menu.compact {
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.customise-drawer {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fcfbf8;
}

.customise-drawer[open] {
    border-color: rgba(185, 130, 42, 0.55);
    background: #fff;
}

.customise-drawer > summary,
.cart-edit-drawer > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    color: var(--charcoal);
    font-weight: 950;
}

.customise-drawer > summary {
    min-height: 48px;
    padding: 10px 12px;
}

.cart-edit-drawer > summary {
    width: fit-content;
    margin-top: 8px;
    padding: 6px 0;
    color: var(--gold);
}

.customise-drawer > summary::-webkit-details-marker,
.cart-edit-drawer > summary::-webkit-details-marker {
    display: none;
}

.customise-drawer > summary::after,
.cart-edit-drawer > summary::after {
    content: "+";
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--gold);
    font-weight: 950;
}

.customise-drawer[open] > summary::after,
.cart-edit-drawer[open] > summary::after {
    content: "-";
}

.customise-drawer summary small,
.cart-edit-drawer summary small {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.customise-sections {
    display: grid;
    gap: 12px;
    padding: 0 12px 12px;
}

.customise-drawer .option-panel,
.cart-edit-drawer .option-panel {
    border: 0;
    background: transparent;
    padding: 0;
}

.customise-drawer .option-panel + .option-panel,
.cart-edit-drawer .option-panel + .option-panel {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.customise-drawer .toppings-box,
.cart-edit-drawer .toppings-box {
    display: block;
}

.customise-drawer legend,
.cart-edit-drawer legend {
    margin-bottom: 8px;
    color: var(--charcoal);
}

.customise-drawer .option-grid,
.cart-edit-drawer .option-grid {
    gap: 7px;
}

.customise-drawer .check-pill span,
.cart-edit-drawer .check-pill span {
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.92rem;
}

.customise-drawer .check-pill input:focus-visible + span,
.cart-edit-drawer .check-pill input:focus-visible + span {
    outline: 3px solid rgba(185, 130, 42, 0.24);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .menu-card-actions {
        grid-template-columns: 86px minmax(0, 1fr);
    }

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

    .dip-stepper {
        grid-template-columns: 44px minmax(64px, 88px) 44px;
        justify-content: start;
    }

    .customise-drawer summary small,
    .cart-edit-drawer summary small {
        display: none;
    }
}
