.announcement, .desktop-nav, .mobile-nav, .mobile-nav-backdrop {
    display: none !important
}

.site-header .header-main {
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 8px
}

.site-header .search-box {
    display: none !important
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 14px/1.9 var(--body-font)
}

button, input, select, textarea {
    font: inherit
}

button, a {
    touch-action: manipulation
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button {
    color: inherit
}

h1, h2, h3, p {
    margin: 0
}

h1, h2 {
    font-family: var(--heading-font);
    font-weight: 400
}

h1 {
    font-size: 44px
}

h2 {
    font-size: 28px
}

h3 {
    font-size: 15px
}

[hidden] {
    display: none !important
}

:focus-visible {
    outline: 1px solid var(--copper);
    outline-offset: 2px
}

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 10px 28px 0;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    min-height: 66px
}

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

    .brand img {
        width: 52px;
        height: 52px;
        border-radius: 50%
    }

    .brand strong {
        font-family: var(--heading-font);
        font-size: 28px;
        font-weight: 400
    }

    .brand small {
        display: block;
        color: var(--muted);
        font-size: 10px;
        margin-top: -8px
    }

.back {
    font-size: 12px;
    color: var(--muted)
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 0 28px
}

.eyebrow {
    color: var(--copper);
    font-size: 11px;
    letter-spacing: 1px
}

.intro p, .muted {
    color: var(--muted)
}

.sample {
    display: none
}

.steps {
    display: flex;
    margin-bottom: 12px;
    padding: 18px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    gap: 20px
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    border: 0;
    padding: 0;
    background: none;
    color: var(--muted);
    font: 13px var(--body-font);
    text-align: right;
    cursor: pointer
}

    .step:not(:last-child):after {
        content: '';
        height: 1px;
        background: var(--line);
        flex: 1;
        margin-right: 15px
    }

.step-icon {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: background .2s,color .2s,border-color .2s
}

    .step-icon > svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round
    }

    .step-icon .step-check {
        display: none
    }

.step.active {
    color: var(--forest);
    font-weight: bold
}

    .step.active .step-icon, .step.done .step-icon {
        background: var(--forest);
        color: white;
        border-color: var(--forest)
    }

    .step.active .step-icon {
        animation: step-pulse 1.8s ease-in-out infinite
    }

.step.done .step-icon {
    animation: none
}

    .step.done .step-icon > svg:first-child {
        display: none
    }

    .step.done .step-icon .step-check {
        display: block
    }

@keyframes step-pulse {
    0%,100% {
        box-shadow: 0 0 0 0 #315e5180,0 0 0 0 #315e5130
    }

    50% {
        box-shadow: 0 0 0 9px #315e5100,0 0 14px 3px #315e5160
    }
}

@media (prefers-reduced-motion: reduce) {
    .step.active .step-icon {
        animation: none
    }
}

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

.panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    padding: 26px
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px
}

    .panel-heading p {
        color: var(--muted);
        font-size: 12px
    }

.count {
    background: var(--cream);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 11px
}

.stage {
    animation: stage-in .32s cubic-bezier(.2,.75,.3,1) both
}

@keyframes stage-in {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(prefers-reduced-motion:reduce) {
    .stage {
        animation: none
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr) minmax(150px,165px);
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--line)
}

.art {
    width: 100px;
    height: 112px;
    background: var(--cream);
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden
}

    .art img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px
}

.item-info {
    min-width: 0
}

.meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px
}

.available {
    color: var(--green);
    font-size: 10px
}

.cart-item__purchase {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px
}

.cart-item__pricing {
    width: 100%
}

.cart-item__price-before {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px
}

    .cart-item__price-before del {
        color: var(--muted);
        font-size: 11px;
        font-weight: 400
    }

.cart-item__discount {
    padding: 3px 7px;
    border: 1px solid #eed4ce;
    border-radius: 999px;
    background: #fff1ed;
    color: #a74638;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.cart-item__final-price {
    display: block;
    margin-top: 4px;
    color: var(--forest);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap
}

    .cart-item__final-price:only-child {
        margin-top: 0
    }

.qty {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 9px;
    height: 36px
}

    .qty button {
        border: 0;
        background: none;
        width: 34px;
        height: 34px;
        font-size: 19px
    }

    .qty output {
        min-width: 24px;
        text-align: center
    }

