
/* ==========================================
   ESTRUCTURA GENERAL DE MODALES (Unificado)
   ========================================== */

/* 1. Fondo oscuro traslúcido */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* 2. Caja contenedora principal del modal */
.modal-contenido {
    background: #1a1818;
    padding: 40px 20px 20px 20px; /* Espacio arriba para que la X no pise el contenido */
    border-radius: 12px;
    width: 92%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

/* 3. Botón de cerrar (La "X") en la esquina limpia */
.modal-contenido .btn-cerrar,
.modal-overlay .btn-cerrar {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background:   rgb(180, 37, 37) !important;
    color: #000000 !important;
    border: 1px solid #444 !important;      /* Opcional: un borde sutil para que luzca como caja */
    border-radius: 6px !important;          /* <-- CAMBIADO: De 50% (círculo) a 6px (cuadrado con esquinas redondeadas) */
    width: 35px !important;
    height: 35px !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
     box-shadow: none !important; /* Quita sombras azules de selección */
}

.modal-contenido .btn-cerrar:hover,
.modal-overlay .btn-cerrar:hover {
    background: #ff4d4d !important;
    color: #ffffff !important;
}

/* ==========================================
   ELEMENTOS INTERNOS DE LOS MODALES
   ========================================== */

/* Inputs y selects dentro del modal */
.modal-contenido input, 
.modal-contenido select {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.modal-contenido label {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

/* Estructura de cuadrícula para modales de productos (ej. vista rápida) */
.modal-body-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* --- TAMAÑO FIJO Y SEGURO PARA LA IMAGEN DEL MODAL DE PRODUCTO --- */
img.img-modal-detalle {
    width: 100% !important;
    max-width: 250px !important;
    height: 280px !important;
    object-fit: contain !important;
    background-color: #111 !important;
    border-radius: 6px !important;
    display: block !important;
    margin: 0 auto 15px auto !important; /* Centrada y con espacio abajo */
}

.modal-info {
    flex: 1;
}

/* Botón principal de acción dentro del modal (ej. carrito) */
#modal-btn-comprar.btn-comprar {
    background-color: #eeeeee !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 30px !important;
    margin-top: 15px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: none !important;
}

#modal-btn-comprar.btn-comprar:hover {
    background-color: #4d4d4d !important;
}

/* =============================================================
   ESTILOS PARA LOS BOTONES DE CANTIDAD DENTRO DEL MODAL  (+ / -)
   ============================================================== */
.modal-contenido .selector-cantidad-wrapper,
#selector-opciones-dinamico div {
    display: flex;
    align-items: center;
}

/* Contenedor de la cantidad en el modal */
.modal-contenido input[type="number"] {
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Botones de + y - cuadrados y personalizables */
.btn-cantidad-modal {
    background: #2a2a2a !important;   /* Color de fondo inicial (gris oscuro) */
    color: #ffffff !important;         /* Color del texto (+ o -) */
    border: 1px solid #444 !important; /* Borde sutil */
    border-radius: 6px !important;     /* Esquinas ligeramente redondeadas (cuadrado moderno) */
    width: 38px !important;
    height: 38px !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    padding: 0 !important;
    margin: 0 5px !important;
    box-shadow: none !important;
}

/* Efecto al pasar el ratón (Hover) - ¡Aquí puedes cambiar el color a tu gusto! */
.btn-cantidad-modal:hover {
    background: rgb(247, 244, 69) !important; /* Color amarillo al pasar el mouse (puedes cambiarlo) */
    color: #000000 !important;
    border-color: rgb(247, 244, 69) !important;
}

/* ==========================================
   SCROLL HORIZONTAL PARA MINIATURAS Y COLORES
   ========================================== */

/* Contenedor horizontal para las fotos secundarias / miniaturas */
.modal-miniaturas-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 2px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 15px;
      flex-wrap: nowrap!important; /* 👈 Evita que se bajen de línea */
touch-action: pan-x!important;/* 👈 Obliga al celular a permitir el scroll horizontal fluido */
}

/* Estilo de cada miniatura dentro del modal */
.modal-miniatura-img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    border: 2px solid #444 !important;
    flex-shrink: 0 !important;
    -webkit-user-drag: none; /* Evita el arrastre fantasma en navegadores */
    user-select: none;
    transition: border-color 0.2s ease;
    flex-wrap: nowrap!important;/* 👈 Evita que se bajen de línea */
touch-action: pan-x !important;/* 👈 Obliga al celular a permitir el scroll horizontal fluido */
}

/* Efecto cuando la miniatura está seleccionada */
.modal-miniatura-img.seleccionada {
    border-color: rgb(221, 195, 81) !important;
}

/* Contenedor horizontal para los selectores de colores */
.modal-colores-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Opcional: Barra de desplazamiento sutil y elegante */
.modal-miniaturas-container::-webkit-scrollbar,
.modal-colores-container::-webkit-scrollbar {
    height: 4px;
}
.modal-miniaturas-container::-webkit-scrollbar-thumb,
.modal-colores-container::-webkit-scrollbar-thumb {
    background: rgb(221, 195, 81);
    border-radius: 4px;
}

/* ========================================== */
/* ESTILOS PARA EL PANEL Y BOTÓN DE FILTROS   */
/* ========================================== */

#panel-filtros-categoria {
    margin: 20px 0;
}

/* Botón desplegable de filtros personalizado */
#btn-toggle-filtros {
    background: #ffffff;
    color: #050505 ; /* Asegura que el texto general sea blanco */
    border: 1px solid #444444;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    
    /* MODIFICACIÓN DE ANCHO: Ya no ocupa el 100%, se adapta al contenido */
    width: auto; 
    min-width: 220px; /* Un ancho mínimo prudente para que se vea bien */
    max-width: 100%;
    
    text-align: left;
    font-weight: bold;
    display: inline-flex; /* Cambiado a inline-flex para que no se estire de más */
    justify-content: space-between;
    align-items: center;
    gap: 15px; /* Espacio entre el texto y la flecha */
    font-size: 0.95rem;
    transition: background 0.3s ease, border-color 0.3s ease;

   box-shadow: none !important;
}

