:root {
    --ink: #222724;
    --charcoal: #2d302f;
    --forest: #1f4b36;
    --forest-deep: #153626;
    --sage: #dfe8df;
    --sage-soft: #f1f5f0;
    --gold: #b58b35;
    --gold-soft: #eadfc5;
    --paper: #f7f6f1;
    --white: #ffffff;
    --stone: #e4e3dc;
    --muted: #68706b;
    --brick: #8c3e33;
    --line: #d8dcd7;
    --shadow: 0 18px 50px rgba(30, 36, 32, 0.12);
}

/* Preserve the existing shell used by login and /backend. */
body:not(.public-order-body) .image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    background-color: #2f2f2f;
}

body:not(.public-order-body) .headerimage {
    width: 70%;
}

.info-text {
    font-size: 18px;
}

.top-space {
    margin-top: 25px;
}

.top-space-small {
    margin-top: 15px;
}

@media only screen and (max-width: 500px) {
    body:not(.public-order-body) .headerimage {
        width: 100%;
    }

    .liquor-text {
        margin-top: 30px;
    }

    .label-font {
        font-size: 12px;
    }

    .category-group {
        margin-bottom: 15px;
        border-bottom: 1px solid lightgray;
    }
}

/* Public order experience */
.public-order-body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, "Helvetica Neue", sans-serif;
    line-height: 1.55;
}

.public-order-body *,
.public-order-body *::before,
.public-order-body *::after {
    box-sizing: border-box;
}

.public-order-body img {
    display: block;
    max-width: 100%;
    border: 0;
}

.public-order-body button,
.public-order-body input,
.public-order-body select {
    margin: 0;
    font: inherit;
}

.public-order-body button,
.public-order-body select,
.public-order-body label[for] {
    cursor: pointer;
}

.public-order-body button:disabled,
.public-order-body select:disabled {
    cursor: not-allowed;
}

.public-order-body a {
    color: var(--forest);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.public-order-body .site-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.public-order-body .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 244px;
    padding: 0 28px;
    overflow: hidden;
    background: var(--charcoal);
    border-top: 7px solid var(--forest);
    border-bottom: 3px solid var(--gold);
}

.public-order-body .public-headerimage {
    width: min(820px, 100%);
    height: auto;
}

.order-page {
    background: var(--paper);
}

.order-page p,
.order-page h1,
.order-page h2,
.order-page h3 {
    margin-top: 0;
}

.sale-hero {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.sale-hero-inner,
.order-shell {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}

.sale-hero-inner {
    padding: 66px 0 0;
}

.cbn-welcome {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin: -26px 0 42px;
    padding: 16px 20px;
    color: var(--forest-deep);
    background: var(--sage-soft);
    border: 1px solid #c6d5c6;
    border-left: 5px solid var(--forest);
}

.cbn-kicker {
    flex: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
}

.sale-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 365px);
    gap: 80px;
    align-items: start;
}

.sale-heading {
    max-width: 790px;
}

.sale-eyebrow,
.section-number,
.summary-kicker,
.pickup-label,
.principle-label {
    margin-bottom: 14px;
    color: var(--forest);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.sale-heading h1 {
    margin-bottom: 28px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
}

.sale-heading h1 span {
    display: block;
    margin-top: 7px;
    color: var(--forest);
    font-size: 0.66em;
    font-weight: 400;
    line-height: 1.15;
}

.sale-lede,
.sale-copy {
    max-width: 710px;
    color: #424a45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.72;
}

.sale-lede {
    margin-bottom: 16px;
}

.sale-copy {
    margin-bottom: 0;
    color: #5e6560;
    font-size: 16px;
}

.pickup-board {
    position: relative;
    min-height: 350px;
    padding: 36px 34px 32px;
    color: var(--white);
    background: var(--forest-deep);
    border-top: 5px solid var(--gold);
    box-shadow: var(--shadow);
}

.pickup-board::after {
    position: absolute;
    right: 26px;
    bottom: 28px;
    width: 52px;
    height: 1px;
    background: var(--gold);
    content: "";
}

.pickup-board .pickup-label {
    margin-bottom: 30px;
    color: #d7c18e;
}

.pickup-date {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.28;
}

.pickup-time {
    margin-bottom: 32px;
    color: #f1e7d1;
    font-size: 18px;
    font-weight: 700;
}

.pickup-board address {
    color: #d7ddd8;
    font-size: 15px;
    font-style: normal;
    line-height: 1.7;
}

.sale-principles {
    display: grid;
    grid-template-columns: 1fr 0.9fr 2.1fr;
    margin-top: 64px;
    border-top: 1px solid var(--line);
}

.principle {
    min-width: 0;
    padding: 26px 28px 28px;
    color: #505852;
    border-right: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.62;
}

.principle:last-child {
    border-right: 0;
}

.principle .principle-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
}

