/* Grafito más claro: solo modifica el modo oscuro. */
html[data-cc-theme="dark"] body.cc-visual-editor {
 --cc-dark-canvas:#282828;--cc-dark-panel:#343434;--cc-dark-field:#2c2c2c;
 --cc-help-canvas:#282828;--cc-help-surface:#343434;--cc-help-ink:#f1f3f1;--cc-help-line:#606060;--cc-help-link:#c2e5b6;
 --cc-pay-panel:#343434;--cc-pay-field:#2c2c2c;--cc-pay-text:#f1f3f1;--cc-pay-border:#606060;
 --cc-order-bg:#343434;--cc-order-alt:#424242;--cc-order-ink:#f1f3f1;--cc-order-muted:#d0d6d0;
 background-color:#282828!important;color:#f1f3f1;color-scheme:dark;
}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page,
html[data-cc-theme="dark"] body.cc-visual-editor #page#page #content {background-color:#282828!important;background-image:none!important}
html[data-cc-theme="dark"] body.cc-visual-editor :is(#cibercell#cibercell,#cc-elementor-footer#cc-elementor-footer)[data-theme="dark"] {
 --muted:#ced4ce;background-color:#282828!important;
 background-image:radial-gradient(ellipse at 20% 10%,#ffffff06,transparent 65%)!important;
}
html[data-cc-theme="dark"] body.cc-visual-editor :is(#cibercell,#cc-elementor-footer) :is(.card,.service,.floating) {background-color:#343434!important;background-image:none!important;border-color:#565656!important}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page .woocommerce ul.products li.product,
html[data-cc-theme="dark"] body.cc-visual-editor #page#page ul.products li.product,
html[data-cc-theme="dark"] body.cc-visual-editor #cibercell#cibercell ul.products li.product,
html[data-cc-theme="dark"] body.cc-visual-editor #page#page :is(.woocommerce-tabs,.related.products) {background-color:#343434!important;background-image:none!important;border-color:#565656!important}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page .cc-help {--cc-help-surface:#343434;--cc-help-canvas:#282828;background-color:#343434!important}
html[data-cc-theme="dark"] body.cc-visual-editor #cc-shop-filter-layout .cc-catalog-filter {--filter-bg:#343434;--filter-text:#f1f3f1;--filter-border:#606060;--filter-input:#2c2c2c}
html[data-cc-theme="dark"] body.cc-visual-editor #moderncart-slide-out-modal {--cc-cart-bg:#343434;--cc-cart-panel:#2c2c2c;--cc-cart-text:#f1f3f1;--cc-cart-border:#606060}
html[data-cc-theme="dark"] body.cc-visual-editor dialog.cc-drawer {--drawer-bg:#343434;--drawer-sub:#424242;--drawer-ink:#f1f3f1;--drawer-line:#606060}
html[data-cc-theme="dark"] body.cc-visual-editor #cc-mobile-filter-dialog {background-color:#343434!important;color:#f1f3f1!important}
html[data-cc-theme="dark"] body.cc-visual-editor #cibercell .cc-campaigns {--campaign-paper:#303030;--campaign-side:#424242;--campaign-ink:#f1f3f1;--campaign-muted:#ced4ce}
html[data-cc-theme="dark"] body.cc-visual-editor #cc-contact {--cc-contact-bg:#343434;--cc-contact-text:#f1f3f1}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page #content :is(article.ast-article-single,.site-main) {background-color:transparent!important}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page #content .cc-help :is(.cc-help-nav a,.cc-help-cards>a) {background:#424242!important;color:#e4efdf!important;-webkit-text-fill-color:#e4efdf!important;border-color:#747474!important}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page #content .cc-help .cc-help-cards>a span {color:#d1dfcd!important;-webkit-text-fill-color:#d1dfcd!important}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page #content :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation,.cc-account-intro,.cc-account-card) {background-color:#343434!important}
html[data-cc-theme="dark"] body.cc-visual-editor #page#page #content #main :is(ul.products li.product,.summary,.woocommerce-tabs,.woocommerce-product-gallery,.woocommerce-product-gallery__wrapper) {background-color:#343434!important;background-image:none!important}
html[data-cc-theme="dark"] body.woocommerce-account.cc-visual-editor {
 background:#282828 url('checkout-background.png') center center / cover no-repeat fixed!important;min-height:100vh;
}
html[data-cc-theme="dark"] body.woocommerce-account.cc-visual-editor #page#page,
html[data-cc-theme="dark"] body.woocommerce-account.cc-visual-editor #page#page #content,
html[data-cc-theme="dark"] body.woocommerce-account.cc-visual-editor #page#page #content :is(#primary,#main,article,.entry-content,.woocommerce,.wp-block-cover,.wp-block-cover__inner-container) {background:transparent!important;background-image:none!important;box-shadow:none!important}
html[data-cc-theme="dark"] body.woocommerce-account.cc-visual-editor #page#page #content .wp-block-cover__background {display:none!important}
@media(max-width:767px){html[data-cc-theme="dark"] body.woocommerce-account.cc-visual-editor {background-attachment:scroll!important;background-size:auto 100vh!important;background-position:center top!important}}
html[data-cc-theme="dark"] body.single-product.cc-visual-editor {
 background:#282828 url('checkout-background.png') center center / cover no-repeat fixed!important;min-height:100vh;
}
html[data-cc-theme="dark"] body.single-product.cc-visual-editor #page#page,
html[data-cc-theme="dark"] body.single-product.cc-visual-editor #page#page #content,
html[data-cc-theme="dark"] body.single-product.cc-visual-editor #page#page #content :is(#primary,#main,article,.entry-content,.ast-container,div.product) {background:transparent!important;background-image:none!important;box-shadow:none!important}
@media(max-width:767px){html[data-cc-theme="dark"] body.single-product.cc-visual-editor {background-attachment:scroll!important;background-size:auto 100vh!important;background-position:center top!important}}
html[data-cc-theme="dark"] body.cc-filter-shop.cc-visual-editor {
 background:#282828 url('checkout-background.png') center center / cover no-repeat fixed!important;min-height:100vh;
}
html[data-cc-theme="dark"] body.cc-filter-shop.cc-visual-editor #page#page,
html[data-cc-theme="dark"] body.cc-filter-shop.cc-visual-editor #page#page #content,
html[data-cc-theme="dark"] body.cc-filter-shop.cc-visual-editor #page#page #content :is(#primary,#main,.ast-container,.ast-woocommerce-container,#cc-shop-filter-layout,#cc-shop-results) {background:transparent!important;background-image:none!important;box-shadow:none!important}
@media(max-width:767px){html[data-cc-theme="dark"] body.cc-filter-shop.cc-visual-editor {background-attachment:scroll!important;background-size:auto 100vh!important;background-position:center top!important}}

/* Superficie gris para las sugerencias de búsqueda en modo oscuro. */
html[data-cc-theme="dark"] body .dgwt-wcas-suggestions-wrapp,
html[data-cc-theme="dark"] body .dgwt-wcas-suggestions-wrapp :is(.dgwt-wcas-suggestion,.dgwt-wcas-nores,.dgwt-wcas-details-wrapp){background:#343434!important;color:#f2f2f2!important;border-color:#575757!important}
html[data-cc-theme="dark"] body .dgwt-wcas-suggestions-wrapp :is(.dgwt-wcas-st,.dgwt-wcas-st-title,.dgwt-wcas-sp,.dgwt-wcas-nores){color:#f2f2f2!important;-webkit-text-fill-color:#f2f2f2!important}
html[data-cc-theme="dark"] body .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion:hover,
html[data-cc-theme="dark"] body .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-selected{background:#484848!important}html[data-cc-theme="dark"] body div.dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp,
html[data-cc-theme="dark"] body div.dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp :is(.dgwt-wcas-suggestion,.dgwt-wcas-nores){background-color:#343434!important;background-image:none!important}html[data-cc-theme="dark"] body :is(#cc-search-surface#cc-search-surface,.dgwt-wcas-suggestions-wrapp){background:#343434!important;color:#f2f2f2!important}
/* Texto de búsqueda legible según el tema. */
html body #cc-store-header#cc-store-header .cc-fibo-search input.dgwt-wcas-search-input{color:#25362b!important;-webkit-text-fill-color:#25362b!important;caret-color:#25362b!important}
html[data-cc-theme="dark"] body #cc-store-header#cc-store-header .cc-fibo-search input.dgwt-wcas-search-input{background:#343434!important;color:#f2f2f2!important;-webkit-text-fill-color:#f2f2f2!important;caret-color:#f2f2f2!important}
html[data-cc-theme="dark"] body #cc-store-header#cc-store-header .cc-fibo-search input.dgwt-wcas-search-input::placeholder{color:#c3c8c4!important;-webkit-text-fill-color:#c3c8c4!important}
html[data-cc-theme="dark"] body #cc-store-header#cc-store-header .cc-fibo-search :is(.dgwt-wcas-search-submit,.dgwt-wcas-close){color:#f2f2f2!important}
html[data-cc-theme="dark"] body #cc-store-header#cc-store-header .cc-fibo-search .dgwt-wcas-search-submit svg{fill:#f2f2f2!important}
html body #cc-store-header#cc-store-header .cc-fibo-search input.dgwt-wcas-search-input::placeholder,
html[data-cc-theme="dark"] body #cc-store-header#cc-store-header .cc-fibo-search input.dgwt-wcas-search-input::placeholder{color:#169b36!important;-webkit-text-fill-color:#169b36!important;opacity:1!important}
html[data-cc-theme="dark"] body #cc-store-header#cc-store-header .cc-fibo-search input.dgwt-wcas-search-input::placeholder{color:#63ef49!important;-webkit-text-fill-color:#63ef49!important}
/* El SVG de FiboSearch trae paths negros: heredar el contraste del botón. */
html[data-cc-theme=dark] body #cc-store-header#cc-store-header .cc-fibo-search .dgwt-wcas-search-submit svg path{fill:#f2f2f2!important}