

.wf-checkout-modal {

    --wfcm-red: #ff0032;
    --wfcm-red-dark: #dc002c;

    --wfcm-black: #111111;
    --wfcm-text: #18181b;
    --wfcm-muted: #85858d;

    --wfcm-bg: #f5f5f6;
    --wfcm-white: #ffffff;

    --wfcm-border: #ebebee;

    --wfcm-green: #19a86b;

    --wfcm-radius: 22px;

    position: fixed;

    inset: 0;

    z-index: 99999;

    font-family: 'Satoshi', Arial, sans-serif;

    color: var(--wfcm-text);

    isolation: isolate;
}


/* =========================================================
   OVERLAY
========================================================= */

.wf-checkout-modal__overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .58);

    backdrop-filter: blur(7px);

    -webkit-backdrop-filter: blur(7px);
}


/* =========================================================
   CONTENEDOR
========================================================= */

.wf-checkout-modal__container {

    position: relative;

    width: min(1180px, calc(100% - 40px));

    height: min(900px, calc(100vh - 40px));

    margin: 20px auto;

    background: var(--wfcm-bg);

    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .25);

    display: flex;

    flex-direction: column;
}


/* =========================================================
   HEADER
========================================================= */

.wf-checkout-modal__header {

    height: 76px;

    flex-shrink: 0;

    background: var(--wfcm-white);

    border-bottom: 1px solid var(--wfcm-border);

    display: flex;

    align-items: center;

    padding: 0 25px;

    z-index: 5;
}


.wf-checkout-modal__back {

    width: 44px;
    height: 44px;

    border: 0;

    border-radius: 50%;

    background: #f4f4f5;

    color: var(--wfcm-black);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 21px;

    cursor: pointer;

    transition: .2s ease;
}


.wf-checkout-modal__back:hover {

    background: #e9e9eb;

    transform: translateX(-2px);
}


.wf-checkout-modal__header-info {

    display: flex;

    flex-direction: column;

    margin-left: 15px;
}


.wf-checkout-modal__header-info strong {

    font-size: 19px;

    font-weight: 900;

    line-height: 1.1;
}


.wf-checkout-modal__header-info span {

    color: var(--wfcm-muted);

    font-size: 12px;

    margin-top: 4px;
}


.wf-checkout-modal__secure {

    width: 42px;
    height: 42px;

    margin-left: auto;

    border-radius: 13px;

    background: #effaf5;

    color: var(--wfcm-green);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}


/* =========================================================
   BODY
========================================================= */

.wf-checkout-modal__body {

    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 24px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        350px;

    gap: 20px;

    align-items: start;
}


.wf-checkout-modal__body::-webkit-scrollbar {

    width: 7px;
}


.wf-checkout-modal__body::-webkit-scrollbar-thumb {

    background: #d4d4d7;

    border-radius: 20px;
}


/* =========================================================
   MAIN
========================================================= */

.wf-checkout-modal__main {

    display: flex;

    flex-direction: column;

    gap: 16px;

    min-width: 0;
}


/* =========================================================
   CARD
========================================================= */

.wf-checkout-modal__card {

    background: var(--wfcm-white);

    border: 1px solid var(--wfcm-border);

    border-radius: var(--wfcm-radius);

    padding: 22px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, .025);
}


/* =========================================================
   CARD TITLE
========================================================= */

.wf-checkout-modal__card-title {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}


.wf-checkout-modal__title-icon {

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 13px;

    background: #fff0f2;

    color: var(--wfcm-red);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 21px;
}


.wf-checkout-modal__card-title h2 {

    font-size: 16px;

    font-weight: 900;

    line-height: 1.2;
}


.wf-checkout-modal__card-title p {

    margin-top: 4px;

    color: var(--wfcm-muted);

    font-size: 12px;

    line-height: 1.3;
}


/* =========================================================
   DELIVERY
========================================================= */

.wf-checkout-modal__delivery-options {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 11px;
}