#btn-toggle-filtros:hover {
    background: #3a3a3a;
    border-color: #666666;
}

/* Forzar que cualquier texto o span dentro del botón sea blanco y sin tonos azules */
#btn-toggle-filtros span {
    color: #000000 !important;
}

/* Contenedor interno de los selects */
#caja-selects-filtros {
    display: none; /* Inicialmente oculto por JS */
    margin-top: 10px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333333;
}

/* Título dentro de la caja */
#titulo-categoria-activa {
    color: #dfc05a;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Fila que contiene los selects */
.filtros-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Grupo individual de cada select (Precio, Marca, Color) */
.filtro-grupo {
    flex: 1;
    min-width: 140px;
}

.filtro-grupo label {
    color: #cccccc;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.filtro-grupo select {
    width: 100%;
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444444;
    padding: 8px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.filtro-grupo select:focus {
    border-color: #888888;
}

/* ========================================================================== */
/* 1. ESTILOS GENERALES PARA LAS TARJETAS DE PRODUCTOS (TODOS LOS CONTENEDORES) */
/* ========================================================================== */

/* Aplica a cualquier contenedor de productos que empiece por id="contenedor-" */
[id^="contenedor-"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 8px !important;
    margin: 0 !important;
}

[id^="contenedor-"] article {
    width: calc(50% - 5px) !important;
    margin: 0 0 12px 0 !important;
    padding: 10px !important;
    background: #141414 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

/* Ocultar elementos sobrantes de la plantilla */
[id^="contenedor-"] article:before,
[id^="contenedor-"] article:after {
    display: none !important;
}

/* Imagen dentro de la tarjeta */
[id^="contenedor-"] article .image {
    height: 140px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #1a1a1a !important;
    border-radius: 6px !important;
}

[id^="contenedor-"] article .image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* Textos de la tarjeta */
[id^="contenedor-"] article h3,
[id^="contenedor-"] article h2,
[id^="contenedor-"] article .titulo-producto {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
}

[id^="contenedor-"] article p,
[id^="contenedor-"] article .precio-container {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
}


/* ========================================================================== */
/* 2. ESTILO DEFINITIVO PARA EL BOTÓN DE COMPRA (AGREGAR AL CARRITO) */
/* ========================================================================== */

[id^="contenedor-"] article .btn-comprar,
[id^="contenedor-"] article button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important; 
    color: #000000 !important;            
    font-size: 0.7rem !important; 
    padding: 6px 4px !important;  
    border-radius: 4px !important; 
    border: none !important; 
    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-align: center !important;
    line-height: 1.1 !important;
    gap: 4px !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

[id^="contenedor-"] article .btn-comprar:hover,
[id^="contenedor-"] article button:hover {
    background-color: #fa4545 !important;
    color: #ffffff !important;
    border: 1px solid #fa4545 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: translateY(-2px);
}

/* css del contador de carrito para que aparezca cuantos productos llevamos  */
.cart-badge {
    position: absolute;
    top: -8px;    /* Lo sube hacia la esquina superior */
    right: -8px;  /* Lo mueve hacia la esquina derecha */
    
    background-color: #dbb344;
    color: white;
    border-radius: 50%;
    
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
}

/* ========================================================================== */
/*  CSS PARA BARRA DE ANUNCIOS Y HEADER CENTRADO (ESTILO REFERENCIA) para el principio de la pagina  */
/* ========================================================================== */

/* ==========================================================================
   HEADER DEFINITIVO: CONTROL DE REDES SOCIALES
   ========================================================================== */

.barra-anuncios {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0px !important;
}

header#header.header-limpio {
    background: #000000 !important;
    padding: 10px 10px !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: relative;
    z-index: 10;
}

header#header::after,
header#header::before {
    display: none !important;
    content: none !important;
}

