/* ===== SINGLE PRODUCT ===== */
.single-product-container {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background-color: #0b0b0d;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.product-wrapper {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

/* Imagen del producto */
.product-image {
    flex: 1;
    position: relative;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

/* Reflejo tipo vidrio */
.product-image::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.2), transparent);
    border-radius: 0 0 20px 20px;
}

/* Info del producto */
.product-info {
    flex: 1;
    background-color: rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 1px;
    background: #c6a96e;
    margin-bottom: 30px;
}

/* Ingredientes */
.product-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.product-specs .ingredient {
    text-align: center;
    flex: 1;
}

.product-specs img {
    width: 60px;
    margin-bottom: 10px;
}

/* Precio */
.price {
    color: #c6a96e;
    font-size: 28px;
    font-weight: 700;
    display: block;
    margin-bottom: 30px;
}

/* Botones */
.product-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.product-buttons .button, .btn-buy {
    background-color: #c6a96e;
    color: #111;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-buttons .button:hover, .btn-buy:hover {
    background-color: #e0c87b;
    transform: translateY(-4px);
}

/* Descripción corta */
.product-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f5f5f5;
}

/* Contenedor principal */
.custom-single-product {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 50px auto;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.custom-single-product .product-left {
    flex: 1;
    position: relative;
}

.custom-single-product .product-left img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

/* Reflejo tipo vidrio */
.custom-single-product .product-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.2), transparent);
    border-radius: 0 0 20px 20px;
}

/* Panel info derecha */
.custom-single-product .product-right {
    flex: 1;
    background-color: rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.custom-single-product .product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.custom-single-product .divider {
    border: 0;
    height: 1px;
    background: #c6a96e;
    margin-bottom: 30px;
}

/* Ingredientes */
.custom-single-product .product-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.custom-single-product .product-specs .ingredient {
    text-align: center;
    flex: 1;
}

.custom-single-product .product-specs img {
    width: 60px;
    margin-bottom: 10px;
}

/* Precio y botones */
.custom-single-product .price {
    color: #c6a96e;
    font-size: 28px;
    font-weight: 700;
    display: block;
    margin-bottom: 30px;
}

.custom-single-product .product-buttons .button {
    background-color: #c6a96e !important;
    color: #111 !important;
    padding: 12px 25px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease;
}

.custom-single-product .product-buttons .button:hover {
    background-color: #e0c87b !important;
    transform: translateY(-4px);
}

/* Descripción corta */
.custom-single-product .product-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f5f5f5;
}


/* Contenedor Principal con Fondo de Imagen */
.luvika-product-container {
/* Esta ruta busca la imagen dentro de tu carpeta de tema actual */
    background-image: url('images/fondos productos/fondo.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Mantiene el fondo quieto al hacer scroll */
    padding: 80px 5%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.product-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    align-items: flex-start;
    padding: 20px;
}

/* =====================
   GALERÍA DE PRODUCTOS - DISEÑO LIMPIO
===================== */
.product-image-section {
    flex: 1.5;
    min-width: 300px;
}

/* Galería WooCommerce */
.woocommerce-product-gallery {
    position: relative;
    width: 100% !important;
    max-width: 600px !important;
}

/* Imagen principal con marco blanco */
.woocommerce-product-gallery .flex-viewport {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    margin-bottom: 20px;
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

/* Miniaturas de galería - SIN PUNTOS NI NÚMEROS */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Quitar números y puntos */
.woocommerce-product-gallery .flex-control-thumbs li::before,
.woocommerce-product-gallery .flex-control-thumbs li::marker {
    display: none !important;
    content: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border: 3px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: #d4af37;
    transform: scale(1.05);
}

/* Ocultar nav de puntos de FlexSlider */
.woocommerce-product-gallery .flex-control-nav.flex-control-paging {
    display: none !important;
}

/* Flechas de navegación */
.woocommerce-product-gallery .flex-direction-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
    margin: 0;
    list-style: none !important;
}

.woocommerce-product-gallery .flex-direction-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-product-gallery .flex-direction-nav li::before,
.woocommerce-product-gallery .flex-direction-nav li::marker {
    display: none !important;
    content: none !important;
}

.woocommerce-product-gallery .flex-direction-nav a {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.woocommerce-product-gallery:hover .flex-direction-nav a {
    opacity: 1;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: #d4af37;
    transform: scale(1.1);
}

.woocommerce-product-gallery .flex-direction-nav a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
    color: #fff;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-prev::before {
    content: '\f053';
}

.woocommerce-product-gallery .flex-direction-nav a.flex-next::before {
    content: '\f054';
}

/* Icono de zoom */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
    background: #d4af37;
}