.wf-checkout-modal__delivery {

    min-width: 0;

    border: 1.5px solid var(--wfcm-border);

    border-radius: 16px;

    background: #fff;

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 11px;

    text-align: left;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.wf-checkout-modal__delivery:hover {

    transform: translateY(-1px);

    border-color: #d3d3d7;
}


.wf-checkout-modal__delivery.active {

    border-color: var(--wfcm-red);

    background: #fff7f8;

    box-shadow:
        0 5px 18px rgba(255, 0, 50, .07);
}


.wf-checkout-modal__delivery-icon {

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 13px;

    background: #f3f3f4;

    color: #444;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}


.wf-checkout-modal__delivery.active
.wf-checkout-modal__delivery-icon {

    background: var(--wfcm-red);

    color: #fff;
}


.wf-checkout-modal__delivery-info {

    min-width: 0;

    display: flex;

    flex-direction: column;
}


.wf-checkout-modal__delivery-info strong {

    font-size: 13px;

    font-weight: 800;
}


.wf-checkout-modal__delivery-info span {

    color: var(--wfcm-muted);

    font-size: 11px;

    line-height: 1.3;

    margin-top: 3px;
}


.wf-checkout-modal__radio {

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    margin-left: auto;

    border: 2px solid #d3d3d7;

    border-radius: 50%;

    position: relative;
}


.wf-checkout-modal__delivery.active
.wf-checkout-modal__radio {

    border-color: var(--wfcm-red);
}


.wf-checkout-modal__delivery.active
.wf-checkout-modal__radio::after {

    content: '';

    position: absolute;

    width: 8px;
    height: 8px;

    top: 3px;
    left: 3px;

    background: var(--wfcm-red);

    border-radius: 50%;
}


/* =========================================================
   LOCATION
========================================================= */

.wf-checkout-modal__location {

    width: 100%;

    border: 1.5px solid var(--wfcm-border);

    border-radius: 16px;

    background: #fafafa;

    padding: 15px;

    display: flex;

    align-items: center;

    text-align: left;

    cursor: pointer;

    transition: .2s ease;
}


.wf-checkout-modal__location:hover {

    background: #fff;

    border-color: var(--wfcm-black);
}


.wf-checkout-modal__location-icon {

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 13px;

    background: var(--wfcm-black);

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;

    margin-right: 12px;
}


.wf-checkout-modal__location-info {

    display: flex;

    flex-direction: column;
}


.wf-checkout-modal__location-info strong {

    font-size: 13px;

    font-weight: 800;
}


.wf-checkout-modal__location-info span {

    color: var(--wfcm-muted);

    font-size: 11px;

    margin-top: 3px;
}


.wf-checkout-modal__location > i {

    margin-left: auto;

    color: #999;

    font-size: 20px;
}


.wf-checkout-modal__error {

    color: var(--wfcm-red);

    font-size: 12px;

    margin-top: 8px;
}


/* =========================================================
   FORM
========================================================= */

.wf-checkout-modal__form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;
}


.wf-checkout-modal__input-group {

    margin-bottom: 15px;
}


.wf-checkout-modal__input-group:last-child {

    margin-bottom: 0;
}


.wf-checkout-modal__input-group label {

    display: block;

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 7px;
}


.wf-checkout-modal__input-group label small {

    color: var(--wfcm-muted);

    font-weight: 500;
}


.wf-checkout-modal__input {

    height: 49px;

    border: 1px solid var(--wfcm-border);

    border-radius: 14px;

    background: #fafafa;

    padding: 0 13px;

    display: flex;

    align-items: center;

    transition: .2s ease;
}


.wf-checkout-modal__input:focus-within {

    background: #fff;

    border-color: var(--wfcm-red);

    box-shadow:
        0 0 0 3px rgba(255, 0, 50, .06);
}


.wf-checkout-modal__input > i {

    color: #999;

    font-size: 18px;

    margin-right: 9px;
}


.wf-checkout-modal__input input {

    width: 100%;
    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--wfcm-text);

    font-size: 13px;
}


.wf-checkout-modal__input input::placeholder {

    color: #aaaab0;
}


.wf-checkout-modal__textarea {

    border: 1px solid var(--wfcm-border);

    border-radius: 14px;

    background: #fafafa;

    padding: 11px 13px;

    transition: .2s ease;
}


