/**
 * Layout del checkout: header y footer propios.
 * Solo se carga en la página con [precotizador_checkout].
 */

.checkout-layout {
    --checkout-border: #e9eaef;
    --checkout-dark: #222423;
    font-family: "Lato", sans-serif;
    background: #fff;
}

/*
 * Reglas globales del tema (rhino2025/style.css) que no aplican aquí:
 * padding del navbar en body, tipografía de p y label/input con !important.
 * Solo se pueden vencer con !important y mayor especificidad.
 */
body.checkout-layout {
    padding-top: 0;
    font-size: 16px;
}

:where(.checkout-layout) :is(h1, h2, h3, p) {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.checkout-layout strong {
    font-family: inherit;
}

.checkout-layout .checkout-field__label {
    margin-bottom: 0 !important;
    font-weight: 700 !important;
}

.checkout-layout .checkout-option {
    display: flex !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
}

.checkout-layout input.checkout-field__input,
.checkout-layout input.checkout-coupon__input {
    padding: 0 12px !important;
    border: 1px solid #b3c6c4 !important;
    border-radius: 8px !important;
}

.checkout-layout input.checkout-field__input:focus,
.checkout-layout input.checkout-coupon__input:focus {
    border-color: #557473 !important;
}

.checkout-layout .checkout-field.has-error input.checkout-field__input,
.checkout-layout input.checkout-coupon__input.is-invalid {
    border-color: #dc3545 !important;
}

.checkout-layout input.checkout-option__input {
    width: 20px !important;
    padding: 0 !important;
    border: 2px solid #49454f !important;
    border-radius: 50% !important;
}

.checkout-layout input.checkout-option__input:checked {
    border-color: #333 !important;
}

.checkout-shell {
    width: 100%;
    max-width: 1260px;
    margin-inline: auto;
    padding-inline: 30px;
}

/* Header */
.checkout-header {
    height: 75px;
    background: #fff;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-header__logo {
    display: block;
    line-height: 0;
}

.checkout-header__logo img {
    width: 172px;
    height: 47px;
    object-fit: contain;
}

.checkout-header__info {
    gap: 65px;
}

.checkout-header__item {
    gap: 12px;
    font-size: 16px;
    line-height: normal;
    color: #000;
}

.checkout-header__phone {
    color: inherit;
    text-decoration: none;
}

.checkout-header__phone:hover {
    color: inherit;
    text-decoration: underline;
}

/* Footer */
.checkout-footer {
    padding-block: 20px;
    background: var(--checkout-dark);
    color: #fff;
}

.checkout-footer .checkout-shell {
    gap: 12px;
}

.checkout-footer__top {
    gap: 12px;
}

.checkout-footer__logo {
    flex-shrink: 0;
    width: 146px;
    height: 40px;
    object-fit: contain;
}

.checkout-footer__text {
    flex: 1 1 0;
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
}

.checkout-footer__text p {
    margin: 0;
}

.checkout-footer__text p:last-child {
    margin-bottom: 1.4em;
}

.checkout-footer__links {
    gap: 82px;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
}

.checkout-footer__links a {
    color: #fff;
    text-decoration: underline;
}

.checkout-footer__links a:hover {
    color: #ffb500;
}

/* Página */
.checkout-page {
    --checkout-gray: #828282;
    --checkout-line: #e0e0e0;
    --checkout-yellow: #ffb500;
    padding-block: 27px 40px;
    color: #000;
}

.checkout-page__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-page__main {
    min-width: 0;
}

/* Carrito */
.checkout-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.checkout-cart__title {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
}

.checkout-cart__count {
    font-size: 16px;
    line-height: normal;
    color: var(--checkout-gray);
}

.checkout-item {
    display: grid;
    grid-template-columns: 104px 1fr;
    grid-template-rows: 1fr auto auto 1fr auto;
    grid-template-areas:
        "img ."
        "img name"
        "img price"
        "img ."
        "foot foot";
    column-gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--checkout-line);
}

