/* Iron Store v4 */

/* ── FONDO GLOBAL ── */
body, #wrapper, #content-wrapper, .container,
section, main, #main, #js-product-list-header {
  background-color: #0d0d0d !important;
  color: #f1f5f9 !important;
}

/* ── HEADER ── */
#header, .header-top, nav.header-nav,
#header .header-top, body #header .header-top {
  background-color: #111111 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* ── CARRITO ── */
.blockcart, .blockcart .header, .cart-preview,
#_desktop_cart, #_desktop_cart .blockcart,
.blockcart a, .blockcart span {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}
.blockcart .cart-products-count {
  background-color: #dc2626 !important;
  color: #fff !important;
}

/* ── BUSCADOR ── */
#search_widget, #search_widget form,
#search_widget input[type="text"],
.search-widget, .search-widget form,
.search-widget input[type="text"] {
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f1f5f9 !important;
  border-radius: 4px !important;
}
#search_widget input::placeholder,
.search-widget input::placeholder {
  color: #94a3b8 !important;
}

/* ── IDIOMA Y MONEDA ── */
.language-selector a, .language-selector span,
.currency-selector a, .currency-selector span,
.language-selector .expand-more, .currency-selector .expand-more,
#_desktop_language_selector a, #_desktop_currency_selector a,
nav.header-nav a, nav.header-nav span,
.user-info a, #contact-link a {
  color: #cbd5e1 !important;
}