.wf-checkout-modal__textarea:focus-within {

    background: #fff;

    border-color: var(--wfcm-red);

    box-shadow:
        0 0 0 3px rgba(255, 0, 50, .06);
}


.wf-checkout-modal__textarea textarea {

    width: 100%;

    height: 70px;

    resize: none;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: inherit;

    font-size: 13px;

    color: var(--wfcm-text);
}


.wf-checkout-modal__textarea textarea::placeholder {

    color: #aaaab0;
}


/* =========================================================
   PUNTOS
========================================================= */

.wf-checkout-modal__points {

    background:
        linear-gradient(
            135deg,
            #fff 0%,
            #fffafa 100%
        );
}


.wf-checkout-modal__points-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.wf-checkout-modal__points-brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.wf-checkout-modal__points-icon {

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border-radius: 14px;

    background: var(--wfcm-black);

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}


.wf-checkout-modal__points-brand h2 {

    font-size: 15px;

    font-weight: 900;
}


.wf-checkout-modal__points-brand p {

    color: var(--wfcm-muted);

    font-size: 11px;

    margin-top: 3px;
}


.wf-checkout-modal__points-balance {

    display: flex;

    flex-direction: column;

    align-items: flex-end;
}


.wf-checkout-modal__points-balance span {

    color: var(--wfcm-muted);

    font-size: 10px;
}


.wf-checkout-modal__points-balance strong {

    font-size: 19px;

    font-weight: 900;
}


.wf-checkout-modal__points-balance small {

    color: var(--wfcm-muted);

    font-size: 9px;
}


/* SLIDER */

.wf-checkout-modal__slider {

    margin-top: 20px;
}


.wf-checkout-modal__slider-labels {

    display: flex;

    justify-content: space-between;

    color: var(--wfcm-muted);

    font-size: 10px;

    margin-bottom: 7px;
}


.wf-checkout-modal__slider input {

    width: 100%;

    accent-color: var(--wfcm-red);

    cursor: pointer;
}


/* RESULTADO */

.wf-checkout-modal__points-result {

    margin-top: 15px;

    padding: 12px 14px;

    border-radius: 14px;

    background: #f7f7f8;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.wf-checkout-modal__points-result > div {

    display: flex;

    flex-direction: column;
}


.wf-checkout-modal__points-result span {

    color: var(--wfcm-muted);

    font-size: 10px;
}


.wf-checkout-modal__points-result span i {

    color: var(--wfcm-red);

    margin-right: 3px;
}


.wf-checkout-modal__points-result strong {

    font-size: 13px;

    margin-top: 3px;
}


.wf-checkout-modal__discount {

    color: var(--wfcm-green) !important;
}


/* TIP */

.wf-checkout-modal__points-tip {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 10px;

    color: #999;

    font-size: 10px;
}


.wf-checkout-modal__points-tip i {

    color: var(--wfcm-red);

    font-size: 14px;
}


/* =========================================================
   RESUMEN
========================================================= */

.wf-checkout-modal__summary {

    position: sticky;

    top: 0;

    min-width: 0;
}


.wf-checkout-modal__summary-card {

    background: #fff;

    border: 1px solid var(--wfcm-border);

    border-radius: var(--wfcm-radius);

    padding: 21px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .035);
}


.wf-checkout-modal__summary-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;
}


.wf-checkout-modal__summary-header span {

    color: var(--wfcm-muted);

    font-size: 11px;
}


.wf-checkout-modal__summary-header h2 {

    font-size: 20px;

    font-weight: 900;

    margin-top: 2px;
}


.wf-checkout-modal__summary-header > i {

    width: 41px;
    height: 41px;

    border-radius: 13px;

    background: #fff0f2;

    color: var(--wfcm-red);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}


/* =========================================================
   PRODUCTOS
========================================================= */

.wf-checkout-modal__products {

    display: flex;

    flex-direction: column;

    gap: 13px;
}


.wf-checkout-modal__product {

    display: flex;

    align-items: center;

    gap: 9px;
}


.wf-checkout-modal__product-image {

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 12px;

    background: #f4f4f5;

    color: #555;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 18px;
}


.wf-checkout-modal__product-info {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;
}


