/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* Age Verification Overlay */
#age-verify-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
#age-verify-box {
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
#age-verify-box .av-logo {
  width: 140px;
  margin: 0 auto 24px;
  display: block;
}
#age-verify-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
#age-verify-box p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 32px;
  line-height: 1.6;
}
.av-btn-yes {
  display: block;
  width: 100%;
  padding: 14px;
  background: #c8a96e;
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.av-btn-yes:hover { background: #b8965a; }
.av-btn-no {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #888;
  font-size: 0.85rem;
  border: 1px solid #444;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.av-btn-no:hover { border-color: #888; color: #ccc; }
#age-verify-box .av-disclaimer {
  font-size: 0.75rem;
  color: #555;
  margin-top: 24px;
  margin-bottom: 0;
}

/* ============================================================
   DARK THEME TEST - borrar este bloque para revertir al original
   ============================================================ */

/* Base */
body, html {
  background-color: #0d0d0d !important;
  color: #e0e0e0 !important;
}

/* Header y navegacion */
#header,
#header .header-top,
#header .header-nav,
.header-banner,
nav.nav {
  background-color: #111111 !important;
  border-bottom: 1px solid #2a2a2a !important;
}

#header a,
#header .header-top a,
nav.nav a {
  color: #e0e0e0 !important;
}

/* Barra de busqueda */
.search-widget form input[type="text"],
input[type="search"] {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
  color: #e0e0e0 !important;
}

/* Menu principal */
#_desktop_top_menu .top-menu,
#_desktop_top_menu .top-menu a.dropdown-item,
#_desktop_top_menu a {
  background-color: #111 !important;
  color: #ccc !important;
}
#_desktop_top_menu a:hover {
  color: #fff !important;
  background-color: #1e1e1e !important;
}

/* Submenu dropdown */
.top-menu .sub-menu, .popover, .dropdown-menu {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
}

/* Tarjetas de producto */
.product-miniature .card,
.card {
  background-color: #1a1a1a !important;
  border-color: #2a2a2a !important;
  color: #e0e0e0 !important;
}

.product-miniature .card .card-body,
.product-miniature .product-title a {
  color: #e0e0e0 !important;
}

.product-miniature .product-price-and-shipping .price {
  color: #c8a96e !important;
}

/* Seccion de categorias / listas */
#content-wrapper,
#wrapper,
.page-wrapper,
main#content,
section#main {
  background-color: #0d0d0d !important;
}

/* Sidebar y bloques */
.block-category,
.facets-title,
.facet-label,
#search_filters,
#search_filters .facet {
  background-color: #1a1a1a !important;
  border-color: #2a2a2a !important;
  color: #e0e0e0 !important;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #161616 !important;
}
.breadcrumb-item a,
.breadcrumb-item.active {
  color: #aaa !important;
}

/* Botones primarios */
.btn-primary, .btn-primary:link {
  background-color: #c8a96e !important;
  border-color: #c8a96e !important;
  color: #111 !important;
}
.btn-primary:hover {
  background-color: #b8965a !important;
  border-color: #b8965a !important;
}

/* Botones secundarios */
.btn-secondary, .btn-outline-secondary {
  background-color: #2a2a2a !important;
  border-color: #444 !important;
  color: #e0e0e0 !important;
}

/* Footer */
#footer,
.footer-container,
footer {
  background-color: #0a0a0a !important;
  color: #aaa !important;
  border-top: 1px solid #222 !important;
}

#footer a, footer a {
  color: #999 !important;
}

#footer a:hover, footer a:hover {
  color: #c8a96e !important;
}

/* Titulos */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
  color: #f0f0f0 !important;
}

/* Inputs y formularios */
input, select, textarea, .form-control {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
  color: #e0e0e0 !important;
}

input::placeholder, textarea::placeholder {
  color: #666 !important;
}

/* Paginacion */
.pagination .page-link {
  background-color: #1a1a1a !important;
  border-color: #333 !important;
  color: #ccc !important;
}
.pagination .page-item.active .page-link {
  background-color: #c8a96e !important;
  border-color: #c8a96e !important;
  color: #111 !important;
}

/* Detalle de producto */
.product-information,
.product-description,
#product-description-short {
  color: #d0d0d0 !important;
}

.product-cover,
.product-images,
.js-qv-product-cover {
  background-color: #1a1a1a !important;
}

/* ============================================================
   FIN DARK THEME TEST
   ============================================================ */

/* ---- FIX TARJETAS PRODUCTO (dark theme) ---- */

/* Fondo del contenedor de imagen y descripcion */
.product-miniature .thumbnail-container,
.product-miniature .product-description,
.product-miniature .product-thumbnail {
  background: #1a1a1a !important;
}