.checkout-item + .checkout-item {
    margin-top: 8px;
}

.checkout-item__img {
    grid-area: img;
    width: 104px;
    height: 122px;
    object-fit: contain;
}

.checkout-item__name {
    grid-area: name;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}

.checkout-item__price {
    grid-area: price;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 18px;
    line-height: normal;
    white-space: nowrap;
}

.checkout-item__price span {
    font-size: 12px;
    color: var(--checkout-gray);
}

.checkout-item__qty.quantity-control {
    grid-area: foot;
    justify-self: start;
    align-self: center;
    justify-content: space-between;
    gap: 0;
    width: 136px;
    min-width: 0;
    padding: 6px 12px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.checkout-item__qty .quantity-input {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #000;
}

.checkout-item__qty .checkout-item__qty-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 0;
}

.checkout-item__qty .checkout-item__qty-btn:hover {
    background: none;
}

.checkout-item__qty-btn::before {
    content: "";
    width: 24px;
    height: 24px;
    background: no-repeat center / 24px;
}

.checkout-item__qty-btn--minus::before {
    background-image: url(../img/checkout/icon-minus.svg);
}

.checkout-item__qty-btn--plus::before {
    background-image: url(../img/checkout/icon-plus.svg);
}

.checkout-item__side {
    grid-area: foot;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.checkout-item__total {
    font-size: 24px;
    line-height: normal;
    white-space: nowrap;
}

.checkout-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 16px;
    line-height: normal;
    color: #000;
    text-decoration: underline;
    text-underline-position: from-font;
    cursor: pointer;
}

.checkout-item__remove::before {
    content: "";
    width: 15px;
    height: 15px;
    background: url(../img/checkout/icon-delete.svg) no-repeat center / 15px;
}

/* Resumen */
.checkout-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 12px;
    border: 1px solid #ecebee;
    border-radius: 12px;
    background: #fff;
}

.checkout-summary__title {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.checkout-summary__products {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

.checkout-summary__product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkout-summary__product-img {
    flex-shrink: 0;
    width: 104px;
    height: 86px;
    object-fit: contain;
}

.checkout-summary__product-info {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.checkout-summary__product-name {
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
}

.checkout-summary__product-qty {
    font-size: 14px;
    line-height: normal;
    color: var(--checkout-gray);
}

.checkout-summary__product-total {
    align-self: flex-start;
    font-size: 16px;
    line-height: normal;
    white-space: nowrap;
}

.checkout-summary__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    line-height: normal;
}

.checkout-summary__row--total {
    font-size: 20px;
    font-weight: 700;
}

.checkout-summary__shipping {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-summary__shipping-cost.is-pending,
.checkout-mini-summary__shipping.is-pending {
    opacity: 0.4;
}

.checkout-summary__shipping-cost.is-free,
.checkout-mini-summary__shipping.is-free {
    font-weight: 700;
    color: #5c913b;
}

.checkout-summary__note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f2f2f2;
    font-size: 16px;
    line-height: normal;
}

.checkout-summary__note img {
    flex-shrink: 0;
}

.checkout-summary__divider {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--checkout-line);
    opacity: 1;
}

.checkout-summary__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.checkout-summary__cta {
    width: 100%;
    height: 41px;
    padding: 0 30px;
    border: 0;
    border-radius: 5px;
    background: var(--checkout-yellow);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.44;
    color: #000;
    cursor: pointer;
    transition: filter 0.2s;
}

.checkout-summary__cta:hover {
    filter: brightness(0.95);
}

.checkout-summary__link,
.checkout-back-link {
    padding: 0;
    border: 0;
    background: none;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #000;
    text-align: center;
    text-decoration: underline;
    text-underline-position: from-font;
    cursor: pointer;
}

.checkout-summary__link:hover {
    color: #000;
}

.checkout-back-link {
    margin-right: 24px;
}

/* Cupón */
.checkout-coupon__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #000;
    text-decoration: underline;
    text-underline-position: from-font;
    cursor: pointer;
}