.wf-checkout-modal__product-info strong {

    font-size: 11px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.wf-checkout-modal__product-info span {

    color: var(--wfcm-muted);

    font-size: 9px;

    margin-top: 2px;
}


.wf-checkout-modal__product > strong {

    font-size: 11px;
}


/* =========================================================
   DIVIDER
========================================================= */

.wf-checkout-modal__divider {

    height: 1px;

    background: var(--wfcm-border);

    margin: 17px 0;
}


/* =========================================================
   PRECIOS
========================================================= */

.wf-checkout-modal__price {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 11px;

    font-size: 12px;
}


.wf-checkout-modal__price span {

    color: var(--wfcm-muted);
}


.wf-checkout-modal__price strong {

    font-weight: 800;
}


.wf-checkout-modal__price--discount span,
.wf-checkout-modal__price--discount strong {

    color: var(--wfcm-green);
}


/* =========================================================
   TOTAL
========================================================= */

.wf-checkout-modal__total {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.wf-checkout-modal__total div {

    display: flex;

    flex-direction: column;
}


.wf-checkout-modal__total span {

    font-size: 15px;

    font-weight: 900;
}


.wf-checkout-modal__total small {

    color: var(--wfcm-muted);

    font-size: 9px;

    margin-top: 2px;
}


.wf-checkout-modal__total > strong {

    font-size: 26px;

    font-weight: 900;
}


/* =========================================================
   CONFIRMAR
========================================================= */

.wf-checkout-modal__confirm {

    width: 100%;

    height: 53px;

    margin-top: 19px;

    border: 0;

    border-radius: 15px;

    background: var(--wfcm-red);

    color: #fff;

    font-size: 14px;

    font-weight: 900;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(255, 0, 50, .20);

    transition: .2s ease;
}


.wf-checkout-modal__confirm:hover {

    background: var(--wfcm-red-dark);

    transform: translateY(-1px);
}


.wf-checkout-modal__confirm i {

    font-size: 18px;
}


/* =========================================================
   SEGURIDAD
========================================================= */

.wf-checkout-modal__secure-text {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    color: #999;

    font-size: 9px;

    text-align: center;

    margin-top: 12px;
}


.wf-checkout-modal__secure-text i {

    color: var(--wfcm-green);

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 900px) {

    .wf-checkout-modal__container {

        width: calc(100% - 24px);

        height: calc(100vh - 24px);

        margin: 12px auto;

    }


    .wf-checkout-modal__body {

        grid-template-columns: 1fr;

    }


    .wf-checkout-modal__summary {

        position: static;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 600px) {

    .wf-checkout-modal__overlay {

        background: #f5f5f6;

        backdrop-filter: none;

        -webkit-backdrop-filter: none;
    }


    .wf-checkout-modal__container {

        width: 100%;

        height: 100%;

        margin: 0;

        border-radius: 0;

        box-shadow: none;
    }


    .wf-checkout-modal__header {

        height: 67px;

        padding: 0 15px;
    }


    .wf-checkout-modal__header-info strong {

        font-size: 16px;
    }


    .wf-checkout-modal__header-info span {

        font-size: 10px;
    }


    .wf-checkout-modal__body {

        display: flex;

        flex-direction: column;

        padding: 10px;

        gap: 10px;
    }


    .wf-checkout-modal__main {

        gap: 10px;
    }


    .wf-checkout-modal__card {

        border-radius: 18px;

        padding: 17px;
    }


    .wf-checkout-modal__delivery-options {

        grid-template-columns: 1fr;
    }


    .wf-checkout-modal__form-grid {

        grid-template-columns: 1fr;

        gap: 0;
    }


    .wf-checkout-modal__points-header {

        align-items: flex-start;
    }


    .wf-checkout-modal__points-brand p {

        max-width: 180px;
    }


    .wf-checkout-modal__summary {

        width: 100%;
    }


    .wf-checkout-modal__summary-card {

        border-radius: 18px;

        padding: 17px;
    }


    .wf-checkout-modal__total > strong {

        font-size: 24px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 380px) {

    .wf-checkout-modal__header-info span {

        display: none;
    }


    .wf-checkout-modal__card {

        padding: 15px;
    }


    .wf-checkout-modal__card-title h2 {

        font-size: 15px;
    }


    .wf-checkout-modal__card-title p {

        font-size: 11px;
    }


    .wf-checkout-modal__delivery {

        padding: 13px;
    }

}/* =========================================================
   WIIKFOOD CHECKOUT
   TODO EL CSS ESTÁ AISLADO AL MODAL
========================================================= */

#modal-checkout-wizard.wf-checkout-modal {
    box-sizing: border-box;
    width: min(680px, 96vw);
    max-width: 680px;
    max-height: 94vh;

    background: #f7f7f8;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .20),
        0 8px 25px rgba(0, 0, 0, .08);

    color: #161616;

    font-family: Satoshi, Inter, Arial, sans-serif;
}


#modal-checkout-wizard.wf-checkout-modal *,
#modal-checkout-wizard.wf-checkout-modal *::before,
#modal-checkout-wizard.wf-checkout-modal *::after {
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

#modal-checkout-wizard .wf-checkout-header {

    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeef;

    gap: 14px;

    position: relative;

    z-index: 5;
}


#modal-checkout-wizard .wf-checkout-header-back {

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: #f3f3f4;

    color: #171717;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;

    cursor: pointer;

    flex: 0 0 auto;

    transition:
        transform .18s ease,
        background .18s ease;
}


#modal-checkout-wizard .wf-checkout-header-back:hover {

    background: #e9e9ea;

    transform: translateX(-2px);
}