/* Franja de variantes debajo de la imagen */
.product-miniature .variant-links {
  background: #1a1a1a !important;
}

/* Boton/info flotante al hacer hover */
.product-miniature .highlighted-informations {
  background: #1a1a1a !important;
  border-top: 1px solid #2a2a2a !important;
}

/* Nombre del producto - blanco suave para buen contraste */
.product-miniature .product-title a,
.product-miniature .product-title {
  color: #f0f0f0 !important;
}

/* Precio - dorado marca Secret Liquids */
.product-miniature .product-price-and-shipping,
.product-miniature .product-price-and-shipping .price,
.product-miniature .price {
  color: #c8a96e !important;
}

/* Separador entre imagen y descripcion */
.product-miniature .thumbnail-container:hover .product-description::after,
.product-miniature .thumbnail-container:focus .product-description::after {
  border-top-color: #444 !important;
}

/* ---- FIN FIX TARJETAS ---- */

/* ---- FIX NEWSLETTER (dark theme) ---- */
.block_newsletter {
  background: #111111 !important;
  border-bottom: 1px solid #2a2a2a !important;
  border-top: 1px solid #2a2a2a !important;
}

.block_newsletter #block-newsletter-label {
  color: #f0f0f0 !important;
}

.block_newsletter p,
.block_newsletter .page-content.page-cms ul,
#footer .block_newsletter p {
  color: #aaaaaa !important;
}

.block_newsletter form input[type="email"],
.block_newsletter form input[type="text"] {
  background: #1a1a1a !important;
  border-color: #333 !important;
  color: #e0e0e0 !important;
}

.block_newsletter form input[type="email"]:focus,
.block_newsletter form input[type="text"]:focus {
  background: #1a1a1a !important;
  border-color: #c8a96e !important;
  color: #f0f0f0 !important;
}

.block_newsletter form button[type="submit"] {
  color: #c8a96e !important;
}

.block_newsletter form button[type="submit"]:hover {
  color: #f0f0f0 !important;
}
/* ---- FIN FIX NEWSLETTER ---- */

/* ---- FIX ICONOS SOCIALES (dark theme) ---- */

/* Quitar fondo gris generico */
.block-social ul li {
  background-color: transparent !important;
  border-radius: 8px !important;
}

/* Facebook - azul oficial */
.block-social ul li.facebook {
  background-color: #1877F2 !important;
}
.block-social ul li.facebook:hover {
  background-color: #1666d8 !important;
}

/* Instagram - gradiente oficial */
.block-social ul li.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}
.block-social ul li.instagram:hover {
  opacity: 0.85 !important;
  filter: brightness(1.1) !important;
}

/* ---- FIN FIX ICONOS SOCIALES ---- */

/* ---- FIX INSTAGRAM - icono + gradiente ---- */
.block-social ul li.instagram {
  background-image: url('../css/instagram.svg'), linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  background-size: 65%, cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
}
.block-social ul li.instagram:hover {
  filter: brightness(1.15) !important;
  opacity: 1 !important;
}
/* ---- FIN FIX INSTAGRAM ---- */

/* ---- FIX ESTRELLAS DE EVALUACION (dark theme) ---- */

/* Contenedores de las estrellas - totalmente transparentes */
.product-list-reviews,
.grade-stars,
.grade-stars.small-stars,
.star-content {
  background: transparent !important;
}

/* Numero de comentarios junto a las estrellas */
.product-list-reviews .comments-nb {
  background: transparent !important;
  color: #aaa !important;
}

/* Descripcion del producto (blanco original -> oscuro) */
.product-miniature .product-description {
  background: #1a1a1a !important;
}

/* Sombra sutil en las estrellas para legibilidad sobre imagen */
.star-content div.star,
.star-content div.star-on,
.star-content div.star-hover {
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.8)) !important;
}

/* ---- FIN FIX ESTRELLAS ---- */

/* ---- ESTRELLAS DORADAS (dark theme) ---- */

/* Estrellas activas (con calificacion) -> dorado marca #c8a96e */
.star-content div.star-on,
.star-content div.star-hover {
  filter: sepia(1) saturate(3) hue-rotate(-5deg) brightness(0.9) drop-shadow(0 0 2px rgba(0,0,0,0.6)) !important;
}

/* Estrellas inactivas -> dorado oscuro/tenue */
.star-content div.star {
  filter: sepia(1) saturate(1.5) hue-rotate(-5deg) brightness(0.45) drop-shadow(0 0 1px rgba(0,0,0,0.4)) !important;
}

/* ---- FIN ESTRELLAS DORADAS ---- */