.checkout-coupon__form {
    display: flex;
    align-items: center;
    gap: 17px;
}

.checkout-coupon__input {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #b3c6c4;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
}

.checkout-coupon__input::placeholder {
    color: #557473;
}

.checkout-coupon__input.is-invalid {
    border-color: #dc3545;
}

.checkout-coupon__apply {
    flex: 0 0 130px;
    height: 41px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    background: var(--checkout-yellow);
    font-size: 18px;
    line-height: 1.44;
    color: #000;
    cursor: pointer;
}

.checkout-coupon__apply:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Confianza */
.checkout-trust {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: fit-content;
    margin: 36px auto 0;
}

.checkout-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: normal;
}

/* Pasos */
.checkout-stepper {
    display: flex;
    gap: 8px;
    margin: 0 0 32px;
    padding: 0;
    counter-reset: checkout-step;
}

.checkout-stepper__step {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    counter-increment: checkout-step;
}

.checkout-stepper__step::before {
    content: "";
    height: 4px;
    border-radius: 999px;
    background: #d9d9d9;
}

.checkout-stepper__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    line-height: normal;
    opacity: 0.6;
}

.checkout-stepper__label::before {
    content: counter(checkout-step) ".";
}

.checkout-stepper__step.active::before {
    background: var(--checkout-yellow);
}

.checkout-stepper__step.active .checkout-stepper__label,
.checkout-stepper__step.completed .checkout-stepper__label,
.checkout-stepper__step:has(~ .active) .checkout-stepper__label {
    font-weight: 700;
    opacity: 1;
}

.checkout-stepper__step.completed::before,
.checkout-stepper__step:has(~ .active)::before {
    background: #5c913b;
}

.checkout-stepper__step.completed .checkout-stepper__label::before,
.checkout-stepper__step:has(~ .active) .checkout-stepper__label::before {
    content: "";
    width: 16px;
    height: 16px;
    background: url(../img/checkout/icon-check.svg) no-repeat center / 16px;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-step__title {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
}

.checkout-step__intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.checkout-step__subtitle {
    font-size: 20px;
}

.checkout-step__hint {
    font-size: 14px;
}

.checkout-step__actions {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

.checkout-step__actions .checkout-back-link {
    margin: 0;
}

.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    width: 100%;
    height: 41px;
    padding: 0 30px;
    border: 0;
    border-radius: 5px;
    background: var(--checkout-yellow);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.44;
    color: #000;
    cursor: pointer;
    transition: filter 0.2s;
}

.checkout-button:hover {
    filter: brightness(0.95);
}

.checkout-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Campos */
.checkout-fields {
    display: grid;
    gap: 24px;
    margin-top: 12px;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-field__label {
    margin: 0;
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.44;
    color: #242d2d;
}

.checkout-field__input {
    width: 100%;
    font-style: normal;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #b3c6c4;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
}

.checkout-field__input:focus,
.checkout-coupon__input:focus {
    outline: 0;
    border-color: #557473;
    box-shadow: 0 0 0 3px rgba(255, 181, 0, 0.25);
}

.checkout-field.has-error .checkout-field__input {
    border-color: #dc3545;
}

/* Login */
.checkout-login-toggle {
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: #f2f2f2;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    text-align: center;
    cursor: pointer;
}

.checkout-login-toggle strong {
    text-decoration: underline;
    text-underline-position: from-font;
}

.checkout-login {
    padding: 20px 12px;
    border-radius: 8px;
    background: #f2f2f2;
}

.checkout-login__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 395px;
    margin: 0 auto;
}

.checkout-login__intro {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    line-height: normal;
    text-align: center;
}

.checkout-login__title {
    font-size: 20px;
    line-height: 1.4;
}

.checkout-login__link {
    font-weight: 700;
    color: #000;
    text-decoration: underline;
    text-underline-position: from-font;
}

.checkout-login__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-login__secondary {
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    color: #333;
    text-decoration: underline;
    text-underline-position: from-font;
    cursor: pointer;
}

.checkout-login__secondary:hover,
.checkout-login__link:hover {
    color: #000;
}

/* Barra "Ver resumen" (móvil, vista de pasos) */
.checkout-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 30px;
    border: 0;
    background: #ecebee;
    color: #000;
    cursor: pointer;
}

