.catalogo {
    padding: 80px 8%;
    background: #fff;
}

@media (max-width: 991px) {
    .filters {
        display: none;
    }
}

.catalogo-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 46px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #e3ab46;
    margin-bottom: 50px;
    color: #333;
    display: block;
}

.catalogo-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
}

/* FILTROS */
.filters {
    display: flex;
    flex-direction: column;
}

.filters-top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.filter-group h4 {
    font-family: 'Gloock', serif;
    font-size: 23px;
    margin-bottom: 12px;
    color: #1f2f2a;
}

.zue-filters h4 {
    font-size: 15px;
    margin-top: 20px;
    color: #e3ab46;
}

.zue-filters label,
.zue-filters span {
    color: #e6e6e6;
}

.zue-filters input[type="range"] {
    accent-color: #e3ab46;
}

.filter-group button {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d8d8d8;
    padding: 12px 0;
    text-align: left;

    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 15px;
    color: #6a6a6a;

    cursor: pointer;
    transition: all .3s ease;
}

.filter-group button:hover {
    color: #e3ab46;
    padding-left: 6px;
}

/* separador entre BLOQUES */
.separator {
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #ccc,
        #ccc 6px,
        transparent 6px,
        transparent 12px
    );
    margin: 32px 0;
}

.price-filter {
    width: 100%;
}

/* HEADER */
.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-header h4 {
    font-family: 'Gloock', serif;
    font-size: 18px;
}

.price-header .arrow {
    font-size: 14px;
}

/* PRECIOS */
.price-values {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}

.price-values span {
    background: transparent;
    /* Quitamos el fondo negro */
    color: #333;
    /* Color de texto suave */
    padding: 5px 12px;
    border: 1px solid #e3ab46;
    /* Margen delgada dorada */
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    /* Thin */
    font-style: italic;
    font-size: 13px;
    min-width: 60px;
    text-align: center;
}

/* BOTÓN */
.price-btn {
    width: 100%;
    height: 45px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent !important; 
    border: 1px solid #e3ab46 !important; 
    color: #e3ab46 !important;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all .4s ease;
    margin-top: 20px;
    padding: 0; 
}

.price-btn:hover {
    background: #000 !important;
    color: #e3ab46 !important;
    border-color: #000 !important;
}

.products-count {
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 13px;
    color: #555;
}

/* COLLAGE */
.essences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 18px;
    grid-auto-flow: dense;
}

.essence-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .35s ease;
}

.essence-item.tall {
    grid-row: span 2;
}

.essence-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all .45s ease;
}

/* TEXTO SOBRE LA IMAGEN */
.essence-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .55),
            rgba(0, 0, 0, 0));
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    transition: opacity .35s ease;
}

.essence-overlay span {
    font-size: 20px;
    font-weight: 600;
}

.essence-overlay small {
    font-size: 14px;
    font-weight: 300;
}

/* HOVER */
.essence-item:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

.essence-item:hover .essence-overlay {
    opacity: 0;
}

/* CLICK */
.essence-item:active {
    transform: scale(0.97);
}

/* CIRCULO + */
.essence-item .plus-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e3ab46;
    color: #e3ab46;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.essence-item .plus-btn:hover {
    background: #000;
    color: #e3ab46;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(227, 171, 70, 0.6);
}

.ui-slider {
    height: 4px !important;
    background: #ccc !important;
    border: none !important;
}

.ui-slider-range {
    background: #e3ab46 !important;
}

.ui-slider-handle {
    width: 16px !important;
    height: 16px !important;
    background: #fff !important;
    border: 1px solid #e3ab46 !important;
    border-radius: 50% !important;
    top: -6px !important;
    cursor: pointer !important;
}

.brand-link {
    display: block; /* Uno debajo del otro */
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 5px 0;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    cursor: pointer;
    transition: color 0.3s;
}

.brand-link:hover {
    color: #e3ab46;
}

.filter-header h4 {
    margin-bottom: 10px;
    font-family: 'Gloock', serif;
}

