.order-header {
    max-width: 100%;
    background: #fffaf5;
    border-bottom: 1px solid var(--line);
}

.order-header .wrapper {
    gap: 2rem;
    justify-content: flex-start;
    padding: 2rem 1rem;
}

.order-header h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
}

.order-header .lead {
    max-width: 760px;
}

.eyebrow,
.step-label {
    margin: 0 0 .35rem;
    color: var(--accent-strong);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.order-page {
    max-width: 1240px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.order-products,
.order-step {
    display: grid;
    gap: 1rem;
}

.order-step {
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-category {
    margin: .25rem 0 1.25rem;
    padding: 0;
    background: transparent;
    border: 0;
}

.category-heading {
    margin-bottom: .75rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
}

.category-heading p,
.product-copy p,
.summary-small,
.min-note {
    color: var(--muted);
}

.product-list {
    display: grid;
    gap: .65rem;
}

.product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-row.selected {
    border-color: rgba(184, 100, 53, .55);
    box-shadow: 0 0 0 3px rgba(184, 100, 53, .08);
}

.product-copy h4 {
    margin-bottom: .25rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .55rem;
}

.badges span {
    padding: .15rem .45rem;
    background: #f3ece6;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.product-controls {
    display: grid;
    justify-items: end;
    gap: .45rem;
}

.product-price {
    font-weight: 800;
}

.product-price small {
    color: var(--muted);
    font-weight: 600;
}

.quantity-control {
    display: grid;
    grid-template-columns: 40px 64px 40px;
    align-items: center;
}

.quantity-control input {
    height: 40px;
    border-radius: 0;
    text-align: center;
}

.qty-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px 0 0 8px;
    font-size: 1.1rem;
}

.qty-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.fulfillment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.option-card,
.consent {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.option-card small {
    display: block;
    color: var(--muted);
    font-weight: 400;
}

.address-fields {
    display: grid;
    gap: .75rem;
}

.field {
    display: grid;
    gap: .35rem;
}

.field.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.notice {
    padding: 1rem;
    border-radius: 8px;
}

.notice.warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
}

.notice.error,
.form-status.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #7f1d1d;
}

.order-summary {
    position: sticky;
    top: 4.75rem;
    align-self: start;
}

.summary-panel {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.summary-list {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary-list li,
.totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--line);
}

.summary-list strong,
.totals dd {
    white-space: nowrap;
    font-weight: 800;
}

.totals {
    display: grid;
    gap: .5rem;
    margin: 0;
}

.totals dt,
.totals dd {
    margin: 0;
}

.grand-total {
    color: var(--accent-strong);
    font-size: 1.2rem;
}

.minimum-message {
    margin: 0;
    padding: .75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #7c2d12;
    font-weight: 700;
}

.minimum-message.ok,
.form-status.ok {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #065f46;
}

.form-status {
    display: none;
    padding: .75rem;
    border-radius: 8px;
}

.form-status.ok,
.form-status.error {
    display: block;
}

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

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

    .order-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .order-header .wrapper,
    .product-row,
    .field.two,
    .fulfillment-options {
        grid-template-columns: 1fr;
    }

    .order-header .wrapper {
        display: grid;
    }

    .product-controls {
        justify-items: start;
    }
}