#modal-checkout-wizard .wf-checkout-header-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

    flex: 1;
}


#modal-checkout-wizard .wf-checkout-header-content strong {

    font-size: 18px;

    font-weight: 850;

    line-height: 1.2;

    color: #111111;
}


#modal-checkout-wizard .wf-checkout-header-content span {

    font-size: 12px;

    color: #77777d;

    line-height: 1.3;
}


#modal-checkout-wizard .wf-checkout-header-icon {

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: #fff0f3;

    color: #ff0032;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 21px;

    flex: 0 0 auto;
}



/* =========================================================
   SCROLL PRINCIPAL
========================================================= */

#modal-checkout-wizard .wf-checkout-scroll {

    max-height: calc(94vh - 148px);

    overflow-y: auto;

    overflow-x: hidden;

    padding: 18px;

    scroll-behavior: smooth;

    overscroll-behavior: contain;
}


#modal-checkout-wizard .wf-checkout-scroll::-webkit-scrollbar {

    width: 6px;
}


#modal-checkout-wizard .wf-checkout-scroll::-webkit-scrollbar-track {

    background: transparent;
}


#modal-checkout-wizard .wf-checkout-scroll::-webkit-scrollbar-thumb {

    background: #d5d5d7;

    border-radius: 10px;
}



/* =========================================================
   SECCIONES
========================================================= */

#modal-checkout-wizard .wf-checkout-section {

    display: block;

    background: #ffffff;

    border: 1px solid #eeeeef;

    border-radius: 20px;

    padding: 20px;

    margin-bottom: 14px;

    scroll-margin-top: 15px;
}


#modal-checkout-wizard .wf-checkout-section:last-child {

    margin-bottom: 0;
}


/* =========================================================
   CABECERA SECCIÓN
========================================================= */

#modal-checkout-wizard .wf-checkout-section-heading {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;
}


#modal-checkout-wizard .wf-checkout-section-number {

    width: 38px;
    height: 38px;

    min-width: 38px;

    border-radius: 12px;

    background: #fff0f3;

    color: #ff0032;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 900;

    font-size: 14px;
}


#modal-checkout-wizard .wf-checkout-section-title {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;
}


#modal-checkout-wizard .wf-checkout-section-title strong {

    font-size: 17px;

    font-weight: 850;

    line-height: 1.2;

    color: #141414;
}


#modal-checkout-wizard .wf-checkout-section-title span {

    font-size: 12px;

    line-height: 1.4;

    color: #77777e;
}



/* =========================================================
   OPCIONES ENTREGA
========================================================= */

#modal-checkout-wizard .wf-checkout-options {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