/* ── MENÚ ── */
#top-menu > li > a, .top-menu > li > a { color: #cbd5e1 !important; }
#top-menu > li > a:hover, .top-menu > li > a:hover { color: #ef4444 !important; }
.popover.sub-menu, .popover.sub-menu ul {
  background-color: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.popover.sub-menu a { color: #cbd5e1 !important; }

/* ── DROPDOWN ── */
.dropdown-menu {
  background-color: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.dropdown-menu .dropdown-item { color: #cbd5e1 !important; }
.dropdown-menu .dropdown-item:hover {
  background-color: rgba(255,255,255,0.06) !important;
  color: #fff !important;
}

/* ── TEXTOS ── */
a { color: #cbd5e1 !important; }
a:hover { color: #ef4444 !important; text-decoration: none !important; }
p, li, span, label { color: #cbd5e1 !important; }
h1, h2, h3, h4, h5, h6 { color: #ffffff !important; }

/* ── BOTONES ── */
.btn-primary, input[type="submit"].btn-primary, button.btn-primary {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
}
.btn-primary:hover { background-color: #ef4444 !important; border-color: #ef4444 !important; }
.btn-secondary, .btn-default {
  background-color: transparent !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #cbd5e1 !important;
}

/* ── TARJETAS PRODUCTO ── */
article.product-miniature,
.product-miniature .card,
.product-miniature .card-body,
.product-miniature .card-footer,
.product-description {
  background-color: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #f1f5f9 !important;
}
.thumbnail-container { background-color: #222222 !important; }
.product-title a { color: #fff !important; }
.price { color: #ef4444 !important; }
.regular-price { color: #94a3b8 !important; text-decoration: line-through !important; }

/* ── FILTROS ── */
#left-column, #left-column > div, #left-column .block,
.faceted-search, #search_filters, #search_filters_wrapper, .block-categories {
  background-color: transparent !important;
}
#left-column *, #search_filters *, .block-categories * {
  color: #cbd5e1 !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* ── DESCRIPCIÓN CATEGORÍA ── */
#category-description, #category-description * {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

/* ── SUBCATEGORÍAS ── */
.category-miniature .card, .subcategories .card {
  background-color: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.category-miniature .card-body { background-color: transparent !important; }

/* ── PÁGINA PRODUCTO ── */
.product-variants select, .product-variants .form-control,
#quantity_wanted, .input-group .form-control,
.product-add-to-cart .input-group input {
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f1f5f9 !important;
}
.product-variants select option { background-color: #111111 !important; }
.input-group-btn .btn, .input-group .input-group-btn .btn {
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f1f5f9 !important;
}

/* ── TABS ── */
.tabs, .tab-content, .product-description,
#product-description-short, .product-information { background-color: transparent !important; }
.nav-tabs { border-bottom: 1px solid rgba(255,255,255,0.08) !important; background: transparent !important; }
.nav-tabs .nav-link { color: #94a3b8 !important; background: transparent !important; border: none !important; }
.nav-tabs .nav-link.active { color: #ef4444 !important; border-bottom: 2px solid #dc2626 !important; }

/* ── REASSURANCE ── */
.product-reassurance, .product-reassurance li, .product-reassurance a, #product-reassurance {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

/* ── COMENTARIOS ── */
.product-comment-list-item, #empty-product-comment,
#product-comments-list, #product-comments-list-header,
#product-comments-list-footer, #post-product-comment-form {
  background-color: transparent !important;
  color: #cbd5e1 !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* ── TEXTO PERSONALIZADO ── */
.custom-text, #custom-text, .block-custom-text, [id*="customtext"] {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}

/* ── NEWSLETTER ── */
.block_newsletter, .block_newsletter .row, .block_newsletter form {
  background-color: transparent !important;
}
.block_newsletter input[type="email"] {
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f1f5f9 !important;
}

/* ── FOOTER ── */
#footer, #footer .footer-container {
  background-color: #0a0a0a !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
#footer * { color: #94a3b8 !important; }
#footer h3, #footer h4 { color: #ffffff !important; }
#footer a:hover { color: #ef4444 !important; }

/* ── FORMULARIOS ── */
.form-control, select {
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f1f5f9 !important;
}

/* ── BREADCRUMB ── */
.breadcrumb { background-color: transparent !important; }
.breadcrumb-item, .breadcrumb-item a { color: #94a3b8 !important; }

/* ── BANNER ── */
.banner, #banner { background-color: transparent !important; }

/* ── CARDS ── */
.card { background-color: #1a1a1a !important; border-color: rgba(255,255,255,0.08) !important; }

/* ── VISTA RÁPIDA / HOVER ── */
.highlighted-informations,
.product-miniature .highlighted-informations,
.quick-view-container,
.quick-view {
  background-color: #1a1a1a !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.highlighted-informations a,
.highlighted-informations .quick-view,
.highlighted-informations span {
  color: #cbd5e1 !important;
}
.highlighted-informations a:hover,
.highlighted-informations .quick-view:hover {
  color: #ef4444 !important;
}

/* ── VISTA RÁPIDA / HOVER ── */
.highlighted-informations,
.product-miniature .highlighted-informations {
  background-color: #1a1a1a !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.highlighted-informations a, .highlighted-informations .quick-view,
.highlighted-informations span { color: #cbd5e1 !important; }
.highlighted-informations a:hover, .highlighted-informations .quick-view:hover {
  color: #ef4444 !important;
}

/* ── FILTROS ACTIVOS / BORRAR TODO ── */
.active-filter-title, .active_filters,
.active_filters .active-filter-button,
.filter-block, ul.active-filter-list,
.js-search-filters-clear-all,
a.js-search-filters-clear-all {
  background-color: transparent !important;
  color: #cbd5e1 !important;
  border-color: rgba(255,255,255,0.12) !important;
}
.active-filter-button {
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #cbd5e1 !important;
}

/* ── ORDENAR POR ── */
.sort-by-row, .products-sort-order,
.products-sort-order .select-title,
#js-product-list-top, #js-product-list-bottom {
  background-color: transparent !important;
  color: #cbd5e1 !important;
}
.products-sort-order .dropdown-menu {
  background-color: #111111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.products-sort-order .dropdown-item { color: #cbd5e1 !important; }
.products-sort-order .dropdown-item:hover {
  background-color: rgba(255,255,255,0.06) !important;
  color: #fff !important;
}

/* ── CHIPS FILTROS ACTIVOS ── */
.facet-label, .magnitude,
ul.active-filter-list li,
.active-filter-label {
  background-color: rgba(255,255,255,0.06) !important;
  color: #cbd5e1 !important;
  border-color: rgba(255,255,255,0.12) !important;
}

/* -- MODAL CARRITO -- */
#blockcart-modal .modal-content,
#blockcart-modal .modal-body,
#blockcart-modal .modal-header,
#blockcart-modal .modal-footer {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
  border: 1px solid #333 !important;
}
#blockcart-modal span,
#blockcart-modal p,
#blockcart-modal label,
#blockcart-modal .close { color: #f0f0f0 !important; }
#blockcart-modal .cart-summary-line,
#blockcart-modal .cart-total { background-color: #2a2a2a !important; }
#blockcart-modal p.product-total {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
}
#blockcart-modal p.product-total span.label,
#blockcart-modal p.product-total span.value { color: #f0f0f0 !important; }
#blockcart-modal .btn-secondary,
#blockcart-modal .btn-secondary:hover,
#blockcart-modal .btn-secondary:focus {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  border: 1px solid #888 !important;
}
#blockcart-modal .btn-primary,
#blockcart-modal .btn-primary:hover,
#blockcart-modal .btn-primary:focus {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}
/* -- BOTON FINALIZAR COMPRA -- */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}
/* -- PAGINA CARRITO -- */
body#cart .card,
body#cart .cart-detailed-totals,
body#cart .block-reassurance,
body#cart .cart-item {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
  color: #f0f0f0 !important;
}
body#cart .cart-summary-line .label,
body#cart .cart-summary-line .value,
body#cart .cart-total .label,
body#cart .cart-total .value,
body#cart .cart-item span,
body#cart .cart-item a { color: #f0f0f0 !important; }
body#cart .bootstrap-touchspin input {
  background-color: #2a2a2a !important;
  color: #f0f0f0 !important;
  border: 1px solid #444 !important;
}
body#cart .bootstrap-touchspin .btn {
  background-color: #333 !important;
  color: #f0f0f0 !important;
}
/* -- TITULOS SECCIONES -- */
h2.products-section-title,
.products-section-title {
  color: #ffffff !important;
  font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif !important;
  font-weight: 900 !important;
  font-size: 2rem !important;
  letter-spacing: 6px !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  border-bottom: 3px solid #dc2626 !important;
  padding-bottom: 8px !important;
  display: inline-block !important;
}
/* -- ENTRENA SIN LIMITES -- */
#custom-text h2,
#custom-text .h2 { color: #dc2626 !important; }
#custom-text {
  border-top: 1px solid #ffffff !important;
  border-bottom: 1px solid #ffffff !important;
  padding: 32px 0 !important;
  margin: 16px 0 !important;
}
/* -- VISTA RAPIDA -- */
.quickview .modal-content,
div[id^="quickview-modal"] .modal-content,
div[id^="quickview-modal"] .modal-body,
div[id^="quickview-modal"] .modal-header {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
  border: 1px solid #333 !important;
}
div[id^="quickview-modal"] .modal-body *,
div[id^="quickview-modal"] label,
div[id^="quickview-modal"] p,
div[id^="quickview-modal"] span { color: #f0f0f0 !important; }
div[id^="quickview-modal"] select,
div[id^="quickview-modal"] .form-control {
  background-color: #2a2a2a !important;
  color: #f0f0f0 !important;
  border-color: #555 !important;
}
div[id^="quickview-modal"] .close { color: #f0f0f0 !important; }
/* -- ZOOM IMAGEN -- */
#product-modal .modal-content,
#product-modal .modal-body { background-color: #1a1a1a !important; }
#product-modal .image-caption,
#product-modal figcaption.image-caption { background-color: #ffffff !important; }
#product-modal #product-description-short,
#product-modal figcaption .image-caption { display: none !important; }
/* -- LINK todos los productos -- */
.all-product-link,
a.all-product-link {
  float: left !important;
  text-align: left !important;
  clear: both !important;
}
/* -- VARIANTES DE COLOR -- */
.product-miniature .variant-links,
.highlighted-informations .variant-links {
  background-color: #1a1a1a !important;
  border-top: 1px solid #333 !important;
}
.product-miniature .variant-links a.color { border: 2px solid #555 !important; }
.product-miniature .variant-links a.color:hover { border-color: #ffffff !important; }
/* -- PAGINA PRODUCTO: nombre -- */
body#product h1.page-title,
body#product h1 {
  color: #dc2626 !important;
  font-family: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif !important;
  font-size: 1.9rem !important;
  letter-spacing: 3px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}
/* -- PRECIO ACTUAL -- */
body#product .current-price .current-price-value,
body#product .product-prices .current-price span {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #f0f0f0 !important;
}
/* -- PRECIO ANTIGUO -- */
body#product .product-discount .regular-price {
  font-size: 1.1rem !important;
  color: #888 !important;
}
/* -- BADGE DESCUENTO -- */
body#product span.discount.discount-percentage,
body#product .discount-percentage {
  font-size: 1rem !important;
  padding: 4px 10px !important;
  display: inline-block !important;
  width: auto !important;
  vertical-align: middle !important;
  line-height: 1.4 !important;
}
/* -- FICHA TECNICA -- */
dl.data-sheet,
.product-features dl.data-sheet { background-color: #1a1a1a !important; }
dl.data-sheet dt.name,
dl.data-sheet dd.value,
.product-features dl.data-sheet dt,
.product-features dl.data-sheet dd {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
  border-color: #333 !important;
}
/* -- SUBCATEGORIAS: hover rojo -- */
#subcategories .subcategories-list a:hover,
#subcategories ul li a:hover,
#subcategories h5 a:hover { color: #dc2626 !important; }
#subcategories .subcategories-list a,
#subcategories ul li a,
#subcategories h5 a { color: #f0f0f0 !important; }
#subcategories .subcategory-image a:hover { border-color: #dc2626 !important; }

/* -- BUSCADOR AUTOCOMPLETE -- */
.ui-autocomplete,
.searchbar-autocomplete,
ul.ui-autocomplete,
.ui-widget.ui-widget-content {
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  color: #f0f0f0 !important;
}
.ui-autocomplete .ui-menu-item,
.ui-autocomplete li,
.searchbar-autocomplete li {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
  border-bottom: 1px solid #2a2a2a !important;
}
.ui-autocomplete .ui-menu-item a,
.ui-autocomplete .ui-menu-item .ui-corner-all,
.searchbar-autocomplete li a,
.ui-autocomplete a {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
}
.ui-autocomplete .ui-menu-item a:hover,
.ui-autocomplete .ui-menu-item .ui-state-focus,
.ui-autocomplete .ui-menu-item .ui-state-active,
.searchbar-autocomplete li a:hover {
  background-color: #2a2a2a !important;
  color: #dc2626 !important;
}
.ui-autocomplete .ui-menu-item .product,
.ui-autocomplete span.product {
  color: #f0f0f0 !important;
}