.quantity-loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1.5px solid #dce5dd;
    border-top-color: var(--forest);
    border-radius: 50%;
    animation: cart-spin .7s linear infinite;
    vertical-align: middle
}

    .qty button:disabled {
        opacity: .3;
        cursor: default
    }

.remove {
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 11px
}

.qty .qty-remove {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-inline-start: 3px;
    padding-inline-start: 4px;
    border-inline-start: 1px solid var(--line);
    border-radius: 7px;
    color: #a84d43;
    transition: background .18s ease,color .18s ease
}

    .qty .qty-remove:hover {
        background: #fff0ed;
        color: #8f302a
    }

    .qty .qty-remove svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.7
    }

.price {
    text-align: left;
    font-size: 14px;
    font-weight: bold
}

    .price small {
        font-weight: 400;
        font-size: 10px
    }

    .price del {
        display: block;
        color: var(--muted);
        font-size: 10px;
        font-weight: 400
    }

.tip {
    background: #f6f8f5;
    padding: 12px 15px;
    border-radius: 10px;
    color: #597366;
    font-size: 11px;
    margin-top: 18px
}

.cart-loading {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #dce5dd;
    border-top-color: var(--forest);
    border-radius: 50%;
    animation: cart-spin .8s linear infinite
}

@keyframes cart-spin {
    to {
        transform: rotate(360deg)
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-spinner,
    .quantity-loading-spinner {
        animation: none
    }
}

.layout > aside {
    position: sticky;
    top: 24px;
    align-self: start;
}

.summary {
    border-top: 3px solid var(--forest)
}

    .summary h2 {
        font-size: 26px
    }

.row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    font-size: 12px
}

    .row span:first-child {
        color: var(--muted)
    }

    .row.discount, .row.discount span {
        color: var(--red)
    }

.total {
    border-top: 1px dashed #d9d8ce;
    padding-top: 20px;
    margin-top: 22px;
    align-items: center
}

    .total strong {
        font-size: 21px;
        color: var(--forest)
    }

    .total small {
        font-size: 10px;
        font-weight: 400
    }

.btn {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 18px;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 12px
}

.primary {
    background: var(--forest);
    color: white;
    border-color: var(--forest)
}

    .primary:hover {
        background: #315e51
    }

.btn:disabled {
    opacity: .45;
    cursor: not-allowed
}

.wide {
    width: 100%;
    margin-top: 23px
}

.fine {
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    margin-top: 10px
}

.trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 10px
}

    .trust span {
        display: flex;
        align-items: center;
        gap: 5px
    }

    .trust svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: var(--green);
        stroke-width: 1.5
    }

.section-label {
    font-size: 13px;
    margin: 0 0 12px
}

.choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-top: 12px;
    cursor: pointer
}

    .choice:has(input:checked) {
        border-color: var(--forest);
        background: #f6f9f6;
        box-shadow: inset 0 0 0 1px var(--forest)
    }

input[type=radio], input[type=checkbox] {
    accent-color: var(--forest);
    margin-top: 6px;
    width: 17px;
    height: 17px;
    flex-shrink: 0
}

.choice-body {
    flex: 1;
    min-width: 0
}

.choice-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px
}

.choice p {
    font-size: 12px;
    margin-top: 7px;
    color: #647268;
    overflow-wrap: anywhere
}

.badge {
    font-size: 9px;
    background: #e7efe8;
    color: var(--forest);
    padding: 2px 8px;
    border-radius: 5px;
    margin-right: 8px
}

.edit {
    border: 0;
    background: none;
    color: var(--copper);
    padding: 0;
    font-size: 11px
}

.address-actions {
    margin-top: 12px;
    text-align: left
}

.add {
    color: var(--forest);
    border: 1px dashed #b7c7bc;
    margin-top: 14px
}

.shipping-price {
    white-space: nowrap;
    color: var(--forest);
    font-size: 12px
}

.shipping-tabs {
    display: grid;
    grid-template-columns: repeat(var(--shipping-count),minmax(0,1fr));
    align-items: start;
    column-gap: 8px;
    row-gap: 0;
    overflow: visible;
    padding: 4px 2px 10px;
    border-bottom: 0
}

.shipping-option {
    display: contents
}

