/* --- Estilos base del Slider Contenedor --- */
.featured-products-slider {
    padding: 20px 0;
    margin: 40px 0;
    overflow: hidden !important;
    max-width:80vw !important;
}

/* --- Estilos de la Tarjeta (Slide) --- */
.custom-product-card {
    display: flex;
    flex-direction: column;
    border: none; 
    border-radius: 16px; /* Más redondeado */
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; 
    min-height: 400px;
    box-sizing: border-box;
}

.custom-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Estilo del Contenedor de Imagen e Íconos --- */
.product-image-container {
    position: relative;
    width: 100%;
    background-color: #f5f5f5; 
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.custom-product-card:hover .product-image-container img {
    transform: scale(1.03);
}

/* --- Íconos de Wishlist y Quickview --- */
.product-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}
.icon-quickview {
    background-color:var(--theme-palette-color-4);
    border: 1px solid var(--theme-palette-color-1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    /* Asegurar que el enlace del ojo se vea como botón */
    text-decoration: none; 
}
.icon-quickview svg {
    width: 20px;
    height: 20px;
    color: var(--theme-palette-color-1); /* Color principal */
    stroke-width: 1.5;
}

.icon-quickview:hover {
    background-color:var(--theme-palette-color-1);
    border-color:var(--theme-palette-color-1);
}

.icon-quickview:hover svg {
    color:var(--theme-palette-color-4);
}


/* --- Estilo de los Detalles y Texto (Centro) --- */
.product-details {
    padding: 15px 15px 10px; 
    text-align: center;
    flex-grow: 1; 
}

.product-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 0px;
    color:var(--theme-palette-color-2);
    line-height: 1.3;
    text-decoration: none; 
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: var(--theme-palette-color-1);
}

.product-subtitle {
    font-size: 1em;
    color:var(--theme-palette-color-3);
    margin-top: 5px;
}

.product-subtitle a {
    color: inherit; /* Heredar el color del contenedor (el gris 999) */
    text-decoration: none; /* Quitar subrayado */
    transition: color 0.2s;
}

.product-subtitle a:hover {
    color:var(--theme-palette-color-2);
}

/* --- Pie de Tarjeta (Precio y Botón 50/50) --- */
.product-footer {
    display: flex;
    width: 100%;
    border-top: 1px solid #f0f0f0; /* Separador Horizontal */
    box-sizing: border-box;
}

.product-price-col,
.product-button-col {
    width: 50%;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Separador vertical entre precio y botón */
.product-price-col {
    border-right: 1px solid #f0f0f0;
}

/* --- Estilo del Precio --- */
.product-price-col .product-price-label {
    font-size: 1.2em;
    font-weight: 600;
    color:var(--theme-palette-color-1);
}

/* --- Estilo del Botón de Carrito --- */
.product-button-col a.custom-slider-button {
    /* El botón ya no tiene el aspecto de bloque, sino de enlace en el footer */
    display: flex; 
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: transparent; /* Fondo transparente */
    color:var(--theme-palette-color-1);
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 1em;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.product-button-col a.custom-slider-button:hover {
    background-color: #f0f8ff; /* Fondo muy claro al pasar el ratón */
    color:var(--theme-palette-color-1);
}

.product-button-col .cart-icon {
    margin-left: 5px;
    font-size: 1.2em;
}


/* --- Limpieza de estilos antiguos (Asegurar que no interfieran) --- */

.product-image-wrap {
    /* No usado en la nueva estructura */
    display: none;
}
.product-image-wrap img {
    /* No usado en la nueva estructura */
    display: none;
}
.product-price {
    /* Etiqueta antigua, ahora el precio está en .product-price-col .product-price-label */
    display: none; 
}


/* --- Navegación (Flechas) --- */
.featured-products-slider .custom-swiper-next{
    right:20px;
}
.featured-products-slider .custom-swiper-prev{
    left:20px;
}
.custom-swiper-next,
.custom-swiper-prev {
    --swiper-navigation-size:16px;
    color:var(--theme-palette-color-2) !important;
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px !important;
    height: 40px !important;
    border: 1px solid var(--theme-palette-color-3);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.custom-swiper-next:hover,
.custom-swiper-prev:hover {
    color:var(--theme-palette-color-4) !important;
    background-color:var(--theme-palette-color-1);
    border-color:var(--theme-palette-color-1);
}

/* Ajuste del tamaño de la flecha */
.custom-swiper-next::after,
.custom-swiper-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* --- Paginación (Puntos) --- */
.ik-productos-destacados .featured-products-slider .custom-swiper-pagination{
    --swiper-pagination-bottom:32px;
    bottom:var(--swiper-pagination-bottom);
}
.custom-swiper-pagination .swiper-pagination-bullet {
    padding:6px;
    background-color: var(--theme-palette-color-3);
    border-radius:50px;
}

.custom-swiper-pagination .swiper-pagination-bullet-active {
    width:30px;
    background:var(--theme-palette-color-1);
}