/* =========================================================
   SUGAR & STIX — ORDER
   Loads after styles.css
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.order-hero {
    padding: 84px 0;
    background:
        radial-gradient(circle at 84% 20%, rgba(201,149,67,.20), transparent 27%),
        radial-gradient(circle at 12% 82%, rgba(217,133,127,.15), transparent 24%),
        #2b1b14;
    color: #fff;
}

.order-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .5fr);
    gap: 90px;
    align-items: end;
}

.order-hero h1 {
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(3.4rem, 6.5vw, 6.2rem);
    line-height: .95;
}

.order-hero-lede {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 1.08rem;
    line-height: 1.8;
}

.order-status-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.order-status-card > span {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-soft);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.order-status-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.7rem;
}

.order-status-card p {
    margin: 0;
    color: rgba(255,255,255,.68);
}


/* =========================================================
   NOTICE BAR
   ========================================================= */

.order-notice {
    background: #c77872;
    color: #fff;
}

.order-notice-inner {
    padding-top: 16px;
    padding-bottom: 16px;
}

.order-notice-inner > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.order-notice-inner p {
    margin: 0;
    font-size: .9rem;
}

.order-notice-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
}


/* =========================================================
   SHOP LAYOUT
   Left: Step 1 + Step 2 stacked. Right: sticky cart.
   ========================================================= */

.order-shop {
    padding: 56px 0 96px;
    background: #fffaf4;
}

.order-shop > .shell,
.order-notice > .shell {
    width: calc(100% - 48px);
    max-width: 1440px;
}

.order-shop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}

.order-main {
    min-width: 0;
}

#order-builder,
#order-step-1,
#order-step-2,
#order-summary {
    scroll-margin-top: 96px;
}

.order-step + .order-step {
    margin-top: 44px;
    padding-top: 40px;
    border-top: 1px solid rgba(53,35,24,.09);
}


/* STEP HEADINGS */

.order-step-heading {
    margin-bottom: 20px;
}

.order-step-heading .eyebrow {
    margin-bottom: 8px;
}

.order-step-heading h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.15;
}

.order-step-heading p:not(.eyebrow) {
    margin: 6px 0 0;
    color: var(--espresso-soft);
    font-size: .92rem;
}

.order-step-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-step-label > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: .62rem;
    letter-spacing: .10em;
}

/* Used by the How It Works section */
.order-section-heading {
    margin-bottom: 42px;
}

.order-section-heading h2 {
    margin-bottom: 0;
}


/* =========================================================
   STEP 1 — FULFILLMENT WINDOWS
   ========================================================= */

.order-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.order-slot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 44px 14px 16px;
    border: 2px solid rgba(53,35,24,.10);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--espresso);
    text-decoration: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

/* Radio-style indicator, top right */
.order-slot-card::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(53,35,24,.28);
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
    transition: border-color .18s ease, background .18s ease;
}

.order-slot-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(53,35,24,.08);
}

.order-slot-card:hover::after {
    border-color: var(--gold);
}

.order-slot-card:focus-visible {
    outline: 3px solid rgba(201,149,67,.4);
    outline-offset: 2px;
}

.order-slot-card.selected {
    border-color: var(--gold);
    background: #fffaf0;
}

.order-slot-card.selected::after {
    border-color: var(--gold);
    background: var(--gold);
}

.order-slot-type {
    color: var(--gold);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.order-slot-card > strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.2;
}

.order-slot-card > small {
    color: var(--espresso-soft);
    font-size: .78rem;
    line-height: 1.35;
}


/* "FINDING OUR SWEET SPOT" NOTE UNDER THE WINDOW PICKER */

.order-slot-note {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 16px;
    padding: 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(201,149,67,.35);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 96% 0%, rgba(217,133,127,.16), transparent 42%),
        linear-gradient(135deg, #fff7ea, var(--cream));
}

.order-slot-note > div {
    flex: 1 1 340px;
    min-width: 0;
}

.order-slot-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--espresso);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.order-slot-note p {
    margin: 0;
    max-width: 62ch;
    color: var(--espresso-soft);
    font-size: .86rem;
    line-height: 1.6;
}

.order-slot-note-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--blush);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(217,133,127,.32);
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.order-slot-note-link:hover {
    background: #c96e67;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(217,133,127,.38);
}