/* FIX ARBOL DE CATEGORIAS SIDEBAR */
.category-tree {
  background: #111111 !important;
  border: 1px solid #2a2a2a !important;
  padding: 0.5rem !important;
  border-radius: 4px !important;
}
.category-tree ul li a {
  color: #e0e0e0 !important;
}
.category-tree ul li a:hover {
  color: #c8a96e !important;
}
/* FIN FIX ARBOL DE CATEGORIAS SIDEBAR */

/* FIX CARRITO */
/* Modal del carrito y pagina /order */
#blockcart-modal .modal-body,
#blockcart-modal .modal-content,
#blockcart-modal .modal-header,
#blockcart-modal .modal-footer,
.cart-overview,
body#cart .cart-container,
body#order-opc .cart-container {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
}

/* Nombre del producto, atributos (mg, sabor) */
#blockcart-modal .product-name,
#blockcart-modal .product-line-info,
#blockcart-modal .label,
#blockcart-modal .value,
#blockcart-modal .cart-products-count,
.cart-overview .product-name,
.cart-overview .product-line-info .label,
.cart-overview .product-line-info .value,
.cart-line-product-actions,
body#cart .product-name a,
body#cart .product-line-info .label,
body#cart .product-line-info .value {
  color: #e0e0e0 !important;
}

/* Precios en el carrito */
#blockcart-modal .price,
#blockcart-modal .product-price,
.cart-overview .price,
.cart-overview .product-price,
body#cart .product-price,
body#cart .cart-summary-line span,
body#cart .cart-summary-totals span,
body#cart .value {
  color: #c8a96e !important;
}

/* Resumen: subtotal, transporte, total */
#blockcart-modal .cart-subtotals .label,
#blockcart-modal .cart-subtotals .value,
#blockcart-modal .cart-total .label,
#blockcart-modal .cart-total .value,
.blockcart .cart-products-count,
body#cart .cart-summary-line .label,
body#cart .cart-summary-line .value,
body#cart .cart-total-line .label,
body#cart .cart-total-line .value {
  color: #e0e0e0 !important;
}

/* Total final resaltado */
#blockcart-modal .cart-total .value,
body#cart .cart-summary-totals .cart-total .value {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Cantidad (input y texto) */
#blockcart-modal .qty,
.cart-overview .qty,
body#cart .input-group input,
body#cart .js-cart-line-product-quantity {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

/* Separadores y bordes internos */
#blockcart-modal .cart-item,
.cart-overview .cart-item,
body#cart .cart-items .cart-item {
  border-color: #2a2a2a !important;
}

/* Boton checkout en modal */
#blockcart-modal .checkout a,
#blockcart-modal .checkout .btn {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Boton "Continuar comprando" */
#blockcart-modal .continue {
  color: #e0e0e0 !important;
  border-color: #444 !important;
  background: transparent !important;
}
#blockcart-modal .continue:hover {
  background: #2a2a2a !important;
}

/* Titulo del modal */
#blockcart-modal .modal-title,
#blockcart-modal h4 {
  color: #e0e0e0 !important;
}

/* Icono check del modal */
#blockcart-modal .cart-content-btn .icon-ok,
#blockcart-modal i.material-icons {
  color: #c8a96e !important;
}
/* FIN FIX CARRITO */

/* FIX CHECKOUT */
/* Contenedor general del checkout */
body#checkout,
body#checkout #main,
body#checkout .container,
body#checkout section.checkout-step,
body#checkout .checkout-process {
  background: #111111 !important;
  color: #e0e0e0 !important;
}

/* Pasos del checkout (cabecera de cada paso) */
body#checkout .checkout-step .step-title,
body#checkout .checkout-step h1,
body#checkout .checkout-step .step-number {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Cuerpo de cada paso */
body#checkout .checkout-step .content,
body#checkout .checkout-step.-current .content {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Opciones de envio */
body#checkout .delivery-options-list,
body#checkout .delivery-option,
body#checkout .carrier-block {
  background: #1a1a1a !important;
  border-color: #2a2a2a !important;
  color: #e0e0e0 !important;
}

/* Nombre del carrier, descripcion, precio */
body#checkout .carrier-name,
body#checkout .carrier-delay,
body#checkout .carrier-price,
body#checkout .delivery-option label,
body#checkout .delivery-option span,
body#checkout .delivery-option p,
body#checkout .delivery-option div {
  color: #e0e0e0 !important;
}

/* Precio del envio en dorado */
body#checkout .carrier-price {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Textarea comentario del pedido */
body#checkout textarea,
body#checkout .form-group textarea {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}
body#checkout textarea::placeholder {
  color: #888 !important;
}

/* Inputs y selects del checkout */
body#checkout input[type="text"],
body#checkout input[type="email"],
body#checkout input[type="tel"],
body#checkout input[type="password"],
body#checkout select,
body#checkout .form-control {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