/* Grilla: le damos 110px a la derecha para tener control total de movimiento */
.header-inner-content {
    display: grid !important;
    grid-template-columns: 70px 1fr 110px !important; 
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- COLUMNA IZQUIERDA --- */
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

#header .toggle, 
.header-left .toggle {
    position: relative !important;
    display: inline-block !important;
    width: 1.8em !important;
    height: 1.8em !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z' fill='%23ffffff'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 1em !important;
    text-indent: -9999px !important;
    cursor: pointer;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.header-cart-link {
    position: relative;
    color: #ffffff !important;
    font-size: 1rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    border: none !important;
}

.cart-badge-header {
    position: absolute;
    top: -6px;
    right: -9px;
    background-color: #bd9339;
    color: #000000;
    font-size: 0.55rem;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- COLUMNA CENTRO (LOGO) --- */
.header-center {
    text-align: center;
    overflow: hidden;
    padding: 0 2px;
}

.logo-texto {
    font-size: 0.88rem !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    color: #e2cc4c !important;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: none !important;
    border: none !important;
    white-space: nowrap;
    display: inline-block;
}

.logo-texto strong {
    font-weight: 700 !important;
    color: #bd9339 !important; /* Fuerza el color dorado en KGH */
}
/* --- COLUMNA DERECHA (MOVIMIENTO DIRECTO HACIA LA IZQUIERDA) --- */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-right .icons {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    display: flex;
    align-items: center !important;
    gap: 12px !important; /* Separación entre Instagram y WhatsApp */
    transform: translateX(-35px) translateY(-2px) !important; /* <--- ESTE ES EL QUE LOS MUEVE. Cambia -35px si quieres más o menos */
}

.header-right .icons li {
    margin: 0 !important;
    padding: 0 !important;
}

.header-right .icons a {
    color: #d3b450 !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}



/* ========================================================================== */
/*  COMPORTAMIENTO DE CARRUSEL DE CATEGORIAS (SOLO EN EL INICIO) LO MAS VENDIDO PRIMER CARRUSEL*/
/* ========================================================================== */


/* --- ESTILOS PARA EL CARRUSEL DE CATEGORÍAS DESTACADAS --- */
.categorias-slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Estilo personalizado para la barra de desplazamiento horizontal */
.categorias-slider-container::-webkit-scrollbar {
    height: 6px;
}
.categorias-slider-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.categoria-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    background: #1b1b1b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.categoria-card-img-wrapper {
    position: relative;
    height: 350px;
}

.categoria-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.categoria-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.categoria-card-title {
    color: #c7af46;
    font-size: 1.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    text-align: center;
}

.categoria-card-footer {
    padding: 15px;
    text-align: center;
    background: #151515;
    
}

.categoria-card-footer a.button {
    color: #c7af46 !important; /* Aquí pones el color que quieras para las letras */
}

/* Centrar el título de la sección y eliminar la línea blanca inferior */
#seccion-categorias-destacadas header.major {
    text-align: center;
    border-bottom: none !important;
    margin-bottom: 30px;
}

#seccion-categorias-destacadas header.major h2 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* --- ELIMINAR DEFINITIVAMENTE CUALQUIER LÍNEA EN EL TÍTULO DE LO MÁS VENDIDO --- */
#seccion-categorias-destacadas header.major,
#seccion-categorias-destacadas header.major h2 {
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

#seccion-categorias-destacadas header.major::after,
#seccion-categorias-destacadas header.major::before,
#seccion-categorias-destacadas header.major h2::after,
#seccion-categorias-destacadas header.major h2::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
}
/* ========================================================================== */
/* 3. COMPORTAMIENTO DE CARRUSEL HORIZONTAL (SOLO EN EL INICIO) */
/* ========================================================================== */

.pagina-inicio .carrusel-productos-container [id^="contenedor-"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    padding: 0 5px !important;
    justify-content: flex-start !important;
    width: max-content !important;
}

.pagina-inicio .carrusel-productos-container [id^="contenedor-"] article {
    min-width: 230px !important;
    max-width: 230px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
}

/* ========================================================================== */
/* 3. SEGUNDO CARRUSEL DE CATEGORIAS (SOLO EN EL INICIO) */
/* ========================================================================== */

/* --- CARRUSEL HORIZONTAL DE CATEGORÍAS (ESTILO LOOKBOOK) --- */
.seccion-looks {
    width: 100%;
    margin: 35px 0;
}

.looks-titulo {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #af7f36;
    margin-bottom: 15px;
    font-weight: 500;
}

.looks-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.looks-grid::-webkit-scrollbar {
    height: 4px;
}
.looks-grid::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.look-card {
    flex: 0 0 230px; /* Ancho fijo para cada tarjeta en celulares */
    width: 230px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.look-imagen-container {
    width: 100%;
    height: 330px; /* Altura alargada vertical tipo retrato */
    background: #1a1a1a; /* Fondo gris oscuro por si la imagen tarda en cargar */
    border-radius: 4px;
    overflow: hidden;
}

.look-imagen-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.look-titulo {
    color: #af8a45;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}

/* --- ELIMINAR LÍNEA O BORDE DE LOS ENLACES DEL CARRUSEL --- */
.look-card, 
.look-card:hover, 
.look-card:focus {
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}


/* ========================================== */
/* SECCIÓN DE IDEAS DE LOOKS (SHOP THE LOOK) */
/* ========================================== */

.seccion-ideas-looks {
    width: 100%;
    margin: 40px 0;
}

.look-principal-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.foto-look {
    width: 100%;
    height: auto;
    display: block;
}

/* Botón Hotspot Minimalista (Sin fondo ni borde) */
.hotspot-btn {
    position: absolute;
    width: 28px;
    height: 28px;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    transition: transform 0.2s ease;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.hotspot-btn:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Tarjeta flotante del producto (Popup) */
.look-popup {
    position: absolute;
    background: #fff;
    color: #000;
    width: 170px;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: none;
    z-index: 20;
    text-align: left;
}

.look-popup.active {
    display: block;
}

/* Estilos de los elementos internos de la tarjeta flotante */
.look-popup a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.look-popup-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}

.look-popup-title {
    font-size: 0.75rem;
    margin: 0 0 4px 0;
    color: #111;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.look-popup-precio {
    font-size: 0.8rem;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.look-popup-error {
    font-size: 11px;
    padding: 5px;
    color: #000;
}


/* ========================================== */
/* CONFIGURACION DE COMO SE VEN LOS PRECIOS
   Estilo general del contenedor de precios   */
/* ========================================== */

.precio-producto {
    font-weight: bold;
}

/* Tamaño grande para el precio normal cuando NO hay oferta */
.precio-producto .precio-normal {
    font-size: 1.25rem; 
    color: #fff; /* O el color que prefieras para tus precios */
}

/* Tamaño y estilo para el precio en oferta */
.precio-producto .precio-oferta {
    font-size: 1.25rem;
    color: #ffffff; /* Rojo destacado */
}

/* Mantener más pequeño el precio tachado de las ofertas */
.precio-producto .precio-tachado {
   text-decoration: line-through;
    font-size: 0.95rem;
    font-weight: normal;
    color: #888;
}
/* ETIQUETA DEL PORCENTAJE DE  DESCUENTO EN LAS IMAGENES */

.image {
    position: relative; /* Obligatorio para que la etiqueta se ubique bien dentro de la caja de la imagen */
}

.badge-descuento {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4757; /* Color rojo llamativo de oferta */
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2; /* Para asegurarnos de que quede por encima de la foto */
}




/* ========================================== */
/* ESTILOS PARA EL BOTON DE RESPIRAR FUERTE  */
/* ========================================== */


/* Estilo base y animación de "respiración" para el botón Ver Más ofertas */
.btn-respirar-fuerte {
    background: linear-gradient(135deg, #daab48, #ffad41) !important; /* Color degradado (puedes cambiarlo) */
    color: #ffffff !important; /* Texto blanco obligado */
    padding: 14px 28px !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4) !important;
    animation: latido 2s infinite ease-in-out !important;
    border: none !important;
}
/* Efecto al pasar el mouse por encima */
.btn-respirar:hover {
    transform: scale(1.05);
    animation: none; /* Se detiene la respiración al tocarlo para que responda fluido */
}

/* Animación de respiración forzada para asegurar que funcione */
@keyframes latido {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-respirar-fuerte {
    animation: latido 2s infinite ease-in-out !important;
    display: inline-block !important;
}

/* --- IGUALAR TAMAÑO DE LOS BOTONES "VER MÁS" --- */
.btn-respirar-fuerte {
    display: inline-block !important;
    width: 280px !important;    /* Todos los botones medirán 280px de ancho */
    max-width: 90% !important;  /* Por si la pantalla es muy pequeña */
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    white-space: normal !important; /* Permite que el texto salte de línea si es necesario */
    line-height: 1.2 !important;
}

/* ==========================================
 ==========================================
           AJUSTES PARA EL CARRITO HTML 
    ==========================================
   ========================================== */

/* ==========================================
   CARRITO DE COMPRAS - ESTILOS UNIFICADOS
   ========================================== */

/* 1. Tarjeta individual de cada producto en el carrito */
.carrito-item-card {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.carrito-item-card img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #444 !important;
}

.carrito-info-controls {
    flex-grow: 1 !important;
}

/* Textos dentro de la tarjeta */
.carrito-item-card h4 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin: 0 0 5px 0 !important;
}

.carrito-item-card p {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    margin: 0 0 5px 0 !important;
}

/* ==========================================
     2. CONTROLES DE CANTIDAD (+ y -) 
   ========================================== */

.carrito-botones-cantidad, 
.control-cantidad {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

/* Estilo unificado para los botones de sumar y restar (Cuadrados perfectos) */
.btn-cantidad, 
.btn-sumar, 
.btn-restar {
    width: 36px !important;       /* Ancho fijo exacto */
    height: 36px !important;      /* Alto fijo exacto */
    padding: 0 !important;        
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    border: 1px solid #555 !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    background-color: #000000 !important;
    transition: background 0.2s !important;
}

.btn-restar:hover, .carrito-botones-cantidad .btn-cantidad:first-child:hover {
    background-color: #c9302c !important; /* Rojo al pasar el mouse por restar */
}

.btn-sumar:hover, .carrito-botones-cantidad .btn-cantidad:last-child:hover {
    background-color: #449d44 !important; /* Verde al pasar el mouse por sumar */
}

/* Número de la cantidad en el medio */
.carrito-botones-cantidad span, 
.numero-cantidad {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #ffffff !important;
    min-width: 25px !important;
    text-align: center !important;
}

/* =====================================================================
   3.CONTENEDOR DERECHO Y BOTONES DE ACCION (EDITAR ✏️ Y ELIMINAR 🗑️)
   ===================================================================== */

/* Fuerza a que la columna derecha mantenga orden y no se aplaste en móviles */
.carrito-item-card div[style*="text-align: right"],
.carrito-item-card .carrito-acciones-derecha {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

/* Fila horizontal para que el lápiz y la papelera queden bien alineados uno al lado del otro */
.carrito-item-card div[style*="text-align: right"] > div:first-child {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
}

/* Tamaños simétricos para los botones de editar y eliminar */
.btn-editar, 
.btn-eliminar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
   font-size: 1.35rem !important;          /* <-- Aumentado de 1.1rem a 1.35rem para que sea más grande */
    font-weight: bold !important;          /* <-- Opcional: Le da un toque más marcado */
    outline: none !important;
    box-shadow: none !important;
    transition: transform 0.2s, background 0.2s !important;
}

.btn-editar {
    background: rgba(255, 193, 7, 0.15) !important;
    border: 1px solid #ffc107 !important;
    color: #ffc107 !important;
}

.btn-editar:hover {
    background-color: #ffc107 !important;
    color: #000000 !important;
    transform: scale(1.08) !important;
}

.btn-eliminar {
    background: rgba(201, 48, 44, 0.15) !important;
    border: 1px solid #c9302c !important;
    color: #ff6b6b !important;
}

.btn-eliminar:hover {
    background-color: #c9302c !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* =====================================================================
    4. BOTONES DE ACCION PRINCIPALES (WHATSAPP / SEGUIR COMPRANDO)
   ===================================================================== */
.btn-comprar-wa, .btn-seguir {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 20px !important;       /* Padding equilibrado para botones tipo caja */
    border-radius: 6px !important;       /* <-- CAMBIADO: De 50px (pastilla) a 6px (cuadrado con esquinas suaves) */
    font-size: 1em !important;
    gap: 8px !important;
    transition: 0.2s ease;
    border: 1px solid #555 !important;   /* Borde sutil y limpio */
    cursor: pointer;
}

/* --- botones de html de carrito para pedir por ws o seguir comprando --- */
.btn-comprar-wa { background-color: #050404 !important; color: #ffffff !important; box-shadow: none !important; }
.btn-seguir { background-color: #ffffff !important; color: #000000 !important; box-shadow: none !important;} /* Nota: Cambié el color de texto a blanco para que resalte bien en el fondo gris */

.btn-comprar-wa:hover, .btn-seguir:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
/* ==========================================
 ==========================================
           FIN DE AJUSTES DE CARRITO HTML 
    ==========================================
   ========================================== */

  /* ==========================================

   ==============================================

  CONFIGUARACIONES PARA BILLBOARDS Y CARRUSELES

   ==============================================

   ============================================== */



   /* ---1. CONFIGURACIÓN GLOBAL Y RESET DE LÍNEAS--- */



html, body {

    overflow-x: hidden !important;

}



/* Eliminar líneas divisorias y decoraciones de cabeceras que ensucian el diseño */

hr,

.major::after,

section > header.major::before,

section > header.major::after {

    display: none !important;

    border: none !important;

    background: transparent !important;

    box-shadow: none !important;

    height: 0 !important;

}



#contenedor-ofertas,

section {

    border-top: none !important;

} 


/* ==========================================================================
    Centrado y color personalizado para el título del carruse ultimo carrusel 
   ========================================================================== */

/* Centrado y color personalizado para el título del carrusel */
.titulo-carrusel-custom,
#titulo-seccion-principal {
    text-align: center !important;
    color: #b99850; /* 👈 Cambia este código HEX para ajustar el color de la letra */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Alineación del contenedor del encabezado */
header.major {
    text-align: center !important;
}

/* eliminar raya */
header.major,
header.major h2,
#titulo-seccion-principal {
    border-bottom: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

header.major::after,
header.major::before,
header.major h2::after,
header.major h2::before,
#titulo-seccion-principal::after,
#titulo-seccion-principal::before {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Por si la línea es una etiqueta <hr> interna de la plantilla */
.seccion-carrusel-home hr,
.bloque-home hr,
header.major hr {
    display: none !important;
    visibility: hidden !important;
}

/* ==========================================================================
   ESTRUCTURA CORRECTA DEL CARRUSEL (BILLBOARD) Y EL MOSAICO (FULL-WIDTH)
   ========================================================================== */

/* 1. Contenedor principal del carrusel: Forzado a ocupar toda la pantalla de lado a lado */
.billboard-container {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 0 !important; /* Esquinas totalmente cuadradas */
    margin-bottom: 30px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.billboard-container.oculto {
    display: none !important;
}

/* 2. La pista que alinea los slides de forma horizontal */
.billboard-track {
    display: flex !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

/* 3. Cada diapositiva (Slide) individual dentro del carrusel */
.billboard-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
}

/* Adaptación para slides de altura personalizada */
.billboard-slide.slide-mosaico,
.billboard-slide.slide-imagen-unica {
    height: auto !important;
    max-height: none !important;
}

/* ==========================================================================
   ESTILO DEL MOSAICO TRIPLE DE 3 COLUMNAS (SLIDE 1)
   ========================================================================== */

.banner-mosaico-container {
    display: flex !important;
    gap: 4px !important; /* Separación mínima y moderna entre fotos */
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* Panel individual */
.banner-panel {
    flex: 1 !important;
    position: relative !important;
    height: 520px !important;
    overflow: hidden !important;
}

.banner-panel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
    display: block !important;
}

.banner-panel-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==========================================================================
   ESTILO PARA EL SLIDE DE IMAGEN ÚNICA (SLIDE 2)
   ========================================================================== */

.banner-imagen-unica-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 520px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.banner-imagen-unica-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* ==========================================================================
   ESTILOS DE TEXTOS Y BOTONES SUPERPUESTOS (ESTILO REFERENCIA)
   ========================================================================== */

.banner-overlay-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.25) !important; /* Oscurecido sutil para resaltar texto */
    padding: 15px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.banner-overlay-content h2 {
    color: #d3982a !important; /* Blanco limpio como la referencia */
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    text-transform: lowercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 25px !important;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.banner-overlay-content h2 strong {
    font-weight: 700 !important;
}

/* Botón estilo elegante / nude igual a la foto de referencia */
.btn-shop-now {
    background-color: #000000 !important; /* Tono nude / beige claro elegante */
    color: #bd9339 !important;            /* Texto oscuro contrastante */
    padding: 14px 40px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 0px !important;        /* Cuadrado y moderno */
    text-decoration: none !important;
    border: none !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.btn-shop-now:hover {
    background-color: #1a1a1a !important; /* Invierte colores al pasar el mouse */
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Forzar que la palabra en negrita (strong) también tome el color dorado */
.banner-overlay-content h2 strong {
    color: #bd9339 !important; /* O el código del color dorado que estés usando */
    background: transparent !important; /* Por si tiene algún fondo blanco por error */
}


/* ==========================================================================
   SEGUNDO BILLBOARD: BAJAR TEXTO SOBRE EL VESTIDO (FORZADO)
   ========================================================================== */

.billboard-denim-exacto {
    position: relative !important;
    width: 100% !important;
    height: 480px !important; 
    overflow: hidden !important;
    margin: 30px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.img-fondo-billboard {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
}

/* Movemos directamente toda la caja de texto hacia abajo */
.denim-inner-box {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    padding: 0 20px !important;
    max-width: 450px !important;
    transform: translateY(90px) !important; /* <--- ¡ESTO LO EMPUJA 90PX ABAJO! */
}

/* Título */
.denim-titulo {
    font-family: 'Times New Roman', serif, Georgia !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    color: #bd9a3b !important; /* Blanco para resaltar sobre el vestido */
    margin-bottom: 4px !important;
    text-transform: none !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7) !important; /* Sombra oscura para que se lea perfecto */
}

/* Subtítulo */
.denim-subtitulo {
    font-size: 0.85rem !important;
    font-weight: 300 !important;
    color: #bd9a3b !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

/* Botón "Shop collection" */
.btn-nude-collection,
.btn-nude-collection:hover,
.btn-nude-collection:focus,
.btn-nude-collection:active {
    display: inline-block !important;
    background-color: #000000 !important;
    color: #bd9a3b !important;
    padding: 10px 28px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    border: none !important;         /* <--- Adiós a los bordes */
    border-bottom: none !important;  /* <--- Adiós a la línea inferior */
    outline: none !important;        /* <--- Adiós al contorno de enfoque */
}
/* ==========================================================================
   ADAPTACIÓN PARA DISPOSITIVOS MÓVILES (Misma altura en ambos slides)
   ========================================================================== */

@media (max-width: 768px) {
    .banner-panel,
    .banner-imagen-unica-container {
        height: 380px !important; /* 👈 Altura uniforme en celulares */
    }
    
    .banner-overlay-content h2 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    .btn-shop-now {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
    }
}


/* ==========================================================================
   4. CARRUSELES Y ESPACIADO GENERAL (SOLO PÁGINA DE INICIO)
   ========================================================================== */

.pagina-inicio .carrusel-productos-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    margin-top: 10px;
}

.pagina-inicio .carrusel-productos-container::-webkit-scrollbar {
    display: none;
}

/* Compactar espacio vertical entre secciones */
#seccion-ver-mas, 
div[style*="text-align: center"] {
    margin: 10px 0 20px 0 !important;
}

section {
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
}

section header.major {
    margin-bottom: 15px !important;
}


/* ==========================================================================
   5. MEDIA QUERIES (PANTALLAS GRANDES / TABLET / PC)
   ========================================================================== */

@media screen and (min-width: 768px) {
    .billboard-content h2 {
        font-size: 1.2rem !important;
    }
}
 /* ====================================================
   =====================================================
   FIN DE CONFIGUARACIONES PARA BILLBOARDS Y CARRUSELES 
   =====================================================
   ===================================================== */


/* ========================================== */
/* SECCIÓN: DESIGNED FOR YOUR COMFORT (CARRUSEL OSCURO) */
/* ========================================== */

.seccion-comfort {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.comfort-header {
    margin-bottom: 30px;
}

.btn-siguenos {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #000000;
    border-radius: 4px;
    text-decoration: none;
    color: #cfbd56;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
}

.btn-siguenos:hover {
    background: #cfbd56;
    color: #000;
}

.comfort-handle {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color:#cfbd56;
}

.comfort-titulo {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #cfbd56;
}

/* --- CARRUSEL HORIZONTAL --- */
.comfort-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px 25px 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    text-align: left;
}

.comfort-grid::-webkit-scrollbar {
    display: none;
}

.comfort-card {
    flex: 0 0 280px; /* Ancho fijo de cada tarjeta para el carrusel */
    scroll-snap-align: start;
    background: #000000;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222; /* Un borde sutil para que resalte sobre fondos oscuros */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comfort-icon {
    margin-bottom: 20px;
    color: #cfbd56;
}

.comfort-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #cfbd56;
}

.comfort-card p {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 20px;
}

.comfort-btn-whatsapp {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid #d1ba54;
    border-radius: 4px;
    text-decoration: none;
    color: #d1ba54;
    font-size: 0.9rem;
    text-align: center;
    transition: background 0.3s, color 0.3s;
    align-self: flex-start;
}

.comfort-btn-whatsapp:hover {
    background: #d1ba54;
    color: #000;
}


/* ==========================================================
   2. AGRANDAR EL BOTÓN DE LAS 3 RAYITAS (MENÚ)
   ========================================================== */
/* Aumenta el tamaño del contenedor del botón */
#header .toggle,
.header-left .toggle,
body > .toggle {
    transform: scale(1.3) !important; /* Aumenta un 30% el tamaño general */
    transform-origin: left center;
    margin-right: 15px !important;
}

/* Si prefieres ajustarle la letra/icono directamente: */
#header .toggle::before,
.header-left .toggle::before,
body > .toggle::before {
    font-size: 1.6rem !important; /* Hace las 3 rayitas más gruesas/grandes */
}

/* Forzar visibilidad del botón de 3 rayitas (Menú) */
#header .toggle,
.header-left .toggle,
body > .toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10001 !important;
}

/* ==========================================================
   AJUSTES FINALES SECCIÓN CONTACTO: Iconos grises y textos dorados
   ========================================================== */

/* 1. Devolver los iconos (dibujos) a su color gris original de la plantilla */
.contact .icon::before,
.contact i {
    color:  #d1b648 !important; /* Hereda el color gris original */
}

/* 2. Poner en color dorado el título, el párrafo y los enlaces de contacto */
section h2,
.contact p,
.contact a {
    color: #b8b5ae !important; /* Color dorado elegante */
}

/* 3. Eliminar líneas punteadas o rayas en los enlaces de contacto */
.contact a {
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Efecto hover suave para los enlaces de contacto */
.contact a:hover {
    color: #d1b648 !important; 
}

ul.contact li {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
}

/* ==========================================================
   DORADO PARA TÍTULO "MENÚ" Y PÁRRAFO DE DUDAS
   ========================================================== */

/* 1. Título "Menú" en el panel lateral */
#menu h2,
#menu h3,
#menu .title {
    color: #d4af37 !important;
}

/* 2. Párrafo de dudas ("¿Tienes dudas?...") en el menú */
#menu p,
.contact p {
    color: #d4af37 !important;
}
/* ==========================================================
   FORZAR COLOR DORADO EN EL PÁRRAFO DE CONTACTO
   ========================================================== */
#menu p,
section > p {
    color: #d4af37 !important;
}

/* ==========================================================
   ESTILOS PARA EL CONVERSOR DE MONEDAS
   ========================================================== */
.conversor-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    margin: 30px auto;
    text-align: center;
    color: #ebdcd5; /* Tono nude de tu paleta */
}

.conversor-container h3 {
    color: #d4af37; /* Dorado elegante */
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.conversor-sub {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.conversor-inputs-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.input-grupo-moneda {
    flex: 1;
    text-align: left;
}

.input-grupo-moneda label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: #ccc;
}

.input-grupo-moneda input {
    width: 100%;
    padding: 8px 10px;
    background: #252525;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.input-grupo-moneda input:focus {
    border-color: #d4af37;
    outline: none;
}

.conv-signo {
    font-size: 1.2rem;
    color: #d4af37;
    margin-top: 20px;
}

.tasa-info-footer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #aaa;
    border-top: 1px solid #2a2a2a;
    padding-top: 10px;
}


/* ==========================================================================
   MEJORAS DEL MODAL DE PRODUCTOS (MÓVIL Y PC) - MISMO DISEÑO Y COLORES
   ========================================================================== */

body.modal-abierto {
    overflow: hidden !important;
}

.modal-overlay {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 15px;
    box-sizing: border-box;
}

.modal-contenido {
    animation: modalFadeIn 0.22s ease-out;
    border: 1px solid #38332a !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75) !important;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-galeria {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-imagen-principal {
    width: 100%;
    background: #111111;
    border: 1px solid #292929;
    border-radius: 8px;
    padding: 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.img-modal-detalle {
    margin: 0 auto !important;
    transition: transform 0.25s ease;
}

.modal-info {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#modal-titulo {
    font-size: 1.25rem !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

#modal-descripcion {
    color: #cccccc !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 0 10px 0 !important;
}

#modal-detalles {
    list-style: none !important;
    padding: 10px 14px !important;
    margin: 0 0 12px 0 !important;
    background: #141414 !important;
    border: 1px solid #2b2b2b !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    color: #dddddd !important;
}

#modal-detalles li {
    padding: 3px 0 !important;
    position: relative;
}

#modal-detalles li::before {
    content: "•";
    color: #d4af37;
    font-weight: bold;
    margin-right: 8px;
}

#modal-precio {
    font-size: 1.15rem !important;
    margin: 4px 0 12px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-opciones-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 8px 0 14px 0 !important;
}

.modal-campo-grupo {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.modal-campo-grupo label {
    margin-bottom: 6px !important;
    color: #e0e0e0 !important;
    font-size: 0.88rem !important;
}

.modal-color-tag {
    color: #d4af37 !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    margin-left: 4px !important;
}

.color-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 2px solid #555555 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    flex-shrink: 0 !important;
}

.color-circle:hover {
    transform: scale(1.08) !important;
}

.color-circle.activo {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35) !important;
    transform: scale(1.1) !important;
}

.modal-cantidad-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.modal-stock-badge {
    font-size: 0.78rem !important;
    color: #d4af37 !important;
    background: rgba(212, 175, 55, 0.12) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

#modal-producto ul.actions {
    margin: 10px 0 0 0 !important;
    width: 100% !important;
}

#modal-producto ul.actions li {
    width: 100% !important;
    padding: 0 !important;
}


/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE PARA TABLET Y PC (SIN TOCAR MÓVIL NI COLORES)
   ========================================================================== */

@media screen and (min-width: 768px) {

    /* 1. MODAL DE PRODUCTO EN PC: Diseño amplio a 2 columnas */
    #modal-producto .modal-contenido {
        max-width: 840px !important;
        padding: 35px 35px 30px 35px !important;
    }

    #modal-producto .modal-body-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 32px !important;
    }

    #modal-producto .modal-galeria {
        flex: 0 0 46% !important;
        max-width: 46% !important;
    }

    #modal-producto .modal-imagen-principal {
        height: 360px !important;
        padding: 12px !important;
    }

    #modal-producto img.img-modal-detalle {
        max-width: 100% !important;
        height: 100% !important;
        max-height: 336px !important;
    }

    #modal-producto .modal-miniatura-img {
        width: 68px !important;
        height: 68px !important;
    }

    #modal-producto .modal-info {
        flex: 1 1 54% !important;
        max-width: 54% !important;
    }

    #modal-titulo {
        font-size: 1.5rem !important;
    }

    /* 2. HEADER EN PC: Mejor proporción y alineación limpia */
    header#header.header-limpio {
        padding: 16px 24px !important;
    }

    .header-inner-content {
        grid-template-columns: 140px 1fr 140px !important;
        max-width: 1360px !important;
    }

    .logo-texto {
        font-size: 1.35rem !important;
        letter-spacing: 2.5px !important;
    }

    .header-cart-link {
        font-size: 1.25rem !important;
    }

    .cart-badge-header {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.68rem !important;
        top: -8px !important;
        right: -10px !important;
    }

    .header-right .icons {
        transform: none !important;
        gap: 18px !important;
    }

    .header-right .icons a {
        font-size: 1.2rem !important;
        width: 28px !important;
        height: 28px !important;
    }

    /* 3. BILLBOARD PRINCIPAL Y SECUNDARIO EN PC (Sin desbordar el menú lateral) */
    .billboard-container {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .billboard-container::-webkit-scrollbar {
        display: none !important;
    }

    .banner-panel,
    .banner-imagen-unica-container {
        height: 540px !important;
    }

    .banner-overlay-content h2 {
        font-size: 2.1rem !important;
        margin-bottom: 25px !important;
    }

    .billboard-denim-exacto {
        height: 520px !important;
        border-radius: 8px !important;
    }

    .denim-titulo {
        font-size: 2.3rem !important;
    }

    .denim-subtitulo {
        font-size: 1.05rem !important;
    }

    /* 4. GRILLA DE PRODUCTOS EN CATEGORÍAS Y BÚSQUEDA (Tablet / Laptop: 3 columnas) */
    [id^="contenedor-"] {
        gap: 20px !important;
        justify-content: flex-start !important;
        padding: 10px 0 !important;
    }

    [id^="contenedor-"] article {
        width: calc(33.333% - 14px) !important;
        padding: 14px !important;
        margin: 0 !important;
        transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    [id^="contenedor-"] article:hover {
        transform: translateY(-4px) !important;
        border-color: #bd9339 !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5) !important;
    }

    [id^="contenedor-"] article .image {
        height: 230px !important;
        margin-bottom: 12px !important;
    }

    [id^="contenedor-"] article h3,
    [id^="contenedor-"] article h2,
    [id^="contenedor-"] article .titulo-producto {
        font-size: 0.98rem !important;
        margin-bottom: 8px !important;
    }

    [id^="contenedor-"] article p,
    [id^="contenedor-"] article .precio-container {
        font-size: 0.9rem !important;
    }

    /* 5. CARRUSEL DE PRODUCTOS EN EL HOME EN PC */
    .pagina-inicio .carrusel-productos-container [id^="contenedor-"] {
        gap: 20px !important;
        margin: 0 !important;
        padding: 10px 8px !important;
    }

    .pagina-inicio .carrusel-productos-container [id^="contenedor-"] article {
        min-width: 255px !important;
        max-width: 255px !important;
    }

    .pagina-inicio .carrusel-productos-container [id^="contenedor-"] article .image {
        height: 240px !important;
    }

    /* 6. SECCIÓN COMFORT (Asesorías, Envíos, Devoluciones) EN PC: 3 Columnas Iguales */
    .comfort-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        overflow-x: visible !important;
    }

    .comfort-card {
        flex: initial !important;
        width: 100% !important;
    }

    /* 7. CARRITO DE COMPRAS EN PC: Diseño centrado y más amplio */
    #tabla-carrito-container,
    #tabla-carrito-container + hr + .actions {
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
    }

    .carrito-item-card img {
        width: 96px !important;
        height: 96px !important;
    }
}

