.purchase-preview {
    margin-block: .9rem;
    padding: clamp(.85rem, 3vw, 1.35rem);
    border: 1px solid #e6dbc4;
    border-radius: .9rem;
    background: #fcf8ef;
    color: #233832;
}
.purchase-preview h3 { margin: 0 0 .65rem; font-size: 1.05rem; color: #124936; }
.purchase-product-price strong { font-size: clamp(1.45rem, 4vw, 2rem); color: #124936; }
.purchase-methods { display: grid; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.purchase-methods li { border: 1px solid var(--neshat-line); border-radius: .65rem; background: var(--neshat-warm); }
.purchase-methods li:has(input:checked) { border-color: var(--neshat-accent); background: var(--neshat-cool); }
.purchase-methods li:has(input:disabled), .purchase-methods li:has(.aspNetDisabled) { display: none; }
.purchase-methods li label { display: inline-block; padding: .6rem .25rem; margin: 0; color: var(--neshat-deep); cursor: pointer; }
.purchase-methods input { margin-inline-start: .7rem; accent-color: var(--neshat-accent); }
#refresh-delivery { margin-block-start: .75rem; }
.purchase-preview p { margin: .65rem 0; line-height: 1.8; }
#purchase-pricing { scroll-margin-block-start: 10rem; }
#purchase-pricing h3 { margin-block-start: .85rem; }
#RefreshPreview:disabled { display: none; }
.purchase-preview__amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: .55rem;
    margin: 0 0 .85rem;
}
.purchase-preview__amounts > div {
    padding: .65rem .8rem;
    border: 1px solid #e9deca;
    border-radius: .55rem;
    background: #fff;
}
.purchase-preview__amounts dt { font-size: .85rem; font-weight: 600; line-height: 1.55; }
.purchase-preview__amounts dd { margin: .25rem 0 0; color: #124936; font-weight: 700; line-height: 1.45; }
.purchase-preview__amounts bdi { font-variant-numeric: tabular-nums; }
.neshat-catalog .purchase-preview__secondary { background: #fff; color: #124936; border: 1px solid #124936; }
.neshat-catalog .purchase-preview__secondary:hover { background: #edf5f0; color: #124936; }
.neshat-catalog__purchase .neshat-catalog__actions {
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem 1rem;
}
.neshat-account__grid.purchase-cart__layout { display: block; max-width: 62rem; margin-inline: auto; }
.purchase-cart__layout fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
@media (min-width: 23rem) and (max-width: 32rem) {
    .purchase-preview__amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
    .purchase-preview__amounts > div { padding: .5rem; }
    .purchase-preview__amounts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .purchase-preview__amounts dd { font-size: .9rem; }
}
.neshat-checkout__choice { flex-wrap: wrap; }
.neshat-checkout__steps {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}
.neshat-checkout__steps li {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 42px;
    padding: .35rem .7rem;
    border: 1px solid var(--neshat-gold-light);
    border-radius: .55rem;
    color: var(--neshat-warm);
    font-size: .88rem;
}
.neshat-checkout__steps a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.neshat-checkout__steps li[aria-current="step"] {
    background: var(--neshat-gold-light);
    color: var(--neshat-deep);
    font-weight: 700;
}
.neshat-checkout__steps span {
    display: grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid currentColor;
    border-radius: 50%;
}
.neshat-checkout__stack { display: grid; gap: 1rem; }
.neshat-checkout__stack > *, .neshat-checkout__item-info { min-width: 0; }
.neshat-checkout a.neshat-checkout__link {
    color: var(--neshat-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.neshat-checkout__items { display: grid; gap: .65rem; padding: 0; margin: 0; list-style: none; }
.neshat-checkout__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    background: var(--neshat-warm);
    border: 1px solid var(--neshat-line);
    border-radius: .7rem;
}
.neshat-checkout__item-image {
    display: block;
    overflow: hidden;
    width: clamp(3rem, 13vw, 4.5rem);
    border: 1px solid var(--neshat-line);
    border-radius: .55rem;
    background: #fff;
}
.neshat-checkout__item-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.neshat-checkout .neshat-checkout__item-name { color: var(--neshat-deep); font-weight: 700; overflow-wrap: anywhere; }
.neshat-checkout .neshat-checkout__item-name:hover { text-decoration: underline; }
.neshat-checkout__item-info p { margin: .15rem 0 0; font-size: .85rem; }
.neshat-checkout__item-info p.neshat-checkout__item-price { color: var(--neshat-deep); font-size: .98rem; font-weight: 700; }
.neshat-checkout__remove {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    border: 1px solid var(--neshat-line);
    border-radius: .55rem;
    background: #fff;
    color: var(--neshat-accent);
}
.neshat-checkout__remove:hover { background: var(--neshat-accent); color: #fff; }
.neshat-checkout__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: .75rem; }
.neshat-checkout__fields label, .neshat-checkout__fields legend { margin-bottom: .35rem; font-size: .9rem; font-weight: 700; }
.neshat-checkout__select, .neshat-checkout__choice {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    min-height: 48px;
    padding: .5rem .65rem;
    border: 1px solid var(--neshat-line);
    border-radius: .55rem;
    background: var(--neshat-warm);
    color: var(--neshat-ink);
}
.neshat-checkout__choice label { margin: 0; }
.neshat-checkout__choice input, .neshat-checkout__range { accent-color: var(--neshat-accent); }
.neshat-checkout__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.neshat-checkout .neshat-checkout__secondary,
.neshat-checkout .proforma-result-actions .neshat-checkout__secondary {
    background: var(--neshat-warm);
    color: var(--neshat-deep);
}
.neshat-checkout .neshat-checkout__secondary:hover { background: var(--neshat-cool); color: var(--neshat-deep); }
.neshat-checkout :is(a, button, input, select):focus-visible {
    outline: 2px solid var(--neshat-gold);
    outline-offset: 2px;
}
.neshat-checkout__steps a:focus-visible { outline-color: var(--neshat-gold-light); }
.neshat-checkout__total, .neshat-checkout__amount {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: .25rem .65rem;
    padding: .65rem .75rem;
}
.neshat-checkout__total {
    background: var(--neshat-accent);
    color: var(--neshat-warm);
    border-radius: .6rem;
    font-weight: 700;
}
.neshat-checkout__total strong { color: var(--neshat-gold-light); font-size: 1.12rem; }
.neshat-checkout__amount + .neshat-checkout__amount { border-top: 1px solid var(--neshat-line); }
.neshat-checkout__amount strong { color: var(--neshat-deep); }
.neshat-checkout__amount bdi, .neshat-checkout__total bdi { font-variant-numeric: tabular-nums; }
.neshat-checkout__payment { background: var(--neshat-warm); border: 1px solid var(--neshat-line); border-radius: .65rem; }
.neshat-checkout__range { display: block; width: calc(100% - 1.5rem); min-height: 32px; margin: 0 .75rem .35rem; }
.neshat-checkout p.neshat-checkout__hint { margin: .55rem 0 0; font-size: .87rem; }
.neshat-checkout p.neshat-checkout__notice {
    margin: .75rem 0 0;
    padding: .65rem .75rem;
    border-inline-start: .2rem solid var(--neshat-gold);
    border-radius: .4rem;
    background: var(--neshat-warm);
    color: var(--neshat-deep);
}
.neshat-checkout .proforma-result-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(11, 53, 39, .65);
}
.neshat-checkout .proforma-result-card {
    width: min(100%, 32.5rem);
    max-height: 100%;
    overflow: auto;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-top: .3rem solid var(--neshat-accent);
    border-radius: .75rem;
    background: var(--neshat-warm);
    color: var(--neshat-ink);
    box-shadow: 0 .7rem 2rem rgba(11, 53, 39, .22);
}
.neshat-checkout .proforma-result-card.invoice, .neshat-checkout .proforma-result-card.error {
    border-top-color: var(--neshat-gold);
}
.neshat-checkout .proforma-customer-table { margin: .85rem 0 0; }
.neshat-checkout .proforma-customer-table th {
    background: var(--neshat-accent);
    color: var(--neshat-warm);
    white-space: nowrap;
}
.neshat-checkout .proforma-customer-table :is(td, th) { padding: .65rem; text-align: start; vertical-align: middle; }
.neshat-checkout .proforma-customer-table td { border-color: var(--neshat-line); }
.neshat-checkout--receipt { max-width: 52rem; }
.neshat-checkout__receipt-note { margin: .75rem 0 0; white-space: pre-line; }

@media (max-width: 575px) {
    .neshat-checkout__fields { grid-template-columns: minmax(0, 1fr); }
    .neshat-checkout__item { gap: .5rem; padding: .55rem; }
    .neshat-checkout .neshat-checkout__actions > * { width: 100%; }
    .neshat-checkout .neshat-checkout__actions input { font-size: .9rem; }
}