/* Labels de formulario */
body#checkout label,
body#checkout .form-group label,
body#checkout .custom-radio label,
body#checkout .custom-checkbox label {
  color: #e0e0e0 !important;
}

/* Resumen lateral (order summary) */
body#checkout #js-checkout-summary,
body#checkout .cart-summary,
body#checkout .cart-summary-line,
body#checkout .cart-total,
body#checkout .cart-summary-totals {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}
body#checkout .cart-summary-line .label,
body#checkout .cart-summary-line .value,
body#checkout .cart-total .label,
body#checkout .cart-total .value,
body#checkout .cart-summary-products .show-details {
  color: #e0e0e0 !important;
}
body#checkout .cart-total .value {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Links del resumen */
body#checkout .cart-summary a,
body#checkout .step-edit {
  color: #c8a96e !important;
}

/* Datos personales / direcciones (pasos colapsados) */
body#checkout .checkout-step.-complete .content,
body#checkout .checkout-step.-complete .step-title {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
}
body#checkout .checkout-step.-complete address,
body#checkout .checkout-step.-complete p {
  color: #b0b0b0 !important;
}

/* Boton "Continuar" y "Realizar pedido" */
body#checkout .continue,
body#checkout .btn-primary,
body#checkout button[type="submit"] {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}
body#checkout .continue:hover,
body#checkout .btn-primary:hover {
  background: #b8996e !important;
}

/* Radio buttons y checkboxes */
body#checkout .custom-radio .radio-label,
body#checkout .custom-checkbox .checkbox-label {
  color: #e0e0e0 !important;
}

/* Metodos de pago */
body#checkout #payment-option-1-container,
body#checkout .payment-options,
body#checkout .payment-option,
body#checkout .additional-information {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Alertas / condiciones */
body#checkout .condition-label,
body#checkout #conditions-to-approve label,
body#checkout .js-terms {
  color: #e0e0e0 !important;
}
body#checkout .js-terms a {
  color: #c8a96e !important;
}

/* Separadores */
body#checkout hr {
  border-color: #2a2a2a !important;
}
/* FIN FIX CHECKOUT */

/* FIX CHECKOUT RESUMEN Y PROMO */
/* "mostrar detalles" y expand */
body#checkout .cart-summary .show-details,
body#checkout .cart-summary .hide-details,
body#checkout .cart-summary-products a,
body#checkout .cart-summary-products span,
body#checkout .cart-summary-products .material-icons {
  color: #c8a96e !important;
}

/* Lineas subtotal / transporte / total */
body#checkout .cart-summary-line,
body#checkout .cart-summary-line .label,
body#checkout .cart-summary-line .value,
body#checkout .cart-subtotals .label,
body#checkout .cart-subtotals .value,
body#checkout .cart-total .label,
body#checkout .cart-total .value {
  color: #e0e0e0 !important;
}
body#checkout .cart-total .value {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* "A validar" y textos secundarios del resumen */
body#checkout .cart-summary-line span,
body#checkout .cart-summary-line div {
  color: #e0e0e0 !important;
}

/* Codigo promocional */
body#checkout .promo-code,
body#checkout .promo-code-button,
body#checkout #promo-code,
body#checkout .cart-voucher {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}
body#checkout .promo-code a,
body#checkout .promo-code-button a,
body#checkout a.collapse-button,
body#checkout .cart-voucher .collapse-button {
  color: #c8a96e !important;
}
body#checkout #promo-code input,
body#checkout .cart-voucher input[type="text"] {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}
body#checkout #promo-code input::placeholder,
body#checkout .cart-voucher input::placeholder {
  color: #888 !important;
}
body#checkout #promo-code .btn,
body#checkout .cart-voucher .btn {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Detalles del articulo en el resumen (nombre, qty) */
body#checkout .product-line-info,
body#checkout .product-line-info .label,
body#checkout .product-line-info .value,
body#checkout .cart-summary .product-name,
body#checkout .cart-summary .qty,
body#checkout .cart-summary .price {
  color: #e0e0e0 !important;
}
body#checkout .cart-summary .price {
  color: #c8a96e !important;
}
/* FIN FIX CHECKOUT RESUMEN Y PROMO */

/* FIX MODAL CARRITO (popup al hacer click en el icono del carrito) */
#blockcart-modal,
#blockcart-modal .modal-dialog,
#blockcart-modal .modal-content,
#blockcart-modal .modal-header,
#blockcart-modal .modal-body,
#blockcart-modal .modal-footer {
  background-color: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

#blockcart-modal .modal-title,
#blockcart-modal h4,
#blockcart-modal h5 {
  color: #e0e0e0 !important;
}