.woocommerce-product-gallery__trigger::before {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
    color: #fff;
}

.woocommerce-product-gallery__trigger img {
    display: none;
}

/* =====================
   PANEL DE INFORMACIÓN DEL PRODUCTO
===================== */
.product-info-panel {
    flex: 1;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.product-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4af37;
}

.gold-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #d4af37, transparent);
    margin: 25px 0;
}

/* Descripciones del producto */
.product-short-desc,
.product-full-desc {
    margin-bottom: 25px;
}

.product-short-desc h3,
.product-full-desc h3 {
    font-size: 1rem;
    color: #d4af37;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-short-desc p,
.product-full-desc p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ccc;
}

/* Botón Añadir al Carrito */
.purchase-section {
    margin-top: 30px;
}

.luvika-product-container .single_add_to_cart_button {
    background-color: #d4af37 !important;
    color: #000 !important;
    font-weight: bold !important;
    text-transform: uppercase;
    padding: 15px 30px !important;
    border: none !important;
    border-radius: 8px !important;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.luvika-product-container .single_add_to_cart_button:hover {
    background-color: #e5c453 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Cantidad */
.luvika-product-container .quantity {
    margin-bottom: 15px;
}

.luvika-product-container .quantity input {
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    width: 80px;
    text-align: center;
}

/* Contenedor principal */
.luvika-product-container {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 20px;
}

/* =====================
   RESPONSIVE - TABLETS
===================== */
@media (max-width: 1024px) {
    .product-content-wrapper {
        gap: 30px;
    }
    
    .product-image-section {
        flex: 1;
        min-width: 100%;
    }
    
    .product-info-panel {
        flex: 1;
        min-width: 100%;
        max-width: 100%;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
}

/* =====================
   RESPONSIVE - MÓVILES
===================== */
@media (max-width: 768px) {
    .luvika-product-container {
        padding: 20px 10px;
        background-attachment: scroll;
    }
    
    .product-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    
    .product-image-section,
    .product-info-panel {
        width: 100%;
        min-width: unset;
    }
    
    .image-reflection-container {
        padding: 15px;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 55px !important;
        height: 55px !important;
    }
    
    .woocommerce-product-gallery .flex-direction-nav a {
        width: 35px;
        height: 35px;
        opacity: 1;
    }
    
    .woocommerce-product-gallery .flex-direction-nav a::before {
        font-size: 14px;
    }
    
    .product-info-panel {
        padding: 25px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .price-tag {
        font-size: 1.4rem;
    }
    
    .luvika-product-container .single_add_to_cart_button {
        padding: 12px 20px !important;
        font-size: 0.9rem;
    }
}

/* =====================
   RESPONSIVE - MÓVILES PEQUEÑOS
===================== */
@media (max-width: 480px) {
    .woocommerce-product-gallery .flex-control-thumbs {
        gap: 6px;
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 45px !important;
        height: 45px !important;
    }
    
    .product-info-panel {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .price-tag {
        font-size: 1.2rem;
    }
    
    .product-short-desc p,
    .product-full-desc p {
        font-size: 0.85rem;
    }
}


.header {
    height: auto !important; /* Permite que el header crezca según el logo */
    min-height: 220px;       /* Espacio suficiente para el logo de 200px */
}

/* Contenedor del logo para centrarlo */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 10px 0;
}

/* Estilo del logo circular */
.logo img {
    width: 200px !important;    /* Tamaño solicitado */
    height: 200px !important;   /* Debe ser igual al ancho para el círculo */
    object-fit: contain;        /* Mantiene la forma del logo sin estirarlo */
    background-color: #ffffff !important; /* Fondo blanco */
    border-radius: 100% !important;       /* Forma circular */
    padding: 15px;              /* Espacio interno para que el logo no toque los bordes */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); /* Sombra elegante */
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}


/* Ajuste del cuadro desplegable */
ul.sub-menu {
    display: none; /* Se oculta por defecto */
    position: absolute;
    top: 100%;
    left: 0;
    
    /* TAMAÑO CONTROLADO */
    width: 300px !important;   /* 500px es demasiado, 300px es perfecto para textos largos */
    height: auto !important;    /* Si le pones 500px de alto, quedará un vacío enorme */
    
    background-color: #111 !important;
    border: 1px solid #1c2330 !important;
    padding: 15px 0 !important;
    z-index: 99999 !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

/* Para que se muestre al pasar el mouse por el padre (Productos) */
li.menu-item-has-children:hover > ul.sub-menu {
    display: block !important;
}

/* Ajuste del texto interno para que no se baje de renglón */
ul.sub-menu li#menu-item-36 a {
    white-space: nowrap !important; /* Obliga a que todo esté en una línea */
    padding: 12px 25px !important;
    display: block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    transition: all 0.3s ease;
}

/* Efecto Hover Blue Steel */
ul.sub-menu li#menu-item-36 a:hover {
    color: #67819b !important;
    background-color: #1c2330 !important;
    padding-left: 30px !important; /* Desplazamiento elegante */
}

/* 1. Ajuste del cuadro desplegable */
ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    
    width: 300px !important;   
    height: auto !important;    
    
    background-color: #111 !important;
    border: 1px solid #1c2330 !important;
    padding: 10px 0 !important; /* Padding vertical equilibrado */
    z-index: 99999 !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);

    /* ELIMINA LOS PUNTOS (::marker) */
    list-style: none !important; 
    list-style-type: none !important;
}

