/* Hora Ebooks — temas públicos. Carregado POR ÚLTIMO: nenhum estilo do admin. */
body[class*="store-theme-"]{background:var(--st-bg,#08090b)!important;color:var(--st-text,#f3f5fa)!important;font-family:var(--st-font,'Poppins',sans-serif)!important;--elite-orange:var(--st-accent);--elite-gold:var(--st-accent);--elite-muted:var(--st-muted);--pe-primary:var(--st-accent);--ev-orange:var(--st-accent);--hw-orange:var(--st-accent);--hw-text:var(--st-text);--hw-muted:var(--st-muted)}
body[class*="store-theme-"] :is(p,.text-secondary,.small-muted,.form-text,.elite-section-head p,.pv-author,.pv-summary,.pv-secure){color:var(--st-muted)!important}
body[class*="store-theme-"] :is(.elite-section-head h2,.elite-hero h1,.pv-title,.elite-card-body h3,.page-hero h1,.product-title,h1,h2,h3,h4,h5){text-wrap:pretty}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-card-body h3,
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-card-body h3 a{color:var(--st-text)!important}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-card-body h3 a:hover{color:var(--st-accent)!important}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-kicker{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-format{background:#11141be8!important;color:#fff!important;border:1px solid #ffffff55!important;font-size:.65rem!important;padding:6px 9px!important}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-discount{display:none!important}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-card-body{gap:4px!important;padding-top:11px!important;padding-bottom:6px!important}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-price small{color:#bec7d3!important;font-size:.72rem!important}
body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-real-rating{font-size:.75rem!important;color:#f5d06c!important}
body[class*="store-theme-"] .elite-section-head p,body[class*="store-theme-"] .elite-trust-item small,body[class*="store-theme-"] .elite-hero-chips span{font-size:max(.81rem,1em)!important;line-height:1.55!important}
body[class*="store-theme-"] .pv-info .pv-summary{font-size:clamp(.92rem,1.2vw,1.04rem)!important;line-height:1.72!important}
body[class*="store-theme-"] .pv-info .pv-author,body[class*="store-theme-"] .pv-formatchip,body[class*="store-theme-"] .pv-categorychip{font-size:.8rem!important}
body[class*="store-theme-"] :is(.page-hero p,.elite-hero p,.product-description-card,.content-card,.checkout-card){line-height:1.68}
body[class*="store-theme-"] a:focus-visible,body[class*="store-theme-"] button:focus-visible{outline:3px solid var(--st-accent)!important;outline-offset:3px!important}
/* Tema 1 – CSS fornecido pelo proprietário (na prioridade final). */
body.store-theme-1{
 --st-bg:#08090b;--st-surface:#13161a;--st-accent:#ff7627;--st-text:#f3f5fa;--st-muted:#c5cedb;--st-font:'Poppins',sans-serif;--st-radius:17px;
}
body.store-theme-1 .elite-stream-card.ebook-card .elite-price strong {
    font-size: 1.1rem !important;
    line-height: 1.06rem !important;
    font-weight: 400 !important;
}
body.store-theme-1 .elite-stream-card.ebook-card .elite-card-body h3 {
    margin: 0 !important;
    min-height: 2.58em !important;
    line-height: 1.29 !important;
    font-size: clamp(.77rem, 1.05vw, .91rem) !important;
    font-weight: 800 !important;
    letter-spacing: -.016em !important;
    text-transform: none !important;
    text-align: start !important;
}
body.store-theme-1 .elite-stream-card.ebook-card .elite-kicker {
    margin: 0 !important;
    line-height: 1.25 !important;
    color: #edf306 !important;
    letter-spacing: .065em !important;
    font-size: 0.8rem !important;
    max-width: 100% !important;
    font-weight: 700 !important;
}
/* Home premium centralizada — mantendo o texto do CSS solicitado alinhado à esquerda. */
body.store-theme-1 .elite-stream-card.ebook-variant-3 .elite-card-body{align-items:stretch!important;text-align:left!important}
body.store-theme-1 .elite-stream-card.ebook-variant-3 .elite-price{justify-content:flex-start!important}
body.store-theme-1 .elite-stream-card.ebook-variant-3 .elite-card-body h3{text-align:start!important}
/* Outros temas: variáveis paletizadas e elementos estruturais próprios. */
body[class*="store-theme-"]:not(.store-theme-1) :is(.elite-brand,.elite-section-head h2,.elite-hero h1,.elite-card-body h3,.pv-title,.page-hero h1){font-family:var(--st-font)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-brand b{color:var(--st-accent)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-header .navbar{background:var(--st-navbar)!important;border-bottom-color:var(--st-outline)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-header .nav-link{color:var(--st-muted)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-header .nav-link:hover,
body[class*="store-theme-"]:not(.store-theme-1) .elite-header .nav-link.active{color:var(--st-accent)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-premium-btn,
body[class*="store-theme-"]:not(.store-theme-1) .elite-hero-actions .primary,
body[class*="store-theme-"]:not(.store-theme-1) .elite-search-box button,
body[class*="store-theme-"]:not(.store-theme-1) .pv-buy-link,
body[class*="store-theme-"]:not(.store-theme-1) .elite-stream-download,
body[class*="store-theme-"]:not(.store-theme-1) .btn-primary{background:var(--st-accent)!important;border-color:var(--st-accent)!important;color:var(--st-button-text)!important;box-shadow:0 7px 26px var(--st-glow)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-hero{background:radial-gradient(ellipse at 77% 10%,var(--st-glow),transparent 48%),linear-gradient(165deg,var(--st-surface),var(--st-bg))!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-hero:before{background:linear-gradient(90deg,var(--st-bg),transparent 65%,var(--st-bg))!important;opacity:.88}
body[class*="store-theme-"]:not(.store-theme-1) .elite-hero h1 span,
body[class*="store-theme-"]:not(.store-theme-1) :is(.elite-eyebrow,.elite-section-title-tag,.elite-section-head>a,.elite-kicker,.pv-eyebrow){color:var(--st-accent)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-stream-card.ebook-card{background:radial-gradient(circle at 10% 0%,var(--st-glow),transparent 58%),linear-gradient(170deg,var(--st-surface),var(--st-bg))!important;border:1px solid var(--st-outline)!important;border-radius:var(--st-radius)!important;box-shadow:0 12px 35px #0006!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-stream-card.ebook-card:hover{border-color:var(--st-accent)!important;box-shadow:0 18px 38px #0009,0 0 26px var(--st-glow)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-card-body .elite-kicker{font-size:.77rem!important;font-weight:750!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-card-body h3{font-size:clamp(.83rem,1.1vw,.98rem)!important;line-height:1.35!important;min-height:2.7em!important;font-weight:800!important;text-transform:none!important;letter-spacing:-.013em!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-price strong{font-size:1.13rem!important;line-height:1.18!important;font-weight:750!important;color:var(--st-text)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-stream-download{min-height:46px!important;font-weight:800!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-section.alt{background:var(--st-alt)!important;border-color:var(--st-outline)!important}
body[class*="store-theme-"]:not(.store-theme-1) .pv-layout,
body[class*="store-theme-"]:not(.store-theme-1) .checkout-card,
body[class*="store-theme-"]:not(.store-theme-1) .content-card,
body[class*="store-theme-"]:not(.store-theme-1) .page-hero{background:radial-gradient(ellipse at 0% 0%,var(--st-glow),transparent 47%),var(--st-surface)!important;border:1px solid var(--st-outline)!important;color:var(--st-text)!important}
body[class*="store-theme-"]:not(.store-theme-1) .pv-purchase{border-color:var(--st-outline)!important}
body[class*="store-theme-"]:not(.store-theme-1) .pv-formatchip,
body[class*="store-theme-"]:not(.store-theme-1) .pv-categorychip{color:var(--st-accent)!important;border-color:var(--st-outline)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-category-card{background:var(--st-surface)!important;border:1px solid var(--st-outline)!important;border-radius:var(--st-radius)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-category-card i{color:var(--st-accent)!important}
body[class*="store-theme-"]:not(.store-theme-1) .elite-mobile-nav{background:var(--st-navbar)!important;border-color:var(--st-outline)!important}
@media(max-width:767px){
 body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-card-body h3{font-size:clamp(.77rem,2.9vw,.9rem)!important}
 body[class*="store-theme-"]:not(.store-theme-1) .elite-stream-card.ebook-card .elite-kicker{font-size:.72rem!important}
 body.store-theme-1 .elite-stream-card.ebook-card .elite-kicker{font-size:.8rem!important}
 body[class*="store-theme-"] .elite-stream-card.ebook-card .elite-price strong{font-size:1.1rem!important}
}
@media(prefers-reduced-motion:reduce){body[class*="store-theme-"] .elite-stream-card.ebook-card{transition:none!important}}
body.store-theme-2{--st-bg:#100e0b;--st-accent:#e8aa43;--st-text:#f9e9cd;--st-muted:#d4bea0;--st-font:'Manrope',sans-serif;--st-surface:#1e1810;--st-navbar:#15100b;--st-outline:#342819;--st-alt:#17130e;--st-glow:#e8aa4340;--st-radius:24px;--st-button-text:#101318}
body.store-theme-3{--st-bg:#080d19;--st-accent:#55a7ff;--st-text:#edf5ff;--st-muted:#b9cce5;--st-font:'Inter',sans-serif;--st-surface:#121d34;--st-navbar:#101827;--st-outline:#263b56;--st-alt:#09111e;--st-glow:#55a7ff3a;--st-radius:14px;--st-button-text:#101318}
body.store-theme-4{--st-bg:#07120e;--st-accent:#44d19a;--st-text:#ecfff5;--st-muted:#b8dacd;--st-font:'Nunito Sans',sans-serif;--st-surface:#10241c;--st-navbar:#0d1a14;--st-outline:#234c3a;--st-alt:#0b1711;--st-glow:#44d19a3a;--st-radius:24px;--st-button-text:#101318}
body.store-theme-5{--st-bg:#170c13;--st-accent:#ef7392;--st-text:#fff1f5;--st-muted:#dec4ce;--st-font:'Montserrat',sans-serif;--st-surface:#271520;--st-navbar:#1b1017;--st-outline:#5c3144;--st-alt:#1a0f17;--st-glow:#ef73923f;--st-radius:12px;--st-button-text:#101318}
body.store-theme-6{--st-bg:#120d1f;--st-accent:#b594ff;--st-text:#f7f2ff;--st-muted:#d4cae4;--st-font:'Outfit',sans-serif;--st-surface:#211a35;--st-navbar:#1b142a;--st-outline:#49376a;--st-alt:#141020;--st-glow:#b594ff40;--st-radius:26px;--st-button-text:#101318}
body.store-theme-7{--st-bg:#07161b;--st-accent:#51d8de;--st-text:#e7fcff;--st-muted:#bfd9dc;--st-font:'DM Sans',sans-serif;--st-surface:#0e262b;--st-navbar:#0b1c22;--st-outline:#265157;--st-alt:#091a20;--st-glow:#51d8de3d;--st-radius:9px;--st-button-text:#101318}
body.store-theme-8{--st-bg:#101113;--st-accent:#d0d6df;--st-text:#ffffff;--st-muted:#cbd0d7;--st-font:'Inter',sans-serif;--st-surface:#1b1e22;--st-navbar:#151719;--st-outline:#474d55;--st-alt:#17191c;--st-glow:#b0b8c73a;--st-radius:8px;--st-button-text:#101318}
body.store-theme-9{--st-bg:#15100d;--st-accent:#e6b987;--st-text:#fff7ed;--st-muted:#ddc9b6;--st-font:'Lora',serif;--st-surface:#211913;--st-navbar:#1a1410;--st-outline:#58402a;--st-alt:#1a120d;--st-glow:#e6b98740;--st-radius:5px;--st-button-text:#101318}
body.store-theme-10{--st-bg:#090e14;--st-accent:#b0ed48;--st-text:#f3ffdb;--st-muted:#d2e5b0;--st-font:'Space Grotesk',sans-serif;--st-surface:#13201a;--st-navbar:#0e1618;--st-outline:#36502c;--st-alt:#10161b;--st-glow:#b0ed4840;--st-radius:3px;--st-button-text:#101318}
body.store-theme-2 .elite-book-card .elite-stream-cover{border:1px solid #e8aa4360}
body.store-theme-2 .elite-section-head h2{letter-spacing:.02em!important}
body.store-theme-3 .elite-book-card .elite-stream-cover{border-top:3px solid #55a7ff}
body.store-theme-4 .elite-category-card{border-radius:28px 9px 28px 9px!important}
body.store-theme-5 .elite-hero:after{content:"";position:absolute;width:600px;height:600px;right:-200px;top:-300px;border:1px solid #ef739233;border-radius:50%;pointer-events:none}
body.store-theme-6 .elite-stream-card .elite-cover-link{padding:7px 7px 0}
body.store-theme-7 .elite-stream-card.ebook-card{border-top:3px solid #51d8de!important}
body.store-theme-8 .elite-stream-card.ebook-card{box-shadow:0 0 0 1px #80889222,0 12px 36px #0008!important}
body.store-theme-9 .elite-hero h1,body.store-theme-9 .elite-section-head h2{font-family:'Lora',serif!important;text-transform:none!important;letter-spacing:-.04em!important}
body.store-theme-10 .elite-stream-card.ebook-card{border-radius:3px 22px 3px 22px!important}
body.store-theme-10 .elite-category-card{border-radius:3px 20px 3px 20px!important}

/* ===============================================
   HOTFIX 15/10 — Contraste confiável em TODOS os 10 temas.
   A classe .eyebrow herdava fundo quase branco do tema claro
   e texto branco da correção do cabeçalho: texto invisível.
   Não interfere no laboratório de capas, botões Pix, QR Code,
   nem no CSS personalizado dos cards do tema original.
   =============================================== */

/* Rótulos de categoria, catálogo, checkout, minha conta e relacionados. */
body[class*="store-theme-"] .eyebrow,
body[class*="store-theme-"] .page-hero .eyebrow,
body[class*="store-theme-"] .checkout-card .eyebrow,
body[class*="store-theme-"] .content-card .eyebrow,
body[class*="store-theme-"] .section-heading .eyebrow {
    background:#26201b !important; /* Fallback para navegadores sem color-mix */
    background:color-mix(in srgb, var(--st-accent, #ff7627) 12%, var(--st-surface, #13161a)) !important;
    color:var(--st-accent, #ffac72) !important;
    border:1px solid rgba(255,255,255,.16) !important;
    border-color:color-mix(in srgb, var(--st-accent, #ff7627) 38%, transparent) !important;
    font-size:.79rem !important;
    font-weight:800 !important;
    line-height:1.32 !important;
    letter-spacing:.055em !important;
    text-shadow:none !important;
    vertical-align:middle;
}
body[class*="store-theme-"] .eyebrow :is(i,.bi,svg),
body[class*="store-theme-"] .page-hero .eyebrow :is(i,.bi,svg) {
    color:inherit !important;
    opacity:1 !important;
}
body[class*="store-theme-"] a.eyebrow:hover,
body[class*="store-theme-"] a.eyebrow:focus-visible {
    background:var(--st-accent, #ff7627) !important;
    color:#101318 !important;
}

/* Um dos dez temas trazia uma seção ALT bege com letras claras. */
body.store-theme-2 .elite-section.alt {
    background:#17130e !important;
    color:var(--st-text) !important;
    border-color:var(--st-outline) !important;
}

/* Superfícies herdadas do primeiro layout claro (páginas auxiliares).
   Não atingir o fundo do QR Code Pix, capas nem badges multicoloridos. */
body[class*="store-theme-"] :is(
    .section-soft,.shop-section,.soft-lilac,.trust-strip,.category-showcase,
    .reasons-section,.all-ebooks-section,.newsletter,.home-search-top,
    .home-search-card,.hero-search,.hero-search-v3,.sticky-buy-mobile
) {
    background:var(--st-bg, #0d0f12) !important;
    color:var(--st-text, #f3f5fa) !important;
    border-color:var(--st-outline, #30343c) !important;
}
body[class*="store-theme-"] :is(
    .store-book-card,.reason-card,.trust-row>div,.header-actions .icon-btn
) {
    background:var(--st-surface, #15191e) !important;
    color:var(--st-text, #f3f5fa) !important;
    border-color:var(--st-outline, #30343c) !important;
}
body[class*="store-theme-"] :is(
    .store-book-card,.reason-card,.trust-row>div,.sticky-buy-mobile,
    .page-hero,.catalog-hero,.catalog-head
) :is(h1,h2,h3,h4,h5,h6,strong) {
    color:var(--st-text, #f3f5fa) !important;
}
body[class*="store-theme-"] :is(
    .store-book-card,.reason-card,.trust-row>div,.sticky-buy-mobile
) :is(p,small,.small,.text-secondary) {
    color:var(--st-muted, #c5cedb) !important;
}
body[class*="store-theme-"] :is(.hero-search,.hero-search-v3,.newsletter,.home-search-card) :is(input,textarea) {
    background:var(--st-surface, #20252b) !important;
    color:var(--st-text, #f3f5fa) !important;
    border-color:var(--st-outline, #45505b) !important;
}
body[class*="store-theme-"] :is(.hero-search,.hero-search-v3,.newsletter,.home-search-card) :is(input,textarea)::placeholder {
    color:var(--st-muted, #c5cedb) !important;
    opacity:1 !important;
}

/* Componentes auxiliares do Bootstrap em formulários públicos. */
body[class*="store-theme-"] :is(.card-data-box,.secure-box,.payment-note,.catalog-toolbar) {
    background:var(--st-surface, #17191d) !important;
    color:var(--st-text, #f3f5fa) !important;
    border-color:var(--st-outline, #30343c) !important;
}
body[class*="store-theme-"] :is(.card-data-box,.secure-box,.payment-note) :is(p,small,.small,.form-text) {
    color:var(--st-muted, #c5cedb) !important;
}
body[class*="store-theme-"] .form-control:-webkit-autofill,
body[class*="store-theme-"] .form-control:-webkit-autofill:hover,
body[class*="store-theme-"] .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color:var(--st-text, #f3f5fa) !important;
    -webkit-box-shadow:0 0 0 1000px #20252b inset !important;
    caret-color:var(--st-text, #f3f5fa) !important;
}