/* Nombre producto, atributos, cantidad */
#blockcart-modal .product-name,
#blockcart-modal .product-name a,
#blockcart-modal .product-line-info,
#blockcart-modal .product-line-info .label,
#blockcart-modal .product-line-info .value,
#blockcart-modal .qty,
#blockcart-modal .cart-products-count,
#blockcart-modal p {
  color: #e0e0e0 !important;
}

/* Precio */
#blockcart-modal .price,
#blockcart-modal .product-price strong {
  color: #c8a96e !important;
}

/* Subtotal / transporte / total en el modal */
#blockcart-modal .cart-subtotals .label,
#blockcart-modal .cart-subtotals .value,
#blockcart-modal .cart-total .label,
#blockcart-modal .cart-total .value,
#blockcart-modal .cart-summary-line .label,
#blockcart-modal .cart-summary-line .value {
  color: #e0e0e0 !important;
}
#blockcart-modal .cart-total .value {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Separadores */
#blockcart-modal hr,
#blockcart-modal .divider {
  border-color: #2a2a2a !important;
}

/* Boton cerrar (X) */
#blockcart-modal .close,
#blockcart-modal button.close {
  color: #e0e0e0 !important;
  opacity: 0.8 !important;
}

/* Boton checkout */
#blockcart-modal .checkout a,
#blockcart-modal .checkout .btn,
#blockcart-modal a.btn-primary {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Boton continuar comprando */
#blockcart-modal a.continue,
#blockcart-modal .continue {
  background: transparent !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}
#blockcart-modal a.continue:hover {
  background: #2a2a2a !important;
}
/* FIN FIX MODAL CARRITO */

/* FIX PAGINA DE PRODUCTO */
body#product .page-wrapper,
body#product #main,
body#product .product-container,
body#product .product-information,
body#product section.product-accessories,
body#product .tabs,
body#product .tab-content,
body#product #product-details,
body#product .product-features,
body#product .product-description {
  background: #111111 !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Nombre del producto */
body#product h1.page-title,
body#product .product-name {
  color: #e0e0e0 !important;
}

/* Precio */
body#product .product-price,
body#product .current-price span,
body#product .current-price .price {
  color: #c8a96e !important;
}

/* Precio tachado (antes) */
body#product .regular-price {
  color: #888 !important;
}

/* Tabs (Descripcion / Detalles) */
body#product .nav-tabs,
body#product .nav-tabs .nav-item,
body#product .nav-tabs .nav-link {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}
body#product .nav-tabs .nav-link.active {
  background: #2a2a2a !important;
  color: #c8a96e !important;
  border-color: #444 !important;
}

/* Contenido de las tabs */
body#product .tab-pane,
body#product #description,
body#product #product-details .product-features,
body#product .product-features tr,
body#product .product-features th,
body#product .product-features td {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Selector de cantidad y atributos */
body#product .product-add-to-cart,
body#product .product-variants,
body#product .product-variants-item select,
body#product .product-variants-item .input-container {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}
body#product .product-variants-item label,
body#product .product-variants-item span {
  color: #e0e0e0 !important;
}
body#product select.form-control,
body#product .input-group input {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

/* Boton agregar al carrito */
body#product .add-to-cart {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Disponibilidad / stock */
body#product .product-availability span,
body#product .product-minimal-quantity {
  color: #b0b0b0 !important;
}

/* Referencia */
body#product .product-reference span {
  color: #b0b0b0 !important;
}

/* AREA DE RESEÑAS (modulo productcomments) */
body#product #product-comments-list-header,
body#product #product-comments-list,
body#product .product-comments-list-item,
body#product #post-product-comment-form,
body#product .product-comment-post,
body#product #new-comment-form-footer,
body#product #new-comment-tab {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

body#product #product-comments-list-header h2,
body#product #product-comments-list-header h3,
body#product .grade-stars .star-content,
body#product .comment-infos,
body#product .comment-author,
body#product .comment-date,
body#product .comment-content,
body#product .comment-title {
  color: #e0e0e0 !important;
}

/* Formulario de nueva reseña */
body#product #post-product-comment-form input,
body#product #post-product-comment-form textarea,
body#product #new-comment-form input,
body#product #new-comment-form textarea,
body#product #new-comment-form select {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}
body#product #post-product-comment-form label,
body#product #new-comment-form label {
  color: #e0e0e0 !important;
}
body#product #new-comment-form-footer .btn,
body#product #post-product-comment-form .btn {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Tabs de reseñas */
body#product #new-comment-tab,
body#product #product-comments-list-footer a {
  color: #c8a96e !important;
}

/* Separadores */
body#product .product-comments-list-item {
  border-bottom: 1px solid #2a2a2a !important;
}
/* FIN FIX PAGINA DE PRODUCTO */

