/* Allexys 2.9 — o tema padrão é o claro existente. Seletor escuro cobre vitrine, conta e painel. */
.alx-utility-dock{position:fixed;bottom:16px;right:15px;z-index:150;display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #d6cfdf;border-radius:16px;background:#fffefa;box-shadow:0 8px 34px #1f153229;color:#35264b;font:600 12px Inter,system-ui,sans-serif;max-width:calc(100vw - 24px)}
.alx-utility-dock button,.alx-utility-dock a{white-space:nowrap;border:1px solid #ded8e5;background:#f6f2fa;color:#3b2b58;padding:9px 11px;line-height:1.2;border-radius:10px;cursor:pointer;text-decoration:none;font:inherit}.alx-utility-dock :is(a,button):focus-visible{outline:3px solid #9773d8;outline-offset:3px}.alx-version{color:#615b71;font-weight:750;padding:0 6px;letter-spacing:.02em}
@media(max-width:680px){body:has(.mobile-order-bar) .alx-utility-dock{bottom:83px;right:8px;gap:4px;padding:5px}.alx-utility-dock button,.alx-utility-dock a{padding:8px;font-size:11px}.alx-version{font-size:10px;padding:0 3px}}
html[data-theme="dark"]{color-scheme:dark;--bg:#12111a;--panel:#211d2a;--panel2:#292433;--text:#f6f2fa;--muted:#c4bbd0;--line:#4a4355;--alx-ink:#f4f0f8;--alx-blue:#ddd6f8;--alx-violet:#c1a7f3;--alx-pearl:#211d2a;--alx-gold:#e1be83;--account-bg:#12111a;--account-card:#211d2a;--account-text:#f7f3fa;--account-muted:#c4bbd0;--account-line:#50485d;--account-input:#30293a;--account-violet:#d4b4ff}
html[data-theme="dark"] body{background:#12111a!important;color:#f6f2fa!important}
html[data-theme="dark"] :is(.alx-utility-dock){background:#241e31;color:#f7f3fc;border-color:#655675;box-shadow:0 8px 34px #0008}
html[data-theme="dark"] .alx-utility-dock :is(button,a){background:#372b49;color:#fff;border-color:#655675}
html[data-theme="dark"] .alx-version{color:#d5c6e7}
/* Site: preserva hierarquia editorial, imagens e botões, mas remove fundos claros e textos escuros. */
html[data-theme="dark"] :is(.site-header,.mobile-nav,.cart-drawer,.side-drawer,.drawer-head,.cart-footer,.modal-panel,.compare-panel,.finder-panel){background:#211d2a!important;color:#f7f3fc!important;border-color:#50465d!important}
html[data-theme="dark"] :is(.site-header,.brand b,.site-header .brand b,.desktop-nav a,.desktop-nav button,.header-actions button,.bag-btn,.icon-action){color:#f7f3fc!important}
html[data-theme="dark"] :is(.brand small,.site-header .brand small,.desktop-nav a:hover){color:#ddd1e9!important}
html[data-theme="dark"] .brand-mark{background:#3b3150!important;color:#f1e5ff!important;border-color:#6e587e!important}
html[data-theme="dark"] :is(.hero,.catalog-section,.catalog-group-section,.catalog-page-hero,.contact-section,.story-section,.personality-section,.quick-match,.launches-home,.editorial-collections,.discovery-paths,.fragrance-category,.collection-block,.catalog-universes,.performance-strip,.promise-strip,.product-page,.product-detail,.product-lead,.detail-end,.reviews-section,.simple-card,.content-page){background-color:#15131d!important;color:#f6f2fa!important;border-color:#4d4557!important}
html[data-theme="dark"] :is(.product-card,.product-body,.collection-copy,.quick-match-body,.quick-match-step,.quick-result-card,.discovery-path-card,.launch-card,.catalog-home-tools,.purchase-reassurance,.hero-proof,.modal-panel,.review-card,.saved-item,.compare-product,.detail-card,.gallery-main,.variant-option,.catalog-group-cta,.promo-box,.collection-products){background-color:#24202d!important;color:#f5f0fa!important;border-color:#51465e!important}
html[data-theme="dark"] :is(.product-card,.collection-copy,.quick-result-card,.discovery-path-card,.launch-card,.variant-option,.purchase-reassurance){background-image:none!important}
html[data-theme="dark"] :is(.product-image,.launch-card-image,.gallery-thumb,.product-gallery,.preview-image){background-color:#322b3a!important}
html[data-theme="dark"] :is(h1,h2,h3,h4,h5,.product-body h3,.section-head h2,.hero h1,.hero-content h1,.product-lead h1,.story-section h2,.quick-match h2,.quick-match h3,.contact-copy h2,.catalog-page-hero h1,.launch-card h3,.rich-text h2,.collection-copy h3,.catalog-group-head h2){color:#faf7ff!important}
html[data-theme="dark"] :is(p,small,.product-meta,.product-body p,.section-head p,.hero-content p,.product-lead p,.catalog-page-hero p,.contact-copy p,.collection-copy p,.variant-option small,.launch-card p,.story-section p,.hero-proof small,.product-description,.cart-coupon-feedback){color:#cbc3d5!important}
html[data-theme="dark"] :is(.eyebrow,.section-kicker,.product-meta span,.launch-date span,.crumb,.product-price,.card-variants b){color:#e4c7ff!important}
html[data-theme="dark"] :is(.cart-item,.saved-item,.order-summary,.cart-coupon-box,.cart-total,.quick-match-choices button,.choice-grid button,.catalog-sort button,.finder-step button,.thumb,.filter-panel,.review-form,.contact-form){background-color:#26202f!important;color:#f8f4fd!important;border-color:#524660!important}
html[data-theme="dark"] :is(input,select,textarea){background:#342d40!important;color:#faf7ff!important;border-color:#716481!important}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#c4b8d1!important;opacity:1}
html[data-theme="dark"] :is(.btn-ghost,.card-action,.icon-action,.bag-btn,.mini-tool,.chip,.catalog-sort button,.catalog-all-link,.launch-reserve-link){background-color:#3c3150!important;color:#fff!important;border-color:#74658b!important}
html[data-theme="dark"] :is(.btn-primary,.btn-whatsapp,.alx-primary){color:#fff!important}
html[data-theme="dark"] :is(.card-variants span,.price-panel,.product-tabs,.accordion-item,.purchase-box,.cart-item,.cart-footer,.product-grid,.product-card){border-color:#52475e!important}
html[data-theme="dark"] :is(.cart-total strong,.product-price strong,.card-variants strong,.total-line strong){color:#f8f4ff!important}
html[data-theme="dark"] :is(.drawer-backdrop,.modal){color:#faf7ff}
html[data-theme="dark"] footer:not(.whatsapp-order-card footer){background:#17141f!important;color:#cfc3d9!important;border-color:#4c4157!important}
html[data-theme="dark"] footer :is(a,p,small){color:#dbd2e5!important}
/* Minha Conta: variáveis acessíveis, formulários, notificações e pedidos. */
html[data-theme="dark"] .alx-account-page{--account-bg:#12111a;--account-card:#211d2a;--account-text:#f7f3fa;--account-muted:#cbc1d7;--account-line:#50485d;--account-input:#30293a;--account-violet:#d4b4ff;background:#12111a!important;color:#f7f3fa!important}
html[data-theme="dark"] .alx-account-top,html[data-theme="dark"] .alx-account-card,html[data-theme="dark"] .alx-account-stats>div{background:var(--account-card)!important;border-color:var(--account-line)!important}
html[data-theme="dark"] .alx-account-heading :is(h1,p),html[data-theme="dark"] .alx-account-card :is(h2,p,label),html[data-theme="dark"] .alx-order-head :is(h3,small),html[data-theme="dark"] .alx-order-products :is(b,span),html[data-theme="dark"] .alx-order-details :is(p,strong){color:var(--account-text)!important}
html[data-theme="dark"] .alx-order-summary{background:#30283b!important}html[data-theme="dark"] .alx-order-summary span{color:#d0c5d9!important}html[data-theme="dark"] .alx-order-summary b{color:#fff!important}
html[data-theme="dark"] .alx-flash.success{background:#183b2a;color:#c0ffdb;border-color:#4c966f}html[data-theme="dark"] .alx-flash.error{background:#3e2025;color:#ffe0e0;border-color:#b9757d}
/* Administração: todo conteúdo passa para painel, fundo, textos e campos escuros. Sidebar já é escura. */
html[data-theme="dark"] body.admin-page{--bg:#14111b;--panel:#241e2d;--panel2:#30283a;--line:#55495e;--text:#faf6ff;--muted:#c6b9d1;--purple:#cfb0ff;--pink:#c9abed;--green:#81e4ac;--red:#ffadb8;background:#14111b!important;color:#faf6ff!important}
html[data-theme="dark"] .admin-page :is(.admin-main,.admin-top,.toolbar,.toolbar-actions,.panel,.table-panel,.admin-modal .modal-box,.modal-box,.admin-search,.admin-workbar,.product-category-nav,.alx-catalog-hero,.alx-catalog-table,.alx-editor-nav,.alx-product-editor,.settings-grid,.settings-section,.settings-section-note,.media-editor-stage,.modal-head,.admin-quicksearch,.admin-quickresults,.dashboard-onboarding,.status-filter,.tab-panel,.cards-list,.variant-card,.form-grid,.product-editor-body,.media-editor-box){background-color:#241e2d!important;color:#faf6ff!important;border-color:#55495e!important}
html[data-theme="dark"] .admin-page :is(.admin-top h1,h1,h2,h3,h4,.panel-head h2,.modal-head h2,.admin-user b,.form-grid label,.alx-catalog-hero h2,.admin-brand b,.alx-editor-nav button,.variant-card-head,.variant-volume-photo>summary){color:#faf6ff!important}
html[data-theme="dark"] .admin-page :is(p,small,.hint,.section-kicker,.admin-user small,.section-subtitle,.admin-workbar-label,.settings-section-note,.admin-search span,.alx-catalog-hero p,.empty-admin,.table-panel th){color:#d4c9df!important}
html[data-theme="dark"] .admin-page :is(input,textarea,select,button:not(.primary):not(.admin-btn.primary)){color:#f9f4fc;border-color:#6a5a76}
html[data-theme="dark"] .admin-page :is(input,textarea,select){background:#342b3f!important;color:#faf6ff!important;border-color:#716181!important}
html[data-theme="dark"] .admin-page input::placeholder,html[data-theme="dark"] .admin-page textarea::placeholder{color:#c7bad2!important;opacity:1}
html[data-theme="dark"] .admin-page :is(.table-panel td,.table-panel th,.admin-modal,.modal-box,.panel,.media-editor-box,.admin-workbar,.variant-card){border-color:#605369!important}
html[data-theme="dark"] .admin-page :is(.table-panel tr:hover,.alx-catalog-tabs button.active,.status-filter button.active){background:#3b3050!important;color:#fff!important}
html[data-theme="dark"] .admin-page :is(.admin-btn.ghost,.link-btn,.nav-item.active,.modal-x,.status-filter button,.alx-catalog-tabs button){background-color:#3a2e49!important;color:#fff!important;border-color:#766389!important}
html[data-theme="dark"] .admin-page :is(.admin-btn.primary,.btn-primary){background:#684b9f!important;color:#fff!important}
html[data-theme="dark"] .admin-page .sidebar{background:#21192b!important;color:#f7f1ff!important}
html[data-theme="dark"] .admin-page .admin-page::before{display:none}
html[data-theme="dark"] .admin-page :is(.variant-volume-photo,.variant-photo-panel,.alx-product-actions,.alx-editor-nav){background-color:#2b2336!important}
/* Gestão e listagem de clientes: estilos próprios com contraste em ambos os temas. */
.alx-order-management{margin-top:12px;border-top:1px solid var(--line,#e1dae9);padding-top:14px}.alx-order-management summary{cursor:pointer;font-weight:800;color:var(--purple,#593e82);padding:10px 0}.alx-order-form{display:grid;gap:14px;padding:14px;border-radius:12px;background:var(--panel2,#f7f5fb)}.alx-order-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.alx-order-form label{display:grid;gap:6px;font-weight:650;color:var(--text,#271e31);font-size:12px;min-width:0}.alx-order-form input,.alx-order-form select{width:100%;max-width:100%;padding:10px;border:1px solid var(--line,#ddd);border-radius:9px;background:var(--panel,#fff);color:var(--text,#271e31)}.alx-order-address{padding:12px;background:var(--panel,#fff);border:1px solid var(--line,#ddd);border-radius:9px;white-space:normal;overflow-wrap:anywhere}.alx-order-form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.alx-order-history{display:grid;gap:8px;border-top:1px solid var(--line,#ddd);padding-top:14px}.alx-order-history p{font-size:12px;line-height:1.65;border-left:2px solid var(--purple,#7657ad);padding-left:10px;margin:0}.alx-order-admin>footer{gap:14px;flex-wrap:wrap}.alx-order-admin>footer small{color:var(--muted,#766b7b)}.alx-customer-list{display:grid;gap:4px}.alx-customer-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line,#ddd);padding:16px}.alx-customer-row div{display:grid;gap:5px}.alx-customer-row b{color:var(--text,#271e31)}.alx-customer-row small{color:var(--muted,#766b7b)}
@media(max-width:680px){.alx-order-form-grid{grid-template-columns:1fr}.alx-customer-row{flex-wrap:wrap}}

/* Tela administrativa de acesso (não possui a classe .admin-page). */
html[data-theme="dark"] body.login-page{background:#15111d!important;color:#f5effa!important}
html[data-theme="dark"] .login-page :is(.login-card,.login-copy){background:#26202f!important;color:#f5effa!important;border-color:#665674!important}
html[data-theme="dark"] .login-page :is(h1,h2,p,label,.admin-brand b){color:#f5effa!important}
html[data-theme="dark"] .login-page input{background:#352b41!important;color:#fff!important;border-color:#766486!important}
html[data-theme="dark"] .login-page input::placeholder{color:#cdbedb!important}

/* Acesso à conta sempre visível no cabeçalho da vitrine. */
.alx-account-header-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 12px;min-height:44px;border:1px solid #d8d3e2;border-radius:12px;color:#49366d!important;background:#f4f0f8!important;font-weight:750;font-size:12px;white-space:nowrap}
html[data-theme="dark"] .alx-account-header-link{background:#3b3050!important;color:#fff!important;border-color:#75658a!important}
@media(max-width:820px){.alx-account-header-link .alx-account-label{display:none}.alx-account-header-link{padding:10px;width:43px;min-width:43px;font-size:22px}}

/* Filtros de etapas sem cortes em telas menores. */
#tab-orders .status-filter{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}#tab-orders .status-filter button{white-space:nowrap}


/* ALLEXYS 2.9.1 — correção de contraste do tema escuro.
   Evita fundos claros combinados com textos claros herdados da vitrine 2.8.1.
   Não modifica o tema claro nem as regras de venda. */
html[data-theme="dark"] .product-card .card-variants > span {
  background:#342d42!important;
  background-image:none!important;
  border:1px solid #75658a!important;
  color:#f5edff!important;
}
html[data-theme="dark"] .product-card .card-variants > span b {
  color:#e4d9f5!important;
}
html[data-theme="dark"] .product-card .card-variants > span strong {
  color:#ffffff!important;
}
html[data-theme="dark"] .product-card .card-variants > span.has-promo {
  background:#442b40!important;
  border-color:#aa688a!important;
}
html[data-theme="dark"] .product-card .card-variants > span.has-promo strong,
html[data-theme="dark"] .product-card .card-variants > span.has-promo em {
  color:#ffe0ef!important;
}
html[data-theme="dark"] .product-card .card-variants > span del {
  color:#d4c7d7!important;
}
html[data-theme="dark"] .product-card .card-action,
html[data-theme="dark"] .product-card .card-action:hover {
  background:#30283d!important;
  border-top-color:#665778!important;
  color:#f7f0ff!important;
}
html[data-theme="dark"] .product-card .card-action b {
  color:#e9d4ff!important;
}
html[data-theme="dark"] .product-card .product-image {
  background:#30283b!important;
  background-image:none!important;
}
/* Elementos claros obrigatórios de versões anteriores: contraste das demais telas. */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-primary:hover {
  background:#7653aa!important;
  color:#fff!important;
}
html[data-theme="dark"] .discovery-paths-heading,
html[data-theme="dark"] .discovery-path-card strong {
  color:#faf5ff!important;
}
html[data-theme="dark"] .discovery-path-card span,
html[data-theme="dark"] .discovery-path-card small {
  color:#d8cfe3!important;
}
html[data-theme="dark"] .discovery-path-card i {color:#e5c8ff!important}
html[data-theme="dark"] .discovery-path-card:nth-child(n) {background:#282232!important}
html[data-theme="dark"] .promise-strip {background:#221d2b!important;border-color:#574965!important}
html[data-theme="dark"] .promise-strip div {color:#e4d9ef!important;border-color:#574965!important}
html[data-theme="dark"] .search-field,
html[data-theme="dark"] .catalog-page-toolbar .search-field {
  background:#30283a!important;
  color:#f8f4fd!important;
  border-color:#75668a!important;
}
html[data-theme="dark"] .search-field input {background:transparent!important;color:#faf7ff!important}
html[data-theme="dark"] .search-field input::placeholder {color:#d1c6dc!important}
html[data-theme="dark"] :is(.universe-pills a,.catalog-filter-groups a,.catalog-filter-categories a,
  .category-showcase-actions a,.launch-size-chips span) {
  background:#352d44!important;
  color:#f5efff!important;
  border-color:#75668a!important;
}
html[data-theme="dark"] :is(.universe-pills a:hover,.universe-pills a.active,
  .catalog-filter-groups a:hover,.catalog-filter-groups a.active,
  .catalog-filter-categories a:hover) {
  background:#54416e!important;
  color:#fff!important;
}
html[data-theme="dark"] .category-more a {color:#e8d4ff!important;border-color:#8a78a0!important}
html[data-theme="dark"] .category-showcase-head>img {background:#332b3e!important;border-color:#685879!important}
html[data-theme="dark"] .collection-products {background:#211b2a!important;border-color:#625471!important}
html[data-theme="dark"] .launch-date {color:#d8c4ed!important}
html[data-theme="dark"] .catalog-page-hero {background:#191520!important;background-image:none!important}
html[data-theme="dark"] :is(.catalog-page-count span,.catalog-sort,.catalog-page-hero p) {color:#d6cadd!important}
html[data-theme="dark"] .catalog-page-count strong {color:#fff!important}
html[data-theme="dark"] .catalog-sort select {background:#352d42!important;color:#fff!important;border-color:#73618a!important}
html[data-theme="dark"] .content-page article {background:#241e2e!important;color:#ebe4f2!important;border-color:#5f536e!important}
/* Página de perfume: tamanho selecionado, preço, histórias e avaliações. */
html[data-theme="dark"] .product-page .variant-option,
html[data-theme="dark"] .product-page .variant-option.active {
  background:#30283d!important;
  color:#f7f1ff!important;
  border-color:#75658a!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .product-page .variant-option.active {background:#4a3a60!important;border-color:#b096e2!important}
html[data-theme="dark"] .product-page .variant-option span,
html[data-theme="dark"] .product-page .variant-option strong,
html[data-theme="dark"] .product-page .detail-price strong {color:#fff!important}
html[data-theme="dark"] .product-page .variant-option del,
html[data-theme="dark"] .product-page .detail-price small {color:#d4c6df!important}
html[data-theme="dark"] .product-page .purchase-reassurance {background:#2a2435!important;border-color:#62546f!important}
html[data-theme="dark"] .product-page :is(.purchase-reassurance strong,.product-sensory-context strong) {color:#f7eaff!important}
html[data-theme="dark"] .product-page :is(.purchase-reassurance p,.product-sensory-context p,
  .story-section p,.accords-section p,.reviews-summary p,.personality-copy p,
  .personality-section .rich-text,.story-section .rich-text,.story-section .rich-text p) {
  color:#e2d8e9!important;
}
html[data-theme="dark"] .product-page :is(.reviews-summary h2,.story-section h2) {color:#faf7ff!important}
html[data-theme="dark"] .product-page .review-cards article {background:#292333!important;border-color:#68587b!important}
html[data-theme="dark"] .product-page .review-cards :is(p,b) {color:#f0e9fa!important}
html[data-theme="dark"] .product-page .personality-meter>div,
html[data-theme="dark"] .product-page .personality-meter>div b {color:#e8e0f2!important}
html[data-theme="dark"] .product-page .performance-strip {background:#524663!important;border-color:#524663!important}
html[data-theme="dark"] .product-page .performance-strip article {background:#2b2436!important;color:#fff!important}
html[data-theme="dark"] .product-page .performance-strip article :is(b,span) {color:#f0e7f8!important}
html[data-theme="dark"] .gallery-thumbs>* {background:#342b40!important;border-color:#75658a!important}
/* Sacola lateral: cabeçalhos e rótulos permanecem legíveis. */
html[data-theme="dark"] :is(.cart-drawer h2,.side-drawer h2,.cart-footer label,.drawer-head button) {
  color:#f8f2ff!important;
}