@media screen and (min-width: 1024px) {

    /* CONTENEDOR INTERNO PRINCIPAL EN PC */
    #main > .inner {
        padding: 0 3.5em 2em 3.5em !important;
        max-width: 1440px !important;
    }

    /* IDEAS DE LOOKS (3 OUTFITS INTERACTIVOS): En PC se ven los 3 uno al lado del otro */
    .ideas-looks-grid-pc {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        align-items: start !important;
        margin: 45px 0 !important;
    }

    .ideas-looks-grid-pc .seccion-ideas-looks {
        margin: 0 !important;
    }

    .ideas-looks-grid-pc .look-principal-container {
        max-width: 100% !important;
        height: auto !important;
    }

    .ideas-looks-grid-pc .foto-look {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

@media screen and (min-width: 1150px) {

    /* GRILLA DE PRODUCTOS EN CATEGORÍAS Y BÚSQUEDA (Monitores PC: 4 columnas) */
    [id^="contenedor-"] article {
        width: calc(25% - 15px) !important;
    }

    [id^="contenedor-"] article .image {
        height: 260px !important;
    }

    /* CATEGORÍAS DESTACADAS ("LO MÁS VENDIDO" - 5 tarjetas) EN PC: Ocupan todo el ancho */
    .categorias-slider-container {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 18px !important;
        overflow-x: visible !important;
    }

    .categoria-card {
        flex: initial !important;
        width: 100% !important;
    }

    .categoria-card-img-wrapper {
        height: 320px !important;
    }

    /* SEGUNDO CARRUSEL ("CHOOSE YOUR FAVORITE" - 5 tarjetas) EN PC: 5 columnas simétricas */
    .looks-grid {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 18px !important;
        overflow-x: visible !important;
    }

    .look-card {
        flex: initial !important;
        width: 100% !important;
    }

    .look-imagen-container {
        height: 320px !important;
    }
}


/* ==========================================================================
   ACORDEÓN MULTINIVEL DEL MENÚ LATERAL (CATEGORÍA DAMA Y SUBCATEGORÍAS)
   ========================================================================== */
#menu ul ul {
    display: none;
    margin: 0.4em 0 0.8em 0 !important;
    padding-left: 1em !important;
    border-left: 1px solid rgba(212, 175, 55, 0.25) !important;
}