/* FIX FICHA TECNICA (data-sheet) */
body#product .data-sheet,
body#product dl.data-sheet,
body#product .data-sheet dt,
body#product .data-sheet dd,
body#product .data-sheet .name,
body#product .data-sheet .value {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Filas alternadas */
body#product .data-sheet dt.name:nth-child(4n+1),
body#product .data-sheet dd.value:nth-child(4n+2) {
  background: #222222 !important;
}

/* FIN FIX FICHA TECNICA */

/* FIX TOTAL EN MODAL CARRITO */
#blockcart-modal .cart-content,
#blockcart-modal .cart-content .cart-summary-line,
#blockcart-modal .cart-content .cart-total,
#blockcart-modal .cart-content .cart-subtotals,
#blockcart-modal .cart-content .cart-totals,
#blockcart-modal .cart-content p,
#blockcart-modal .cart-content span,
#blockcart-modal .cart-content div {
  background-color: #1a1a1a !important;
  color: #e0e0e0 !important;
}

#blockcart-modal .cart-content .cart-total .label,
#blockcart-modal .cart-content .cart-total .value,
#blockcart-modal .cart-content .cart-summary-line .label,
#blockcart-modal .cart-content .cart-summary-line .value {
  color: #e0e0e0 !important;
}

#blockcart-modal .cart-content .cart-total .value {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Toda la columna derecha del modal */
#blockcart-modal .divide-right,
#blockcart-modal .cart-content-btn {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}
/* FIN FIX TOTAL EN MODAL CARRITO */

/* FIX SELECCION DE DIRECCIONES EN CHECKOUT */
body#checkout .address-selector,
body#checkout .address-item,
body#checkout .address-item .card,
body#checkout .address-item .card-body,
body#checkout .address-item .card-header,
body#checkout .address-item .card-footer,
body#checkout .js-address-selector,
body#checkout .address-selector .card {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Nombre, direccion, ciudad, telefono dentro de cada tarjeta */
body#checkout .address-item .card-body address,
body#checkout .address-item .card-body p,
body#checkout .address-item .card-body span,
body#checkout .address-item .card-header,
body#checkout .address-item .card-header .h4,
body#checkout .address-item .card-header h4 {
  color: #e0e0e0 !important;
  background: transparent !important;
}

/* Radio button label */
body#checkout .address-item label,
body#checkout .address-item .custom-radio label {
  color: #e0e0e0 !important;
}

/* Direccion seleccionada (resaltada) */
body#checkout .address-item.selected .card,
body#checkout .address-item input[type="radio"]:checked ~ .card {
  border-color: #c8a96e !important;
  background: #222 !important;
}

/* Links editar / borrar direccion */
body#checkout .address-item .card-footer a {
  color: #c8a96e !important;
}

/* Boton agregar nueva direccion */
body#checkout .add-address a,
body#checkout a.add-address {
  color: #c8a96e !important;
  border-color: #c8a96e !important;
}

/* Separador entre direcciones */
body#checkout .address-item + .address-item {
  border-top: 1px solid #2a2a2a !important;
}
/* FIN FIX SELECCION DE DIRECCIONES */

/* FIX CHECKBOX TERMINOS Y CONDICIONES */
body#checkout .custom-checkbox input[type="checkbox"] + span,
body#checkout .condition-label .custom-checkbox span {
  background: #2a2a2a !important;
  border: 2px solid #888 !important;
}

/* Tilde visible cuando esta marcado */
body#checkout .custom-checkbox input[type="checkbox"]:checked + span,
body#checkout .condition-label .custom-checkbox input[type="checkbox"]:checked + span {
  background: #c8a96e !important;
  border-color: #c8a96e !important;
}

/* Icono check dentro del span */
body#checkout .custom-checkbox input[type="checkbox"]:checked + span .checkbox-icon,
body#checkout .custom-checkbox input[type="checkbox"]:checked + span::before,
body#checkout .custom-checkbox input[type="checkbox"]:checked + span .material-icons {
  color: #111111 !important;
  opacity: 1 !important;
}

/* Texto del label */
body#checkout .condition-label label,
body#checkout #conditions-to-approve label,
body#checkout .condition-label span {
  color: #e0e0e0 !important;
}

/* Link a los terminos */
body#checkout .condition-label a,
body#checkout #conditions-to-approve a {
  color: #c8a96e !important;
}
/* FIN FIX CHECKBOX TERMINOS */

/* FIX PAGINA CONFIRMACION DE PEDIDO */
body#order-confirmation,
body#order-confirmation #main,
body#order-confirmation .page-wrapper,
body#order-confirmation .container {
  background: #111111 !important;
  color: #e0e0e0 !important;
}

