@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

/* PIZZ'Express - Design moderne et simple */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tableau de bord des ventes et liste compacte des commandes */
.admin-sales-heading {
    align-items: center;
}

.admin-period-form {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.admin-period-form select {
    min-width: 210px;
    border: 1px solid #d9dad5;
    border-radius: 12px;
    background: #fff;
    padding: 11px 36px 11px 13px;
    color: #171713;
    font: inherit;
}

.admin-sales-chart,
.admin-ranking-card {
    border: 1px solid #dedfd9;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(23, 23, 19, 0.04);
}

.admin-sales-chart {
    margin-bottom: 16px;
    padding: 22px 22px 18px;
}

.admin-chart-heading,
.admin-ranking-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-chart-heading h3,
.admin-ranking-heading h3,
.admin-dialog-panel h3,
.admin-order-timeline h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
}

.admin-chart-heading span,
.admin-ranking-heading span,
.admin-muted {
    color: #777870;
    font-size: 0.78rem;
}

.admin-chart-heading strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.7rem;
}

.admin-bars {
    display: flex;
    height: 280px;
    align-items: stretch;
    gap: clamp(4px, 1vw, 12px);
    margin-top: 22px;
    border-bottom: 1px solid #d9dad5;
    padding: 22px 4px 0;
    overflow-x: auto;
}

.admin-bar-column {
    display: grid;
    min-width: max(34px, calc((100% - (var(--bar-count) - 1) * 8px) / var(--bar-count)));
    height: 100%;
    grid-template-rows: 22px 1fr 28px;
    align-items: end;
    justify-items: center;
}