#modal-checkout-wizard .wf-checkout-option {

    width: 100%;

    min-height: 78px;

    padding: 12px 13px;

    display: flex;

    align-items: center;

    gap: 12px;

    border: 1px solid #e7e7e9;

    background: #ffffff;

    border-radius: 16px;

    cursor: pointer;

    text-align: left;

    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


#modal-checkout-wizard .wf-checkout-option:hover {

    border-color: #ff9aae;

    transform: translateY(-1px);

    box-shadow: 0 7px 18px rgba(0,0,0,.06);
}


#modal-checkout-wizard .wf-checkout-option.select-tap {

    border-color: #ff0032;

    background: #fff5f7;

    box-shadow:
        0 0 0 2px rgba(255,0,50,.08);
}


#modal-checkout-wizard .wf-checkout-option-icon {

    width: 46px;
    height: 46px;

    min-width: 46px;

    border-radius: 14px;

    background: #f5f5f6;

    color: #333337;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;
}


#modal-checkout-wizard .wf-checkout-option.select-tap
.wf-checkout-option-icon {

    background: #ff0032;

    color: #ffffff;
}


#modal-checkout-wizard .wf-checkout-option-content {

    display: flex;

    flex-direction: column;

    gap: 3px;

    flex: 1;

    min-width: 0;
}


#modal-checkout-wizard .wf-checkout-option-content strong {

    font-size: 14px;

    font-weight: 850;

    color: #161616;
}


#modal-checkout-wizard .wf-checkout-option-content span {

    font-size: 11px;

    line-height: 1.4;

    color: #77777e;
}


#modal-checkout-wizard .wf-checkout-option-check {

    width: 24px;
    height: 24px;

    border-radius: 50%;

    border: 2px solid #dddddf;

    display: flex;

    align-items: center;
    justify-content: center;

    color: transparent;

    flex: 0 0 auto;

    font-size: 13px;
}


#modal-checkout-wizard .wf-checkout-option.select-tap
.wf-checkout-option-check {

    background: #ff0032;

    border-color: #ff0032;

    color: #ffffff;
}



/* =========================================================
   UBICACIÓN
========================================================= */

#modal-checkout-wizard .wf-checkout-location-card {

    display: flex;

    gap: 12px;

    padding: 14px;

    border-radius: 16px;

    background: #f8f8f9;

    margin-bottom: 12px;
}


#modal-checkout-wizard .wf-checkout-location-icon {

    width: 42px;
    height: 42px;

    min-width: 42px;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff0f3;

    color: #ff0032;

    font-size: 20px;
}


#modal-checkout-wizard .wf-checkout-location-content {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


#modal-checkout-wizard .wf-checkout-location-content strong {

    font-size: 13px;

    font-weight: 850;
}


#modal-checkout-wizard .wf-checkout-location-content span {

    font-size: 11px;

    line-height: 1.45;

    color: #77777d;
}


#modal-checkout-wizard .wf-checkout-gps-button {

    width: 100%;

    border: 1px solid #e4e4e6;

    background: #ffffff;

    border-radius: 16px;

    min-height: 68px;

    padding: 11px 13px;

    display: flex;

    align-items: center;

    gap: 11px;

    text-align: left;

    cursor: pointer;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


#modal-checkout-wizard .wf-checkout-gps-button:hover {

    border-color: #ff0032;

    box-shadow: 0 7px 18px rgba(0,0,0,.06);

    transform: translateY(-1px);
}


#modal-checkout-wizard .wf-checkout-gps-button > i:first-child {

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #ff0032;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;

    flex: 0 0 auto;
}


#modal-checkout-wizard .wf-checkout-gps-button span {

    display: flex;

    flex-direction: column;

    gap: 3px;

    flex: 1;
}


#modal-checkout-wizard .wf-checkout-gps-button span strong {

    font-size: 13px;

    font-weight: 850;

    color: #161616;
}


#modal-checkout-wizard .wf-checkout-gps-button span small {

    font-size: 10px;

    color: #85858a;
}


#modal-checkout-wizard .wf-checkout-gps-button > i:last-child {

    font-size: 20px;

    color: #aaa;
}



/* =========================================================
   CAMPOS
========================================================= */