.order-slot-note-link:focus-visible {
    outline: 3px solid rgba(201,149,67,.45);
    outline-offset: 3px;
}


/* EMPTY STATES */

.order-no-slots {
    padding: 26px;
    border: 1px solid rgba(53,35,24,.08);
    border-radius: var(--radius-md);
    background: #fff;
}

.order-no-slots strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.3rem;
}

.order-no-slots p {
    margin: 0;
    color: var(--espresso-soft);
}


/* =========================================================
   STEP 2 — MENU
   ========================================================= */

.order-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.order-filter {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(53,35,24,.12);
    background: #fff;
    color: var(--espresso-soft);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.order-filter.active,
.order-filter:hover {
    background: var(--espresso);
    border-color: var(--espresso);
    color: #fff;
}

.order-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* PRODUCT CARD — thumbnail left, details right */

.order-product-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(53,35,24,.08);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 8px 22px rgba(53,35,24,.05);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.order-product-card[hidden] {
    display: none !important;
}

.order-product-card.in-cart {
    border-color: rgba(201,149,67,.55);
    box-shadow: 0 10px 26px rgba(201,149,67,.14);
}

.order-product-card.sold-out {
    opacity: .6;
}

.order-product-image {
    width: 104px;
    height: 104px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--cream-deep);
}

.order-product-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-image-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255,255,255,.94);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.2rem;
    background:
        radial-gradient(circle at 28% 22%, rgba(255,255,255,.18), transparent 34%),
        linear-gradient(145deg, #d6a170, #8f5635 70%, #573324);
}

.order-product-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.order-product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.order-product-title-row small {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
    color: var(--gold);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.order-status {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--blush-soft);
    color: var(--espresso);
    font-size: .58rem;
    letter-spacing: .06em;
}

.order-product-title-row h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.2;
}

.order-product-price-wrap {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    line-height: 1.15;
}

.order-product-price {
    color: var(--blush);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
    white-space: nowrap;
}

.order-product-desc {
    margin: 4px 0 0;
    color: var(--espresso-soft);
    font-size: .82rem;
    line-height: 1.45;
}


/* VARIANT PILLS */

.order-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.order-variant-list.is-single {
    display: none;
}

.order-variant-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(53,35,24,.14);
    border-radius: 999px;
    background: #fff;
    color: var(--espresso-soft);
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.order-variant-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.order-variant-option b {
    color: var(--espresso);
    font-weight: 800;
}

.order-variant-option:hover {
    border-color: var(--gold);
}

.order-variant-option:has(input:checked) {
    border-color: var(--espresso);
    background: var(--espresso);
    color: rgba(255,255,255,.8);
}

.order-variant-option:has(input:checked) b {
    color: #fff;
}

.order-variant-option:has(input:focus-visible) {
    outline: 3px solid rgba(201,149,67,.4);
    outline-offset: 2px;
}


/* QUANTITY + STOCK */

.order-product-foot {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}

.order-low-stock {
    color: var(--blush);
    font-size: .72rem;
    font-weight: 700;
}

.order-product-foot > .order-product-price {
    margin-right: auto;
}

.order-unavailable {
    color: var(--espresso-soft);
    font-size: .78rem;
    font-weight: 700;
}

.order-qty {
    display: inline-grid;
    grid-template-columns: 32px 34px 32px;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(53,35,24,.14);
    background: var(--paper);
}

.qty-btn {
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--espresso);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.qty-btn:hover {
    background: var(--cream);
}

.qty-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.order-qty input {
    width: 34px;
    height: 32px;
    padding: 0;
    border: 0;
    text-align: center;
    background: transparent;
    color: var(--espresso);
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    appearance: textfield;
    -moz-appearance: textfield;
}

.order-qty input::-webkit-inner-spin-button,
.order-qty input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.order-product-card.in-cart .order-qty {
    border-color: var(--gold);
    background: #fffaf0;
}


/* =========================================================
   CART / ORDER SUMMARY
   ========================================================= */

.order-summary {
    position: sticky;
    top: 92px;
}

.order-summary-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 116px);
    padding: 20px 22px;
    border: 1px solid rgba(53,35,24,.10);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--espresso);
    box-shadow: 0 14px 36px rgba(53,35,24,.08);
}