.admin-bar-column i {
    width: min(34px, 72%);
    min-height: 4px;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(180deg, #e31d1a, #aa0f0d);
}

.admin-visits-chart .admin-bar-column i {
    background: linear-gradient(180deg, #292923, #11110e);
}

.admin-bar-value {
    opacity: 0;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.admin-bar-column:hover .admin-bar-value {
    opacity: 1;
}

.admin-bar-column small {
    align-self: center;
    color: #777870;
    font-size: 0.68rem;
    white-space: nowrap;
}

.admin-empty-chart {
    display: grid;
    min-height: 220px;
    place-items: center;
    color: #777870;
}

.admin-sales-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.admin-visit-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.admin-visit-metrics article {
    display: grid;
    gap: 8px;
    border: 1px solid #dedfd9;
    border-radius: 16px;
    background: #fff;
    padding: 18px;
}

.admin-visit-metrics span,
.admin-visit-metrics small {
    color: #777870;
}

.admin-visit-metrics strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

.admin-sales-metrics article,
.admin-detail-metrics article {
    display: grid;
    gap: 8px;
    border: 1px solid #dedfd9;
    border-radius: 16px;
    background: #fff;
    padding: 18px;
}

.admin-sales-metrics span,
.admin-sales-metrics small,
.admin-detail-metrics span {
    color: #777870;
}

.admin-sales-metrics strong,
.admin-detail-metrics strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

.admin-rankings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 38px;
}

.admin-ranking-card {
    overflow: hidden;
}

.admin-ranking-heading {
    padding: 19px 20px;
    border-bottom: 1px solid #e4e5df;
}

.admin-ranking-row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    border-bottom: 1px solid #ecece8;
    padding: 9px 20px;
}

.admin-ranking-row:last-child { border-bottom: 0; }
.admin-ranking-row > b {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: #171713;
    color: #fff;
}
.admin-ranking-row > span { display: grid; gap: 2px; font-weight: 800; }
.admin-ranking-row small { color: #777870; font-weight: 500; }

.admin-orders-list {
    border: 1px solid #dedfd9;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.admin-order-row {
    display: grid;
    grid-template-columns: 110px minmax(160px, 1.2fr) minmax(155px, 1fr) minmax(170px, 1.25fr) 100px 76px;
    min-height: 76px;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #e5e6e1;
    padding: 10px 14px;
}
.admin-order-row:last-child { border-bottom: 0; }
.admin-order-row > span { display: grid; gap: 4px; min-width: 0; }
.admin-order-row small { color: #777870; font-size: 0.75rem; }
.admin-order-row-head { min-height: 48px; background: #f7f8f5; color: #777870; font-size: 0.75rem; font-weight: 800; }

.admin-detail-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #171713;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}
.admin-detail-button:hover { background: #e31d1a; }
.admin-text-link { color: #e31d1a; font-weight: 900; text-decoration: none; }

.admin-order-dialog {
    width: min(1040px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    border: 0;
    border-radius: 22px;
    padding: 0;
    color: #171713;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.admin-order-dialog::backdrop { background: rgba(17, 17, 14, 0.62); backdrop-filter: blur(3px); }
.admin-dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid #e3e4df; }
.admin-dialog-header h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.7rem; }
.admin-dialog-close { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: #efefeb; cursor: pointer; font-size: 1.7rem; }
.admin-detail-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 22px 0; }
.admin-detail-metrics article { background: #f7f8f5; box-shadow: none; }
.admin-detail-metrics strong { font-size: 1.35rem; }
.admin-dialog-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; padding: 16px 22px; }
.admin-dialog-panel { border: 1px solid #dedfd9; border-radius: 16px; padding: 18px; }
.admin-detail-list { display: grid; gap: 0; margin: 12px 0 0; }
.admin-detail-list div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; border-bottom: 1px solid #ecece8; padding: 9px 0; }
.admin-detail-list dt { color: #777870; }
.admin-detail-list dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.admin-detail-list a { color: inherit; }
.admin-detail-total { display: flex; justify-content: space-between; border-top: 2px solid #171713; padding: 13px; font-size: 1.05rem; }
.admin-order-timeline { margin: 0 22px 18px; border: 1px solid #dedfd9; border-radius: 16px; padding: 18px; }
.admin-order-timeline > div { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; margin-top: 12px; }
.admin-order-timeline i { width: 10px; height: 10px; border-radius: 50%; background: #168348; box-shadow: 0 0 0 4px #def4e4; }
.admin-order-timeline time { color: #777870; font-size: 0.78rem; }
.admin-dialog-actions { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #dedfd9; background: #fff; padding: 14px 22px; }
.admin-dialog-updates { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-inline-update { display: flex; gap: 8px; }
.admin-inline-update select { border: 1px solid #dedfd9; border-radius: 10px; padding: 9px 12px; }
.admin-inline-update button { border: 0; border-radius: 10px; background: #171713; color: #fff; padding: 9px 13px; font-weight: 800; cursor: pointer; }

.admin-option-editor-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.admin-option-editor-heading h2 { margin: 0; font-family: "Manrope", sans-serif; }
.admin-option-editor { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border: 1px solid #dedfd9; border-radius: 20px; background: #fff; overflow: hidden; }
.admin-option-main { padding: 22px; }
.admin-option-settings { display: grid; grid-template-columns: minmax(220px, 1fr) 110px auto auto; align-items: end; gap: 12px; }
.admin-option-settings > label:not(.admin-checkbox), .admin-option-limits label { display: grid; gap: 6px; font-size: .8rem; font-weight: 800; }
.admin-option-settings input[type="text"], .admin-option-settings input:not([type]), .admin-option-settings input[type="number"], .admin-option-limits input { min-height: 43px; border: 1px solid #d9dad5; border-radius: 10px; padding: 9px 11px; }
.admin-option-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; border: 0; }
.admin-option-types legend { margin-bottom: 8px; font-weight: 900; }
.admin-option-types label { position: relative; }
.admin-option-types input { position: absolute; opacity: 0; }
.admin-option-types span { display: flex; min-height: 74px; align-items: center; border: 1px solid #dedfd9; border-radius: 12px; padding: 13px; font-size: .82rem; font-weight: 800; cursor: pointer; }
.admin-option-types input:checked + span { border: 2px solid #e31d1a; background: #fff6f5; }
.admin-option-limits { display: grid; grid-template-columns: repeat(2, 150px); gap: 10px; margin-bottom: 20px; }
.admin-option-choice-head, .admin-option-choice-row { display: grid; grid-template-columns: minmax(180px, 1fr) 120px 90px 120px 38px; gap: 8px; align-items: center; }
.admin-option-choice-head { border-radius: 10px 10px 0 0; background: #171713; color: #fff; padding: 10px 12px; font-size: .75rem; font-weight: 800; }
.admin-option-choice-row { border: 1px solid #e5e6e1; border-top: 0; padding: 8px 10px; }
.admin-option-choice-row > input { min-height: 39px; min-width: 0; border: 1px solid #dedfd9; border-radius: 9px; padding: 8px 10px; }
.admin-icon-danger { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f9dddd; color: #9a2525; cursor: pointer; font-size: 1.2rem; }
.admin-add-choice { display: block; margin: 18px auto 0; border: 0; border-radius: 999px; background: #171713; color: #fff; padding: 10px 17px; font-weight: 900; cursor: pointer; }
.admin-option-products { border-left: 1px solid #dedfd9; background: #f8f9f6; padding: 22px; max-height: 680px; overflow-y: auto; }
.admin-option-products h3 { margin: 0 0 8px; }
.admin-option-products p { margin: 0 0 15px; color: #777870; font-size: .8rem; }
.admin-option-products label { display: block; border-bottom: 1px solid #e4e5df; padding: 9px 2px; font-weight: 700; }
.admin-option-products .is-inactive { opacity: .5; }
.admin-option-save { grid-column: 1 / -1; display: flex; justify-content: flex-start; border-top: 1px solid #dedfd9; background: #fff; padding: 14px 22px; }
.admin-option-save button { border: 0; border-radius: 10px; background: #e31d1a; color: #fff; padding: 11px 18px; font-weight: 900; cursor: pointer; }
.admin-option-table { border: 1px solid #dedfd9; border-radius: 16px; background: #fff; overflow: hidden; }
.admin-option-table-head, .admin-option-table-row { display: grid; grid-template-columns: 1.3fr 1.3fr .65fr .9fr 90px; gap: 12px; align-items: center; padding: 13px 16px; }
.admin-option-table-head { background: #f5f6f2; color: #777870; font-size: .75rem; font-weight: 800; }
.admin-option-table-row { min-height: 64px; border-top: 1px solid #e5e6e1; }
.admin-option-table-row.is-inactive { opacity: .55; }
.admin-option-table-row a { color: #e31d1a; font-weight: 900; text-decoration: none; }

.product-option-modal { position: fixed; z-index: 1200; inset: 0; display: none; place-items: center; padding: 18px; }
.product-option-modal.is-open { display: grid; }
.product-option-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 14, .68); backdrop-filter: blur(4px); }
.product-option-card { position: relative; width: min(650px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; border-radius: 24px; background: #fff; padding: 28px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.product-option-card h2 { margin: 4px 40px 20px 0; font-family: "Manrope", sans-serif; font-size: 1.8rem; }
.product-option-group { margin: 0 0 16px; border: 1px solid var(--store-border); border-radius: 16px; padding: 0; overflow: hidden; }
.product-option-group legend { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; background: #f5f2eb; padding: 12px 14px; font-weight: 900; }
.product-option-group legend small { color: #777870; font-size: .72rem; font-weight: 600; }
.product-option-group > label { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--store-border); padding: 10px 14px; cursor: pointer; }
.product-option-group > label > span { display: flex; align-items: baseline; gap: 8px; font-weight: 800; }
.product-option-group > label small { color: #e31d1a; }
.product-option-group input[type="checkbox"], .product-option-group input[type="radio"] { width: 20px; height: 20px; accent-color: #e31d1a; }
.product-option-group input[type="number"] { width: 70px; border: 1px solid var(--store-border); border-radius: 9px; padding: 8px; }
.product-option-group > label.is-disabled { opacity: 0.42; cursor: not-allowed; }
.product-option-group > label.is-disabled input { cursor: not-allowed; }
.product-option-footer { position: sticky; bottom: -28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px -28px -28px; border-top: 1px solid var(--store-border); background: #fff; padding: 15px 28px; }
.product-option-footer strong { font-family: "Manrope", sans-serif; font-size: 1.35rem; }
.product-option-footer button { border: 0; border-radius: 999px; background: #e31d1a; color: #fff; padding: 12px 18px; font-weight: 900; cursor: pointer; }
.cart-item-options { display: block; max-width: 260px; margin-top: 4px; color: #777870; font-size: .72rem; line-height: 1.35; }
.admin-item-options, .ticket-items small, .tablet-items small { display: block; margin-top: 3px; color: #777870; font-size: .72rem; font-weight: 600; }
.admin-establishment-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.admin-establishment-links a { display: grid; gap: 5px; border: 1px solid #dedfd9; border-radius: 16px; background: #fff; color: inherit; padding: 17px; text-decoration: none; }
.admin-establishment-links span { color: #777870; font-size: .8rem; }

@media (max-width: 900px) {
    .admin-sales-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-visit-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-rankings { grid-template-columns: 1fr; }
    .admin-order-row { grid-template-columns: 95px 1fr 95px 70px; }
    .admin-order-row > :nth-child(3), .admin-order-row > :nth-child(4) { display: none; }
    .admin-detail-metrics { grid-template-columns: repeat(2, 1fr); }
    .admin-dialog-grid { grid-template-columns: 1fr; }
    .admin-option-editor { grid-template-columns: 1fr; }
    .admin-option-products { border-top: 1px solid #dedfd9; border-left: 0; }
    .admin-option-settings { grid-template-columns: 1fr 100px; }
    .admin-option-types { grid-template-columns: 1fr; }
    .admin-option-table-head { display: none; }
    .admin-option-table-row { grid-template-columns: 1fr auto; }
    .admin-option-table-row > span { display: none; }
}

@media (max-width: 600px) {
    .admin-establishment-links { grid-template-columns: 1fr; }
    .admin-sales-heading { align-items: stretch; }
    .admin-period-form { align-items: stretch; flex-direction: column; }
    .admin-period-form select { width: 100%; }
    .admin-sales-metrics { grid-template-columns: 1fr; }
    .admin-visit-metrics { grid-template-columns: 1fr; }
    .admin-order-row { grid-template-columns: 1fr auto; gap: 8px; }
    .admin-order-row > :nth-child(3), .admin-order-row > :nth-child(4), .admin-order-row > :nth-child(5) { display: none; }
    .admin-order-row-head { display: none; }
    .admin-detail-metrics { grid-template-columns: 1fr 1fr; padding-inline: 14px; }
    .admin-dialog-grid { padding-inline: 14px; }
    .admin-order-timeline { margin-inline: 14px; }
    .admin-dialog-actions { align-items: stretch; flex-direction: column; }
    .admin-dialog-updates { flex-direction: column; }
    .admin-inline-update { width: 100%; }
    .admin-inline-update select { flex: 1; }
    .admin-option-choice-head { display: none; }
    .admin-option-choice-row { grid-template-columns: 1fr 90px 38px; }
    .admin-option-choice-row > :nth-child(4), .admin-option-choice-row > :nth-child(5) { display: none; }
}

:root {
    --brand-primary: #d71920;
    --brand-dark: #9d1216;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

/* HEADER */
.site-header,
.admin-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #c71719 100%);
    color: white;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.site-header h1,
.admin-header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.site-header p,
.admin-header p {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 600px;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* CONTAINER & LAYOUT */
.container {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 1rem;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    margin-bottom: 4rem;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.page-intro p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* CARDS - PRODUITS */
.cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.btn-add {
    flex: 1;
}

/* PANIER (SIDEBAR) */
.cart {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--brand-primary);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.cart h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--brand-primary);
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item strong {
    color: var(--text-primary);
}

.item-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.item-price {
    font-weight: 700;
    color: var(--brand-primary);
    white-space: nowrap;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(215, 25, 32, 0.08) 0%, rgba(215, 25, 32, 0.04) 100%);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
}

.cart-total span {
    color: var(--brand-primary);
}

/* BOUTONS */
.btn-primary,
button[type="submit"],
.btn-add {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(215, 25, 32, 0.3);
    width: 100%;
    text-align: center;
}

.btn-primary:hover,
button[type="submit"]:hover,
.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 25, 32, 0.4);
}

.btn-primary:active,
button[type="submit"]:active,
.btn-add:active {
    transform: translateY(0);
}

/* FORMULAIRES */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grid > div {
    display: flex;
    flex-direction: column;
}

.form-grid > div:nth-child(3),
.form-grid > div:nth-child(4) {
    grid-column: span 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

input,
select {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

/* CHECKOUT */
.checkout-summary-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--brand-primary);
}

.checkout-order-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item:last-of-type {
    border-bottom: none;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
}

.checkout-panel {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.checkout-form {
    display: grid;
    gap: 1.5rem;
}

.payment-mode {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.payment-mode strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.payment-mode label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-mode label:hover {
    border-color: var(--brand-primary);
    background: rgba(215, 25, 32, 0.02);
}

.payment-mode input {
    width: auto;
    cursor: pointer;
    accent-color: var(--brand-primary);
}

/* CONFIRMATION */
.confirmation-panel {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 3rem auto;
}

.confirmation-reference {
    font-size: 2.4rem;
    color: var(--brand-primary);
    margin: 1.5rem 0;
    font-weight: 700;
}

/* ALERTS */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    background: var(--bg-light);
}

.alert {
    border-left-color: #ef4444;
    color: #7f1d1d;
}

.alert a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

/* ADMIN */
.admin-dashboard {
    display: grid;
    gap: 2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card span {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
}

.order-list {
    display: grid;
    gap: 1.5rem;
}

.order-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--brand-primary);
}

.order-card strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.order-card p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.status-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.status-form select,
.status-form button {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* LOGIN */
.login-panel {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    max-width: 400px;
    margin: 6rem auto;
}

.login-panel form {
    display: grid;
    gap: 1.5rem;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

/* UTILITIES */
.hidden {
    display: none !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .cart {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .site-header,
    .admin-header {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }

    .admin-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .form-grid > div {
        grid-column: auto;
    }

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

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

    .main-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 1rem);
    }

    .site-header h1,
    .admin-header h1 {
        font-size: 1.8rem;
    }

    .page-intro h2 {
        font-size: 1.4rem;
    }

    .checkout-panel {
        padding: 1rem;
    }

    .confirmation-panel {
        padding: 2rem 1rem;
    }
}

/* Storefront 2026 */
.storefront {
    --brand-primary: #e31d1a;
    --brand-dark: #b91412;
    --brand-green: #1b710f;
    --store-bg: #f8f6f0;
    --store-surface: #ffffff;
    --store-text: #171713;
    --store-muted: #706f68;
    --store-border: #e7e3d9;
    margin: 0;
    background: var(--store-bg);
    color: var(--store-text);
    font-family: "DM Sans", sans-serif;
}

.storefront .container {
    width: min(1180px, calc(100% - 40px));
    padding: 0;
}

.storefront .site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    margin: 0;
    border-bottom: 1px solid rgba(231, 227, 217, 0.85);
    background: rgba(255, 255, 255, 0.95);
    color: var(--store-text);
    padding: 0;
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    width: min(1240px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.brand img {
    display: block;
    width: 185px;
    max-height: 58px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a,
.storefront .account-link {
    color: var(--store-text);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover,
.storefront .account-link:hover {
    color: var(--brand-primary);
}

.storefront .nav-actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.welcome {
    color: var(--store-muted);
    font-size: 0.88rem;
}

.register-link {
    display: none;
}

.header-cart {
    display: flex;
    min-width: 110px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 999px;
    background: var(--store-text);
    color: #fff;
    padding: 9px 10px 9px 17px;
    font-weight: 800;
    text-decoration: none;
}

.header-cart span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-primary);
    font-size: 0.78rem;
}

.hero {
    position: relative;
    display: grid;
    min-height: 650px;
    overflow: hidden;
    align-items: center;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background: url("../img/hero-pizzas.jpg") center 54% / cover no-repeat;
    transform: scale(1.01);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(10, 9, 7, 0.84) 0%, rgba(10, 9, 7, 0.6) 43%, rgba(10, 9, 7, 0.08) 78%),
        linear-gradient(0deg, rgba(10, 9, 7, 0.2), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    color: #fff;
}

.hero-content h1 {
    max-width: 770px;
    margin: 18px 0 20px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.95;
}

.hero-content h1 em {
    color: #ffcf3e;
    font-style: normal;
}

.hero-content > p {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-badge {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    padding: 7px 13px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    margin-top: 34px;
    align-items: center;
    gap: 25px;
}

.storefront .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800;
    padding: 14px 24px;
    text-decoration: none;
    transition: 0.18s ease;
}

.storefront .button:hover {
    background: var(--brand-dark);
    box-shadow: 0 10px 25px rgba(227, 29, 26, 0.28);
    transform: translateY(-2px);
}

.storefront .button-large {
    min-height: 56px;
    padding-inline: 29px;
}

.opening-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opening-status > span:last-child {
    display: grid;
}

.opening-status small {
    color: rgba(255, 255, 255, 0.64);
}

.status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #5adb48;
    box-shadow: 0 0 0 6px rgba(90, 219, 72, 0.16);
}

.benefits {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(1100px, calc(100% - 40px));
    margin: -48px auto 0;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background: var(--store-surface);
    box-shadow: 0 18px 50px rgba(37, 31, 19, 0.1);
}

.benefit {
    display: flex;
    min-height: 138px;
    align-items: center;
    gap: 18px;
    padding: 26px 30px;
}

.benefit + .benefit {
    border-left: 1px solid var(--store-border);
}

.benefit > span {
    color: var(--brand-primary);
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.benefit strong {
    font-family: "Manrope", sans-serif;
}

.benefit p {
    margin: 4px 0 0;
    color: var(--store-muted);
    font-size: 0.88rem;
}

.menu-section {
    padding: 105px 0 110px;
}

.menu-heading {
    display: flex;
    margin-bottom: 34px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.menu-heading h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 1;
}

.menu-heading > p {
    max-width: 500px;
    margin: 0;
    color: var(--store-muted);
}

.storefront .eyebrow {
    display: block;
    margin: 0 0 7px;
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
}

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

.storefront .card {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background: var(--store-surface);
    box-shadow: 0 8px 24px rgba(37, 31, 19, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.storefront .card:hover {
    border-color: var(--store-border);
    box-shadow: 0 18px 45px rgba(37, 31, 19, 0.1);
    transform: translateY(-5px);
}

.product-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0ede5;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.storefront .card-body {
    min-height: 120px;
    padding: 20px 20px 5px;
}

.storefront .card h3 {
    margin: 0 0 7px;
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
}

.storefront .card p {
    margin: 0;
    color: var(--store-muted);
    font-size: 0.92rem;
}

.storefront .card-footer {
    margin: 0;
    border: 0;
    padding: 16px 20px 20px;
}

.storefront .price {
    color: var(--store-text);
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
}

.storefront .btn-add {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: var(--brand-primary);
    padding: 9px 15px;
    box-shadow: none;
}

.storefront .btn-add:hover {
    background: var(--brand-dark);
    box-shadow: 0 9px 22px rgba(227, 29, 26, 0.24);
}

.storefront .btn-add span {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 0;
}

.storefront .cart {
    position: sticky;
    top: 102px;
    max-width: none;
    margin: 0;
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background: var(--store-surface);
    padding: 23px;
    box-shadow: 0 18px 45px rgba(37, 31, 19, 0.09);
}

.cart-heading {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
}

.storefront .cart h2 {
    margin: 0;
    border: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.5rem;
}

.cart-count {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--store-text);
    color: #fff;
    font-weight: 800;
}

.storefront #cart-items {
    min-height: 90px;
    color: var(--store-muted);
}

.storefront .cart-item {
    align-items: center;
}

.storefront .item-price {
    color: var(--store-text);
}

.storefront .cart-total {
    margin: 15px 0;
    background: #f1eee6;
    color: var(--store-text);
}

.storefront .cart-total span,
.storefront .cart-total strong {
    color: var(--store-text);
}

.storefront #checkout-button {
    border-radius: 14px;
    background: var(--brand-primary);
}

.cart-reassurance {
    margin: 12px 0 0;
    color: var(--store-muted);
    font-size: 0.76rem;
    text-align: center;
}

.storefront .footer {
    margin: 0;
    border-top: 1px solid var(--store-border);
    background: #fff;
    padding: 0;
}

.footer-inner {
    display: flex;
    width: min(1180px, calc(100% - 40px));
    min-height: 150px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--store-muted);
    font-size: 0.88rem;
}

.footer-inner img {
    width: 175px;
}

.site-footer {
    margin-top: 42px;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, .9fr) minmax(280px, 1.1fr);
    align-items: start;
    padding: 28px 0;
    text-align: left;
}

.site-footer-brand {
    display: grid;
    gap: 8px;
}

.site-footer-brand p,
.site-footer-brand span {
    margin: 0;
}

.site-footer-links {
    display: grid;
    gap: 9px;
}

.site-footer-links a {
    color: #2f342f;
    font-weight: 800;
}

.bug-report-form {
    display: grid;
    gap: 9px;
}

.bug-report-website {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.bug-report-form strong {
    color: #171713;
}

.bug-report-form label {
    display: grid;
    gap: 5px;
    color: var(--store-muted);
    font-size: .78rem;
    font-weight: 800;
}

.bug-report-form input,
.bug-report-form textarea {
    width: 100%;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: #fff;
    padding: 10px 11px;
    color: #171713;
    font: inherit;
}

.bug-report-form textarea {
    resize: vertical;
    min-height: 82px;
}

.bug-report-form button {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    padding: 10px 18px;
    font-weight: 900;
    cursor: pointer;
}

.bug-report-form button:disabled {
    opacity: .6;
    cursor: wait;
}

.bug-report-status {
    min-height: 18px;
    margin: 0;
    color: var(--store-muted);
    font-size: .8rem;
    font-weight: 700;
}

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

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

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

    .storefront .cart {
        position: static;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .storefront {
        padding-bottom: 78px;
    }

    .header-inner,
    .hero-content,
    .storefront .container,
    .footer-inner {
        width: calc(100% - 24px);
    }

    .header-inner {
        min-height: 66px;
    }

    .brand img {
        width: 142px;
    }

    .storefront .account-link,
    .welcome,
    .header-cart {
        display: none;
    }

    .hero {
        min-height: 550px;
        align-items: end;
    }

    .hero-media {
        background-position: 57% center;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(10, 9, 7, 0.95) 0%, rgba(10, 9, 7, 0.66) 56%, rgba(10, 9, 7, 0.15) 100%);
    }

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

    .hero-content h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .storefront .button-large {
        width: 100%;
    }

    .benefits {
        width: calc(100% - 24px);
        margin-top: -32px;
        grid-template-columns: 1fr;
    }

    .benefit {
        min-height: auto;
        padding: 20px 23px;
    }

    .benefit + .benefit {
        border-top: 1px solid var(--store-border);
        border-left: 0;
    }

    .menu-section {
        padding: 72px 0 80px;
    }

    .menu-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

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

    .storefront .card-body {
        min-height: 0;
    }

    .footer-inner {
        padding: 32px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer-brand,
    .site-footer-links,
    .bug-report-form {
        justify-items: center;
    }

    .bug-report-form {
        width: min(100%, 440px);
        margin: 0 auto;
    }

    .bug-report-form button {
        justify-self: center;
    }

    .mobile-cart-link {
        position: fixed;
        z-index: 40;
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: flex;
        min-height: 56px;
        align-items: center;
        justify-content: space-between;
        border-radius: 17px;
        background: var(--store-text);
        color: #fff;
        padding: 12px 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-cart-link strong {
        color: #ffcf3e;
        font-size: 0.78rem;
    }
}

/* Product detail modal */
.product-option-modal {
    z-index: 1300;
}

.product-option-card {
    display: grid;
    width: min(1000px, calc(100% - 22px));
    height: min(640px, calc(100vh - 44px));
    grid-template-columns: 60% 40%;
    overflow: hidden;
    border-radius: 8px;
    padding: 0;
}

.product-detail-image {
    min-width: 0;
    min-height: 0;
    background: #f0ede5;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-panel {
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    background: #fff;
    padding: 0;
}

.product-detail-scroll {
    min-height: 0;
    overflow-y: auto;
    padding: 26px 20px 18px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.product-detail-scroll::-webkit-scrollbar {
    width: 8px;
}

.product-detail-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c7c7c2;
}

.product-detail-scroll h2 {
    margin: 0 44px 10px 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.65rem;
    letter-spacing: 0;
}

#product-option-description {
    margin: 0 0 20px;
    color: var(--store-muted);
    line-height: 1.45;
}

#product-option-groups { overflow: visible; padding-right: 0; }

.product-instructions {
    display: grid;
    gap: 8px;
    margin: 18px -20px 0;
    border-top: 1px solid var(--store-border);
    padding: 18px 20px;
}

.product-instructions span {
    font-weight: 900;
}

.product-instructions textarea {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 5px;
    background: #f3f3f5;
    padding: 10px 12px;
    resize: vertical;
}

.product-instructions small {
    color: var(--store-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.product-option-footer {
    position: static;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin: 0;
    border-top: 1px solid var(--store-border);
    background: #fff;
    padding: 16px;
    box-shadow: 0 -10px 28px rgba(37, 31, 19, 0.08);
}

.product-option-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-option-quantity button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #eeeeed;
    cursor: pointer;
    padding: 0;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
}

.product-option-quantity strong {
    min-width: 20px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1;
}

.product-option-footer button#product-option-confirm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 0;
    border-radius: 8px;
    background: #48ad4d;
    padding: 11px 14px;
    overflow: hidden;
    font-size: 0.95rem;
    white-space: nowrap;
}

.product-option-footer button#product-option-confirm:hover {
    background: #3d9d42;
}

.product-option-footer button#product-option-confirm span {
    margin-left: 8px;
}

@media (max-width: 760px) {
    .product-option-modal {
        padding: 0;
        align-items: end;
    }

    .product-option-card {
        width: 100%;
        height: min(92vh, 760px);
        grid-template-columns: 1fr;
        grid-template-rows: 42% 58%;
        border-radius: 18px 18px 0 0;
    }

    .product-detail-panel {
        padding: 20px 16px 0;
    }

    .product-detail-panel h2 {
        margin-right: 40px;
        font-size: 1.45rem;
    }

    .product-instructions {
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .product-option-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .product-option-quantity {
        justify-content: center;
    }
}

/* Compact mobile product sheet */
@media (max-width: 760px) {
    .product-option-card {
        height: 100dvh;
        grid-template-rows: minmax(210px, 34dvh) minmax(0, 1fr);
    }

    .product-detail-panel {
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        padding: 16px 16px 0;
    }

    .product-detail-panel h2 {
        margin: 0 42px 8px 0;
        font-size: clamp(1.55rem, 7vw, 2.15rem);
        line-height: 1.08;
    }

    #product-option-description {
        display: -webkit-box;
        margin: 0 0 12px;
        overflow: hidden;
        color: #777870;
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-detail-scroll {
        overflow-y: auto;
        border-top: 1px solid var(--store-border);
        padding: 12px 4px 12px 0;
    }

    .product-instructions {
        margin: 0;
        border-top: 0;
        padding: 0;
    }

    .product-instructions span {
        font-size: 1.05rem;
    }

    .product-instructions textarea {
        min-height: 48px;
        max-height: 58px;
        margin-top: 8px;
        border: 1px solid var(--store-border);
        border-radius: 14px;
        font-size: 0.92rem;
    }

    .product-instructions small {
        display: none;
    }

    .product-option-footer {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    }

    .product-option-quantity {
        justify-content: flex-start;
        gap: 10px;
    }

    .product-option-quantity button {
        width: 42px;
        height: 42px;
        font-size: 1.45rem;
    }

    .product-option-quantity strong {
        min-width: 24px;
        font-size: 1.25rem;
    }

    .product-option-footer button#product-option-confirm {
        min-height: 54px;
        padding: 10px 14px;
        font-size: clamp(0.98rem, 4.3vw, 1.15rem);
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .product-option-card {
        grid-template-rows: minmax(185px, 30dvh) minmax(0, 1fr);
    }

    .product-option-footer {
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .product-option-quantity {
        gap: 6px;
    }

    .product-option-quantity button {
        width: 38px;
        height: 38px;
    }

    .product-option-footer button#product-option-confirm {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 0.92rem;
    }
}

/* Delicity-like mobile product sheet: fixed image, scrollable content, fixed cart bar */
@media (max-width: 760px) {
    .product-option-modal.is-open {
        display: block;
    }

    .product-option-modal {
        position: fixed;
        inset: 0;
        overflow: hidden;
        padding: 0;
    }

    .product-option-card {
        display: flex;
        width: 100%;
        height: 100svh;
        max-height: 100svh;
        flex-direction: column;
        overflow: hidden;
        border-radius: 0;
    }

    .product-detail-image {
        flex: 0 0 min(34svh, 310px);
        min-height: 190px;
        background: #111;
    }

    .product-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-detail-panel {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        overflow: hidden;
        padding: 0;
    }

    .product-detail-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 24px 18px 18px;
        -webkit-overflow-scrolling: touch;
    }

    .product-detail-scroll h2 {
        margin: 0 42px 10px 0;
        font-size: clamp(1.75rem, 8vw, 2.45rem);
        line-height: 1.08;
    }

    #product-option-description {
        display: block;
        margin: 0 0 22px;
        overflow: visible;
        color: #8b8c86;
        font-size: clamp(1.05rem, 5vw, 1.35rem);
        line-height: 1.45;
        -webkit-line-clamp: unset;
    }

    #product-option-groups {
        overflow: visible;
        padding: 0;
    }

    .product-option-group {
        margin-bottom: 14px;
        border-radius: 14px;
    }

    .product-option-group > label {
        min-height: 56px;
        padding: 12px 14px;
    }

    .product-instructions {
        margin: 20px -18px 0;
        border-top: 6px solid #f2f2f2;
        padding: 20px 18px 0;
    }

    .product-instructions span {
        font-size: 1.12rem;
    }

    .product-instructions textarea {
        min-height: 68px;
        max-height: 86px;
        margin-top: 12px;
        border: 0;
        border-radius: 8px;
        background: #f1f2f4;
        padding: 13px 14px;
        font-size: 1rem;
    }

    .product-instructions small {
        display: block;
        margin-top: 12px;
        color: #6f7069;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .product-option-footer {
        position: relative;
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        margin: 0;
        border-top: 1px solid #ddd;
        background: #fff;
        padding: 14px 18px max(14px, env(safe-area-inset-bottom));
        box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.08);
    }

    .product-option-quantity {
        justify-content: flex-start;
        gap: 12px;
    }

    .product-option-quantity button {
        width: 44px;
        height: 44px;
        background: #f1f1f1;
        color: #111;
        font-size: 1.55rem;
    }

    .product-option-quantity strong {
        min-width: 24px;
        font-size: 1.35rem;
    }

    .product-option-footer button#product-option-confirm {
        min-height: 58px;
        border-radius: 9px;
        padding: 10px 14px;
        font-size: clamp(1rem, 4.8vw, 1.25rem);
        white-space: nowrap;
    }

    .pickup-modal-close[data-close-product-options] {
        position: fixed;
        z-index: 3;
        top: max(18px, env(safe-area-inset-top));
        right: 18px;
        color: rgba(255, 255, 255, 0.72);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    }
}

@media (max-width: 380px) {
    .product-detail-image {
        flex-basis: min(30svh, 245px);
        min-height: 165px;
    }

    .product-detail-scroll {
        padding: 18px 14px 14px;
    }

    .product-instructions {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .product-instructions small {
        display: none;
    }

    .product-option-footer {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 8px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .product-option-quantity {
        gap: 6px;
    }

    .product-option-quantity button {
        width: 40px;
        height: 40px;
        font-size: 1.45rem;
    }

    .product-option-quantity strong {
        min-width: 20px;
        font-size: 1.2rem;
    }

    .product-option-footer button#product-option-confirm {
        min-height: 52px;
        gap: 7px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.86rem;
    }
}

/* Hide product card add buttons: product sheet handles adding */
.storefront .card .btn-add,
.storefront .featured-card .btn-add {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.storefront .card,
.storefront .featured-card {
    cursor: pointer;
}

/* Featured carousel controls: desktop top-right, hidden on mobile. */
.storefront .featured-section .menu-heading {
    align-items: flex-start;
}

.featured-heading-actions {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.featured-heading-actions p {
    margin: 0;
    text-align: right;
}

.featured-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.featured-controls .featured-arrow {
    position: static;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--store-text);
    font-size: 1.55rem;
    font-weight: 800;
    transform: none;
}

.featured-controls .featured-arrow:hover {
    background: #fff;
    color: var(--store-text);
    box-shadow: 0 8px 22px rgba(37, 31, 19, 0.12);
}

.featured-carousel > .featured-arrow {
    display: none !important;
}

@media (max-width: 760px) {
    .featured-heading-actions {
        justify-items: start;
    }

    .featured-heading-actions p {
        text-align: left;
    }

    .featured-controls {
        display: none !important;
    }
}

.storefront .card .btn-add,
.storefront .featured-card .btn-add {
    display: none !important;
}

/* Final storefront header redesign */
.storefront .site-header {
    border-bottom: 1px solid rgba(222, 218, 207, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(23, 23, 19, 0.06);
    backdrop-filter: blur(16px);
}

.storefront .header-inner {
    display: grid;
    width: min(1280px, calc(100% - 44px));
    min-height: 86px;
    grid-template-columns: 190px minmax(260px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.storefront .brand img {
    width: 176px;
    max-height: 64px;
}

.storefront .store-header-details {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(220px, 1fr) minmax(118px, auto);
    align-items: center;
    gap: 10px;
    color: var(--store-text);
}

.storefront .store-header-details > span,
.storefront .store-header-details > a {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #f7f5ef;
    padding: 9px 12px;
    color: var(--store-text);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront .store-header-details > span::before,
.storefront .store-header-details > a::before {
    display: block;
    margin-bottom: 1px;
    color: var(--store-muted);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.storefront .store-header-details > span::before {
    content: "Adresse";
}

.storefront .store-header-details > a::before {
    content: "Telephone";
}

.storefront .nav-actions {
    justify-content: flex-end;
    gap: 10px;
}

.storefront .selected-pickup-button {
    min-width: 142px;
    max-width: 170px;
    border: 1px solid #e4dfd3;
    border-radius: 16px;
    background: #f1eee6;
    padding: 9px 13px;
}

.storefront .selected-pickup-button span {
    color: #777268;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.storefront .selected-pickup-button strong {
    color: var(--store-text);
    font-size: 0.8rem;
}

.storefront .welcome {
    max-width: 96px;
    color: #7a756c;
    font-size: 0.82rem;
    line-height: 1.25;
}

.storefront .account-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    color: var(--store-text);
    font-size: 0.86rem;
    font-weight: 900;
}

.storefront .account-link:hover {
    background: #f7f5ef;
}

.storefront .header-cart {
    min-width: 112px;
    min-height: 48px;
    gap: 10px;
    border-radius: 999px;
    padding: 8px 9px 8px 17px;
    box-shadow: 0 12px 26px rgba(23, 23, 19, 0.12);
}

.storefront .header-cart span {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
}

@media (max-width: 1120px) {
    .storefront .header-inner {
        grid-template-columns: 170px 1fr auto;
        gap: 14px;
    }

    .storefront .store-header-details {
        grid-template-columns: 1fr;
    }

    .storefront .store-header-details > a {
        display: none;
    }

    .storefront .welcome {
        display: none;
    }
}

@media (max-width: 760px) {
    .storefront .header-inner {
        width: calc(100% - 24px);
        min-height: 82px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .storefront .brand img {
        width: 160px;
    }

    .storefront .store-header-details,
    .storefront .account-link,
    .storefront .header-cart {
        display: none;
    }

    .storefront .nav-actions {
        gap: 0;
    }

    .storefront .selected-pickup-button {
        min-width: 150px;
        max-width: 168px;
        padding: 10px 13px;
    }
}

.storefront .featured-grid {
    cursor: grab !important;
    touch-action: pan-x pan-y;
}

.storefront .featured-grid.is-dragging {
    cursor: grabbing !important;
}

.storefront .featured-card,
.storefront .card {
    cursor: pointer !important;
}

/* Final storefront header redesign */
.storefront .site-header {
    border-bottom: 1px solid rgba(222, 218, 207, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(23, 23, 19, 0.06);
    backdrop-filter: blur(16px);
}

.storefront .header-inner {
    display: grid;
    width: min(1280px, calc(100% - 44px));
    min-height: 86px;
    grid-template-columns: 190px minmax(260px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.storefront .brand {
    min-width: 0;
}

.storefront .brand img {
    width: 176px;
    max-height: 64px;
}

.storefront .store-header-details {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(220px, 1fr) minmax(118px, auto);
    align-items: center;
    gap: 10px;
    color: var(--store-text);
}

.storefront .store-header-details > span,
.storefront .store-header-details > a {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f7f5ef;
    padding: 9px 12px;
    color: var(--store-text);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront .store-header-details > span::before {
    content: "Adresse";
}

.storefront .store-header-details > a::before {
    content: "Telephone";
}

.storefront .store-header-details > span::before,
.storefront .store-header-details > a::before {
    display: block;
    margin-bottom: 1px;
    color: var(--store-muted);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.storefront .nav-actions {
    justify-content: flex-end;
    gap: 10px;
}

.storefront .selected-pickup-button {
    min-width: 142px;
    max-width: 170px;
    border: 1px solid #e4dfd3;
    border-radius: 16px;
    background: #f1eee6;
    padding: 9px 13px;
}

.storefront .selected-pickup-button span {
    color: #777268;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.storefront .selected-pickup-button strong {
    color: var(--store-text);
    font-size: 0.8rem;
}

.storefront .welcome {
    max-width: 96px;
    color: #7a756c;
    font-size: 0.82rem;
    line-height: 1.25;
}

.storefront .account-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    color: var(--store-text);
    font-size: 0.86rem;
    font-weight: 900;
}

.storefront .account-link:hover {
    background: #f7f5ef;
}

.storefront .header-cart {
    min-width: 112px;
    min-height: 48px;
    gap: 10px;
    border-radius: 999px;
    padding: 8px 9px 8px 17px;
    box-shadow: 0 12px 26px rgba(23, 23, 19, 0.12);
}

.storefront .header-cart span {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
}

@media (max-width: 1120px) {
    .storefront .header-inner {
        grid-template-columns: 170px 1fr auto;
        gap: 14px;
    }

    .storefront .store-header-details {
        grid-template-columns: 1fr;
    }

    .storefront .store-header-details > a {
        display: none;
    }

    .storefront .welcome {
        display: none;
    }
}

@media (max-width: 760px) {
    .storefront .header-inner {
        width: calc(100% - 24px);
        min-height: 82px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .storefront .brand img {
        width: 160px;
    }

    .storefront .store-header-details,
    .storefront .account-link,
    .storefront .header-cart {
        display: none;
    }

    .storefront .nav-actions {
        gap: 0;
    }

    .storefront .selected-pickup-button {
        min-width: 150px;
        max-width: 168px;
        padding: 10px 13px;
    }
}
/* Final mobile cart visibility */
@media (max-width: 760px) {
    .storefront .cart {
        display: none;
    }

    .storefront .cart.is-open {
        display: grid;
    }

    .mobile-cart-link {
        position: fixed;
        z-index: 70;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        display: flex;
    }

body.cart-open .mobile-cart-link,
body.modal-open .mobile-cart-link {
    display: none;
}
}

/* Product cards open the product sheet; adding is handled inside that sheet. */
.storefront .card .btn-add,
.storefront .featured-card .btn-add {
    display: none !important;
}

.storefront .card,
.storefront .featured-card {
    cursor: pointer;
}

/* Hide product card add buttons: product sheet handles adding */
.storefront .card .btn-add,
.storefront .featured-card .btn-add {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.storefront .card,
.storefront .featured-card {
    cursor: pointer;
}

/* Client menu redesign */
.storefront .featured-section {
    padding: 58px 0 10px;
}

.storefront .featured-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.storefront .featured-grid::-webkit-scrollbar {
    display: none;
}

.storefront .featured-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.featured-carousel {
    position: relative;
}

.featured-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--store-border);
    border-radius: 50%;
    background: #fff;
    color: var(--store-text);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(37, 31, 19, 0.14);
    transform: translateY(-50%);
}

.featured-arrow:hover {
    background: var(--store-text);
    color: #fff;
}

.featured-arrow[data-featured-scroll="-1"] {
    left: -18px;
}

.featured-arrow[data-featured-scroll="1"] {
    right: -18px;
}

.storefront .featured-card {
    display: grid;
    min-height: 330px;
    border-radius: 8px;
    scroll-snap-align: start;
}

.storefront .featured-card > img {
    aspect-ratio: 1.25 / 1;
}

.storefront .featured-card > div {
    display: grid;
    gap: 8px;
    padding: 13px;
}

.storefront .featured-card h3,
.storefront .featured-card p {
    margin: 0;
}

.storefront .featured-card p {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront .featured-card footer {
    margin-top: 4px;
}

.storefront .menu-section {
    padding: 72px 0 90px;
}

.storefront .order-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
}

.storefront .categorized-menu {
    gap: 34px;
}

.storefront .product-category {
    gap: 12px;
}

.storefront .category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.storefront .category-heading h3 {
    font-size: 1.35rem;
}

.storefront .category-heading p {
    font-size: 0.9rem;
}

.storefront .product-category .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: #fff;
}

.storefront .product-category .card {
    display: grid;
    min-height: 128px;
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas:
        "body image"
        "footer image";
    gap: 4px 12px;
    border: 0;
    border-right: 1px solid var(--store-border);
    border-bottom: 1px solid var(--store-border);
    border-radius: 0;
    box-shadow: none;
    padding: 14px;
}

.storefront .product-category .card:hover {
    transform: none;
    box-shadow: none;
    background: #fbfaf7;
}

.storefront .product-category .card:nth-child(2n) {
    border-right: 0;
}

.storefront .product-category .product-image {
    grid-area: image;
    width: 92px;
    height: 92px;
    align-self: center;
    border-radius: 8px;
    aspect-ratio: auto;
}

.storefront .product-category .card-body {
    grid-area: body;
    min-height: 0;
    padding: 0;
}

.storefront .product-category .card h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    letter-spacing: 0;
}

.storefront .product-category .card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--store-muted);
    font-size: 0.86rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront .product-category .card-footer {
    grid-area: footer;
    align-self: end;
    border: 0;
    padding: 0;
}

.storefront .product-category .price {
    font-size: 1rem;
}

.storefront .product-category .btn-add {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
}

.storefront .card .btn-add,
.storefront .featured-card .btn-add {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.storefront .card,
.storefront .featured-card {
    cursor: pointer;
}

.storefront .cart {
    top: 92px;
    border-radius: 8px;
    padding: 18px;
}

.cart-close-button {
    display: none;
}

.storefront #cart-items {
    min-height: 70px;
}

.storefront .cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 12px 0;
}

.cart-quantity {
    gap: 6px;
}

.cart-quantity button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.cart-quantity .cart-remove {
    width: auto;
    height: auto;
}

.storefront .cart-total {
    border-radius: 8px;
}

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

@media (max-width: 1024px) {
    .storefront .order-layout {
        grid-template-columns: 1fr;
    }

    .storefront .cart {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .storefront .featured-section {
        padding-top: 40px;
    }

    .storefront .featured-grid {
        grid-auto-columns: 76%;
        margin-right: -12px;
    }

    .storefront .menu-section {
        padding: 46px 0 90px;
    }

    .storefront .menu-heading h2 {
        font-size: 2.35rem;
    }

    .storefront .product-category .cards {
        grid-template-columns: 1fr;
    }

    .storefront .product-category .card,
    .storefront .product-category .card:nth-child(2n) {
        grid-template-columns: minmax(0, 1fr) 82px;
        min-height: 112px;
        border-right: 0;
        padding: 12px;
    }

    .storefront .product-category .product-image {
        width: 78px;
        height: 78px;
    }

    .storefront .product-category .btn-add {
        min-width: 36px;
        padding: 8px 10px;
    }

    .storefront .cart {
        position: fixed;
        z-index: 90;
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-height: min(78vh, 680px);
        overflow-y: auto;
        margin: 0;
        border-radius: 18px;
        padding: 18px;
        box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
        transform: translateY(calc(100% + 28px));
        transition: transform 0.2s ease;
    }

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

    .cart-close-button {
        position: absolute;
        top: 12px;
        right: 14px;
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #f0eee8;
        cursor: pointer;
        font-size: 1.4rem;
    }

    .mobile-cart-backdrop {
        position: fixed;
        z-index: 80;
        inset: 0;
        display: none;
        background: rgba(17, 17, 14, 0.46);
    }

    body.cart-open .mobile-cart-backdrop {
        display: block;
    }

    body.cart-open {
        overflow: hidden;
    }

    body.cart-open .mobile-cart-link,
    body.modal-open .mobile-cart-link {
        display: none;
    }

    .mobile-cart-link {
        border: 0;
        font: inherit;
    }
}
/* Mobile: keep only the compact cart launcher until opened */
@media (max-width: 760px) {
    .storefront .cart {
        display: none;
    }

    .storefront .cart.is-open {
        display: grid;
    }

    .mobile-cart-link {
        position: fixed;
        z-index: 70;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        display: flex;
    }

    body.cart-open .mobile-cart-link,
    body.modal-open .mobile-cart-link {
        display: none;
    }
}

/* Absolute final mobile overrides: product sheet + cart */
@media (max-width: 760px) {
    .product-option-modal.is-open {
        position: fixed;
        inset: 0;
        display: block;
        overflow: hidden;
        padding: 0;
    }

    .product-option-card {
        position: fixed;
        inset: 0;
        display: block;
        width: 100%;
        height: 100dvh;
        max-height: none;
        overflow-y: auto;
        border-radius: 0;
        background: #fff;
        padding: 0 0 calc(94px + env(safe-area-inset-bottom));
        -webkit-overflow-scrolling: touch;
    }

    .product-detail-image {
        width: 100%;
        height: min(34dvh, 300px);
        min-height: 185px;
        background: #111;
    }

    .product-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-detail-panel,
    .product-detail-scroll {
        display: block;
        overflow: visible;
        min-height: 0;
        padding: 0;
    }

    .product-detail-scroll {
        padding: 22px 18px 20px;
    }

    .product-detail-scroll h2 {
        margin: 0 44px 10px 0;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.08;
        letter-spacing: 0;
    }

    #product-option-description {
        display: block;
        margin: 0 0 20px;
        overflow: visible;
        color: #8a8b85;
        font-size: clamp(1.05rem, 4.8vw, 1.32rem);
        line-height: 1.45;
        -webkit-line-clamp: unset;
    }

    #product-option-groups {
        overflow: visible;
        padding: 0;
    }

    .product-option-group {
        margin: 0 0 16px;
        border-radius: 0;
        border-right: 0;
        border-left: 0;
    }

    .product-option-group legend {
        padding: 12px 0;
        background: #fff;
    }

    .product-option-group > label {
        min-height: 44px;
        padding: 8px 0;
    }

    .product-instructions {
        margin: 18px -18px 0;
        border-top: 6px solid #f2f2f2;
        padding: 18px;
    }

    .product-instructions span {
        font-size: 1.12rem;
        font-weight: 900;
    }

    .product-instructions textarea {
        width: 100%;
        min-height: 68px;
        max-height: 92px;
        margin-top: 12px;
        border: 0;
        border-radius: 8px;
        background: #f1f2f4;
        padding: 13px 14px;
        font-size: 1rem;
    }

    .product-instructions small {
        display: block;
        margin-top: 12px;
        color: #6f7069;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .product-option-footer {
        position: fixed;
        z-index: 1400;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 136px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        margin: 0;
        border-top: 1px solid #ddd;
        background: #fff;
        padding: 12px 16px max(12px, env(safe-area-inset-bottom));
        box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.1);
    }

    .product-option-quantity {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .product-option-quantity button {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #f1f1f1;
        color: #111;
        padding: 0;
        font: inherit;
        font-size: 1.6rem;
        font-weight: 900;
        line-height: 1;
    }

    .product-option-quantity strong {
        min-width: 22px;
        font-size: 1.35rem;
        font-weight: 900;
        line-height: 1;
        text-align: center;
    }

    .product-option-footer button#product-option-confirm {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 58px;
        align-items: center;
        gap: 10px;
        border-radius: 9px;
        background: #48ad4d;
        padding: 10px 14px;
        overflow: hidden;
        font-size: clamp(0.98rem, 4.2vw, 1.15rem);
        font-weight: 900;
        white-space: nowrap;
    }

    .product-option-footer button#product-option-confirm span {
        min-width: max-content;
        margin-left: 0;
        font-weight: 900;
    }

    .pickup-modal-close[data-close-product-options] {
        position: fixed;
        z-index: 1500;
        top: max(14px, env(safe-area-inset-top));
        right: 16px;
        color: rgba(255, 255, 255, 0.76);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }

    .storefront .cart {
        position: fixed;
        z-index: 90;
        inset: 0;
        display: grid;
        max-width: none;
        max-height: none;
        grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
        overflow: hidden;
        margin: 0;
        border: 0;
        border-radius: 0;
        padding: max(22px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
        box-shadow: none;
        transform: translateX(100%);
    }

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

    .storefront #cart-items {
        min-height: 0;
        overflow-y: auto;
    }

    body.cart-open .mobile-cart-link,
    body.modal-open .mobile-cart-link {
        display: none;
    }
}

@media (max-width: 380px) {
    .product-detail-image {
        height: min(29dvh, 235px);
        min-height: 160px;
    }

    .product-detail-scroll {
        padding: 18px 14px 18px;
    }

    .product-instructions {
        margin-right: -14px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .product-instructions small {
        display: none;
    }

    .product-option-footer {
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .product-option-quantity {
        gap: 7px;
    }

    .product-option-quantity button {
        width: 38px;
        height: 38px;
    }

    .product-option-footer button#product-option-confirm {
        min-height: 52px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 0.94rem;
    }
}

/* Final mobile fixes for cart and product detail */
@media (max-width: 760px) {
    .storefront .cart {
        position: fixed;
        z-index: 90;
        inset: 0;
        display: grid;
        max-width: none;
        max-height: none;
        grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
        overflow: hidden;
        margin: 0;
        border: 0;
        border-radius: 0;
        padding: max(22px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
        box-shadow: none;
        transform: translateX(100%);
        transition: transform 0.2s ease;
    }

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

    .storefront .cart-heading {
        padding-right: 48px;
    }

    .storefront #cart-items {
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
    }

    .cart-close-button {
        top: max(14px, env(safe-area-inset-top));
        right: 14px;
    }

    .product-option-modal {
        padding: 0;
        align-items: stretch;
    }

    .product-option-card {
        width: 100%;
        height: 100%;
        max-height: none;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(190px, 32vh) minmax(0, 1fr);
        border-radius: 0;
    }

    .product-detail-image {
        min-height: 0;
    }

    .product-detail-panel {
        display: grid;
        min-height: 0;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        overflow: hidden;
        padding: 18px 16px 0;
    }

    .product-detail-panel h2 {
        margin-right: 42px;
        font-size: 1.45rem;
    }

    #product-option-description {
        margin-bottom: 14px;
        font-size: 0.98rem;
        line-height: 1.45;
    }

    #product-option-groups {
        overflow: visible;
        padding-right: 0;
    }

    .product-detail-scroll {
        min-height: 0;
        overflow-y: auto;
        padding-right: 4px;
    }

    .product-instructions {
        margin: 12px -16px 0;
        padding: 16px;
    }

    .product-instructions textarea {
        min-height: 80px;
    }

    .product-option-footer {
        position: sticky;
        bottom: 0;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 -16px;
        padding: 12px 16px max(14px, env(safe-area-inset-bottom));
    }

    .product-option-quantity {
        justify-content: center;
    }
}

/* Client pages */
.subpage {
    min-height: 100vh;
}

.back-link {
    color: var(--store-text);
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    color: var(--brand-primary);
}

.page-shell {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 100px;
}

.page-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.page-heading h1 {
    margin: 0 0 12px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    letter-spacing: -0.055em;
    line-height: 1;
}

.page-heading > p:last-child,
.panel-heading p,
.auth-form-content > p {
    color: var(--store-muted);
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 28px;
    align-items: start;
}

.storefront .checkout-panel,
.checkout-summary-card {
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(37, 31, 19, 0.08);
}

.panel-heading {
    display: flex;
    margin-bottom: 28px;
    align-items: center;
    gap: 15px;
}

.panel-heading > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--store-text);
    color: #fff;
    font-weight: 800;
}

.panel-heading h2,
.checkout-summary-card h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
}

.panel-heading p {
    margin: 3px 0 0;
    font-size: 0.88rem;
}

.storefront .checkout-form {
    gap: 22px;
}

.storefront .form-grid {
    gap: 18px;
}

.storefront label {
    margin-bottom: 7px;
    font-weight: 700;
}

.storefront input,
.storefront select,
.storefront textarea {
    width: 100%;
    border: 1px solid var(--store-border);
    border-radius: 13px;
    background: #fbfaf7;
    padding: 13px 14px;
}

.storefront input:focus,
.storefront select:focus,
.storefront textarea:focus {
    border-color: var(--brand-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(227, 29, 26, 0.09);
}

.storefront .payment-mode {
    gap: 10px;
    border-radius: 18px;
    background: #f5f2ea;
}

.storefront .payment-mode > strong {
    font-family: "Manrope", sans-serif;
}

.storefront .payment-mode label {
    margin: 0;
    border: 1px solid var(--store-border);
}

.storefront .payment-mode label span {
    display: grid;
}

.storefront .payment-mode label small {
    color: var(--store-muted);
}

.checkout-submit {
    min-height: 54px;
}

.checkout-summary-card {
    position: sticky;
    top: 102px;
}

.checkout-summary-card h2 {
    margin-bottom: 18px;
}

.storefront .checkout-summary-box {
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.storefront .checkout-item {
    gap: 12px;
}

.secure-note {
    margin-top: 18px;
    color: var(--store-muted);
    font-size: 0.76rem;
    text-align: center;
}

.auth-page {
    display: block;
    padding: 0;
}

.auth-layout {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
}

.auth-visual {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(0deg, rgba(12, 10, 7, 0.88), rgba(12, 10, 7, 0.15)),
        url("../img/reine.jpg") center / cover;
    color: #fff;
    padding: 48px;
}

.auth-visual-register {
    background:
        linear-gradient(0deg, rgba(12, 10, 7, 0.88), rgba(12, 10, 7, 0.15)),
        url("../img/4fromages.jpg") center / cover;
}

.auth-logo img {
    width: 210px;
    filter: drop-shadow(0 5px 18px rgba(0, 0, 0, 0.15));
}

.auth-visual h1 {
    max-width: 580px;
    margin: 8px 0 16px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.auth-visual > div > p:last-child {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.76);
}

.auth-form-panel {
    display: flex;
    flex-direction: column;
    padding: 40px clamp(28px, 7vw, 100px);
}

.auth-form-content {
    width: min(100%, 500px);
    margin: auto;
}

.auth-form-content h2 {
    margin: 0 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: 2.2rem;
}

.auth-form-content .checkout-form {
    margin-top: 28px;
}

.auth-form-content small {
    color: var(--store-muted);
}

.auth-switch {
    margin-top: 22px;
    color: var(--store-muted);
    text-align: center;
}

.auth-switch a {
    color: var(--brand-primary);
    font-weight: 800;
}

.confirmation-page {
    display: block;
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at top, rgba(255, 207, 62, 0.22), transparent 38%),
        var(--store-bg);
}

.confirmation-shell {
    width: min(720px, calc(100% - 28px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.confirmation-shell > .auth-logo {
    display: block;
    margin-bottom: 35px;
    text-align: center;
}

.confirmation-card {
    border: 1px solid var(--store-border);
    border-radius: 28px;
    background: #fff;
    padding: clamp(25px, 6vw, 50px);
    box-shadow: 0 22px 60px rgba(37, 31, 19, 0.11);
    text-align: center;
}

.confirmation-check {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    place-items: center;
    border-radius: 50%;
    background: #def5e4;
    color: #16783b;
    font-size: 2rem;
    font-weight: 900;
}

.confirmation-card h1 {
    margin: 5px 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 6vw, 3.4rem);
    letter-spacing: -0.05em;
}

.confirmation-card > p {
    color: var(--store-muted);
}

.confirmation-reference {
    display: flex;
    margin: 28px 0;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    background: var(--store-text);
    color: #fff;
    padding: 18px 22px;
    font-size: 1rem;
}

.confirmation-reference strong {
    color: #ffcf3e;
    font-size: 1.55rem;
}

.confirmation-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.confirmation-details > div {
    display: grid;
    gap: 5px;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
}

.confirmation-details span,
.confirmation-items span {
    color: var(--store-muted);
    font-size: 0.82rem;
}

.confirmation-items {
    display: grid;
    margin: 24px 0;
    gap: 11px;
    text-align: left;
}

.confirmation-items > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.confirmation-total {
    border-top: 1px solid var(--store-border);
    padding-top: 14px;
    font-size: 1.15rem;
}

@media (max-width: 900px) {
    .checkout-layout,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card {
        position: static;
        grid-row: 1;
    }

    .auth-visual {
        min-height: 390px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: calc(100% - 24px);
        padding: 42px 0 80px;
    }

    .storefront .checkout-panel,
    .checkout-summary-card {
        padding: 20px;
    }

    .storefront .form-grid,
    .confirmation-details {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 330px;
        padding: 28px 22px;
    }

    .auth-logo img {
        width: 165px;
    }

    .auth-form-panel {
        padding: 28px 20px 55px;
    }
}

/* Administration */
.admin-app,
.admin-login-page {
    min-height: 100vh;
    background: #f3f4f1;
    color: #171713;
    font-family: "DM Sans", sans-serif;
}

.admin-login-page {
    display: grid;
    place-items: center;
    padding: 22px;
    background:
        radial-gradient(circle at top left, rgba(255, 207, 62, 0.2), transparent 34%),
        #f3f4f1;
}

.admin-login-card {
    width: min(100%, 460px);
    border: 1px solid #e2e3de;
    border-radius: 26px;
    background: #fff;
    padding: 35px;
    box-shadow: 0 24px 65px rgba(23, 23, 19, 0.12);
}

.admin-login-card > img {
    width: 190px;
    margin-bottom: 28px;
}

.admin-login-card h1 {
    margin: 4px 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.admin-login-card > p:not(.admin-kicker) {
    margin-bottom: 25px;
    color: #70706a;
}

.admin-kicker {
    margin: 0 0 6px;
    color: #e31d1a;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.admin-form label {
    margin: 6px 0 0;
    font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-status-form select {
    width: 100%;
    border: 1px solid #dedfd9;
    border-radius: 12px;
    background: #f9faf7;
    padding: 12px 13px;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-status-form select:focus {
    outline: none;
    border-color: #171713;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 23, 19, 0.08);
}

.admin-form button,
.admin-status-form button {
    min-height: 45px;
    border: 0;
    border-radius: 12px;
    background: #171713;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 11px 16px;
}

.admin-form button:hover,
.admin-status-form button:hover {
    background: #e31d1a;
}

.admin-back-link {
    display: block;
    margin-top: 20px;
    color: #70706a;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.admin-topbar {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #171713;
    color: #fff;
    padding: 22px max(20px, calc((100% - 1180px) / 2));
}

.admin-topbar h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -0.04em;
}

.admin-topbar .admin-kicker {
    color: #ffcf3e;
}

.admin-logout {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    padding: 9px 15px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-nav {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #dedfd9;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 14px;
    backdrop-filter: blur(12px);
}

.admin-nav a {
    border-radius: 999px;
    color: #5e5f59;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 9px 15px;
    text-decoration: none;
}

.admin-nav a.active {
    background: #171713;
    color: #fff;
}

.admin-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 35px 0 80px;
}

.admin-stats {
    display: grid;
    margin-bottom: 40px;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.admin-stats article {
    display: grid;
    min-height: 145px;
    align-content: space-between;
    border: 1px solid #dedfd9;
    border-radius: 20px;
    background: #fff;
    padding: 20px;
}

.admin-stats span,
.admin-stats small {
    color: #777870;
}

.admin-stats strong {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -0.05em;
}

.admin-section {
    min-width: 0;
}

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

.admin-section-heading h2,
.admin-panel h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.admin-section-heading > a {
    color: #e31d1a;
    font-weight: 800;
}

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

.admin-order-card,
.admin-panel,
.admin-edit-card,
.admin-empty {
    border: 1px solid #dedfd9;
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(23, 23, 19, 0.04);
}

.admin-order-card header {
    display: flex;
    margin: 0 0 17px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.admin-order-card h3 {
    margin: 8px 0 0;
    font-family: "Manrope", sans-serif;
}

.admin-order-card header > strong {
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
}

.admin-order-card > p {
    margin: 5px 0;
    color: #66675f;
}

.admin-order-card time {
    display: block;
    margin-top: 13px;
    color: #92938d;
    font-size: 0.78rem;
}

.admin-slot {
    font-weight: 700;
}

.admin-status {
    display: inline-flex;
    border-radius: 999px;
    background: #eeeee9;
    color: #5d5e57;
    padding: 5px 9px;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-status.status-preparing {
    background: #fff0c9;
    color: #8b5c00;
}

.admin-status.status-ready,
.admin-status.status-completed {
    background: #def4e4;
    color: #176e38;
}

.admin-status.status-cancelled {
    background: #f9dddd;
    color: #9a2525;
}

.admin-order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-order-info p {
    display: grid;
    margin: 0;
    border-radius: 12px;
    background: #f5f6f2;
    padding: 11px;
}

.admin-order-info span {
    color: #81827b;
    font-size: 0.72rem;
}

.admin-order-info a {
    color: #171713;
    font-weight: 800;
}

.admin-status-form {
    display: grid;
    margin-top: 16px;
    gap: 7px;
    border-top: 1px solid #e6e7e2;
    padding-top: 16px;
}

.admin-status-form > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.admin-heading-actions,
.admin-order-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-alert-button,
.admin-print-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 11px;
    background: #171713;
    color: #fff;
    padding: 9px 14px;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.admin-alert-button.is-active {
    background: #168348;
}

.admin-print-button.secondary {
    border: 1px solid #d9dad5;
    background: #fff;
    color: #171713;
}

.admin-orders-toolbar {
    display: flex;
    margin-bottom: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #dcddd8;
    border-radius: 16px;
    background: #fff;
    padding: 16px 18px;
}

.admin-orders-toolbar div {
    display: grid;
    gap: 3px;
}

.admin-orders-toolbar span {
    color: #72736d;
    font-size: 0.82rem;
}

.admin-new-order-notification {
    position: fixed;
    z-index: 1000;
    right: 22px;
    bottom: 22px;
    display: grid;
    min-width: min(360px, calc(100vw - 28px));
    gap: 4px;
    border: 0;
    border-radius: 16px;
    background: #e11c23;
    color: #fff;
    padding: 16px 18px;
    text-align: left;
    box-shadow: 0 18px 45px rgb(0 0 0 / 25%);
    cursor: pointer;
}

.admin-new-order-notification strong {
    font-size: 1rem;
}

.admin-new-order-notification span {
    font-size: 0.8rem;
}

.admin-preparation-list {
    margin-top: 16px;
    border: 2px solid #171713;
    border-radius: 14px;
    overflow: hidden;
}

.admin-preparation-heading {
    display: flex;
    justify-content: space-between;
    background: #171713;
    color: #fff;
    padding: 10px 13px;
}

.admin-order-items {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-order-items li {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e4e5df;
    padding: 9px 13px;
    font-size: 1rem;
}

.admin-order-items li:last-child {
    border-bottom: 0;
}

.admin-order-items li > span strong,
.admin-order-items.compact strong {
    color: #e11c23;
    font-size: 1.08em;
}

.admin-order-items.compact {
    margin: 12px 0;
    border-top: 1px solid #e4e5df;
    border-bottom: 1px solid #e4e5df;
}

.admin-order-items.compact li {
    min-height: 34px;
    padding: 6px 0;
}

.admin-order-actions {
    margin-top: 14px;
}

.ticket-page {
    margin: 0;
    background: #ecece8;
    color: #000;
    font-family: Arial, sans-serif;
}

.ticket-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px;
}

.ticket-toolbar button {
    border: 0;
    border-radius: 10px;
    background: #171713;
    color: #fff;
    padding: 12px 18px;
    font-weight: 800;
}

.preparation-ticket {
    width: var(--ticket-width, 58mm);
    box-sizing: border-box;
    margin: 0 auto 30px;
    background: #fff;
    padding: 3mm;
    box-shadow: 0 12px 35px rgb(0 0 0 / 12%);
    font-family: "Courier New", monospace;
    font-weight: 600;
}

.ticket-header,
.ticket-reference,
.ticket-footer {
    text-align: center;
}

.ticket-header {
    display: grid;
    gap: 4px;
    border-bottom: 1px dashed #000;
    padding-bottom: 4mm;
}

.ticket-header strong {
    font-size: 20px;
}

.ticket-reference {
    display: grid;
    gap: 2px;
    border-bottom: 2px solid #000;
    padding: 5mm 0;
}

.ticket-reference strong {
    font-size: 34px;
    letter-spacing: 3px;
}

.ticket-meta,
.ticket-payment {
    border-bottom: 1px dashed #000;
    padding: 3mm 0;
}

.ticket-meta p,
.ticket-payment p {
    display: grid;
    margin: 0 0 2.5mm;
    gap: 1mm;
}

.ticket-meta p:last-child,
.ticket-payment p:last-child {
    margin-bottom: 0;
}

.ticket-meta span,
.ticket-payment span {
    font-size: 11px;
    text-transform: uppercase;
}

.ticket-items {
    border-bottom: 2px solid #000;
    padding: 4mm 0;
}

.ticket-items h1 {
    margin: 0 0 3mm;
    text-align: center;
    font-size: 18px;
}

.ticket-notes { border-bottom: 2px solid #000; padding: 3mm 0; }
.ticket-notes > strong { display: block; text-align: center; }
.ticket-notes p { margin: 2mm 0 0; font-size: 14px; line-height: 1.35; }

.ticket-items div {
    display: grid;
    grid-template-columns: 15mm 1fr;
    border-top: 1px solid #000;
    padding: 3mm 0;
    font-size: 17px;
}

.ticket-items div strong {
    font-size: 21px;
}

.ticket-total {
    font-size: 18px;
}

.ticket-footer {
    padding-top: 4mm;
    font-size: 10px;
}

@media print {
    html,
    body {
        width: 58mm;
        min-width: 58mm;
        margin: 0;
        padding: 0;
    }

    .ticket-page {
        background: #fff;
    }

    .ticket-toolbar {
        display: none;
    }

    .preparation-ticket {
        width: 58mm;
        margin: 0;
        padding: 2.5mm 3mm 4mm;
        box-shadow: none;
        break-after: avoid;
    }
}

.admin-two-columns {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.form-grid-full { grid-column: 1 / -1; }
.cart-quantity { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-quantity button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-weight: 900;
}
.cart-quantity .cart-remove {
    width: auto;
    border: 0;
    background: transparent;
    color: #c91d22;
    padding: 0 4px;
    font-size: .78rem;
}
.confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.confirmation-status { display: inline-flex; border-radius: 999px; background: #f0f1ed; padding: 8px 14px; }
.account-shell { max-width: 980px; }
.account-profile-card {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
    border: 1px solid #e1e2de;
    border-radius: 22px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 12px 35px rgb(0 0 0 / 6%);
}
.account-profile-card h2 {
    margin: 4px 0 0;
}
.account-profile-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
}
.account-profile-form label {
    display: grid;
    gap: 6px;
    color: #676c65;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
.account-profile-form input {
    min-height: 46px;
    border: 1px solid #dcded8;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    color: #171713;
    font: inherit;
    text-transform: none;
}
.account-profile-form button {
    min-height: 46px;
    border-radius: 10px;
    padding: 10px 18px;
}
.account-order-list { display: grid; gap: 18px; }
.account-empty,
.account-order-card {
    border: 1px solid #e1e2de;
    border-radius: 22px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 12px 35px rgb(0 0 0 / 6%);
}
.account-order-card > header { display: flex; justify-content: space-between; gap: 20px; }
.account-order-card h2 { margin: 8px 0 4px; }
.account-order-card time { color: #777; font-size: .88rem; }
.account-order-card > header > strong { font-size: 1.35rem; }
.account-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 20px 0; }
.account-progress span { height: 8px; border-radius: 999px; background: #e5e6e2; }
.account-progress span.is-active { background: #20a55c; }
.account-pickup { display: grid; gap: 5px; border-radius: 14px; background: #f5f5f2; padding: 14px; }
.account-pickup span { color: #777; font-size: .76rem; text-transform: uppercase; }
.account-order-items { margin: 16px 0; padding: 0; list-style: none; }
.account-order-items li { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #ecece8; padding: 11px 0; }
.account-note { border-left: 4px solid #f1a800; background: #fff7dc; padding: 12px; }
.account-order-card footer { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #ecece8; padding-top: 14px; }
.account-order-card footer a { color: #c91d22; font-weight: 800; }
.admin-order-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0 26px;
    border: 1px solid #dedfd9;
    border-radius: 18px;
    background: #fff;
    padding: 16px;
}
.admin-order-filters label { display: grid; gap: 6px; color: #666; font-size: .78rem; font-weight: 800; }
.admin-order-filters input,
.admin-order-filters select { min-height: 45px; border: 1px solid #d6d8d2; border-radius: 10px; background: #fff; padding: 8px 11px; }
.admin-order-filters button,
.admin-order-filters a { display: flex; min-height: 45px; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 8px 14px; font-weight: 900; text-decoration: none; }
.admin-order-filters button { background: #171713; color: #fff; }
.admin-order-filters a { color: #c91d22; }
.admin-order-note { display: grid; gap: 5px; margin: 14px 0; border-left: 5px solid #f1a800; background: #fff7dc; padding: 13px; }
.admin-order-management { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.admin-order-management .admin-status-form { margin-top: 0; }

@media (max-width: 600px) {
    .account-order-card { padding: 17px; }
    .account-profile-card { padding: 17px; }
    .account-profile-form { grid-template-columns: 1fr; }
    .account-order-card > header,
    .account-order-card footer { align-items: flex-start; flex-direction: column; }
    .admin-order-filters,
    .admin-order-management { grid-template-columns: 1fr; }
}

.admin-panel {
    position: sticky;
    top: 80px;
}

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

.admin-edit-card.is-inactive {
    opacity: 0.62;
}

.admin-edit-card-heading {
    display: flex;
    margin-bottom: 7px;
    align-items: center;
    justify-content: space-between;
}

.admin-edit-card-heading span {
    border-radius: 999px;
    background: #eef0eb;
    color: #696a63;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 800;
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-checkbox input {
    width: auto;
}

.admin-danger-button {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #efc6c6;
    border-radius: 11px;
    background: #fff;
    color: #a72b2b;
    cursor: pointer;
    padding: 9px;
    font-weight: 800;
}

.admin-products-table {
    overflow-x: auto;
    border: 1px solid #dedfd9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(23, 23, 19, 0.04);
}

.admin-products-table-head,
.admin-product-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) minmax(220px, 1.25fr) minmax(135px, 0.75fr) 80px minmax(170px, 1fr) 108px 100px;
    align-items: center;
    gap: 10px;
}

.admin-products-table-head {
    min-height: 62px;
    border-bottom: 1px solid #dedfd9;
    background: #f7f8f5;
    color: #71726c;
    padding: 0 16px;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-products-category-row {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #171713;
    color: #fff;
    padding: 11px 16px;
}

.admin-products-category-row strong {
    font-size: 0.9rem;
}

.admin-products-category-row span {
    color: #d7d8d2;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-product-row {
    min-height: 82px;
    border-bottom: 1px solid #e7e8e3;
    padding: 10px 16px;
}

.admin-product-row:last-child {
    border-bottom: 0;
}

.admin-product-row.is-inactive {
    background: #fafaf8;
    opacity: 0.72;
}

.admin-product-row label {
    display: grid;
    min-width: 0;
    margin: 0;
}

.admin-product-main-cell label > span,
.admin-product-description-cell > span,
.admin-product-row > label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.admin-product-row input,
.admin-product-row textarea,
.admin-product-row select {
    width: 100%;
    min-width: 0;
    border: 1px solid #dedfd9;
    min-height: 42px;
    border-radius: 9px;
    background: #f9faf7;
    padding: 8px 10px;
    color: #171713;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
}

.admin-product-row textarea {
    min-height: 52px;
    resize: vertical;
}

.admin-product-row input:focus,
.admin-product-row textarea:focus,
.admin-product-row select:focus {
    outline: none;
    border-color: #171713;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 23, 19, 0.08);
}

.admin-product-main-cell {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-product-photo {
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    cursor: pointer;
}

.admin-product-photo img {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    object-fit: cover;
    background: #ecece8;
}

.admin-product-photo::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(23, 23, 19, 0.58);
    color: #fff;
    content: "+";
    font-size: 1.4rem;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.admin-product-photo:hover::after {
    opacity: 1;
}

.admin-product-photo input {
    display: none;
}

.admin-product-options-cell,
.admin-product-status-cell,
.admin-product-save-cell {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-product-options-cell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.admin-product-options-cell label {
    position: relative;
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe1db;
    border-radius: 999px;
    background: #fff;
    color: #595a54;
    cursor: pointer;
    padding: 5px 8px;
    font-size: 0.72rem;
    font-weight: 900;
    text-align: center;
}

.admin-product-options-cell label.is-inactive {
    opacity: 0.5;
}

.admin-product-options-cell input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-product-options-cell label:has(input:checked) {
    border-color: #171713;
    background: #171713;
    color: #fff;
}

.admin-product-options-cell a {
    color: #e31d1a;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.admin-product-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.68rem;
    font-weight: 900;
}

.admin-product-badge.is-visible {
    background: #def4e4;
    color: #176e38;
}

.admin-product-badge.is-hidden {
    background: #f0f1ed;
    color: #6c6d66;
}

.admin-product-badge.is-featured {
    background: #fff0c9;
    color: #8b5c00;
}

.admin-product-status-cell .admin-checkbox {
    color: #3f403a;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-product-status-cell .admin-checkbox input {
    width: auto;
}

.admin-product-toggle {
    position: relative;
    display: inline-flex;
    min-height: 32px;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    background: #f0f1ed;
    color: #66675f;
    cursor: pointer;
    padding: 6px 11px;
    font-size: 0.74rem;
    font-weight: 900;
}

.admin-product-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-product-toggle.is-on {
    background: #def4e4;
    color: #176e38;
}

.admin-product-toggle.is-featured {
    background: #fff0c9;
    color: #8b5c00;
}

.admin-product-muted {
    color: #777870;
    font-size: 0.76rem;
    font-weight: 800;
}

.admin-product-save-cell span {
    display: inline-flex;
    width: max-content;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    background: #f0f1ed;
    color: #66675f;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 900;
}

.admin-product-save-cell span[data-state="saving"] {
    background: #fff0c9;
    color: #8b5c00;
}

.admin-product-save-cell span[data-state="saved"] {
    background: #def4e4;
    color: #176e38;
}

.admin-product-save-cell span[data-state="error"] {
    background: #f9dddd;
    color: #9a2525;
}

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

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

    .admin-panel {
        position: static;
    }

    .admin-products-table {
        overflow-x: auto;
    }

    .admin-products-table-head,
    .admin-product-row {
        min-width: 1040px;
    }
}

@media (max-width: 680px) {
    .admin-topbar {
        min-height: 94px;
    }

    .admin-nav {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .admin-nav a {
        flex: 0 0 auto;
    }

    .admin-container {
        width: calc(100% - 20px);
        padding-top: 20px;
    }

    .admin-order-grid,
    .admin-product-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 440px) {
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .admin-stats article {
        min-height: 125px;
        padding: 15px;
    }

    .admin-logout {
        padding: 8px 10px;
        font-size: 0.74rem;
    }
}

/* Store information, categories and pickup popup */
.store-header-details {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--store-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.store-header-details a {
    color: inherit;
    text-decoration: none;
}

.selected-pickup-button {
    display: grid;
    max-width: 220px;
    border: 0;
    border-radius: 13px;
    background: #f1eee6;
    cursor: pointer;
    padding: 8px 12px;
    text-align: left;
}

.selected-pickup-button span {
    color: var(--store-muted);
    font-size: 0.67rem;
    text-transform: uppercase;
}

.selected-pickup-button strong {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-information {
    position: relative;
    z-index: 3;
    display: grid;
    width: min(1100px, calc(100% - 40px));
    margin: -48px auto 0;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(37, 31, 19, 0.1);
}

.store-information article {
    display: flex;
    min-height: 130px;
    align-items: center;
    gap: 15px;
    padding: 24px;
}

.store-information article + article {
    border-left: 1px solid var(--store-border);
}

.store-info-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #f1eee6;
    color: var(--brand-primary);
    font-size: 1.2rem;
}

.store-information article > div {
    display: grid;
    gap: 3px;
}

.store-information small {
    color: var(--store-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-information strong {
    font-size: 0.94rem;
}

.opening-section {
    padding: 95px 0 10px;
}

.opening-heading h2 {
    margin: 0 0 24px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.opening-hours-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 20px;
    background: #fff;
}

.opening-hours-list > div {
    display: grid;
    min-height: 100px;
    align-content: center;
    gap: 5px;
    padding: 14px;
    text-align: center;
}

.opening-hours-list > div + div {
    border-left: 1px solid var(--store-border);
}

.opening-hours-list span {
    color: var(--store-muted);
    font-size: 0.78rem;
}

.featured-section {
    padding: 90px 0 5px;
}

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

.featured-card {
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(37, 31, 19, 0.05);
}

.featured-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.featured-card > div {
    padding: 20px;
}

.featured-card > div > span {
    color: #af8500;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-card h3 {
    margin: 6px 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
}

.featured-card p {
    min-height: 45px;
    color: var(--store-muted);
    font-size: 0.9rem;
}

.featured-card footer {
    display: flex;
    margin-top: 17px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.featured-card .btn-add {
    width: auto;
}

.categorized-menu {
    display: grid;
    gap: 60px;
}

.product-category {
    display: grid;
    gap: 18px;
}

.category-heading h3 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 1.8rem;
    letter-spacing: -0.04em;
}

.category-heading p {
    margin: 4px 0 0;
    color: var(--store-muted);
}

.cart-pickup-summary {
    display: grid;
    margin-bottom: 17px;
    border-radius: 14px;
    background: #f1eee6;
    padding: 12px;
}

.cart-pickup-summary span {
    color: var(--store-muted);
    font-size: 0.7rem;
}

.cart-pickup-summary strong {
    margin: 3px 0 7px;
    font-size: 0.83rem;
}

.cart-pickup-summary button {
    width: max-content;
    border: 0;
    background: transparent;
    color: var(--brand-primary);
    cursor: pointer;
    font-weight: 800;
    padding: 0;
}

.pickup-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    visibility: hidden;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pickup-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.pickup-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 10, 0.68);
    backdrop-filter: blur(3px);
}

.pickup-modal-card {
    position: relative;
    z-index: 1;
    width: min(620px, calc(100% - 28px));
    border-radius: 28px;
    background: #fff;
    padding: clamp(28px, 6vw, 58px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.pickup-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: 0;
    background: transparent;
    color: #8c8d86;
    cursor: pointer;
    font-size: 2rem;
}

.pickup-modal-icon {
    display: grid;
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 24px;
    background: #f1eee6;
    color: var(--brand-primary);
    font-size: 2.2rem;
}

.pickup-modal-card h2 {
    margin: 4px 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    letter-spacing: -0.05em;
}

.pickup-modal-card > p:not(.eyebrow) {
    margin: 0 auto;
    color: var(--store-muted);
}

.pickup-selectors {
    display: grid;
    margin: 30px 0;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
}

.pickup-selectors label {
    margin: 0;
}

.pickup-selectors label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--store-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pickup-selectors select {
    width: 100%;
    border: 1px solid var(--store-border);
    border-radius: 13px;
    background: #fbfaf7;
    padding: 13px;
}

.pickup-confirm-button {
    min-width: 210px;
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--brand-primary);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.modal-open {
    overflow: hidden;
}

.settings-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.settings-panel {
    position: static;
}

.settings-hours-panel,
.settings-save-button {
    grid-column: 1 / -1;
}

.opening-hours-admin {
    display: grid;
    gap: 9px;
}

.opening-hours-row {
    display: grid;
    grid-template-columns: 130px 1fr 1fr 100px;
    align-items: end;
    gap: 12px;
    border-radius: 13px;
    background: #f5f6f2;
    padding: 12px;
}

.planning-row {
    grid-template-columns: 110px minmax(180px, 1.4fr) 1fr 1fr 90px;
}

.planning-capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
    gap: 14px;
}

.planning-capacity-grid label {
    display: grid;
    gap: 7px;
}

.planning-closures {
    margin-top: 28px;
}

.planning-closures .admin-panel,
.admin-product-list .admin-panel {
    position: static;
}

.opening-hours-row label > span {
    display: block;
    color: #777870;
    font-size: 0.68rem;
}

.settings-save-button {
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    background: #171713;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.admin-success {
    margin-bottom: 18px;
    border: 1px solid #a9dec0;
    border-radius: 13px;
    background: #e6f7ed;
    color: #176e38;
    padding: 13px 16px;
    font-weight: 800;
}

.admin-catalog-forms {
    display: grid;
    margin-bottom: 45px;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    align-items: start;
}

.admin-catalog-section {
    margin-top: 42px;
}

.admin-category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 1050px) {
    .store-header-details {
        display: none;
    }

    .opening-hours-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .opening-hours-list > div {
        border-bottom: 1px solid var(--store-border);
    }

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

@media (max-width: 760px) {
    .selected-pickup-button {
        max-width: 155px;
    }

    .store-information {
        width: calc(100% - 24px);
        margin-top: -32px;
        grid-template-columns: 1fr;
    }

    .store-information article {
        min-height: auto;
        padding: 18px 20px;
    }

    .store-information article + article {
        border-top: 1px solid var(--store-border);
        border-left: 0;
    }

    .opening-section {
        padding-top: 70px;
    }

    .opening-hours-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pickup-selectors,
    .settings-layout,
    .admin-catalog-forms {
        grid-template-columns: 1fr;
    }

    .settings-hours-panel,
    .settings-save-button {
        grid-column: auto;
    }

    .opening-hours-row {
        grid-template-columns: 1fr 1fr;
    }

    .planning-row,
    .planning-capacity-grid {
        grid-template-columns: 1fr;
    }

    .admin-orders-toolbar,
    .admin-section-heading,
    .admin-heading-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .opening-hours-row > strong {
        grid-column: 1 / -1;
    }

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

/* Final storefront layout override */
.storefront .featured-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 1fr);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.storefront .featured-grid::-webkit-scrollbar {
    display: none;
}

.storefront .featured-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.storefront .featured-card {
    min-height: 330px;
    border-radius: 8px;
    scroll-snap-align: start;
}

.storefront .featured-card > img {
    aspect-ratio: 1.25 / 1;
}

.storefront .product-category .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: #fff;
}

.storefront .product-category .card {
    display: grid;
    min-height: 128px;
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas: "body image" "footer image";
    gap: 4px 12px;
    border: 0;
    border-right: 1px solid var(--store-border);
    border-bottom: 1px solid var(--store-border);
    border-radius: 0;
    box-shadow: none;
    padding: 14px;
}

.storefront .product-category .card:nth-child(2n) {
    border-right: 0;
}

.storefront .product-category .card:hover {
    transform: none;
    box-shadow: none;
    background: #fbfaf7;
}

.storefront .product-category .product-image {
    grid-area: image;
    width: 92px;
    height: 92px;
    align-self: center;
    border-radius: 8px;
    aspect-ratio: auto;
}

.storefront .product-category .card-body {
    grid-area: body;
    min-height: 0;
    padding: 0;
}

.storefront .product-category .card h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    letter-spacing: 0;
}

.storefront .product-category .card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront .product-category .card-footer {
    grid-area: footer;
    align-self: end;
    border: 0;
    padding: 0;
}

.storefront .product-category .price {
    font-size: 1rem;
}

.storefront .product-category .btn-add {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
}

.storefront .cart {
    border-radius: 8px;
}

.cart-close-button,
.mobile-cart-backdrop {
    display: none;
}

@media (max-width: 760px) {
    .storefront .featured-grid {
        grid-auto-columns: 76%;
        grid-template-columns: none;
        margin-right: -12px;
    }

    .featured-arrow {
        display: none;
    }

    .storefront .product-category .cards {
        grid-template-columns: 1fr;
    }

    .storefront .product-category .card,
    .storefront .product-category .card:nth-child(2n) {
        grid-template-columns: minmax(0, 1fr) 82px;
        min-height: 112px;
        border-right: 0;
        padding: 12px;
    }

    .storefront .product-category .product-image {
        width: 78px;
        height: 78px;
    }

    .storefront .cart {
        position: fixed;
        z-index: 90;
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-height: min(78vh, 680px);
        overflow-y: auto;
        margin: 0;
        border-radius: 18px;
        padding: 18px;
        box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
        transform: translateY(calc(100% + 28px));
        transition: transform 0.2s ease;
    }

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

    .cart-close-button {
        position: absolute;
        top: 12px;
        right: 14px;
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: #f0eee8;
        cursor: pointer;
        font-size: 1.4rem;
    }

    .mobile-cart-backdrop {
        position: fixed;
        z-index: 80;
        inset: 0;
        display: none;
        background: rgba(17, 17, 14, 0.46);
    }

    body.cart-open .mobile-cart-backdrop {
        display: block;
    }

    body.cart-open {
        overflow: hidden;
    }

    .mobile-cart-link {
        border: 0;
        font: inherit;
    }
}
/* Last mobile override: fixed product add bar */
@media (max-width: 760px) {
    .product-option-modal.is-open {
        position: fixed;
        inset: 0;
        display: block;
        overflow: hidden;
        padding: 0;
    }

    .product-option-card {
        position: fixed;
        inset: 0;
        display: block;
        width: 100%;
        height: 100dvh;
        max-height: none;
        overflow-y: auto;
        border-radius: 0;
        background: #fff;
        padding: 0 0 calc(94px + env(safe-area-inset-bottom));
        -webkit-overflow-scrolling: touch;
    }

    .product-detail-image {
        width: 100%;
        height: min(34dvh, 300px);
        min-height: 185px;
        background: #111;
    }

    .product-detail-panel,
    .product-detail-scroll {
        display: block;
        overflow: visible;
        min-height: 0;
        padding: 0;
    }

    .product-detail-scroll {
        padding: 22px 18px 20px;
    }

    .product-detail-scroll h2 {
        margin: 0 44px 10px 0;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.08;
        letter-spacing: 0;
    }

    #product-option-description {
        display: block;
        margin: 0 0 20px;
        overflow: visible;
        color: #8a8b85;
        font-size: clamp(1.05rem, 4.8vw, 1.32rem);
        line-height: 1.45;
        -webkit-line-clamp: unset;
    }

    #product-option-groups {
        overflow: visible;
        padding: 0;
    }

    .product-instructions {
        margin: 18px -18px 0;
        border-top: 6px solid #f2f2f2;
        padding: 18px;
    }

    .product-option-footer {
        position: fixed;
        z-index: 1400;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        margin: 0;
        border-top: 1px solid #ddd;
        background: #fff;
        padding: 12px 18px max(12px, env(safe-area-inset-bottom));
        box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.1);
    }

    .product-option-quantity {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    .product-option-quantity button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #f1f1f1;
        color: #111;
        font-size: 1.55rem;
    }

    .product-option-quantity strong {
        min-width: 24px;
        font-size: 1.35rem;
        text-align: center;
    }

    .product-option-footer button#product-option-confirm {
        min-height: 58px;
        border-radius: 9px;
        background: #48ad4d;
        padding: 10px 14px;
        font-size: clamp(1rem, 4.7vw, 1.2rem);
        white-space: nowrap;
    }

    .pickup-modal-close[data-close-product-options] {
        position: fixed;
        z-index: 1500;
        top: max(14px, env(safe-area-inset-top));
        right: 16px;
        color: rgba(255, 255, 255, 0.76);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }
}
/* Last visual polish for mobile add bar */
@media (max-width: 760px) {
    .product-option-footer {
        grid-template-columns: 136px minmax(0, 1fr);
        gap: 12px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .product-option-quantity {
        justify-content: space-between;
        gap: 8px;
    }

    .product-option-quantity button {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border: 0;
        padding: 0;
        font: inherit;
        font-size: 1.6rem;
        font-weight: 900;
        line-height: 1;
    }

    .product-option-quantity strong {
        min-width: 22px;
        font-size: 1.35rem;
        font-weight: 900;
        line-height: 1;
    }

    .product-option-footer button#product-option-confirm {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        overflow: hidden;
        padding-right: 14px;
        padding-left: 14px;
        font-size: clamp(0.98rem, 4.2vw, 1.15rem);
        font-weight: 900;
    }

    .product-option-footer button#product-option-confirm span {
        min-width: max-content;
        margin-left: 0;
        font-weight: 900;
    }
}

@media (max-width: 380px) {
    .product-option-footer {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 8px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .product-option-quantity {
        gap: 6px;
    }

    .product-option-quantity button {
        width: 40px;
        height: 40px;
        font-size: 1.45rem;
    }

    .product-option-quantity strong {
        min-width: 20px;
        font-size: 1.2rem;
    }

    .product-option-footer button#product-option-confirm {
        min-height: 52px;
        gap: 7px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.86rem;
    }
}
/* Final mobile cart visibility -- keep at EOF */
@media (max-width: 760px) {
    .storefront .cart {
        display: none;
    }

    .storefront .cart.is-open {
        display: grid;
    }

    .mobile-cart-link {
        position: fixed;
        z-index: 70;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        display: flex;
    }

    body.cart-open .mobile-cart-link,
    body.modal-open .mobile-cart-link {
        display: none;
    }
}

/* Final featured carousel override -- keep after mobile cart block */
.storefront .featured-section .menu-heading {
    align-items: flex-start;
}

.featured-heading-actions {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.featured-heading-actions p {
    margin: 0;
    text-align: right;
}

.featured-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.featured-controls .featured-arrow {
    position: static;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--store-text);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    transform: none;
}

.featured-controls .featured-arrow:hover {
    background: #fff;
    color: var(--store-text);
    box-shadow: 0 8px 22px rgba(37, 31, 19, 0.12);
}

.featured-carousel > .featured-arrow {
    display: none !important;
}

@media (max-width: 760px) {
    .featured-heading-actions {
        justify-items: start;
    }

    .featured-heading-actions p {
        text-align: left;
    }

    .featured-controls {
        display: none !important;
    }
}

.storefront .card .btn-add,
.storefront .featured-card .btn-add {
    display: none !important;
}

/* Final storefront header redesign - true EOF */
.storefront .site-header {
    border-bottom: 1px solid rgba(222, 218, 207, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(23, 23, 19, 0.06);
    backdrop-filter: blur(16px);
}

.storefront .header-inner {
    display: grid;
    width: min(1280px, calc(100% - 44px));
    min-height: 86px;
    grid-template-columns: 190px minmax(260px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.storefront .brand img {
    width: 176px;
    max-height: 64px;
}

.storefront .store-header-details {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(220px, 1fr) minmax(118px, auto);
    align-items: center;
    gap: 10px;
    color: var(--store-text);
}

.storefront .store-header-details > span,
.storefront .store-header-details > a {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #f7f5ef;
    padding: 9px 12px;
    color: var(--store-text);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront .store-header-details > span::before,
.storefront .store-header-details > a::before {
    display: block;
    margin-bottom: 1px;
    color: var(--store-muted);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.storefront .store-header-details > span::before {
    content: "Adresse";
}

.storefront .store-header-details > a::before {
    content: "Telephone";
}

.storefront .nav-actions {
    justify-content: flex-end;
    gap: 10px;
}

.storefront .selected-pickup-button {
    min-width: 142px;
    max-width: 170px;
    border: 1px solid #e4dfd3;
    border-radius: 16px;
    background: #f1eee6;
    padding: 9px 13px;
}

.storefront .selected-pickup-button span {
    color: #777268;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.storefront .selected-pickup-button strong {
    color: var(--store-text);
    font-size: 0.8rem;
}

.storefront .welcome {
    max-width: 96px;
    color: #7a756c;
    font-size: 0.82rem;
    line-height: 1.25;
}

.storefront .account-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    color: var(--store-text);
    font-size: 0.86rem;
    font-weight: 900;
}

.storefront .account-link:hover {
    background: #f7f5ef;
}

.storefront .header-cart {
    min-width: 112px;
    min-height: 48px;
    gap: 10px;
    border-radius: 999px;
    padding: 8px 9px 8px 17px;
    box-shadow: 0 12px 26px rgba(23, 23, 19, 0.12);
}

.storefront .header-cart span {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
}

@media (max-width: 1120px) {
    .storefront .header-inner {
        grid-template-columns: 170px 1fr auto;
        gap: 14px;
    }

    .storefront .store-header-details {
        grid-template-columns: 1fr;
    }

    .storefront .store-header-details > a {
        display: none;
    }

    .storefront .welcome {
        display: none;
    }
}

@media (max-width: 760px) {
    .storefront .header-inner {
        width: calc(100% - 24px);
        min-height: 82px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .storefront .brand img {
        width: 160px;
    }

    .storefront .store-header-details,
    .storefront .account-link,
    .storefront .header-cart {
        display: none;
    }

    .storefront .nav-actions {
        gap: 0;
    }

    .storefront .selected-pickup-button {
        min-width: 150px;
        max-width: 168px;
        padding: 10px 13px;
    }
}

/* Final checkout payment mode redesign */
.storefront .payment-mode {
    display: grid;
    gap: 14px;
    overflow: hidden;
    border: 1px solid #ebe5d8;
    border-radius: 18px;
    background: #f6f3eb;
    padding: 18px;
}

.storefront .payment-mode > strong {
    margin: 0;
    color: var(--store-text);
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
}

.storefront .payment-mode label {
    display: grid;
    width: 100%;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px solid #ded8cc;
    border-radius: 14px;
    background: #fff;
    padding: 15px 16px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.storefront .payment-mode label:hover,
.storefront .payment-mode label:has(input:checked) {
    border-color: rgba(227, 29, 26, 0.42);
    background: #fffdfb;
    box-shadow: 0 10px 24px rgba(23, 23, 19, 0.07);
}

.storefront .payment-mode input[type="radio"] {
    display: grid;
    width: 22px;
    height: 22px;
    margin: 0;
    place-self: center;
    accent-color: var(--brand-primary);
    cursor: pointer;
}

.storefront .payment-mode label span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.storefront .payment-mode label b {
    color: var(--store-text);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
}

.storefront .payment-mode label small {
    color: var(--store-muted);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.storefront .stripe-card-wrapper {
    display: grid;
    gap: 10px;
    border: 1px solid #ebe5d8;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.storefront .stripe-card-wrapper.hidden {
    display: none;
}

@media (max-width: 640px) {
    .storefront .payment-mode {
        gap: 12px;
        border-radius: 18px;
        padding: 16px;
    }

    .storefront .payment-mode label {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
        padding: 15px 14px;
    }

    .storefront .payment-mode input[type="radio"] {
        width: 20px;
        height: 20px;
    }

    .storefront .payment-mode label b {
        font-size: 0.98rem;
    }

    .storefront .payment-mode label small {
        font-size: 0.82rem;
    }
}

/* Checkout disabled card payment teaser */
.storefront .payment-coming-soon {
    display: grid;
    width: 100%;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px dashed #d8d1c4;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    padding: 15px 16px;
    color: #8a8478;
}

.storefront .payment-coming-soon > span {
    display: grid;
    width: 22px;
    height: 22px;
    place-self: center;
    border: 2px solid #d7d0c2;
    border-radius: 50%;
    background: #f1eee6;
}

.storefront .payment-coming-soon div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.storefront .payment-coming-soon b {
    color: #6f695f;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
}

.storefront .payment-coming-soon small {
    color: #928b80;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .storefront .payment-coming-soon {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
        padding: 15px 14px;
    }

    .storefront .payment-coming-soon > span {
        width: 20px;
        height: 20px;
    }
}

/* Final checkout payment coming soon: same card as payment choice */
.storefront .payment-mode label.payment-coming-soon {
    display: grid;
    width: 100%;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border: 1px solid #ded8cc;
    border-radius: 14px;
    background: #fff;
    padding: 15px 16px;
    cursor: not-allowed;
    opacity: 0.78;
    box-shadow: none;
}

.storefront .payment-mode label.payment-coming-soon:hover {
    border-color: #ded8cc;
    background: #fff;
    box-shadow: none;
}

.storefront .payment-mode label.payment-coming-soon input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: 0;
    place-self: center;
    accent-color: #c9c2b5;
    cursor: not-allowed;
}

.storefront .payment-mode label.payment-coming-soon span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.storefront .payment-mode label.payment-coming-soon b {
    color: var(--store-text);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
}

.storefront .payment-mode label.payment-coming-soon small {
    color: var(--store-muted);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .storefront .payment-mode label.payment-coming-soon {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
        padding: 15px 14px;
    }

    .storefront .payment-mode label.payment-coming-soon input[type="radio"] {
        width: 20px;
        height: 20px;
    }
}

/* Checkout empty state safeguard */
.storefront .checkout-layout.is-empty {
    display: none;
}

.storefront #checkout-empty:not(.hidden) {
    display: block;
    max-width: 720px;
    margin: 0 auto 28px;
}

/* Checkout pickup date/time split */
.storefront .checkout-pickup-field {
    min-width: 0;
}

@media (min-width: 641px) {
    .storefront .form-grid .checkout-pickup-field {
        grid-column: span 1;
    }
}

/* Public order status page */
.order-status-shell {
    width: min(760px, calc(100% - 28px));
}

.order-status-card h1 {
    margin-bottom: 8px;
}

.order-progress {
    display: grid;
    gap: 0;
    margin: 26px 0;
    text-align: left;
}

.order-progress article {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 0 0 22px;
    color: #8a8478;
}

.order-progress article:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 0;
    left: 13px;
    width: 2px;
    background: #e4dfd3;
}

.order-progress article.is-done:not(:last-child)::before {
    background: #e31d1a;
}

.order-progress i {
    position: relative;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 2px solid #d8d1c4;
    border-radius: 50%;
    background: #fff;
}

.order-progress i::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8d1c4;
}

.order-progress article.is-done i {
    border-color: #e31d1a;
    background: #e31d1a;
}

.order-progress article.is-done i::after {
    background: #fff;
}

.order-progress article.is-current strong {
    color: #e31d1a;
}

.order-progress strong {
    display: block;
    color: var(--store-text);
    font-size: 1rem;
    font-weight: 900;
}

.order-progress span,
.order-progress time {
    display: block;
    margin-top: 3px;
    color: #777268;
    font-size: 0.9rem;
    line-height: 1.35;
}

.order-progress time {
    font-size: 0.78rem;
    font-weight: 800;
}

/* Promo codes */
.promo-box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    border: 1px solid #ece2d0;
    border-radius: 14px;
    background: #fffaf0;
    padding: 14px;
}

.promo-box label {
    margin: 0;
    color: #8a5d00;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.promo-box > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.promo-box input {
    min-width: 0;
    min-height: 48px;
    border: 1px solid #ded4c2;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    color: #171713;
    font: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.promo-box input:focus {
    outline: none;
    border-color: var(--brand-primary, #d71920);
    box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.12);
    background: #fff;
}

.promo-box input::placeholder {
    color: #aaa196;
    text-transform: none;
}

.promo-box button {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #171713;
    color: #fff;
    cursor: pointer;
    padding: 12px 17px;
    font-weight: 900;
    font-size: 0.86rem;
    text-transform: uppercase;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 8px 18px rgba(23, 23, 19, 0.16);
    white-space: nowrap;
}

.promo-box button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--brand-primary, #d71920);
    box-shadow: 0 10px 22px rgba(215, 25, 32, 0.24);
}

.promo-box button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(215, 25, 32, 0.3);
}

.promo-box button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.promo-box p {
    min-height: 0;
    margin: 0;
    border-radius: 10px;
    color: #b91412;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.promo-box p.is-success {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    background: #e2f6e9;
    color: #148a4b;
    padding: 7px 10px;
}

.checkout-promo-box {
    margin-top: 18px;
    margin-bottom: 14px;
}

.promo-box.is-applied {
    border-color: #bfe7cd;
    background: #f3fbf6;
}

@media (max-width: 520px) {
    .promo-box > div {
        grid-template-columns: 1fr;
    }

    .promo-box button {
        width: 100%;
    }
}

.promo-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.promo-form label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.promo-form input,
.promo-form select {
    border: 1px solid #d9dad5;
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
}

.promo-form .admin-checkbox,
.promo-form .settings-save-button {
    align-self: end;
}

.promo-list {
    display: grid;
    gap: 10px;
}

.promo-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(140px, .6fr) minmax(130px, .6fr) auto auto;
    align-items: center;
    gap: 12px;
    border: 1px solid #e4e5df;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.promo-row div {
    display: grid;
    gap: 3px;
}

.promo-row span,
.promo-row small {
    color: #777870;
    font-size: 0.82rem;
}

.admin-delete-button {
    border: 1px solid #f0b6b6;
    border-radius: 10px;
    background: #fff5f5;
    color: #b91412;
    cursor: pointer;
    padding: 9px 12px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .promo-form,
    .promo-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile account access and checkout account nudge */
.storefront .mobile-account-link {
    display: none;
}

.subpage-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.subpage-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    padding: 0 16px;
}

.account-nudge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: -8px 0 24px;
    border: 1px solid #f3d5a2;
    border-radius: 18px;
    background: #fff7df;
    padding: 16px;
}

.account-nudge strong,
.account-nudge span {
    display: block;
}

.account-nudge strong {
    color: var(--store-text);
    font-weight: 900;
}

.account-nudge span {
    margin-top: 4px;
    color: #6f6455;
    font-size: .9rem;
    line-height: 1.35;
}

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

.account-nudge-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 14px;
    color: var(--store-text);
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
}

.account-nudge-actions a:last-child {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(227, 29, 26, .18);
}

@media (max-width: 760px) {
    .storefront .header-inner {
        grid-template-columns: minmax(112px, 1fr) auto;
    }

    .storefront .brand img {
        width: 128px;
    }

    .storefront .nav-actions {
        align-items: center;
        gap: 8px;
    }

    .storefront .mobile-account-link {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--store-border);
        border-radius: 999px;
        background: #fff;
        color: var(--store-text);
        padding: 0 11px;
        font-size: .84rem;
        font-weight: 900;
        text-decoration: none;
        box-shadow: 0 10px 22px rgba(23, 23, 19, .08);
    }

    .storefront .selected-pickup-button {
        min-width: 112px;
        max-width: 128px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .subpage-header-actions {
        gap: 8px;
    }

    .subpage-header-actions .back-link,
    .subpage-account-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        white-space: nowrap;
        border-radius: 999px;
        padding: 0 12px;
        font-size: .82rem;
    }

    .account-nudge {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .account-nudge-actions {
        justify-content: stretch;
    }

    .account-nudge-actions a {
        flex: 1 1 130px;
    }
}