#modal-checkout-wizard .wf-checkout-fields {

    display: flex;

    flex-direction: column;

    gap: 13px;
}


#modal-checkout-wizard .wf-checkout-field {

    display: flex;

    flex-direction: column;

    gap: 7px;
}


#modal-checkout-wizard .wf-checkout-label {

    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 12px;

    font-weight: 800;

    color: #343438;
}


#modal-checkout-wizard .wf-checkout-label span {

    font-size: 10px;

    color: #99999f;

    font-weight: 600;
}


#modal-checkout-wizard .wf-checkout-input-wrapper {

    width: 100%;

    min-height: 49px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 0 13px;

    background: #fafafa;

    border: 1px solid #e5e5e7;

    border-radius: 14px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


#modal-checkout-wizard .wf-checkout-input-wrapper:focus-within {

    background: #ffffff;

    border-color: #ff0032;

    box-shadow:
        0 0 0 3px rgba(255,0,50,.08);
}


#modal-checkout-wizard .wf-checkout-input-wrapper > i {

    color: #98989e;

    font-size: 18px;

    flex: 0 0 auto;
}


#modal-checkout-wizard .wf-checkout-input {

    width: 100%;

    min-width: 0;

    height: 47px;

    border: none !important;

    outline: none !important;

    background: transparent !important;

    box-shadow: none !important;

    color: #171717;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    padding: 0 !important;
}


#modal-checkout-wizard .wf-checkout-input::placeholder {

    color: #aaaaae;

    font-weight: 500;
}


#modal-checkout-wizard .wf-checkout-textarea-wrapper {

    align-items: flex-start;

    padding-top: 11px;

    padding-bottom: 11px;
}


#modal-checkout-wizard .wf-checkout-textarea-wrapper > i {

    margin-top: 2px;
}


#modal-checkout-wizard .wf-checkout-textarea {

    height: 82px;

    min-height: 82px;

    resize: vertical;

    line-height: 1.45;

    padding-top: 1px !important;
}



/* =========================================================
   PUNTOS
========================================================= */

#modal-checkout-wizard .wf-checkout-points-card {

    width: 100%;

    padding: 14px;

    border-radius: 16px;

    background: #fff9ea;

    border: 1px solid #f3dfaa;
}



/* =========================================================
   PAGOS
========================================================= */

#modal-checkout-wizard .wf-checkout-payment-container {

    width: 100%;
}


#modal-checkout-wizard .wf-checkout-online-container {

    width: 100%;
}


#modal-checkout-wizard #wf-content-metodo-pago {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


/*
   Si tu JS inyecta elementos de pago propios,
   los mantenemos visualmente dentro del modal.
*/

#modal-checkout-wizard #wf-content-metodo-pago button {

    font-family: inherit;
}


#modal-checkout-wizard #wf-content-formu-online {

    margin-top: 12px;
}



/* =========================================================
   RESUMEN
========================================================= */

#modal-checkout-wizard .wf-checkout-summary {

    border: 1px solid #eeeeef;

    border-radius: 17px;

    overflow: hidden;

    background: #ffffff;
}


#modal-checkout-wizard .wf-checkout-summary-row {

    min-height: 51px;

    padding: 10px 13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border-bottom: 1px solid #eeeeef;
}


#modal-checkout-wizard .wf-checkout-summary-label {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #717177;

    font-size: 12px;

    min-width: 0;
}


#modal-checkout-wizard .wf-checkout-summary-label i {

    width: 27px;
    height: 27px;

    border-radius: 8px;

    background: #f5f5f6;

    color: #55555a;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 14px;
}


#modal-checkout-wizard .wf-checkout-summary-value {

    color: #171717;

    font-size: 12px;

    font-weight: 850;

    text-align: right;
}


#modal-checkout-wizard .wf-checkout-discount {

    color: #19a86b;
}


#modal-checkout-wizard .wf-checkout-summary-total {

    padding: 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: #fafafa;
}


#modal-checkout-wizard .wf-checkout-summary-total div {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


#modal-checkout-wizard .wf-checkout-summary-total span {

    font-size: 16px;

    font-weight: 900;

    color: #141414;
}


#modal-checkout-wizard .wf-checkout-summary-total small {

    font-size: 10px;

    color: #99999f;
}


