/* ==========================================================================
   ESTILOS AISLADOS: CATÁLOGO GENERAL (Colchones FLEX)
   ========================================================================== */

/* Área de Cabecera y Círculos Orientativos (Solo visuales) */
.aq-breadcrumb-area {
    background-color: var(--brand-purple-light-bg, #f8f5fa);
    border-bottom: 1px solid var(--border-subtle, #eaeaea);
}

.aqf-categories-wrap {
    gap: 18px !important;
}

.aqf-categories-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default !important;
}

.aqf-categories-item .aqf-categories-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
}

/* Círculo contenedor de imagen orientativa */
.aqf-categories-img {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background-color: var(--bg-white, #fff);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aqf-categories-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Texto de la categoría superior */
.aqf-categories-item span {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark, #222);
    white-space: nowrap;
}

/* ESTADO ACTIVO DE CÍRCULOS (Borde Morado Corporativo) */
.aqf-categories-item.active .aqf-categories-img {
    border-color: var(--brand-purple, #613493);
    box-shadow: 0 0 0 3px rgba(97, 52, 147, 0.2), 0 6px 16px rgba(97, 52, 147, 0.2);
    transform: translateY(-2px);
}

.aqf-categories-item.active .aqf-categories-img img {
    transform: scale(1.04);
}

.aqf-categories-item.active > .aqf-categories-content > span {
    color: var(--brand-purple, #613493);
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .aqf-categories-img {
        width: 62px;
        height: 62px;
    }
    .aqf-categories-item span {
        font-size: 0.75rem;
    }
    .aqf-categories-wrap {
        justify-content: center !important;
    }
}

/* ==========================================================================
   SIDEBAR DE CATEGORÍAS - DISEÑO LIMPIO Y CORPORATIVO
   ========================================================================== */

.aq-product-sidebar {
    background-color: var(--bg-white, #fff);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle, #eaeaea);
}

.aq-product-sidebar-widget-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-purple-light-bg, #f4f0f8);
}

.aq-product-sidebar-widget-title {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: var(--text-dark, #141414) !important;
    margin: 0 !important;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.aq-product-sidebar-widget-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aq-product-sidebar-widget-categories li {
    position: relative;
}

.aq-cat-row {
    padding: 4px 0;
}

/* RESET COMPLETO DE ENLACES DEL SIDEBAR (Elimina azul y subrayado feo) */
.aq-product-sidebar-widget-categories a.aq-cat-link {
    display: inline-block;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.9375rem;
    color: var(--text-dark, #333) !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Efecto Hover: Desplazamiento a la derecha y color morado */
.aq-product-sidebar-widget-categories a.aq-cat-link:hover {
    color: var(--brand-purple, #613493) !important;
    transform: translateX(5px);
}

/* Estado Activo en el Menú */
.aq-product-sidebar-widget-categories a.aq-cat-link.active {
    color: var(--brand-purple, #613493) !important;
    font-weight: 700 !important;
}

/* Iconos de Toggle (+ / -) */
.aq-toggle-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark, #444);
    font-size: 0.8rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.aq-toggle-icon:hover {
    background-color: var(--brand-purple-light-bg, #f4f0f8);
    color: var(--brand-purple, #613493);
}

.aq-toggle-icon[aria-expanded="true"] i::before {
    content: "\f068" !important; /* Icono menos (fa-minus) */
}

/* Anidación de Subcategorías */
.aq-product-sidebar-widget-categories ul ul {
    padding-left: 14px;
    margin-top: 2px;
    border-left: 1px dashed var(--border-subtle, #e0e0e0);
}

.aq-product-sidebar-widget-categories ul ul a.aq-cat-link {
    font-size: 0.875rem;
    color: #555 !important;
}

.aq-product-sidebar-widget-categories ul ul ul {
    padding-left: 12px;
}

.aq-product-sidebar-widget-categories ul ul ul a.aq-cat-link {
    font-size: 0.8125rem;
    color: #777 !important;
}

/* Botón de Filtro Móvil */
.aq-product-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--brand-purple-light-bg, #f4f0f8);
    color: var(--brand-purple, #613493);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(97, 52, 147, 0.2);
}









/* ==========================================================================
   NUEVAS TARJETAS DE PRODUCTOS (GRID DE CATÁLOGO)
   ========================================================================== */
.aq-catalog-card {
    background-color: var(--bg-white, #fff);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-subtle, #eaeaea);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aq-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(97, 52, 147, 0.12);
}

.aq-catalog-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Proporción horizontal ideal para colchones y camas */
    overflow: hidden;
    background-color: var(--brand-purple-light-bg, #f8f5fa);
}

.aq-catalog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.aq-catalog-card:hover .aq-catalog-img-box img {
    transform: scale(1.06);
}

/* Cápsula / Badge de categoría dentro de la imagen */
.aq-catalog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--brand-purple, #613493);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase !important; /* Fuerza las mayúsculas en todas las cápsulas */
    letter-spacing: 0.5px;
}

.aq-catalog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.aq-catalog-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark, #141414);
    margin-bottom: 6px;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.aq-catalog-card-line {
    font-size: 0.8125rem;
    color: var(--brand-purple, #613493);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.aq-catalog-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.aq-catalog-card-footer {
    margin-top: auto;
}