.checkout-summary-toggle__label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 700;
}

.checkout-summary-toggle__label::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url(../img/checkout/icon-caret-down.svg) no-repeat center / 24px;
    transition: transform 0.2s;
}

.checkout-summary-toggle[aria-expanded="true"] .checkout-summary-toggle__label::after {
    transform: rotate(180deg);
}

.checkout-summary-toggle__total {
    font-size: 20px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .checkout-page[data-active-view="steps"] {
        padding-top: 0;
    }

    .checkout-page[data-active-view="steps"] .checkout-page__grid {
        gap: 30px;
    }

    .checkout-page[data-active-view="steps"] .checkout-page__aside {
        position: relative;
        z-index: 10;
        order: -1;
        margin-inline: -30px;
    }

    .checkout-page[data-active-view="steps"] .checkout-summary,
    .checkout-page[data-active-view="steps"] .checkout-payment-info {
        display: none;
    }

    .checkout-page[data-active-view="steps"] .is-summary-open .checkout-summary {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        gap: 12px;
        padding: 12px 30px;
        border-radius: 0;
        box-shadow: 0 8px 6px rgba(0, 0, 0, 0.25);
    }

    .is-summary-open .checkout-summary__title,
    .is-summary-open .checkout-summary__note {
        display: none;
    }

    .is-summary-open .checkout-summary__body {
        gap: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--checkout-line);
    }
}

/* Paso 2: entrega */
.checkout-options {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.checkout-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid #b1b3be;
    border-radius: 8px;
    background: #fff;
    color: #000;
    cursor: pointer;
}

.checkout-option:has(.checkout-option__input:checked) {
    background: linear-gradient(rgba(255, 204, 77, 0.2), rgba(255, 204, 77, 0.2)), #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.checkout-option__input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 2px;
    border: 2px solid #49454f;
    border-radius: 50%;
    background: #fff;
    appearance: none;
    cursor: pointer;
}

.checkout-option__input:checked {
    border-color: #333;
    background: radial-gradient(circle, #333 0 4px, #fff 4.5px);
}

.checkout-option__input:focus-visible {
    outline: 2px solid var(--checkout-yellow);
    outline-offset: 2px;
}

.checkout-option__body {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    line-height: 1.4;
}

.checkout-option__title {
    font-size: 18px;
    font-weight: 700;
}

.checkout-option__text {
    font-size: 16px;
}

.checkout-option__text a {
    color: inherit;
    text-decoration: none;
}

.checkout-option--store .checkout-option__body {
    gap: 8px;
}

.checkout-delivery,
.checkout-pickup {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 9px;
}

.checkout-fields--delivery {
    margin-top: 0;
}

.checkout-fields--delivery > * {
    order: 2;
}

.checkout-fields--delivery > .checkout-field--cp {
    order: 0;
}

.checkout-shipping-quote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    order: 1;
    padding: 10px;
    border-radius: 8px;
    background: rgba(166, 211, 136, 0.4);
    font-size: 16px;
    line-height: 1.4;
}

.checkout-shipping-quote strong {
    font-size: 18px;
}

.checkout-field__input[readonly] {
    background: #f2f2f2;
}

.checkout-field__select {
    padding-right: 44px;
    background: #fff url(../img/checkout/icon-caret-down.svg) no-repeat right 12px center / 24px;
    appearance: none;
    cursor: pointer;
}

.checkout-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    padding-right: 12px;
    border: 1px solid #b3c6c4;
    border-radius: 8px;
    background: #fff;
}

.checkout-search:focus-within {
    border-color: #557473;
    box-shadow: 0 0 0 3px rgba(255, 181, 0, 0.25);
}