.order-summary-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.order-summary-head h2 {
    margin: 0;
    color: var(--espresso);
    font-size: 1.35rem;
}

.order-summary-head span {
    color: var(--espresso-soft);
    font-size: .78rem;
    font-weight: 700;
}


/* Selected window */

.order-summary-slot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--cream);
}

.order-summary-slot span {
    display: block;
    color: var(--gold);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.order-summary-slot strong {
    display: block;
    font-size: .88rem;
    line-height: 1.3;
}

.order-summary-slot small {
    display: block;
    color: var(--espresso-soft);
    font-size: .74rem;
    line-height: 1.35;
}

.order-summary-slot a {
    flex: 0 0 auto;
    color: var(--espresso);
    font-size: .74rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-summary-slot a:hover {
    color: var(--gold);
}


/* Items — scrolls inside the card so totals + button stay visible */

.order-summary-items {
    flex: 1 1 auto;
    min-height: 0;
    margin: 6px -4px 0 0;
    padding-right: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.order-summary-empty {
    margin: 14px 0 4px;
    color: var(--espresso-soft);
    font-size: .84rem;
}

.order-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(53,35,24,.08);
}

.order-cart-item:last-child {
    border-bottom: 0;
}

.order-cart-product-name {
    min-width: 0;
    overflow: hidden;
    color: var(--espresso);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-cart-unit-price {
    min-width: 0;
    overflow: hidden;
    color: var(--espresso-soft);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-cart-line-total {
    justify-self: end;
    color: var(--espresso);
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}

.order-cart-mini-qty {
    justify-self: end;
    display: grid;
    grid-template-columns: 26px 24px 26px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(53,35,24,.14);
    border-radius: 999px;
    background: #fff;
}

.order-cart-mini-qty button {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--espresso);
    font: inherit;
    font-size: .9rem;
    line-height: 1;
    cursor: pointer;
}

.order-cart-mini-qty button:hover {
    background: var(--cream);
}

.order-cart-mini-qty span {
    color: var(--espresso);
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
}


/* Totals */

.order-summary-totals {
    flex: 0 0 auto;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(53,35,24,.10);
}

.order-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.order-summary-total + .order-summary-total {
    margin-top: 6px;
}

.order-summary-total span {
    color: var(--espresso-soft);
    font-size: .84rem;
}

.order-summary-total strong {
    color: var(--espresso);
    font-size: .92rem;
}

.order-grand-total {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid rgba(53,35,24,.08);
}

.order-grand-total span {
    color: var(--espresso);
    font-weight: 700;
}

.order-grand-total strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
}

.order-checkout-button {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 16px;
}

.order-checkout-button:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.order-summary-note {
    display: block;
    margin-top: 8px;
    color: rgba(53,35,24,.5);
    font-size: .7rem;
    text-align: center;
}


/* MOBILE CART BAR (only shown ≤ 920px, when the cart has items) */

.order-mobile-bar {
    display: none;
}


/* =========================================================
   STEP 3 — CUSTOMER INFORMATION
   ========================================================= */

.order-customer-step {
    margin-top: 48px;
    scroll-margin-top: 96px;
}

.order-customer-step[hidden] {
    display: none;
}

.order-customer-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 40px;
    border: 1px solid rgba(53,35,24,.10);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(53,35,24,.07);
}

.order-customer-form {
    display: grid;
    gap: 16px;
}

.order-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.order-field {
    display: grid;
    gap: 7px;
}

.order-field > span {
    color: var(--espresso);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.order-field > span small {
    color: var(--espresso-soft);
    font-weight: 500;
}

.order-field input,
.order-field textarea {
    width: 100%;
    border: 1px solid rgba(53,35,24,.15);
    border-radius: 12px;
    background: var(--paper);
    color: var(--espresso);
    font: inherit;
}

.order-field input {
    height: 46px;
    padding: 0 14px;
}

.order-field textarea {
    min-height: 90px;
    padding: 12px 14px;
    resize: vertical;
}

.order-field input:focus,
.order-field textarea:focus {
    outline: 2px solid rgba(201,149,67,.28);
    border-color: var(--gold);
}

/* DELIVERY ADDRESS */

.order-delivery-fields {
    display: grid;
    gap: 16px;
    margin-top: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(53,35,24,.10);
}

.order-delivery-heading strong {
    display: block;
    color: var(--espresso);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
}

.order-delivery-heading p {
    margin: 4px 0 0;
    color: var(--espresso-soft);
    font-size: .84rem;
}

.order-delivery-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(90px, .55fr) minmax(120px, .7fr);
    gap: 16px;
}

.order-delivery-minimum {
    display: block;
    margin-top: -2px;
    color: var(--espresso-soft);
    font-size: .76rem;
}

.order-customer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.order-fulfillment-preview {
    padding: 96px 0;
    background: #eddbc6;
}

.order-fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.order-fulfillment-grid article {
    padding: 34px;
    border-radius: 26px;
    background: rgba(255,250,244,.92);
    border: 1px solid rgba(53,35,24,.07);
}

.order-fulfillment-grid article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--gold-soft);
    font-weight: 800;
}