#menu ul a.opener.active + ul,
#menu ul span.opener.active + ul {
    display: block !important;
}

#menu > ul > li > ul > li > span.opener {
    color: #e2cc4c !important;
    font-weight: 600 !important;
    font-size: 0.85em !important;
    padding: 0.5em 0 !important;
}

#menu > ul > li > ul > li > ul > li > a {
    font-size: 0.82em !important;
    color: #cccccc !important;
    padding: 0.45em 0 !important;
}

#menu > ul > li > ul > li > ul > li > a:hover {
    color: #d4af37 !important;
}


/* ==========================================================================
   CORRECCIONES VISUALES VS3 (SELECT TALLAS, HOTSPOTS, BANNERS Y CARRUSELES PC)
   ========================================================================== */

/* 1. Corrige las letras cortadas en el select de Talla y selects de modales */
.modal-contenido select,
#modal-select-talla,
#modal-whatsapp select {
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 38px 0 14px !important;
    line-height: 44px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
}

/* 2. Quita el rectángulo azul de la plantilla en los botones '+' de Ideas de Looks */
button.hotspot-btn,
.hotspot-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 30px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1.5px solid #d4af37 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
    font-size: 20px !important;
    font-family: Arial, sans-serif !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
}

button.hotspot-btn:hover,
.hotspot-btn:hover {
    background: #d4af37 !important;
    color: #000000 !important;
    transform: translate(-50%, -50%) scale(1.15) !important;
}