.checkout-search.has-error {
    border-color: #dc3545;
}

.checkout-search .checkout-field__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.checkout-search .help-block {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
}

.checkout-search__button {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: url(../img/checkout/icon-search.svg) no-repeat center / 24px;
    cursor: pointer;
}

.checkout-pickup__title {
    font-size: 18px;
    line-height: 1.44;
    color: #242d2d;
}

.checkout-stores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Paso 3: pago */
.checkout-payment {
    gap: 28px;
}

.checkout-express {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-express__title {
    font-size: 20px;
    line-height: 1.44;
    color: #242d2d;
    text-align: center;
}

.checkout-express__divider {
    margin: 8px 0;
    border: 0;
    border-top: 1px solid var(--checkout-line);
    opacity: 1;
}

.checkout-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-card__text {
    font-size: 16px;
}

.checkout-card__form {
    min-height: 200px;
}

.checkout-mini-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 12px;
    border: 1px solid #ecebee;
    border-radius: 12px;
    background: rgba(242, 242, 242, 0.5);
}

.checkout-mini-summary__title {
    margin: 0 0 4px;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.checkout-mini-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    line-height: normal;
}

.checkout-mini-summary__row--total {
    font-weight: 700;
}

.checkout-mini-summary__row--total span:last-child {
    font-size: 20px;
}


/* Bloque Mercado Pago bajo el resumen */
.checkout-payment-info {
    max-width: 296px;
    margin: 29px auto 0;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.checkout-payment-info__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    margin: 19px 0 0;
}

.checkout-payment-info__logos img {
    width: auto;
}

@media (min-width: 768px) {
    .checkout-item {
        grid-template-columns: 120px 1fr auto;
        grid-template-rows: 1fr auto auto auto 1fr;
        grid-template-areas:
            "img .     ."
            "img name  side"
            "img price side"
            "img qty   side"
            "img .     .";
        padding-bottom: 0;
        border-bottom: 0;
    }

    .checkout-item + .checkout-item {
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--checkout-line);
    }

    .checkout-item__img {
        width: 120px;
        height: 141px;
    }

    .checkout-item__price span {
        font-size: 16px;
    }

    .checkout-item__qty.quantity-control {
        grid-area: qty;
        margin-top: 16px;
    }

    .checkout-item__side {
        grid-area: side;
        align-self: center;
    }

    .checkout-stepper__label {
        justify-content: flex-start;
    }

    .checkout-step__intro {
        gap: 4px;
    }

    .checkout-fields {
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        margin-top: 0;
    }

    .checkout-step__actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .checkout-step__next {
        width: 279px;
    }

    .checkout-options {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-fields--delivery > *,
    .checkout-fields--delivery > .checkout-field--cp {
        order: 0;
    }

    .checkout-shipping-quote {
        order: 1;
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .checkout-shipping-quote span {
        flex: 1 1 0;
    }

    .checkout-field--full {
        grid-column: 1 / -1;
    }

    .checkout-pickup__search {
        max-width: 592px;
    }

    .checkout-payment__submit {
        width: 385px;
    }

    .checkout-login {
        padding-inline: 20px;
    }
}

@media (min-width: 992px) {
    .checkout-page {
        padding-block: 41px 44px;
    }

    .checkout-page__grid {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;
    }

    .checkout-page__main {
        flex: 1 1 auto;
        max-width: 694px;
    }

    .checkout-page__aside {
        flex: 0 0 388px;
    }

    .checkout-cart__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 34px;
    }

    .checkout-trust {
        margin-top: 42px;
    }

    .checkout-page[data-active-view="steps"] {
        padding-top: 32px;
    }

    .checkout-page[data-active-view="steps"] .checkout-page__main {
        max-width: 795px;
    }

    .checkout-page[data-active-view="steps"] .checkout-page__aside {
        flex-basis: 390px;
    }

    .checkout-stepper {
        margin-top: 4px;
        margin-bottom: 36px;
    }

    .checkout-summary-toggle {
        display: none;
    }
}