.order-fulfillment-grid h3 {
    margin-bottom: 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
}

.order-fulfillment-grid p {
    margin: 0;
    color: var(--espresso-soft);
}


/* =========================================================
   FIRST BITE CLUB
   ========================================================= */

.order-final {
    padding: 96px 0;
    background: #c77872;
    color: #fff;
    text-align: center;
}

.order-final-inner {
    max-width: 780px;
}

.order-final h2 {
    margin-bottom: 16px;
    color: #fff;
}

.order-final p:not(.eyebrow) {
    margin-bottom: 30px;
    color: rgba(255,255,255,.78);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Wide screens: three menu columns */
@media (min-width: 1520px) {
    .order-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .order-shop-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 24px;
    }

    .order-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .order-shop-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .order-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-summary {
        position: static;
    }

    .order-summary-card {
        max-height: none;
    }

    .order-summary-items {
        overflow: visible;
    }

    .order-mobile-bar:not([hidden]) {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 10px 10px 18px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        border-radius: 999px;
        background: var(--espresso);
        color: #fff;
        box-shadow: 0 14px 36px rgba(53,35,24,.28);
    }

    .order-mobile-bar div {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .order-mobile-bar strong {
        font-size: .86rem;
    }

    .order-mobile-bar span {
        color: var(--gold-soft);
        font-size: .8rem;
        font-weight: 700;
    }

    .order-mobile-bar .button {
        background: var(--gold);
        border-color: var(--gold);
        color: #fff;
    }

    /* Room so the bar never covers the last product */
    .order-shop {
        padding-bottom: 110px;
    }
}

@media (max-width: 900px) {
    .order-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .order-status-card {
        max-width: 520px;
    }

    .order-fulfillment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .order-shop > .shell,
    .order-notice > .shell {
        width: calc(100% - 28px);
    }

    .order-product-grid,
    .order-field-grid,
    .order-delivery-location-grid {
        grid-template-columns: 1fr;
    }

    .order-slot-grid {
        display: flex;
        margin-right: -14px;
        padding: 2px 14px 6px 2px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .order-slot-grid::-webkit-scrollbar {
        display: none;
    }

    .order-slot-card {
        flex: 0 0 72%;
        max-width: 240px;
        scroll-snap-align: start;
    }

    .order-customer-card {
        padding: 26px 20px;
    }

    .order-customer-actions {
        flex-direction: column-reverse;
    }

    .order-customer-actions .button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .order-hero,
    .order-fulfillment-preview,
    .order-final {
        padding: 64px 0;
    }

    .order-shop {
        padding-top: 40px;
    }

    .order-hero h1 {
        font-size: clamp(3rem, 14vw, 4.7rem);
    }

    .order-notice-inner > div {
        align-items: flex-start;
        text-align: left;
    }

    .order-filter-row {
        flex-wrap: nowrap;
        margin-right: -14px;
        padding-right: 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .order-filter-row::-webkit-scrollbar {
        display: none;
    }

    .order-filter {
        flex: 0 0 auto;
    }

    .order-product-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .order-product-image {
        width: 84px;
        height: 84px;
    }

    .order-summary-card {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .order-slot-note {
        padding: 18px;
    }

    .order-slot-note-link {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-slot-note-link,
    .order-slot-card,
    .order-product-card,
    .order-variant-option {
        transition: none;
    }
}