/* 3. Evita que los banners verticales o el logo se corten en monitores de PC */
@media screen and (min-width: 768px) {
    /* Primer Billboard Slide 1 (Logo KGH): mostrar completo sin recortar arriba/abajo */
    #billboard-principal .banner-imagen-unica-container {
        background: #080808 !important;
        height: 480px !important;
    }

    #billboard-principal .banner-imagen-unica-container img {
        object-fit: contain !important;
        object-position: center !important;
    }

    /* Segundo Billboard (Vestido Azul): mostrar la prenda completa centrada con fondo elegante */
    .billboard-denim-exacto {
        height: 540px !important;
        background: radial-gradient(circle at center, #1f1d1a 0%, #0c0c0c 100%) !important;
        border: 1px solid #26231d !important;
    }

    .billboard-denim-exacto .img-fondo-billboard {
        object-fit: contain !important;
        object-position: center !important;
    }

    /* Activar barra de desplazamiento dorada en el carrusel de productos en PC */
    .pagina-inicio .carrusel-productos-container {
        scrollbar-width: thin !important;
        scrollbar-color: #bd9339 #1a1a1a !important;
        padding-bottom: 18px !important;
    }

    .pagina-inicio .carrusel-productos-container::-webkit-scrollbar {
        display: block !important;
        height: 7px !important;
    }

    .pagina-inicio .carrusel-productos-container::-webkit-scrollbar-track {
        background: #1a1a1a !important;
        border-radius: 4px !important;
    }

    .pagina-inicio .carrusel-productos-container::-webkit-scrollbar-thumb {
        background: #bd9339 !important;
        border-radius: 4px !important;
    }
}

/* 4. Botones de flechas (< y >) para desplazar carruseles cómodamente en PC */
.carrusel-wrapper-pc {
    position: relative !important;
    width: 100% !important;
}

.carrusel-arrow-btn {
    display: none;
}

@media screen and (min-width: 768px) {
    .carrusel-arrow-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(15, 15, 15, 0.85) !important;
        color: #d4af37 !important;
        border: 1px solid #d4af37 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
        cursor: pointer !important;
        z-index: 25 !important;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
    }

    .carrusel-arrow-btn:hover {
        background: #d4af37 !important;
        color: #000000 !important;
        transform: translateY(-50%) scale(1.08) !important;
    }

    .carrusel-arrow-btn.prev {
        left: 10px !important;
    }

    .carrusel-arrow-btn.next {
        right: 10px !important;
    }
}