.principle-emphasis {
    color: var(--white);
    background: var(--charcoal);
}

.principle-emphasis .principle-label {
    color: #d5bf89;
}

.principle-emphasis strong {
    display: block;
    max-width: 245px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.45;
}

.order-shell {
    padding-bottom: 64px;
}

.order-steps {
    display: flex;
    gap: 44px;
    min-height: 70px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.order-steps a {
    color: #555e58;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.order-steps a:hover {
    color: var(--forest);
}

.order-steps a span {
    margin-right: 8px;
    color: var(--gold);
    font-size: 11px;
}

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

.order-form {
    min-width: 0;
}

.order-section {
    scroll-margin-top: 20px;
    padding: 68px 0 12px;
    border-bottom: 1px solid var(--line);
}

.order-section:last-child {
    border-bottom: 0;
}

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

.section-heading > div {
    min-width: 0;
}

.section-heading .section-number {
    margin-bottom: 7px;
    color: var(--gold);
}

.section-heading h2 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.16;
}

.section-heading > p {
    max-width: 320px;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.rabbi-guidance {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin: -4px 0 22px;
    padding: 18px 22px;
    color: var(--forest-deep);
    background: var(--sage-soft);
    border: 1px solid #c9d7c9;
    border-left: 5px solid var(--gold);
}

.rabbi-guidance-label {
    flex: none;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.rabbi-guidance p {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.42;
}

.rabbi-guidance strong {
    color: var(--forest);
    font-weight: 700;
}

.tier-list {
    border-top: 4px solid var(--charcoal);
    border-bottom: 1px solid var(--line);
}

.tier-list-heading {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 84px 190px 108px;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    background: #efeee9;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.tier-list-heading span:first-child {
    grid-column: 1 / 4;
    padding-left: 18px;
}

.tier-list-heading span:nth-child(2),
.tier-list-heading span:nth-child(3) {
    text-align: center;
}

.tier-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 84px 190px 108px;
    gap: 0;
    align-items: center;
    min-height: 132px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

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

.tier-row:focus-within {
    position: relative;
    z-index: 1;
    box-shadow: inset 4px 0 0 var(--gold);
}

.tier-code {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

.tier-details {
    min-width: 0;
    padding: 22px 22px;
}

.tier-title-line {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    align-items: baseline;
    margin-bottom: 8px;
}

.tier-details h3 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.25;
}

.tier-details h3 span {
    color: var(--forest);
}

.tier-details > p {
    margin-bottom: 0;
    color: #5d655f;
    font-size: 13px;
    line-height: 1.55;
}

.tier-details .tier-note {
    margin-top: 7px;
    color: var(--brick);
    font-size: 10px;
    font-weight: 800;
}

.sold-out-label {
    padding: 3px 7px;
    color: var(--brick);
    background: #f7eae7;
    border: 1px solid #e6c9c3;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.tier-price {
    padding: 0 10px;
    text-align: center;
}

.tier-price span,
.tier-control label,
.tier-line-total label {
    display: none;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.tier-price strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}

.tier-control,
.tier-line-total {
    padding: 0 8px;
}

.tier-line-total {
    padding-right: 16px;
}

.field-control {
    display: block;
    width: 100%;
    height: 48px;
    min-width: 0;
    padding: 0 13px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #bfc5c0;
    border-radius: 2px;
    outline: 0;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

select.field-control {
    padding-right: 30px;
}

.field-control:hover:not(:disabled) {
    border-color: #858d87;
}

.field-control:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(31, 75, 54, 0.13);
}

.field-control:disabled {
    color: #8b918d;
    background: #efefec;
    border-color: #d6d8d5;
}

.qty-text {
    color: var(--forest-deep);
    background: #f3f5f1;
    border-color: #d2d8d2;
    font-weight: 800;
    text-align: right;
}

.is-sold-out .tier-code {
    background: #777d79;
}

.is-sold-out .tier-details,
.is-sold-out .tier-price {
    opacity: 0.62;
}

.bag-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 18px 20px;
    background: var(--sage-soft);
    border: 1px solid #ccd8cc;
}

.bag-quantity {
    flex: 0 0 70px;
    width: 70px;
    height: 40px;
    padding-left: 10px;
}

.choice-control {
    position: relative;
    display: inline-flex;
    gap: 11px;
    align-items: center;
    color: #3f4742;
    font-size: 14px;
    line-height: 1.45;
}

.choice-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice-box {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 1px solid #8e9690;
    border-radius: 2px;
}

.choice-control input:checked + .choice-box {
    background: var(--forest);
    border-color: var(--forest);
}

.choice-control input:checked + .choice-box::after {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.choice-control input:focus-visible + .choice-box {
    box-shadow: 0 0 0 3px rgba(31, 75, 54, 0.16);
}

.choice-control input:disabled + .choice-box {
    background: #dfe6df;
}

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

.form-field {
    min-width: 0;
}

.form-field > label {
    display: block;
    margin-bottom: 7px;
    color: #444c47;
    font-size: 12px;
    font-weight: 800;
}

.form-field > label span {
    color: var(--brick);
    font-weight: 600;
}

.field-span-2 {
    grid-column: span 2;
}

.payment-choice-panel {
    padding: 20px 22px;
    background: var(--sage-soft);
    border: 1px solid #ccd8cc;
}

.choice-control-large {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 700;
}

.credit-card-panel {
    margin-top: 24px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--charcoal);
}

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

.card-fields .field-span-2 {
    grid-column: 1 / -1;
}

.processing-fee {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.form-alert {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid;
    font-size: 14px;
    font-weight: 700;
}

.form-alert-danger {
    color: #7b2d25;
    background: #fbefed;
    border-color: #e4b9b2;
}

.is-hidden {
    display: none !important;
}

.order-summary {
    position: sticky;
    top: 24px;
    padding-top: 68px;
}

.summary-panel {
    overflow: hidden;
    background: var(--white);
    border: 1px solid #cfd4cf;
    border-top: 5px solid var(--forest);
    box-shadow: var(--shadow);
}

.summary-kicker {
    margin: 0;
    padding: 25px 25px 4px;
    color: var(--gold);
}

.summary-panel h2 {
    margin: 0;
    padding: 0 25px 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.2;
}

.summary-lines {
    min-height: 94px;
    padding: 18px 25px;
    background: #f2f3ef;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.summary-empty {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #424a45;
    font-size: 13px;
}

.summary-line:last-child {
    margin-bottom: 0;
}

.summary-line strong {
    flex: none;
    color: var(--ink);
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 25px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 800;
}

.summary-total-row strong {
    color: var(--forest-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.summary-pickup {
    margin: 0;
    padding: 18px 25px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.public-order-body .submit-button {
    display: block;
    width: calc(100% - 50px);
    min-height: 50px;
    margin: 20px 25px 0;
    color: var(--white);
    background: var(--forest);
    border: 1px solid var(--forest);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.submit-button:hover:not(:disabled) {
    background: var(--forest-deep);
    border-color: var(--forest-deep);
    transform: translateY(-1px);
}

.submit-button:focus-visible {
    outline: 3px solid rgba(181, 139, 53, 0.35);
    outline-offset: 2px;
}

.submit-button:disabled {
    color: #868d88;
    background: #e2e4e1;
    border-color: #d5d8d4;
}

.summary-help {
    margin: 0;
    padding: 16px 25px 24px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.order-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    margin-top: 64px;
    padding: 40px 0 0;
    color: #656c67;
    border-top: 4px solid var(--charcoal);
    font-size: 12px;
    line-height: 1.6;
}

.order-footer p {
    margin-bottom: 6px;
}

.footer-dedications {
    color: #474e49;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    text-align: right;
}

/* Confirmation, closed, and error pages */
.status-page {
    min-height: 560px;
    padding: 72px 0 92px;
    background: var(--paper);
}

.status-shell {
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
}

.status-kicker {
    margin-bottom: 12px;
    color: var(--forest);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-header {
    max-width: 760px;
    margin-bottom: 40px;
}

.status-header h1 {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1.1;
}

.status-header > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.6;
}

.receipt-panel,
.message-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--forest);
    box-shadow: var(--shadow);
}

.receipt-status {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 30px 34px;
    color: var(--white);
    background: var(--charcoal);
}

.receipt-mark {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.receipt-mark::after {
    position: absolute;
    top: 8px;
    left: 14px;
    width: 9px;
    height: 17px;
    border: solid var(--gold);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.receipt-status p {
    margin-bottom: 4px;
    color: #d6c38f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.receipt-status h2 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.receipt-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.receipt-detail {
    padding: 30px 34px 34px;
    border-right: 1px solid var(--line);
}

.receipt-detail:last-child {
    border-right: 0;
}

.receipt-detail-label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.receipt-detail h3 {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.receipt-detail p {
    margin-bottom: 0;
    color: #59615c;
    font-size: 14px;
    line-height: 1.65;
}

.message-panel {
    max-width: 820px;
    padding: 36px 40px;
}

.message-panel p {
    color: #505853;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.7;
}

.message-panel p:last-child {
    margin-bottom: 0;
}

.message-panel .message-closing {
    padding-top: 22px;
    color: var(--forest-deep);
    border-top: 1px solid var(--line);
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

@media only screen and (max-width: 1200px) {
    .order-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .order-form,
    .order-summary {
        width: 100%;
    }

    .order-summary {
        position: static;
        padding-top: 52px;
    }

    .summary-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .summary-kicker,
    .summary-panel h2,
    .summary-lines {
        grid-column: 1;
    }

    .summary-total-row,
    .summary-pickup {
        grid-column: 2;
    }

    .submit-button,
    .summary-help {
        grid-column: 1 / -1;
    }

    .summary-total-row {
        grid-row: 1 / span 2;
        align-self: end;
    }

    .summary-pickup {
        grid-row: 3;
    }

    .submit-button {
        grid-row: 6;
    }

    .summary-help {
        grid-row: 7;
    }

    .summary-lines {
        grid-row: 3 / span 2;
        border-bottom: 0;
    }
}

@media only screen and (max-width: 1100px) {
    .sale-hero-grid {
        gap: 48px;
    }

    .sale-heading h1 {
        font-size: 46px;
    }

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

    .principle-wide {
        grid-column: 1 / -1;
        border-top: 1px solid var(--line);
    }

    .tier-list-heading {
        grid-template-columns: 52px minmax(0, 1fr) 72px 178px 102px;
    }

    .tier-row {
        grid-template-columns: 52px minmax(0, 1fr) 72px 178px 102px;
    }

    .tier-details {
        padding-right: 14px;
        padding-left: 16px;
    }
}

@media only screen and (max-width: 900px) {
    .sale-hero-inner,
    .order-shell {
        width: min(100% - 48px, 760px);
    }

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

    .pickup-board {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 0;
    }

    .pickup-board .pickup-label,
    .pickup-board .pickup-date {
        grid-column: 1;
    }

    .pickup-board .pickup-time,
    .pickup-board address {
        grid-column: 2;
    }

    .pickup-board .pickup-time {
        grid-row: 1;
        align-self: end;
        margin-bottom: 16px;
    }

    .pickup-board address {
        grid-row: 2;
    }

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

}

@media only screen and (max-width: 720px) {
    .public-order-body .image-container {
        min-height: 0;
        padding: 0 14px;
    }

    .public-order-body .public-headerimage {
        width: 100%;
    }

    .sale-hero-inner,
    .order-shell {
        width: calc(100% - 32px);
    }

    .sale-hero-inner {
        padding-top: 42px;
    }

    .cbn-welcome {
        display: block;
        margin-top: -14px;
    }

    .cbn-kicker {
        display: block;
        margin-bottom: 5px;
    }

    .sale-heading h1 {
        font-size: 38px;
    }

    .sale-lede {
        font-size: 17px;
    }

    .pickup-board {
        display: block;
        padding: 28px 26px;
    }

    .pickup-board .pickup-label {
        margin-bottom: 20px;
    }

    .pickup-board .pickup-time {
        margin-bottom: 22px;
    }

    .sale-principles {
        display: block;
        margin-top: 42px;
    }

    .principle {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .principle:last-child {
        border-bottom: 0;
    }

    .order-steps {
        gap: 0;
        justify-content: space-between;
    }

    .order-steps a {
        font-size: 11px;
    }

    .order-steps a span {
        display: none;
    }

    .order-section {
        padding-top: 52px;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .section-heading > p {
        margin-top: 10px;
        text-align: left;
    }

    .rabbi-guidance {
        display: block;
        margin-top: -8px;
        padding: 16px 17px;
    }

    .rabbi-guidance-label {
        display: block;
        margin-bottom: 7px;
    }

    .rabbi-guidance p {
        font-size: 18px;
    }

    .tier-list-heading {
        display: block;
        min-height: 0;
        padding: 14px 16px;
    }

    .tier-list-heading span:not(:first-child) {
        display: none;
    }

    .tier-row {
        grid-template-columns: 1.15fr 0.85fr;
        min-height: 0;
        padding: 18px 16px 20px;
    }

    .tier-code {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .tier-price {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        padding: 0;
        text-align: right;
    }

    .tier-price span,
    .tier-control label,
    .tier-line-total label {
        display: block;
        margin-bottom: 5px;
    }

    .tier-price strong {
        font-size: 20px;
    }

    .tier-details {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 17px 0 19px;
    }

    .tier-details h3 {
        font-size: 17px;
    }

    .tier-control {
        grid-column: 1;
        grid-row: 3;
        padding: 0 7px 0 0;
    }

    .tier-line-total {
        grid-column: 2;
        grid-row: 3;
        padding: 0 0 0 7px;
    }

    .field-control {
        height: 50px;
    }

    .bag-option {
        flex-wrap: wrap;
        padding: 16px;
    }

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

    .field-span-2 {
        grid-column: auto;
    }

    .credit-card-panel {
        padding: 22px 18px;
    }

    .summary-panel {
        display: block;
    }

    .summary-lines {
        min-height: 0;
    }

    .summary-total-row {
        padding-top: 18px;
    }

    .order-footer {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .footer-dedications {
        text-align: left;
    }

    .status-page {
        min-height: 0;
        padding: 52px 0 68px;
    }

    .status-shell {
        width: calc(100% - 32px);
    }

    .status-header h1 {
        font-size: 38px;
    }

    .receipt-status {
        padding: 26px 22px;
    }

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

    .receipt-detail {
        padding: 25px 22px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .receipt-detail:last-child {
        border-bottom: 0;
    }

    .message-panel {
        padding: 28px 24px;
    }
}

@media only screen and (max-width: 390px) {
    .sale-heading h1 {
        font-size: 34px;
    }

    .order-steps a {
        font-size: 10px;
    }

    .choice-control {
        align-items: flex-start;
    }

    .choice-box {
        margin-top: 1px;
    }

    .receipt-status {
        align-items: flex-start;
    }
}