/* Cabecera de confirmacion (icono check + texto) */
body#order-confirmation #order-confirmation-header,
body#order-confirmation #order-confirmation-header h3,
body#order-confirmation #order-confirmation-header p {
  color: #e0e0e0 !important;
  background: transparent !important;
}

/* Recuadros de detalle (productos, direccion, metodo de pago, envio) */
body#order-confirmation .card,
body#order-confirmation .card-block,
body#order-confirmation .card-body,
body#order-confirmation .card-header,
body#order-confirmation section.details,
body#order-confirmation .order-confirmation-table {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Titulos de cada recuadro */
body#order-confirmation .card-header h3,
body#order-confirmation .card-header h4,
body#order-confirmation .card-header .card-title,
body#order-confirmation section.details h3 {
  color: #e0e0e0 !important;
  background: #222 !important;
}

/* Texto dentro de los recuadros */
body#order-confirmation .card-body p,
body#order-confirmation .card-body span,
body#order-confirmation .card-body address,
body#order-confirmation .card-body div,
body#order-confirmation .definition-list dt,
body#order-confirmation .definition-list dd {
  color: #e0e0e0 !important;
  background: transparent !important;
}

/* Tabla de productos */
body#order-confirmation table,
body#order-confirmation table thead,
body#order-confirmation table tbody,
body#order-confirmation table tr,
body#order-confirmation table th,
body#order-confirmation table td {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}

/* Total */
body#order-confirmation .total-value,
body#order-confirmation tfoot td,
body#order-confirmation tfoot tr,
body#order-confirmation .order-total {
  background: #222 !important;
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Subtotal, envio, impuestos */
body#order-confirmation .cart-summary-line .label,
body#order-confirmation .cart-summary-line .value,
body#order-confirmation .cart-total .label,
body#order-confirmation .cart-total .value {
  color: #e0e0e0 !important;
}
body#order-confirmation .cart-total .value {
  color: #c8a96e !important;
  font-weight: bold !important;
}

/* Boton continuar comprando */
body#order-confirmation a.btn,
body#order-confirmation .continue-shopping {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Separadores */
body#order-confirmation hr {
  border-color: #2a2a2a !important;
}
/* FIN FIX PAGINA CONFIRMACION */

/* FIX TACHO DE BASURA EN CARRITO */
.cart-overview .remove-from-cart,
.cart-overview .cart-line-product-actions a,
body#cart .remove-from-cart,
body#cart .cart-line-product-actions a,
#blockcart-modal .remove-from-cart,
#blockcart-modal .cart-line-product-actions a {
  color: #e05555 !important;
  opacity: 1 !important;
}
.cart-overview .remove-from-cart:hover,
body#cart .remove-from-cart:hover,
#blockcart-modal .remove-from-cart:hover {
  color: #ff3333 !important;
}
.cart-overview .remove-from-cart .material-icons,
body#cart .remove-from-cart .material-icons,
body#cart .cart-line-product-actions .material-icons,
#blockcart-modal .remove-from-cart .material-icons {
  color: #e05555 !important;
}
/* FIN FIX TACHO DE BASURA */

/* FIX TABS DE RESEÑAS EN PRODUCTO */
body#product #product-comments-list-header,
body#product #product-comments-list-header a,
body#product #product-comments-list-header h2,
body#product #product-comments-list-header span,
body#product .product-comments-additional-info,
body#product .product-comments-additional-info a,
body#product .product-comments-additional-info span,
body#product a#product-comments-list-tab,
body#product a#new-comment-tab,
body#product .nav-tabs-info,
body#product .nav-tabs-info a,
body#product .nav-tabs-info li,
body#product .comment-header a,
body#product #product-comments-tab-list a,
body#product #product-comments-tab-list li {
  color: #e0e0e0 !important;
}

/* Links activos en dorado */
body#product a#product-comments-list-tab:hover,
body#product a#new-comment-tab:hover,
body#product .nav-tabs-info a:hover {
  color: #c8a96e !important;
}

/* Texto del contador "(5)" */
body#product .product-comments-note,
body#product .grade-stars,
body#product .comments-nb {
  color: #e0e0e0 !important;
}
/* FIN FIX TABS RESEÑAS */

/* FIX COMENTARIOS DE PRODUCTO */
/* Contenedor general de comentarios */
#product-comments-list,
#product-comments-list-header,
.product-comments-additional-info,
#new-comment-form {
  background: #111111 !important;
  color: #e0e0e0 !important;
}

/* Cada item de comentario */
.product-comment-list-item {
  background: #1a1a1a !important;
  border-color: #2a2a2a !important;
  color: #e0e0e0 !important;
  padding: 1rem !important;
  margin-bottom: 0.5rem !important;
  border-radius: 4px !important;
}