#modal-checkout-wizard .wf-checkout-summary-total strong {

    font-size: 22px;

    font-weight: 950;

    color: #ff0032;

    white-space: nowrap;
}



/* =========================================================
   MENSAJES
========================================================= */

#modal-checkout-wizard .wf-checkout-error {

    min-height: 0;

    margin: 8px 0 0;

    color: #d6002c;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.4;
}


#modal-checkout-wizard .wf-checkout-secure-message {

    margin-top: 14px;

    padding: 10px 12px;

    border-radius: 12px;

    background: #f3faf6;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #277552;

    font-size: 10px;

    line-height: 1.4;
}


#modal-checkout-wizard .wf-checkout-secure-message i {

    font-size: 16px;

    flex: 0 0 auto;
}



/* =========================================================
   FOOTER
========================================================= */

#modal-checkout-wizard .wf-checkout-footer {

    min-height: 72px;

    padding: 12px 18px;

    background: #ffffff;

    border-top: 1px solid #eeeeef;

    display: flex;

    align-items: center;

    gap: 10px;

    position: relative;

    z-index: 5;
}


#modal-checkout-wizard .wf-checkout-button {

    min-height: 48px;

    border: none;

    border-radius: 14px;

    padding: 0 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 850;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}


#modal-checkout-wizard .wf-checkout-button:active {

    transform: scale(.98);
}


#modal-checkout-wizard .wf-checkout-button-secondary {

    min-width: 100px;

    background: #f1f1f2;

    color: #252529;
}


#modal-checkout-wizard .wf-checkout-button-primary {

    flex: 1;

    background: #ff0032;

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(255,0,50,.20);
}


#modal-checkout-wizard .wf-checkout-button-primary:hover {

    box-shadow:
        0 11px 25px rgba(255,0,50,.27);
}


#modal-checkout-wizard .wf-checkout-button:disabled {

    opacity: .55;

    cursor: not-allowed;

    box-shadow: none;
}



/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    #modal-checkout-wizard.wf-checkout-modal {

        width: 100vw;

        max-width: 100vw;

        height: 100dvh;

        max-height: 100dvh;

        border-radius: 0;
    }


    #modal-checkout-wizard .wf-checkout-header {

        height: 68px;

        padding: 0 14px;
    }


    #modal-checkout-wizard .wf-checkout-header-content strong {

        font-size: 16px;
    }


    #modal-checkout-wizard .wf-checkout-header-content span {

        font-size: 10px;
    }


    #modal-checkout-wizard .wf-checkout-header-icon {

        width: 36px;
        height: 36px;

        border-radius: 11px;

        font-size: 18px;
    }


    #modal-checkout-wizard .wf-checkout-scroll {

        max-height: calc(100dvh - 140px);

        padding: 12px;
    }


    #modal-checkout-wizard .wf-checkout-section {

        padding: 15px;

        border-radius: 17px;

        margin-bottom: 10px;
    }


    #modal-checkout-wizard .wf-checkout-section-heading {

        margin-bottom: 14px;
    }


    #modal-checkout-wizard .wf-checkout-section-title strong {

        font-size: 15px;
    }


    #modal-checkout-wizard .wf-checkout-section-title span {

        font-size: 10px;
    }


    #modal-checkout-wizard .wf-checkout-footer {

        min-height: 72px;

        padding: 10px 12px;

        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }


    #modal-checkout-wizard .wf-checkout-button {

        min-height: 46px;

        font-size: 12px;
    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 380px) {

    #modal-checkout-wizard .wf-checkout-section {

        padding: 13px;
    }


    #modal-checkout-wizard .wf-checkout-option {

        padding: 10px;
    }


    #modal-checkout-wizard .wf-checkout-option-icon {

        width: 41px;
        height: 41px;

        min-width: 41px;
    }


    #modal-checkout-wizard .wf-checkout-option-content span {

        font-size: 10px;
    }


    #modal-checkout-wizard .wf-checkout-summary-total span {

        font-size: 14px;
    }


    #modal-checkout-wizard .wf-checkout-summary-total strong {

        font-size: 19px;
    }

}