/* 2. Ajuste de los elementos de la lista para quitar el marker por completo */
ul.sub-menu li {
    list-style: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Centrar el texto y limpiar efectos */
ul.sub-menu li a {
    white-space: nowrap !important;
    display: block !important;
    padding: 12px 15px !important; /* Padding simétrico */
    color: #ffffff !important;
    font-size: 14px !important;
    
    /* CENTRADO DE TEXTO */
    text-align: center !important; 
    
    transition: all 0.3s ease;
}

/* 4. Efecto Hover limpio (Sin desplazamiento) */
ul.sub-menu li a:hover {
    color: #67819b !important;
    background-color: #1c2330 !important;
    /* Se eliminó el padding-left de 30px */
}

/* 5. Mostrar el menú al pasar el mouse por el padre */
li.menu-item-has-children:hover > ul.sub-menu {
    display: block !important;
}

/* Contenedor principal de los iconos */
.header-icons {
    display: flex !important;
    flex-direction: row !important; /* Fuerza la línea horizontal */
    align-items: center !important;
    justify-content: flex-end !important; /* Los empuja al extremo derecho */
    gap: 25px; /* Espacio entre cada icono */
    padding: 10px 20px;
}

/* Estilo común para todos los iconos */
.header-icons i {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Efecto hover con tu color Blue Steel */
.header-icons i:hover {
    color: #67819b;
    transform: scale(1.1);
}

/* Ajuste específico para el Carrito (Posicionamiento relativo para el contador) */
.cart-icon {
    position: relative;
}

/* Estilo del círculo del contador (Badge) */
.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background-color: #67819b; /* Color Blue Steel */
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #000; /* Para que resalte sobre el fondo */
}

/* Quitar márgenes extra que puedan venir del tema */
.search-icon, .cart-icon, .user-icon {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

/* Shop */
/* Contenedor de la Tarjeta */
.luvika-product-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 30px;
}

.product-card-inner {
    background: #fff;
    border-radius: 12px; /* Bordes redondeados de la imagen */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Imagen */
.product-image-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

/* Bloque de Información */
.product-info-wrapper {
    background: #fff;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.luvika-product-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: #111 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2;
}

.product-short-desc p {
    font-size: 11px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Footer de la tarjeta: Precio y Botón */
.product-card-footer {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

/* Botón de Añadir al Carrito (Estilo Imagen) */
.product-card-button a.button {
    background-color: #111 !important; /* Negro como en la imagen */
    color: #fff !important;
    font-size: 10px !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 15px !important;
    border-radius: 4px !important;
    transition: background 0.3s ease;
}

.product-card-button a.button:hover {
    background-color: #67819b !important; /* Cambia a tu Blue Steel al hover */
}

/* Ocultar elementos sobrantes de WooCommerce */
.luvika-product-card .onsale {
    display: none; /* Opcional: oculta el círculo de oferta */
}
/* --- DISEÑO DE COLUMNAS --- */
.shop-container-luvika {
    display: flex;
    gap: 40px;
    padding: 40px;
    background-color: #0b0b0d; /* Fondo oscuro de la imagen */
}

.shop-sidebar {
    flex: 0 0 250px;
}

.shop-main-content {
    flex: 1;
}

/* --- ESTILO DE FILTROS (Lado Izquierdo) --- */
.shop-sidebar .widget {
    background: rgba(255, 255, 255, 0.05); /* Gris con opacidad */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #fff;
}

.shop-sidebar .widget_price_filter .ui-slider {
    background: rgba(255, 255, 255, 0.2) !important;
}

.shop-sidebar .widget_price_filter .ui-slider-range {
    background: #67819b !important; /* Tu Blue Steel */
}

/* --- TARJETAS DE PRODUCTO (Filas de 3) --- */
.products.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.luvika-card-inner {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.luvika-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.luvika-info {
    padding: 20px;
    color: #000;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.luvika-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 0 5px 0 !important;
    color: #000 !important;
}

.luvika-desc p {
    font-size: 12px;
    color: #444;
    margin-bottom: 15px;
}

/* --- FOOTER DE TARJETA Y BOTONES --- */
.luvika-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.luvika-price {
    font-weight: 800;
    font-size: 16px;
    color: #000;
}

.luvika-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Botones Negros con bordes redondeados */
.luvika-actions a {
    background: #000 !important;
    color: #fff !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
    border-radius: 10px !important; /* Border radius 10% aproximado */
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.luvika-actions a:hover {
    background: #67819b !important;
}

.btn-detail {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid #000;
}

/* --- Estilo de los Botones --- */
.product-card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Estilo común para botones */
.product-card-actions a {
    background-color: #d4af37 !important;
    color: #000 !important;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 700;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none;
    display: block !important;
    width: 100% !important;
    max-width: 180px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease;
}

/* El botón de 'Ver detalles' con borde */
.product-card-actions a.btn-detail {
    background-color: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.product-card-actions a.btn-detail:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* Botón añadir al carrito dorado */
.product-card-actions a.button,
.product-card-actions a.add_to_cart_button {
    background-color: #d4af37 !important;
    color: #000 !important;
}

.product-card-actions a.button:hover,
.product-card-actions a.add_to_cart_button:hover {
    background-color: #e5c453 !important;
    transform: translateY(-2px);
}

/* Botón "Ver carrito" después de añadir */
.product-card-actions a.added_to_cart {
    background-color: #28a745 !important;
    color: #fff !important;
}

/* --- Ajuste de la Info --- */
.luvika-product-title {
    color: #000 !important;
    font-size: 16px !important;
    margin-bottom: 5px !important;
    font-weight: 800;
}

.product-short-desc {
    color: #444;
    font-size: 12px;
    margin-bottom: 15px;
}

.product-card-footer {
    display: flex;
    justify-content: space-between; /* Precio a la izquierda, botones a la derecha */
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
/* --- CONTENEDOR DE LA TIENDA --- */
.shop-container-luvika {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 30px; /* Espacio entre filtros y productos */
    background-color: #0b0b0d; /* Fondo oscuro de la imagen */
}

/* --- BARRA LATERAL (FILTROS) --- */
.shop-sidebar {
    flex: 0 0 280px; /* Ancho fijo para los filtros */
    color: #fff;
}

/* Estilo de los Widgets de Filtro (Gris con opacidad) */
.shop-sidebar .widget {
    background: rgba(255, 255, 255, 0.05) !important; /* Gris 50% opacidad visual */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-sidebar .widget h2 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
}

/* --- COLUMNA DE PRODUCTOS --- */
.shop-main-content {
    flex: 1; /* Ocupa el resto del espacio */
}

.page-title {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Ajuste de Grid (3 columnas) */
.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

/* Responsivo para tablets y móviles */
@media (max-width: 1024px) {
    .shop-container-luvika {
        flex-direction: column;
    }
    .shop-sidebar {
        flex: 1;
        width: 100%;
    }
}

.woocommerce .products ul,.woocommerce ul.products {
    margin: 21px 27px 1em;
    padding: 26px;
    list-style: none outside;
    clear: both
}


/* 2. Capa de la imagen de fondo */
ul.products.columns-4::before {
    content: "";
    position: absolute;
    /* Cambiado a 0 para que cubra todo el contenedor desde arriba */
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    
    /* URL envuelta en comillas para evitar errores de sintaxis */
    background-image: url("images/fondos-productos/fondo-productos.jpg");
    
    background-size: cover;
    background-position: center;
    
    /* Si usas 'cover', lo ideal es 'no-repeat' */
    background-repeat: no-repeat; 
    
    opacity: 0.4;
    z-index: 0;
}

/* 3. IMPORTANTE: Asegura que el contenedor tenga posición relativa */
ul.products.columns-4 {
    position: relative !important;
    overflow: hidden; /* Para que la imagen no se salga de los bordes redondeados */
    z-index: 1;
}

/* 4. Asegura que los productos se vean por encima */
ul.products.columns-4 li {
    position: relative;
    z-index: 2;
}

/* 3. Asegurar que los productos estén por encima del fondo */
ul.products.columns-4 li.luvika-product-card {
    position: relative;
    z-index: 1;
    list-style: none !important;
}

/* Contenedor de la lista de productos */
ul.products.columns-4 {
    position: relative !important;
    padding: 60px 40px !important;
    background-color: #0b0b0d; /* Negro profundo de fondo */
    z-index: 1;
    overflow: visible; /* Permitir que el degradado fluya */
}

/* La capa de la imagen de cascada/bosque */
ul.products.columns-4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url("images/fondos-productos/fondo-productos.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    
    /* EFECTO PARALLAX: La imagen se queda quieta mientras los productos suben */
    background-attachment: fixed; 
    
    /* DEGRADADO: La imagen se desvanece suavemente a negro abajo para listas largas */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    
    opacity: 0.4; /* Mantener la elegancia */
    z-index: -1;
}

/* Asegurar que las tarjetas de producto tengan buen contraste */
.product-card-inner {
    background: #ffffff !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5) !important;
}

/* --- Paginación Personalizada Luvika --- */
.woocommerce-pagination {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    text-align: center;
    position: relative;
    z-index: 5; /* Por encima del fondo de cascada */
}

.woocommerce-pagination ul.page-numbers {
    border: none !important;
    display: inline-flex;
    gap: 10px;
    padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    list-style: none;
}

/* Estilo de los números y flechas */
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
    display: block;
    padding: 12px 18px !important;
    background-color: #000 !important; /* Fondo Negro */
    color: #d4af37 !important; /* Texto Dorado (Gold) */
    text-decoration: none;
    border-radius: 8px; /* 10% de redondeo */
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #d4af37; /* Borde Dorado sutil */
    transition: all 0.3s ease;
}

/* Número actual (Activo) */
.woocommerce-pagination ul.page-numbers li span.current {
    background-color: #d4af37 !important; /* Fondo Dorado */
    color: #000 !important; /* Texto Negro */
    border-color: #d4af37;
}

/* Efecto Hover */
.woocommerce-pagination ul.page-numbers li a:hover {
    background-color: #67819b !important; /* Tu color Blue Steel al pasar el mouse */
    color: #fff !important;
    border-color: #fff;
}




/* =====================
   BARRA DE FILTROS - SHOP
===================== */

.shop-filters-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Estilo común para filtros */
.luvika-custom-filter,
.ordering-container {
    background: rgba(128, 128, 128, 0.5);
    padding: 20px 25px;
    border-radius: 15px;
    color: #fff;
    backdrop-filter: blur(5px);
    flex: 1;
    min-width: 250px;
}

.luvika-custom-filter label,
.ordering-container label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #fff;
}

/* El Slider Estilizado */
#price-slider {
    width: 100%;
    accent-color: #d4af37;
    cursor: pointer;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

/* Select de ordenamiento WooCommerce */
.ordering-container .woocommerce-ordering {
    margin: 0;
}

.ordering-container .woocommerce-ordering select,
.ordering-container select.orderby {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.ordering-container .woocommerce-ordering select:focus {
    outline: 2px solid #d4af37;
}

.ordering-container .woocommerce-ordering select option {
    background: #222;
    color: #fff;
}

/* Responsive filtros */
@media (max-width: 768px) {
    .shop-filters-row {
        flex-direction: column;
    }
    
    .luvika-custom-filter,
    .ordering-container {
        min-width: 100%;
    }
}

/* Filtros Activos con la X arriba */
.active-filters-container {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.active-filter-item {
    text-align: center;
    position: relative;
    padding-top: 20px;
}

.remove-filter {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: #d4af37; /* Dorado */
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.active-filter-item p {
    font-size: 11px;
    text-transform: uppercase;
    margin: 0;
}