.ef-checkout{inset:0;width:100%;height:100dvh;transform:none;align-items:stretch;background:#0004;backdrop-filter:none;font:14px "Montserrat Campanha",Montserrat,sans-serif;color:#111}
.ef-checkout .modal-payment-content{width:100%;max-width:600px;height:100%;border-radius:0;background:#fff;display:flex;flex-direction:column;transform:translateY(-100%);transition:transform var(--ef-slide,320ms) ease;overflow:hidden}
.ef-checkout.ef-open .modal-payment-content{transform:translateY(0)}
.ef-checkout [hidden]{display:none!important}
.ef-checkout-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #ddd}
.ef-checkout-header h3{font-size:17px;font-weight:700;margin:0}
.ef-checkout-header button{background:none;border:0;padding:6px;color:#111}
.ef-checkout-body{padding:16px;overflow:auto;flex:1;overscroll-behavior:contain}
.ef-summary{display:flex;justify-content:space-between;gap:12px;padding-bottom:15px;margin-bottom:12px;border-bottom:1px solid #eee;font-weight:800}
.ef-summary>div:last-child{text-align:right;flex:none}
.ef-summary small{display:block;color:#70757a;font-size:10px}
.ef-checkout .modal-payment-content .form-1,.ef-register{padding:0}
.ef-checkout .ef-checkout-body label{display:block;font-weight:700;margin:10px 0 4px;padding:0}
.ef-checkout .ef-checkout-body input:not([type=hidden],[type=checkbox]){display:block;width:100%;padding:10px 12px;border-radius:9px;border:1px solid #ccc;background:#fff}
.ef-checkout .ef-phone{display:flex;align-items:center;border:1px solid #ccc;border-radius:9px;overflow:hidden}
.ef-phone span{padding:10px;border-right:1px solid #ddd}
.ef-checkout .ef-phone input:not([type=hidden],[type=checkbox]){border:0}
.ef-checkout .ef-hint,.ef-secure{color:#656a70;font-size:11px;margin:6px 0 14px}
.ef-checkout .modal-payment-content .form-1 .ef-continue,.ef-checkout .ef-register-pay{display:block;width:100%;border:0;border-radius:9px;padding:13px;background:var(--ef-continue,#121212);color:#fff;font-weight:700;margin:12px 0}
.ef-checkout .ef-register-pay{background:var(--ef-register,#16834f)}
.ef-checkout-error{color:#ae183c}
.ef-checkout [aria-invalid=true]{outline:1px solid #ae183c}
.ef-secure{text-align:center;padding:10px;border-top:1px solid #ddd;margin:0}
@media(prefers-reduced-motion:reduce){.ef-checkout .modal-payment-content{transition:none}}
.ef-checkout-upsell{background:#f0f0f0;padding:13px;border-radius:13px}
.ef-checkout-upsell h3{text-align:center;color:#b51648;font-weight:800}
.ef-checkout-upsell p{text-align:center}
.ef-offers-card{background:#fff;border-radius:18px;padding:13px}
.ef-offer{background:var(--ef-offer-background,#fff0f4);border-radius:11px;overflow:hidden;margin:12px 0}
.ef-offer header{background:linear-gradient(90deg,var(--ef-offer-start,#f44761),var(--ef-offer-end,#b51648));color:#fff;padding:8px 10px;font-weight:800}
.ef-checkout .ef-offer label{display:flex;align-items:center;gap:10px;padding:8px;margin:0}
.ef-offer img{width:48px;height:36px;object-fit:cover;border-radius:6px}
.ef-offer strong{color:#058d32}
.ef-up-total{font-weight:700}

/* Adapted from the V3 reconstruction. */
.ef-checkout-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding:12px 16px;font-size:22px;font-weight:600}
.ef-checkout-body{padding:10px 16px;flex:1}
.ef-summary{display:flex;justify-content:space-between;gap:8px;margin-bottom:15px;font-size:14px;font-weight:600}
.ef-summary small{display:block;color:#9098a9;font-size:10px;font-weight:500}
.ef-summary div:last-child{text-align:right}
.ef-offer{border:2px solid #f1cdd5;background:var(--ef-offer-background,#fff5f7);border-radius:14px;overflow:hidden;margin:9px 0}
.ef-offer label img{width:43px;height:43px;border-radius:8px;object-fit:cover}
.ef-offer label input{width:20px;height:20px;flex:none}
.ef-offer del{color:#e22}
.ef-offer strong{color:#00a44b}

.ef-checkout-header h3{font:inherit}
.ef-checkout .modal-payment-content .form-1 .ef-continue{padding:17px 13px;border-radius:12px;margin-top:28px;font-size:16px;height:auto}
.ef-checkout .ef-checkout-body label{font-size:14px}
.ef-phone span{background:#f3f4f6;font-weight:600}
.ef-checkout .ef-hint{font-size:13px;color:#657184}
.ef-offer-caption{margin:0;padding:7px 10px 0;color:#343c49}

.ef-checkout-header{min-height:50px;padding:9px 16px;border-color:#ebedf0}
.ef-checkout-header h3{font-size:22px;font-weight:700;line-height:1.15}
.ef-checkout-header button{color:#777;font-size:17px}
.ef-checkout-body{padding-block:8px 16px}
.ef-summary{padding-bottom:0;margin-bottom:11px;border:0}
.ef-checkout .ef-checkout-body label{font-weight:600}
.ef-checkout .ef-phone,
.ef-checkout .ef-register input:not([type=checkbox]){min-height:42px;border-color:#ccd3db;border-radius:10px;box-shadow:0 2px 4px #1724330a;color:#111;-webkit-text-fill-color:#111}
.ef-checkout .ef-register .ef-terms{display:flex;align-items:flex-start;gap:7px;line-height:1.3;margin-top:10px}
.ef-terms input{width:14px;height:14px;flex:none;margin:2px 0 0;accent-color:#121212}
.ef-checkout .ef-register-pay{min-height:54px;border-radius:12px}
.ef-secure{padding:12px 16px 18px;border:0;letter-spacing:.03em}
.ef-secure i{color:#16834f}
.ef-offers-card{box-shadow:0 9px 24px #0d152022}
.ef-offer header{line-height:1.2}
.ef-up-total{display:flex;justify-content:space-between;gap:8px;text-align:left}
.ef-up-total span:last-child{text-align:right;color:#087a3a}

.ef-checkout-header h3{font-weight:650}
.ef-checkout .modal-payment-content .form-1 .ef-continue{min-height:58px}
.ef-secure{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}
.ef-upsell-active .modal-payment-content,.ef-upsell-active .ef-checkout-body{background:#e4e4e4}
.ef-upsell-active .modal-payment-content{max-width:680px}
.ef-upsell-active .ef-checkout-header{justify-content:flex-end;border:0;padding-block:3px;min-height:34px}
.ef-upsell-active .ef-checkout-header h3,.ef-upsell-active .ef-summary{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ef-checkout-upsell{background:transparent;max-width:570px;margin:0 auto;padding:0}
.ef-checkout-upsell>h3{font-size:17px;font-weight:900;margin:0 0 2px;color:#ca2935}
.ef-checkout-upsell>p{font-size:11px;text-transform:uppercase;color:#465463;margin:0 auto 12px;max-width:520px}
.ef-offers-card{border-radius:17px;padding:14px}
.ef-offers-card>b{display:block;text-align:center;margin:0 0 8px;color:#182437}
.ef-offer header{display:flex;align-items:center;gap:6px}
.ef-offer-discount{display:inline-flex;padding:2px 7px;background:white;color:#c02f4e;border-radius:20px;font-weight:800;font-size:11px}
.ef-offer.ef-offer-featured{border-color:#e6a522}
.ef-checkout .ef-offer label{gap:10px;font-size:13px}
.ef-offer img{flex:none}
.ef-up-total{margin-top:16px}

.ef-checkout-upsell .ef-offer-caption{text-align:left}

.ef-checkout-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #d5e8dd;
    border-radius: 10px;
    background: #f4faf6;
    font-family: "Montserrat Campanha", Montserrat, sans-serif;
}
.ef-checkout-account-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dceddf;
    color: #16834f;
    font-size: 18px;
}
.ef-preview-account :is(.ef-checkout-account-avatar, .ef-checkout-account-icon):has(> i[hidden]) { display: none; }
.ef-checkout-account-copy { flex: 1; min-width: 0; }
.ef-checkout-account-icon { color: #16834f; font-size: 20px; }
.ef-checkout-account-copy :is(small, strong, span) { display: block; overflow-wrap: anywhere; }
.ef-checkout-account small { color: #465463; text-transform: uppercase; }
.ef-checkout-change, .ef-checkout .modal-payment-content .form-1 .ef-checkout-change { padding: 6px 0; border: 0; background: none; text-decoration: underline; color: #465463; }

.ef-customer .form-1 .ef-continue i { padding-left: 7px; }
.ef-customer .form-1 > label { color: #1f1f1f; }
.ef-customer.ef-checkout {
    position: fixed;
    z-index: 10000;
    justify-content: center;
}
.ef-customer-preview.ef-checkout {
    position: relative;
    z-index: auto;
    height: 590px;
    min-width: 0;
}
.ef-customer-preview .ef-checkout-body {
    overflow: hidden;
}

.ef-customer-previews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 12px;
    margin-block: 16px;
}
.ef-customer-previews iframe {
    width: 100%;
    height: 592px;
    border: 1px solid #ccd3db;
}
.ef-customer-preview :is(.ef-checkout-account-avatar, .ef-checkout-account-icon):has(i.bi-none) {
    display: none;
}

.ef-password-entry { display: flex; align-items: center; gap: .5rem; }
.ef-password-entry input { min-width: 0; flex: 1; }
.ef-password-toggle { border: 0; background: transparent; color: inherit; cursor: pointer; padding: .5rem; font: inherit; }
.ef-password-meter { display: flex; align-items: center; gap: .5rem; margin: .4rem 0; }
.ef-password-meter meter { width: 8rem; }

.ef-customer-recovery .ef-password-toggle i {
    display: block;
    position: relative;
    width: .95em;
    height: .65em;
    border: 1px solid currentColor;
    border-radius: 70% 30%;
    transform: rotate(25deg);
}
.ef-customer-recovery .ef-password-toggle i::before {
    content: '';
    position: absolute;
    inset: 25% 31%;
    border-radius: 50%;
    background: currentColor;
}
.ef-customer-recovery .ef-password-toggle[aria-pressed=true] i::after {
    content: '';
    position: absolute;
    inset: 44% -20%;
    border-top: 1px solid currentColor;
    transform: rotate(18deg);
}
