
/* ─── Critical Bootstrap grid + utilities (inlined to prevent FOUC after making Tabler async) ─── */
.row{display:flex;flex-wrap:wrap;margin-top:0;margin-right:-.5rem;margin-left:-.5rem}
.row>*{box-sizing:border-box;flex-shrink:0;width:100%;max-width:100%;padding-right:.5rem;padding-left:.5rem;margin-top:0}
.col{flex:1 0 0%}.col-6{flex:0 0 auto;width:50%}.col-12{flex:0 0 auto;width:100%}
.g-2,.gx-2{--bs-gutter-x:.5rem}.g-2,.gy-2{--bs-gutter-y:.5rem}
.g-2>*{padding-right:calc(var(--bs-gutter-x,.5rem)*.5);padding-left:calc(var(--bs-gutter-x,.5rem)*.5);margin-top:var(--bs-gutter-y,.5rem)}
@media(min-width:768px){.col-md{flex:1 0 0%}.col-md-6{flex:0 0 auto;width:50%}}
.d-flex{display:flex!important}.d-none{display:none!important}.d-block{display:block!important}
.d-inline-flex{display:inline-flex!important}
.flex-column{flex-direction:column!important}.align-items-center{align-items:center!important}
.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}
.align-items-start{align-items:flex-start!important}
.gap-2{gap:.5rem!important}.gap-1{gap:.25rem!important}
.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}
.mb-3{margin-bottom:1rem!important}.mb-5{margin-bottom:3rem!important}
.mt-1{margin-top:.25rem!important}.mt-3{margin-top:1rem!important}.mt-5{margin-top:3rem!important}
.mt-6{margin-top:4rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}
.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-6{margin-top:4rem!important;margin-bottom:4rem!important}
.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}
.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}
.p-3{padding:1rem!important}.p-5{padding:3rem!important}.p-6{padding:4rem!important}
.px-6{padding-right:4rem!important;padding-left:4rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}
.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}
.w-50{width:50%!important}.w-100{width:100%!important}.h-100{height:100%!important}
.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}
.fs-2{font-size:1.5rem!important}.fs-3{font-size:1.25rem!important}.fs-5{font-size:.875rem!important}
.text-center{text-align:center!important}.text-start{text-align:left!important}.text-end{text-align:right!important}
.text-danger{color:#dc2626!important}.text-success{color:#16a34a!important}
.text-muted{color:#6c757d!important}.opacity-75{opacity:.75!important}
.rounded{border-radius:.375rem!important}.rounded-3{border-radius:.5rem!important}.rounded-4{border-radius:1rem!important}
.border-0{border:0!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}
.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}
.link-secondary{color:#6c757d!important}.link-offset-2{text-underline-offset:.25rem!important}
.text-decoration-underline{text-decoration:underline!important}
.form-control,.form-select{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border:1px solid #dee2e6;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}
.form-label{margin-bottom:.5rem;font-size:.875rem;font-weight:500}
.input-icon{position:relative}.input-icon .form-control{padding-left:2.5rem}
.input-icon-addon{position:absolute;top:0;bottom:0;left:0;display:flex;align-items:center;padding:0 .75rem;pointer-events:none}
.form-help{display:inline-block;width:1.25rem;height:1.25rem;font-size:.75rem;line-height:1.25rem;text-align:center;background:rgba(0,0,0,.07);border-radius:50%;cursor:pointer;vertical-align:middle}
.btn{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.375rem;transition:color .15s,background-color .15s,border-color .15s}
.btn-animate-icon{position:relative;overflow:hidden}
.alert{position:relative;padding:1rem;border:1px solid transparent;border-radius:.375rem}
.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}
.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.375rem}
.bg-red-lt{background-color:rgba(220,38,38,.08)!important;color:#dc2626!important}
.spinner-border{display:inline-block;width:2rem;height:2rem;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;animation:spinner-border .75s linear infinite}
@keyframes spinner-border{to{transform:rotate(360deg)}}
.text-teal{color:#0d9488!important}
.card{border:1px solid rgba(0,0,0,.125);border-radius:.5rem;background:#fff}
.card-body{padding:1.5rem}
.container{width:100%;padding-right:1rem;padding-left:1rem;margin-right:auto;margin-left:auto}
.page-center{display:flex;align-items:center;justify-content:center;min-height:100vh}
.dropdown-toggle::after{display:none}


/* ─── Variables ─── */
:root {
    --gold:          #F5A800;
    --gold-dark:     #C47F00;
    --black:         #0A0A0A;
    --charcoal:      #F5F5F5;
    --surface:       #FAFAFA;
    --white:         #1A1A1A;
    --gray:          #EBEBEB;
    --gray-mid:      #888;
    --gray-light:    #666;
    --border:        rgba(0,0,0,0.08);
    --border-s:      rgba(0,0,0,0.08);
}

/* ─── Reset / Base ─── */
*, .btn { font-family: 'DM Sans', sans-serif !important; }

html, body {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    min-height: 100vh;
    overflow-x: hidden;
}

/* No background overlay for clean white theme */

/* ─── Logo Header ─── */
.checkout-header-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.nec-logo {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.nec-logo-icon {
    display: flex; align-items: center;
    flex-shrink: 0;
}

.nec-logo-icon img { width: 28px; height: 28px; object-fit: contain; display: block; }

.nec-logo-name {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    font-size: 17px;
    color: #F5A800 !important;
    letter-spacing: 0;
    line-height: 1;
}

/* ─── Toggle Country button (override Bootstrap) ─── */
.checkout-header-bar .btn.btn-light,
.checkout-header-bar .btn {
    background: #F5F5F5 !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    color: #666 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    padding: 5px 12px !important;
    box-shadow: none !important;
}

.checkout-header-bar .btn:hover {
    background: #E8E8E8 !important;
    color: #1A1A1A !important;
}

.theme-toggle-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
}

.dropdown-item { color: #1A1A1A !important; font-size: 13px !important; }
.dropdown-item:hover,
.dropdown-item:focus { background: #F5F5F5 !important; color: #1A1A1A !important; }

/* ─── Product Section ─── */
.prd-section {
    border-bottom: 1px solid var(--border-s);
    margin-bottom: 28px;
    padding-bottom: 22px;
}

.prd-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.prd-thumb {
    width: 56px; height: 56px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(245,168,0,0.2);
}

.prd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prd-thumb svg { width: 22px; height: 22px; color: var(--black); }

.prd-details { flex: 1; min-width: 0; }

.prd-tag {
    display: inline-block;
    background: rgba(245,168,0,0.12);
    color: var(--gold);
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid rgba(245,168,0,0.2);
}

.prd-name {
    font-family: 'Syne', sans-serif !important;
    font-size: 18px; font-weight: 700;
    line-height: 1.25; color: #1A1A1A !important;
    letter-spacing: -0.03em; margin-bottom: 2px;
}

.prd-author { font-size: 12px; color: var(--gray-light); font-weight: 300; }

.prd-price-col { text-align: right; flex-shrink: 0; }

.prd-price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px; font-weight: 800;
    color: #16A34A !important;
    letter-spacing: -0.04em;
    display: block;
}

.prd-price-label { font-size: 11px; color: var(--gray-mid); margin-top: 2px; }

/* ─── Section Labels ─── */
.section-label {
    font-family: 'Syne', sans-serif !important;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gray-mid) !important;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
}

.section-label::after {
    content: '';
    flex: 1; height: 1px;
    background: var(--border-s);
}

.checkout-section { margin-bottom: 22px; }

/* ─── Form Controls (light — override Bootstrap/Tabler fully) ─── */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select {
    background: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    color: #1A1A1A !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    outline: none !important;
    -webkit-appearance: none !important;
}

.form-control::placeholder,
input::placeholder { color: #999 !important; font-weight: 300 !important; }

/* Checkbox/radio fora: o "background" com !important apagava o laranja e o
   check do marcado enquanto a caixa tinha foco (só aparecia ao clicar fora). */
.form-control:focus,
.form-select:focus,
input:not([type=checkbox]):not([type=radio]):focus,
select:focus {
    background: #FFFFFF !important;
    border-color: rgba(245,168,0,0.65) !important;
    box-shadow: 0 0 0 3px rgba(245,168,0,0.12) !important;
    color: #1A1A1A !important;
    outline: none !important;
}

.input-icon-addon { color: #999 !important; }

/* ─── Accordion (payment) — light ─── */
.accordion-tabs,
.accordion { background: transparent !important; }

.accordion-item { background: transparent !important; border: none !important; }

.accordion-button,
.accordion-button:not(.collapsed) {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 14px 16px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    border-color: rgba(245,168,0,0.5) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background: #FAFAFA !important;
}

.accordion-button::after { display: none !important; }

.accordion-collapse {
    background: #FAFAFA !important;
    border: 1px solid rgba(245,168,0,0.35) !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    margin-bottom: 10px !important;
}

.accordion-body { padding: 18px 16px !important; background: transparent !important; }

/* Inputs inside accordion */
.accordion-body .form-control,
.accordion-body .form-select,
.accordion-body input,
.accordion-body select {
    background: #FFFFFF !important;
    border-color: rgba(0,0,0,0.12) !important;
    color: #1A1A1A !important;
}

.accordion-body label { color: #555 !important; font-size: 13px !important; }
.accordion-body p, .accordion-body small, .accordion-body .text-muted { color: #666 !important; }
.accordion-body p.opacity-75 { opacity: 1 !important; color: #666 !important; }
.accordion-body .text-success { color: #16a34a !important; }
.accordion-body .accordion-button-toggle { margin-left: auto; }

/* Stripe embedded */
.accordion-body .card,
.accordion-body .card-body { background: transparent !important; border: none !important; color: var(--white) !important; }

/* nec-payment custom classes */
.nec-payment-accordion { display: flex; flex-direction: column; gap: 8px; }
.nec-payment-item { border-radius: 12px; overflow: hidden; }

.nec-payment-btn {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.10); border-radius: 12px;
    background: #FFFFFF; font-size: 14px; font-weight: 600;
    color: #1A1A1A !important; cursor: pointer; text-align: left;
}

.nec-payment-btn[aria-expanded="true"] {
    border-color: rgba(245,168,0,0.5);
    background: #FAFAFA;
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}

.nec-payment-icon {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.nec-payment-label { font-size: 14px; font-weight: 600; }

.nec-payment-badge {
    font-size: 10px; font-weight: 700;
    background: rgba(22,163,74,0.10); color: #16a34a;
    padding: 2px 8px; border-radius: 99px;
}

.nec-payment-chevron { font-size: 18px; color: var(--gray-light); margin-left: auto; }
.nec-payment-btn[aria-expanded="true"] .nec-payment-chevron { transform: rotate(180deg); }

.nec-payment-item .accordion-collapse.show {
    border: 1px solid rgba(245,168,0,0.35) !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    background: #FAFAFA !important;
}

.nec-payment-body { padding: 18px 16px; }
.pix-icon { color: #32BCAD; }

/* ─── Upsell / Order Bumps ─── */
.ob-section { margin-bottom: 22px; display: flex; flex-direction: column; gap: 12px; }

.ob-card {
    border: 3px dashed #F5A800;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #dce9f3;
    user-select: none;
}

.ob-card:hover { border-color: #C47F00; }
.ob-card--selected { border-color: #F5A800; box-shadow: 0 0 0 3px rgba(245,168,0,0.18); }

/* CTA header band */
.ob-header {
    background: transparent;
    color: #1d4ed8;
    text-align: center;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Content row */
.ob-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
    background: #ffffff;
}

/* Arrow */
.ob-arrow {
    color: #dc2626;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
}

/* Native controls use the same appearance and focus treatment as dashboard filters. */
.ob-section .form-check-input[type=checkbox] {
    appearance: none; -webkit-appearance: none;
    width: 20px; height: 20px; flex: 0 0 20px; padding: 0; margin: 0;
    border: 1px solid #dce3ec; border-radius: 6px;
    background: #fff; box-shadow: none; cursor: pointer; vertical-align: middle;
}
.ob-section .form-check-input[type=checkbox]:checked {
    background-color: #f5a800; border-color: #f5a800;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m6 10 3 3 6-7'/%3e%3c/svg%3e");
    background-position: center; background-repeat: no-repeat; background-size: 14px 14px;
}
.ob-section .form-check-input[type=checkbox]:indeterminate {
    background-color: #f5a800; border-color: #f5a800;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2.4' d='M5 10h10'/%3e%3c/svg%3e");
    background-position: center; background-repeat: no-repeat; background-size: 14px 14px;
}
.ob-section .form-check-input[type=checkbox]:focus-visible {
    outline: none; border-color: #f5a800; box-shadow: 0 0 0 3px rgba(236, 179, 37, .18);
}
@media (forced-colors: active) {
    .ob-section .form-check-input[type=checkbox] { appearance: auto; background-image: none; }
}

/* Product image */
.ob-img {
    width: 58px; height: 58px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #F5A800 0%, #C47F00 100%);
    display: flex; align-items: center; justify-content: center;
}

.ob-img img { width: 100%; height: 100%; object-fit: cover; }
.ob-img svg { width: 22px; height: 22px; color: #0A0A0A; }

/* Text body */
.ob-body { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.45; color: #1a1a1a; }

.ob-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px; font-weight: 700;
    color: #d97706 !important;
    text-decoration: underline;
    text-underline-offset: 1px;
    display: inline;
}

/* ─── Product Banner (entre header e checkout) ─── */
.product-banner {
    border-radius: 12px;
    overflow: hidden;
    margin: 4px 0 12px;
    line-height: 0;
    border: 1px solid var(--border-s);
}
.product-banner-img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 180px;
}

/* ─── Select All Checkbox ─── */
.ob-select-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 8px;
    user-select: none;
}
.ob-select-all-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

/* ─── Order Summary ─── */
.order-summary {
    background: var(--charcoal);
    border: 1px solid var(--border-s);
    border-radius: 14px;
    overflow: hidden;
}

.order-row {
    display: flex; align-items: flex-start;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-s);
    gap: 12px;
}

.order-row:last-child { border-bottom: none; }

.order-item-name { font-size: 13px; color: #888; font-weight: 300; line-height: 1.5; }
.order-item-name strong { display: block; color: #1A1A1A !important; font-weight: 500; }

.order-item-price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px; font-weight: 700;
    color: #1A1A1A !important; white-space: nowrap;
}

/* ─── Coupon ─── */
.coupon-row { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--border-s); }

.btn-coupon {
    background: #F5F5F5 !important;
    color: #1A1A1A !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 12px !important; font-weight: 700 !important;
    cursor: pointer; white-space: nowrap;
}

.btn-coupon:hover { background: #E8E8E8 !important; }

/* ─── CTA Button ─── */
.cta-section {
    margin-top: 4px;
    background: transparent;
}

.btn-pay,
.btn-pay:hover,
.btn-pay:focus {
    width: 100%;
    background: var(--gold) !important;
    color: var(--black) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    font-family: 'Syne', sans-serif !important;
    font-size: 16px !important; font-weight: 800 !important;
    letter-spacing: 0.02em;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: relative; overflow: hidden;
    cursor: pointer; box-shadow: none !important;
}

.btn-pay:hover { box-shadow: 0 12px 40px rgba(245,168,0,0.28) !important; }
.btn-pay:disabled { opacity: 0.6 !important; cursor: not-allowed !important; }

/* ─── Trust Strip ─── */
.trust-strip {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; padding: 14px 0;
    border-top: 1px solid var(--border-s);
    margin-top: 14px; flex-wrap: wrap;
}

.trust-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--gray-mid); }
.trust-item .trust-icon { width: 13px; height: 13px; color: var(--gold); opacity: 0.7; }

/* ─── Footer ─── */
.checkout-footer {
    padding-top: 20px;
    text-align: center;
    font-size: 11px; color: var(--gray-mid);
    line-height: 1.7;
    content-visibility: auto;
    contain-intrinsic-size: 0 80px;
}

.checkout-footer a { color: var(--gold); text-decoration: none; opacity: 0.8; }
.checkout-footer a:hover { opacity: 1; }
.checkout-footer strong { color: #1A1A1A; }

/* ─── Legal footer block ─── */
.legal-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.legal-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--charcoal);
    border: 1px solid var(--border-s);
    border-radius: 10px;
    padding: 8px 14px;
    margin-bottom: 14px;
    color: var(--gray-mid);
}
.legal-secure-badge svg { color: var(--gold); flex-shrink: 0; }
.legal-secure-badge strong { display: block; font-size: 12px; color: #1A1A1A; font-weight: 600; }
.legal-secure-badge span { font-size: 11px; color: var(--gray-mid); }
.legal-text {
    font-size: 10px;
    color: var(--gray-mid);
    line-height: 1.7;
    margin: 0 0 10px;
}
.legal-copyright {
    font-size: 11px;
    color: var(--gray-mid);
    margin: 0 0 2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.legal-rights {
    font-size: 10px;
    color: var(--gray-mid);
    margin: 0;
}

.powered-by {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 12px;
    font-size: 11px; color: var(--gray-mid);
    background: none; border: none; padding: 0; border-radius: 0;
}

.powered-logo {
    width: 18px; height: 18px;
    background: transparent; border-radius: 5px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}

.powered-logo img { width: 13px; height: 13px; object-fit: contain; }

/* ─── Error badge ─── */
.badge.bg-red-lt {
    background: rgba(220,38,38,0.08) !important;
    color: #dc2626 !important;
    font-size: 11px; padding: 3px 10px;
    border-radius: 99px; font-weight: 500;
    border: 1px solid rgba(220,38,38,0.15);
}

/* ─── PIX Transaction ─── */
.pix-page { max-width: 480px; margin: 0 auto; padding: 24px 16px 64px; }

.pix-card {
    background: #F9F9F9; border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08); padding: 32px 28px; text-align: center;
}

.pix-amount { font-size: 32px; font-weight: 800; color: var(--gold) !important; font-family: 'Montserrat', sans-serif !important; }
.pix-qr { width: 200px; height: 200px; border-radius: 10px; margin: 0 auto; display: block; }

.countdown-box {
    display: inline-flex; align-items: center; justify-content: center;
    background: #F0F0F0; color: #1A1A1A;
    font-size: 22px; font-weight: 800;
    width: 52px; height: 52px; border-radius: 10px;
    font-family: 'Syne', sans-serif !important;
}

.pix-step { display: flex; align-items: flex-start; gap: 12px; text-align: left; font-size: 14px; color: #1A1A1A; margin-bottom: 10px; }

.pix-step-num {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
    background: var(--gold); color: var(--black);
    font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

.pix-steps { display: flex; flex-direction: column; gap: 10px; }
.pix-benefits { display: flex; flex-direction: column; gap: 10px; }
.pix-benefit-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #1A1A1A; line-height: 1.5; }

.btn-pix-copy {
    background: var(--gold) !important; color: var(--black) !important;
    border: none !important; border-radius: 12px !important;
    padding: 14px 28px !important; font-size: 15px !important; font-weight: 700 !important;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    font-family: 'Syne', sans-serif !important;
}

.btn-pix-copy:hover { background: var(--gold-dark) !important; }

/* ─── Coupon component overrides ─── */
.order-summary .alert-success {
    background: rgba(22,163,74,0.08) !important;
    border-color: rgba(22,163,74,0.20) !important;
    color: #16a34a !important;
    border-radius: 10px !important;
}

.order-summary .link-secondary,
.order-summary a.link-secondary {
    color: var(--gray-light) !important;
}

.order-summary .link-secondary:hover { color: var(--white) !important; }

.order-summary .btn-animate-icon {
    background: var(--gold) !important;
    color: var(--black) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 13px !important; font-weight: 600 !important;
    cursor: pointer;
}

.order-summary .text-danger { color: #dc2626 !important; }

/* ─── Utilities ─── */
[x-cloak] { display: none !important; }
.text-primary { color: var(--gold) !important; }
.installment { color: var(--gray-light) !important; }
.total-price { color: var(--gold) !important; font-family: 'Montserrat', sans-serif !important; }

/* ─── Animated dots ─── */
@keyframes blink { 0%,80%,100%{opacity:0} 40%{opacity:1} }
.animated-dots::after { content:'...'; animation: blink 1.4s infinite; }

/* ─── Kill Bootstrap/Tabler built-in transitions for instant UI ─── */
.collapsing,
.accordion-collapse,
.collapse,
.dropdown-menu,
.modal,
.modal-dialog,
.alert,
.fade {
    transition: none !important;
    animation: none !important;
}

/* ─── Countdown Banner (overlay translúcido em cima do conteúdo, estilo Kiwify) ─── */
.countdown-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(245, 168, 0, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--black) !important;
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    font-family: 'DM Sans', sans-serif !important;
    flex-wrap: wrap;
}
.countdown-icon {
    flex-shrink: 0;
    color: var(--black);
}
.countdown-text {
    font-family: 'Syne', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black) !important;
    line-height: 1;
}
.countdown-time {
    font-family: 'Roboto Serif', serif !important;
    font-size: 28px;
    font-weight: 800;
    color: var(--black) !important;
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* Barra é overlay translúcido — só o header começa 50px abaixo pra não ser tapado pela barra */
body.has-timer .checkout-header-bar { margin-top: 50px; }

@media (max-width: 600px) {
    .countdown-banner { gap: 10px; padding: 12px; }
    .countdown-text { font-size: 11px; letter-spacing: 0.06em; }
    .countdown-time { font-size: 22px; }
    .countdown-icon { width: 20px; height: 20px; }
}

/* ─── Item 16: Mobile-First — Sticky CTA ─── */
@media (max-width: 576px) {
    .cta-section {
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
        background: #fff; padding: 8px 12px 10px;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
        border-top: 1px solid rgba(0,0,0,0.06);
    }
    .trust-strip {
        gap: 10px; padding: 8px 0 2px; margin-top: 8px;
        flex-wrap: nowrap; justify-content: space-between;
    }
    .trust-item { font-size: 10px; gap: 4px; white-space: nowrap; }
    .trust-item .trust-icon { width: 11px; height: 11px; }
    .checkout-footer { padding-bottom: 110px; }
    /* Touch-friendly order bumps: ensure min 44px height */
    .ob-card { min-height: 44px; }
    .ob-content { padding: 14px 12px; }
}

/* ─── Item 17: Dark Mode ─── */
html.dark {
    color-scheme: dark;
    --charcoal:   #1E1E1E;
    --surface:    #141414;
    --gray:       #2A2A2A;
    --gray-mid:   #777;
    --gray-light: #AAA;
    --border:     rgba(255,255,255,0.07);
    --border-s:   rgba(255,255,255,0.07);
}
html.dark body,
html.dark html {
    background: #111111 !important;
    color: #E5E5E5 !important;
}
html.dark .checkout-section,
html.dark .prd-section { border-color: rgba(255,255,255,0.07); }
html.dark .prd-name { color: #E5E5E5 !important; }
html.dark .form-control,
html.dark .form-select,
html.dark input[type="text"],
html.dark input[type="email"],
html.dark input[type="tel"],
html.dark input[type="number"],
html.dark select {
    background: #1E1E1E !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #E5E5E5 !important;
}
html.dark .form-control::placeholder,
html.dark input::placeholder { color: #555 !important; }
html.dark .form-control:focus,
html.dark input:not([type=checkbox]):not([type=radio]):focus {
    background: #242424 !important;
    border-color: rgba(245,168,0,0.55) !important;
}
html.dark .accordion-button,
html.dark .accordion-button:not(.collapsed),
html.dark .nec-payment-btn {
    background: #1A1A1A !important;
    color: #E5E5E5 !important;
    border-color: rgba(255,255,255,0.10) !important;
}
html.dark .accordion-collapse,
html.dark .nec-payment-item .accordion-collapse.show,
html.dark .accordion-body { background: #1A1A1A !important; }
html.dark .accordion-body label { color: #AAA !important; }
html.dark .accordion-body .form-control,
html.dark .accordion-body input { background: #1E1E1E !important; color: #E5E5E5 !important; }
html.dark .order-summary { background: #1A1A1A; border-color: rgba(255,255,255,0.07); }
html.dark .order-item-name strong { color: #E5E5E5 !important; }
html.dark .cta-section { background: transparent; }
@media (max-width: 576px) {
    html.dark .cta-section { background: #111111; border-top-color: rgba(255,255,255,0.06); }
}
html.dark .trust-item { color: #666; }
html.dark .checkout-footer strong { color: #CCC; }
html.dark .legal-secure-badge { background: #1A1A1A; }
html.dark .legal-secure-badge strong { color: #E5E5E5; }
html.dark .dropdown-menu { background: #1E1E1E !important; border-color: rgba(255,255,255,0.10) !important; }
html.dark .dropdown-item { color: #E5E5E5 !important; }
html.dark .dropdown-item:hover { background: #2A2A2A !important; }
html.dark .security-card { background: #1A1A1A; border-color: rgba(255,255,255,0.07); }
html.dark .checkout-header-bar .btn { background: #1E1E1E !important; border-color: rgba(255,255,255,0.10) !important; color: #AAA !important; }
html.dark .theme-toggle-btn { color: #F5A800 !important; }
html.dark .nec-logo-name { color: #F5A800 !important; }

/* ─── Dark mode: countdown banner — texto/ícone brancos ─── */
html.dark .countdown-icon,
html.dark .countdown-text,
html.dark .countdown-time { color: #FFFFFF !important; }

/* ─── Dark mode: order bumps ─── */
html.dark .ob-card { background: #111D2E; }
html.dark .ob-content { background: #1A1A1A; }
html.dark .ob-header { color: #93c5fd; border-bottom-color: rgba(255,255,255,0.08); }
html.dark .ob-section .form-check-input[type=checkbox]:not(:checked):not(:indeterminate) { background: #2A2A2A; border-color: rgba(255,255,255,0.18); }
html.dark .ob-select-all-label { color: #E5E5E5; }
html.dark .ob-body { color: #AAA; }
html.dark .ob-body strong { color: #E5E5E5; }
html.dark .ob-arrow { color: #F5A800; }
html.dark .ob-title { color: #F5A800; }
/* ─── Dark mode: guarantees text ─── */
html.dark .sec-text strong { color: #E5E5E5; }