/* Hover normal */
.filter-btn {
    background: transparent;
    color: #000;
    border: none;
    cursor: pointer;
    margin: 3px 0;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.2s;
}
.filter-btn:hover {
    color: #d4a047; /* dorado al pasar el mouse */
}

/* Letra seleccionada con tick */
.filter-btn.selected {
    color: #b38b00; /* dorado oscuro */
}
.filter-btn.selected::after {
    content: "✓";
    margin-left: 5px;
    font-weight: 700;
    color: #b38b00; /* mismo dorado oscuro */
}

.page-btn { 
    padding:6px 12px; 
    margin:2px; 
    border:none; 
    background:#000; 
    color:#d4a047; 
    cursor:pointer; 
    border-radius:6px; 
}

.page-btn.active { 
    background:#d4a047; 
    color:#000; 
}

.zue-filters {
    background: #000;
    color: #e3ab46;
    padding: 20px;
}

.zue-filters .offcanvas-title {
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 1px;
}

.zue-filters h4 {
    font-family: 'Gloock', serif;
    color: #e3ab46;
    font-size: 16px;
    margin-bottom: 8px;
}

.zue-filters .filter-btn {
    background: transparent;
    color: #e3ab46;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    width: 100%;
    text-align: left;
}

.zue-filters .filter-btn.selected {
    background: #e3ab46;
    color: #000;
}

.btn-filtros-zue {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: #000;
    color: #e3ab46;
}

#filtersZue.offcanvas-start {
    top: 190px; 
    height: calc(100% - 60px); 
}

#filtersZue .price-values span {
    color: #e3ab46; 
    border-color: #e3ab46; 
    font-weight: 500; 
}

/* Tablets: hasta 768px */
@media (max-width: 991px) {
    .catalogo {
        padding: 60px 5%;
        margin-top: 35px;
    }
    
#filtersZue.offcanvas-start {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    overflow-y: auto;
    background: #000;
    z-index: 10000; /* mayor que el header 9999 */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

#filtersZue.offcanvas-start.show {
    transform: translateX(0);
}

    .catalogo-title {
        font-size: 36px;
        margin-bottom: 0px;
    }

    .catalogo-layout {
        grid-template-columns: 1fr; /* ya lo tenías */
        gap: 20px; /* menos espacio entre bloques */
    }

    .filters {
        display: none; /* ya lo tenías */
    }

    .filter-group h4 {
        font-size: 20px;
    }

    .filter-group button,
    .brand-link {
        font-size: 14px;
    }

    .price-header h4 {
        font-size: 16px;
    }

    .price-values span {
        font-size: 12px;
        padding: 4px 10px;
        min-width: 50px;
    }

    .price-btn {
        font-size: 14px;
        height: 40px;
    }

    .essences-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 15px;
    }

    .essence-overlay span {
        font-size: 18px;
    }

    .essence-overlay small {
        font-size: 12px;
    }

    .essence-item .plus-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* Móviles: hasta 480px */
@media (max-width: 480px) {
    .catalogo {
        padding: 40px 5%;
        margin-top: 65px;
    }
    
#filtersZue.offcanvas-start {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    overflow-y: auto;
    background: #000;
    z-index: 10000; 
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

#filtersZue.offcanvas-start.show {
    transform: translateX(0);
}

/* Bloquear scroll del fondo cuando offcanvas está abierto */
body.offcanvas-open {
    overflow: hidden;
}
    
        .catalogo-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .filters {
        display: none;
    }

    .catalogo-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .filter-group h4 {
        font-size: 18px;
    }

    .filter-group button,
    .brand-link {
        font-size: 13px;
    }

    .price-header h4 {
        font-size: 14px;
    }

    .price-values span {
        font-size: 11px;
        padding: 3px 8px;
        min-width: 45px;
    }

    .price-btn {
        font-size: 13px;
        height: 38px;
    }

    .essences-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
        gap: 12px;
    }

    .essence-overlay span {
        font-size: 16px;
    }

    .essence-overlay small {
        font-size: 11px;
    }

    .essence-item .plus-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
}