/* ==================================================
   CATÁLOGO LUXMODA
================================================== */


/* ==================================================
   TARJETA BASE
================================================== */

.lux-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: .3s;
}

.lux-card:hover {
    transform: translateY(-5px);
}

.lux-card img {
    width: 100%;
    display: block;
}

.lux-info {
    padding: 18px;
}

.lux-title {
    color: #613536;
    font-size: 20px;
    font-weight: 600;
}

.lux-price {
    color: #AD6C29;
    font-size: 18px;
    font-weight: bold;
}

.lux-btn {
    display: inline-block;
    margin-top: 15px;
    background: #AD6C29;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
}

.lux-btn:hover {
    background: #613536;
}


/* ==================================================
   ESPACIO SUPERIOR & PRODUCTOS DESTACADOS
================================================== */

#productos-destacados {
    padding-top: 50px !important;
}

#productos-destacados .section-header {
    text-align: center !important;
}

#productos-destacados .section-subtitle {
    display: block !important;
    font-size: 20px !important;
    color: var(--color-terciario) !important;
    letter-spacing: 3px !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

#productos-destacados .section-header h2 {
    font-size: 42px !important;
    color: var(--color-secundario) !important;
    letter-spacing: 2px !important;
    margin-bottom: 0 !important;
}

#productos-destacados .section-header p {
    max-width: 600px !important;
    color: var(--color-secundario) !important;
    margin: 0 auto !important;
}

#productos-destacados .producto-card img {
    width: 270px !important;
    height: 275px !important;
    margin-top: 10px !important;
    object-fit: contain !important;
}


/* ==================================================
   BOTÓN PRODUCTOS DESTACADOS
================================================== */

#productos-destacados .section-footer {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 20px auto 30px !important;
}

#productos-destacados .btn-principal {
    padding: 6px 28px !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
}


/* ==================================================
   BADGE
================================================== */

.producto-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-terciario);
    color: #fff;
    font-size: 9px !important;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 1px 5px !important;
    border-radius: 10px;
}


/* ==================================================
   CONTENEDOR PRINCIPAL DEL CATÁLOGO
================================================== */

#catalogo {
    width: 100%;
    padding: var(--section-padding, 60px 20px);
    box-sizing: border-box;
}

/* 
   CONTAINER DEL CATÁLOGO (Corregido para centrar 
   e impedir desplazamiento lateral en Astra)
*/
#catalogo > .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ==================================================
   GRID DEL CATÁLOGO
================================================== */

#catalogo .catalogo-grid {
    width: 100%;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
    justify-items: center;
}


/* ==================================================
   TARJETAS DEL CATÁLOGO
================================================== */

#catalogo .lux-card,
#catalogo .producto-card {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}

#catalogo .lux-card img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: contain;
}


/* ==================================================
   INFORMACIÓN DE LA TARJETA
================================================== */

#catalogo .lux-info {
    padding: 18px;
}

#catalogo .lux-title {
    color: var(--color-secundario);
    font-size: 20px;
    font-weight: 600;
}

#catalogo .lux-price {
    color: var(--color-terciario);
    font-size: 18px;
    font-weight: 700;
}


/* ==================================================
   RESPONSIVE — TABLET GRANDE
================================================== */

@media (max-width: 1200px) {
    #catalogo > .container {
        max-width: 1100px !important;
    }

    #catalogo .catalogo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 992px) {
    #catalogo > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #catalogo .catalogo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ==================================================
   FILTROS DE CATEGORÍA
================================================== */

.catalogo-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 40px;
    width: 100%;
    max-width: 1000px;
}

.btn-filtro {
    background: transparent;
    border: 1.5px solid var(--color-secundario, #613536);
    color: var(--color-secundario, #613536);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filtro:hover,
.btn-filtro.active {
    background: var(--color-secundario, #613536);
    color: #ffffff;
}

.producto-card.oculto {
    display: none !important;
}

/* ==================================================
   BOTONES DE FILTRO DE CATEGORÍAS
================================================== */

.catalogo-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 40px;
    width: 100%;
    max-width: 1000px;
}

.btn-filtro {
    background: transparent;
    border: 1.5px solid var(--color-secundario, #613536);
    color: var(--color-secundario, #613536);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filtro:hover,
.btn-filtro.active {
    background: var(--color-secundario, #613536);
    color: #ffffff;
}

/* Ocultar tarjetas filtradas */
.producto-card.oculto {
    display: none !important;
}


/* ==================================================
   RESPONSIVE — MÓVIL
================================================== */

@media (max-width: 600px) {
    #catalogo > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #catalogo .catalogo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #catalogo .lux-card img {
        height: 280px;
    }
}