.shipping-tab {
    position: relative;
    display: flex;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 48px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: var(--muted);
    text-align: right;
    transition: color .2s,background .2s,border-color .2s,transform .2s
}

    .shipping-tab:not(.is-active):hover {
        transform: translateY(-2px);
        color: var(--forest)
    }

.shipping-tab__indicator {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1.5px solid #aebbb1;
    border-radius: 50%;
    background: #fff;
    transition: border-color .2s,box-shadow .2s,background .2s
}

.shipping-tab.is-active .shipping-tab__indicator {
    border: 5px solid var(--forest);
    box-shadow: 0 0 0 3px #315e5120
}

.shipping-tab.is-active {
    z-index: 1;
    border-color: var(--forest);
    border-bottom-color: #fff;
    background: linear-gradient(135deg,#fff,#f8faf7);
    color: var(--forest)
}

    .shipping-tab.is-active:after {
        position: absolute;
        right: 12px;
        bottom: -2px;
        left: 12px;
        height: 2px;
        background: var(--copper);
        content: ''
    }

.shipping-panel {
    display: none;
    grid-column: 1/-1;
    grid-row: 2;
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    margin-top: -1px;
    position: relative;
    z-index: 0;
    border-radius: 12px;
    background: linear-gradient(135deg,#fff,#f8faf7);
    animation: shipping-panel-in .28s cubic-bezier(.2,.75,.3,1) both
}

    .shipping-panel.is-open {display: block}
    .shipping-option:first-child .shipping-panel {border-radius: 12px 0 12px 12px}
    .shipping-option:last-child .shipping-panel {border-radius: 0 12px 12px 12px}

.shipping-panel__inner {
    min-width: 0
}

.shipping-panel h4 {
    margin: 0 0 5px;
    color: var(--forest);
    font-size: 14px
}

.shipping-panel p {
    color: var(--muted);
    font-size: 12px
}

.shipping-details {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 12px
}

    .shipping-details strong {
        color: var(--forest)
    }

.shipping-prompt {
    padding: 10px;
    color: var(--muted)
}

@media (max-width:700px) {
    .shipping-tabs {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 8px;
        border: 0;
        padding: 0
    }

    .shipping-option {
        display: block;
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 11px;
        overflow: hidden;
        background: #fff
    }

    .shipping-tab {
        display: flex;
        min-height: 48px;
        padding: 11px 13px;
        border: 0;
        border-radius: 0;
        white-space: normal;
        overflow-wrap: anywhere
    }

        .shipping-tab.is-active {
            border: 0;
            background: #f6f9f6
        }

            .shipping-tab.is-active:after {
                display: none
            }

    .shipping-panel, .shipping-panel.is-open {
        display: block;
        position: static;
        z-index: auto;
        margin-top: 0;
        max-height: 0;
        padding: 0 13px;
        border: 0;
        border-top: 0 solid var(--line);
        border-radius: 0;
        overflow: hidden;
        opacity: 0;
        animation: none;
        transition: max-height .38s cubic-bezier(.2,.75,.3,1),opacity .24s ease,padding .32s ease,border-width .32s ease
    }

        .shipping-panel.is-open {
            max-height: 700px;
            padding: 13px;
            border-top-width: 1px;
            opacity: 1
        }
}

@keyframes shipping-panel-in {
    from {
        opacity: 0;
        transform: translateX(-12px) skewX(-2deg)
    }

    to {
        opacity: 1;
        transform: translateX(0) skewX(0)
    }
}

@media (prefers-reduced-motion:reduce) {
    .shipping-tab, .shipping-panel {
        transition: none;
        animation: none
    }
}

.navigation {
    margin-top: 22px
}

.review-box {
    border-bottom: 1px solid var(--line);
    padding: 18px 0
}

.payment-action {
    border: 0;
    padding: 16px 0 4px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e5e8df;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.payment-method.is-selected {
    border-color: #628276;
    background: #f2f7f2;
    box-shadow: 0 0 0 2px #62827618;
}

.payment-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method:focus-within {
    outline: 3px solid #62827655;
    outline-offset: 2px;
}

.payment-method-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf2ec;
    color: #23483f;
}

.payment-method-icon svg,
.checkout-pay-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-method-label { display: grid; gap: 3px; min-width: 0; }
.payment-method strong { font-size: 12px; color: #24352f; }
.payment-method small { color: #758078; font-size: 10px; line-height: 1.6; }
.payment-method-check { margin-inline-start: auto; color: #28724d; opacity: 0; }
.payment-method.is-selected .payment-method-check { opacity: 1; }
.payment-method-zibal .zibal-trust-slot { flex: 0 0 58px; width: 58px; min-width: 58px; min-height: 58px; margin: 0; justify-content: center; }
.payment-method-zibal .zibal-trust-slot iframe,
.payment-method-zibal .zibal-trust-slot img { max-width: 100%; max-height: 58px; }
.payment-method-zibal .zibal-trust-slot iframe { width: 58px; max-width: 58px; height: 58px; max-height: 58px; }
.card-transfer-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #f7f3e8; color: #67562e; font-size: 12px; line-height: 1.8; }
.checkout-pay-icon { vertical-align: middle; margin-inline-end: 7px; }

.zibal-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e5e8df;
    border-radius: 16px;
    background: linear-gradient(115deg, #f6f8f2, #fff 65%);
}

.zibal-payment-row #pay-with-zibal {
    min-width: 190px;
    min-height: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 18px #23483f20;
}

.zibal-trust-slot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 110px;
    min-height: 44px;
}

.zibal-trust-slot iframe,
.zibal-trust-slot img {
    max-width: 100%;
}

@media (max-width: 520px) {
    .payment-methods { grid-template-columns: 1fr; }
    .zibal-payment-row {
        gap: 10px;
        padding: 12px;
    }

    .zibal-payment-row #pay-with-zibal {
        min-width: 0;
        flex: 1;
        padding-inline: 12px;
    }

    .zibal-trust-slot {
        min-width: 88px;
        justify-content: center;
    }
}

    .review-box:last-child {
        border: 0
    }

    .review-box p {
        font-size: 12px;
        color: #647268;
        margin-top: 6px;
        overflow-wrap: anywhere
    }

.review-item > span:last-child del {
    display: inline;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400
}

.review-pricing { display:flex; flex-direction:column; align-items:flex-end; gap:4px; white-space:nowrap }
.review-original { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:10px }
.review-discount-percent { color:#a74638; font-size:10px; font-weight:700 }
.review-final-price { color:var(--forest); font-size:12px }

.review-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    font-size: 12px
}

.review-product {
    display: flex;
    gap: 12px;
    align-items: center
}

    .review-product img {
        width: 58px;
        height: 64px;
        object-fit: cover;
        background: var(--cream);
        border-radius: 9px
    }

.coupon {
    background: var(--cream);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 22px
}

    .coupon label {
        display: block;
        font-weight: bold;
        font-size: 12px;
        margin-bottom: 10px
    }

.coupon-entry {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.d-flex {
    display: flex;
    gap: 8px
}

.coupon-remove {
    margin-top: 8px;
    border: 0;
    padding: 0;
    background: none;
    color: var(--copper-dark);
    font: 11px var(--body-font);
    cursor: pointer
}

.coupon-entry input {
    min-width: 0;
    flex: 1
}

.field, input[type=text], input[type=tel], select, textarea {
    border: 1px solid #dcded5;
    border-radius: 8px;
    background: white;
    padding: 10px 12px;
    color: var(--ink);
    width: 100%
}

.message {
    font-size: 11px;
    margin-top: 8px;
    color: var(--forest)
}

    .message.error {
        color: #a03b32
    }

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 24px 0;
    margin-top: 45px;
    font-size: 10px;
    color: var(--muted)
}

dialog {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    width: min(580px,calc(100% - 32px));
    max-height: 90vh;
    color: var(--ink);
    background: var(--paper)
}

    dialog::backdrop {
        background: #182d2666;
        backdrop-filter: blur(4px)
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

    .form-grid label {
        display: block;
        font-size: 12px
    }

    .form-grid input, .form-grid select, .form-grid textarea {
        margin-top: 5px
    }

.full {
    grid-column: 1/-1
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px
}

.empty {
    text-align: center;
    padding: 50px 10px
}

    .empty h3 {
        margin-bottom: 12px
    }

button:hover {
    filter: brightness(.96)
}

@media(max-width:900px) {
    .layout {
        grid-template-columns: minmax(0,1fr) 285px
    }

    .wrap {
        padding: 0 20px
    }

    .panel {
        padding: 20px
    }

    .cart-item {
        grid-template-columns: 80px minmax(0,1fr) minmax(142px,170px);
        gap: 12px
    }

    .art {
        width: 80px
    }
}

@media(max-width:700px) {
    .wrap {
        padding: 0 16px
    }

    .header {
        padding: 18px 0
    }

    .brand strong {
        font-size: 25px
    }

    .brand small {
        font-size: 9px
    }

    .intro {
        margin-top: 25px;
        align-items: flex-start;
        gap: 10px
    }

        .intro p {
            font-size: 12px
        }

    h1 {
        font-size: 35px
    }

    .sample {
        font-size: 9px;
        padding: 5px 9px;
        white-space: nowrap;
        margin-top: 12px
    }

    .steps {
        padding: 16px 12px;
        gap: 8px;
        margin-top:10px
    }

    .step {
        font-size: 10px;
        gap: 6px;
        justify-content: center
    }

    .step-icon {
        width: 28px;
        height: 32px;
        flex-shrink: 0
    }

    .step:not(:last-child):after {
        display: none
    }

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

    .layout > aside {
        position: static
    }

    .panel {
        padding: 18px
    }

    .cart-item {
        grid-template-columns: 60px minmax(0,1fr) 120px;
        align-items: center;
        gap: 8px
    }

    .art {
        width: 60px;
        height: 82px
    }

    .item-info h3 {
        font-size: 13px;
        overflow-wrap: anywhere
    }

    .cart-item__purchase {
        gap: 8px
    }

    .cart-item__price-before {
        gap: 4px
    }

        .cart-item__price-before del {
            font-size: 9px
        }

    .cart-item__discount {
        padding: 2px 5px;
        font-size: 9px
    }

    .cart-item__final-price {
        font-size: 12px
    }

    .qty {
        height: 31px
    }

        .qty button {
            width: 24px;
            height: 29px;
            font-size: 16px
        }

        .qty output {
            min-width: 18px;
            font-size: 11px
        }

        .qty .qty-remove {
            flex-basis: 27px;
            width: 27px;
            height: 29px;
            margin-inline-start: 0;
            padding-inline-start: 2px
        }

    .footer {
        flex-direction: column;
        gap: 4px;
        margin-top: 30px
    }

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

    .full {
        grid-column: auto
    }

    .choice {
        padding: 13px
    }

    .trust {
        margin-top: 15px
    }

    .back {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }
}

/* Cart-only header */
.cart-site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.cart-header-main {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 32px;
    padding-top: 8px;
    padding-bottom: 8px;
}

    .cart-header-main .brand {
        flex: 0 0 auto;
        gap: 10px;
    }

        .cart-header-main .brand img {
            border-radius: 50%;
        }

        .cart-header-main .brand small {
            margin-top: 0;
        }

.cart-header-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    line-height: 1.65;
}

    .cart-header-copy .eyebrow {
        font-size: 10px;
    }

    .cart-header-copy strong {
        color: var(--ink);
        font-family: var(--heading-font);
        font-size: 21px;
        font-weight: 400;
    }

    .cart-header-copy small {
        color: var(--muted);
        font-size: 11px;
    }

.cart-header-back {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

/* Address dialog backdrop */
body.address-modal-open {
    overflow: hidden;
}

.address-modal {
    isolation: isolate;
}

.address-modal-backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgb(22 37 31 / 48%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    cursor: default;
}

.address-modal-panel {
    z-index: 1;
}

@media (max-width: 700px) {
    .cart-header-main {
        min-height: 0;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .cart-header-main .brand img {
            width: 39px;
            height: 39px;
        }

        .cart-header-main .brand strong {
            font-size: 24px;
        }

        .cart-header-main .brand small {
            font-size: 8px;
        }

    .cart-header-copy {
        order: 3;
        flex: 0 0 100%;
        padding-top: 7px;
        border-top: 1px solid var(--line);
    }

        .cart-header-copy strong {
            font-size: 17px;
        }

        .cart-header-copy small {
            font-size: 10px;
        }

    .cart-header-back {
        margin-inline-start: auto;
        font-size: 10px;
    }
}