/* Columna izquierda: estrellas, fecha, autor */
.product-comment-list-item .comment-infos,
.product-comment-list-item .comment-date,
.product-comment-list-item .comment-author {
  background: transparent !important;
  color: #b0b0b0 !important;
}

/* Titulo y contenido del comentario */
.product-comment-list-item .comment-content,
.product-comment-list-item .comment-content p,
.product-comment-list-item .comment-content .h4,
.product-comment-list-item .comment-content h4 {
  background: transparent !important;
  color: #e0e0e0 !important;
}

/* Titulo del comentario en dorado */
.product-comment-list-item .comment-content .h4 {
  color: #c8a96e !important;
}

/* Botones util / no util / reportar */
.product-comment-list-item .comment-buttons a,
.product-comment-list-item .useful-review,
.product-comment-list-item .not-useful-review,
.product-comment-list-item .report-abuse {
  color: #888 !important;
}
.product-comment-list-item .useful-review:hover,
.product-comment-list-item .not-useful-review:hover {
  color: #c8a96e !important;
}
.product-comment-list-item .report-abuse:hover {
  color: #e05555 !important;
}

/* Paginacion de comentarios */
#product-comments-list .pagination li a,
#product-comments-list .pagination li span {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

/* Boton escribir resena */
.btn-comment,
.post-product-comment {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}

/* Modal nueva resena */
#post-product-comment-form,
#post-product-comment-form .modal-content,
#post-product-comment-form .modal-header,
#post-product-comment-form .modal-body,
#post-product-comment-form .modal-footer {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2a2a2a !important;
}
#post-product-comment-form label,
#post-product-comment-form .modal-title,
#post-product-comment-form h4 {
  color: #e0e0e0 !important;
}
#post-product-comment-form input,
#post-product-comment-form textarea {
  background: #2a2a2a !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}
#post-product-comment-form .btn-primary {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}
#post-product-comment-form .close {
  color: #e0e0e0 !important;
}
/* FIN FIX COMENTARIOS */

/* FIX DESCRIPCION DE PRODUCTO */
body#product #description,
body#product #description p,
body#product #description span,
body#product #description div,
body#product #description ul,
body#product #description li,
body#product .product-description,
body#product .product-description p,
body#product .product-description span,
body#product .product-description div,
body#product #tab-description,
body#product #tab-description p,
body#product #tab-description div,
body#product .tab-pane#description,
body#product .tab-pane#description * {
  background: #111111 !important;
  color: #e0e0e0 !important;
}

/* Area de tabs (descripcion / ficha tecnica) */
body#product .tabs .tab-content,
body#product .tabs .tab-pane,
body#product #product-infos-tabs-content,
body#product #product-infos-tabs-content .tab-pane,
body#product #product-infos-tabs-content p,
body#product #product-infos-tabs-content div,
body#product #product-infos-tabs-content span,
body#product #product-infos-tabs-content ul,
body#product #product-infos-tabs-content li {
  background: #111111 !important;
  color: #e0e0e0 !important;
}

/* Links dentro de la descripcion */
body#product #description a,
body#product .product-description a {
  color: #c8a96e !important;
}
/* FIN FIX DESCRIPCION */

/* Sort order dropdown — dark theme */
.products-sort-order .select-title,
.products-sort-order button.select-title {
  background: #1a1a1a !important;
  color: #ccc !important;
  border-color: #333 !important;
}
.products-sort-order .select-title:hover {
  background: #222 !important;
  color: #fff !important;
}
.products-sort-order .dropdown-menu {
  background: #1a1a1a !important;
  border-color: #333 !important;
}
.products-sort-order .dropdown-menu .select-list {
  color: #ccc !important;
  background: transparent !important;
}
.products-sort-order .dropdown-menu .select-list:hover,
.products-sort-order .dropdown-menu .select-list.current {
  background: #2a2a2a !important;
  color: #fff !important;
}

/* Paginación — dark theme */
.pagination .page-list li a,
.pagination .page-list li span {
  background: #1a1a1a !important;
  color: #ccc !important;
  border-color: #333 !important;
}
.pagination .page-list li.current a,
.pagination .page-list li a:hover {
  background: #c8a96e !important;
  color: #111 !important;
  border-color: #c8a96e !important;
}
.pagination .page-list li a.previous,
.pagination .page-list li a.next {
  background: #222 !important;
  color: #c8a96e !important;
}

/* Información de contacto — dark theme */
.block-contact .data,
.block-contact address,
.contact-rich .data,
.contact-rich address,
.contact-rich h4,
.block-contact-title,
.contact-rich .block .data a,
#footer .block-contact,
#footer .block-contact * {
  color: #ccc !important;
}
.contact-rich .block .data a:hover,
.block-contact .data a:hover {
  color: #fff !important;
}
