.section_filter {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #E5E5E5;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* ===== TÍTULO DEL FILTRO ===== */
.section_filter-title h2 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
}

/* ===== CONTENEDOR PRINCIPAL WIZARD ===== */
.section_filter .wizard-container {
    width: 1100px;
    background-color: #fff;
    padding: 35px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* ===== SELECTOR CAMAS / COLCHONES ===== */
.section_filter .wizard-category {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.section_filter .category-btn {
    display: flex;
    flex: 1;
    padding: 18px;
    border-radius: 16px;
    border: none;
    font-size: 24px;
    cursor: pointer;
    background: #9e9e9e;
    color: #fff;
    transition: background 0.2s ease;
    align-items: center;
    justify-content: center;
}

.section_filter .category-btn.active {
    background: #0a66ff;
    color: #fff;
}

.section_filter .icon-principal {
    width: 60px;
    margin: 0 20px;
}

/* ===== BOTONES DE PASOS ===== */
.section_filter .wizard-steps {
    display: flex;
    gap: 12px;
}

.section_filter .step-btn {
    padding: 18px 22px;
    border-radius: 12px;
    border: none;
    background: #f1f1f1;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease;
}

.section_filter .step-btn.is-progress {
    background: #243e69;
    color: #fff;
}

.section_filter .step-btn.hidden {
    display: none;
}

/* ===== CONTENEDOR PRINCIPAL CON IMAGEN ===== */
.section_filter .wizard-container_st-principal {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 20px;
    background-color: #ffff;
    border-radius: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 40px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.section_filter .wizard-container_st-principal_img #stepImgColchones {
    display: none;
}

.section_filter .wizard-container_st-principal_img img {
    border-radius: 15px;
}

/* ===== PASOS DEL WIZARD ===== */
.section_filter .wizard-step {
    display: none;
    min-height: 690px;
}

.section_filter .wizard-step.is-active {
    display: block;
}

/* ===== HEADER DE CADA PASO ===== */
.section_filter .wizard-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #006dff;
}

.section_filter .wizard-header p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

/* ===== GRILLA DE OPCIONES ===== */
.section_filter .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
    height: 350px;
    width: 477px;
    align-items: center;
    align-content: center;
}

.section_filter .options-grid.doble-col {
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    gap: 24px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.section_filter .options-grid label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 400;
    max-height: 65px;
}

.section_filter .options-grid label:hover {
    background: #e9ecef;
}

.section_filter .options-grid label.icon-size {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.section_filter .options-grid label.icon-size img {
    max-height: 50px;
    width: auto;
}

.section_filter .options-grid input {
    margin-right: 8px;
}

.section_filter .options-grid input:checked + span {
    font-weight: bold;
    color: #0a66ff;
}

.section_filter .options-grid input:checked ~ label {
    background: #e6f0ff;
    border-color: #0a66ff;
}

/* ===== TAMAÑOS (SIZE) ===== */
.section_filter .size-bx {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.section_filter .size-bx .size-txt {
    font-size: 1rem;
}

.section_filter .size-bx .size-cm {
    font-size: 0.8rem;
}

/* ===== FILTROS APLICADOS ===== */
.section_filter .selected-steps {
    min-height: 50px;
    width: 290px;
    margin-bottom: 20px;
}

.section_filter .selected-steps_list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 5px;
    width: 100%;
    max-width: 245px;
}

.section_filter .selected-steps_tittle h3 {
    font-size: 1.2rem;
}

.section_filter .selected-step {
    background: #f0f7ff;
    color: #0066cc;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #cce0ff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section_filter .selected-step:before {
    content: "✓";
    font-weight: bold;
    font-size: 12px;
}

/* ===== RESULTADOS ===== */
.section_filter .result {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.section_filter .result_row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.section_filter .products-count {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    width: 200px;
}

.section_filter .products-count_number {
    font-size: 40px;
    font-weight: bold;
    color: #0a66ff;
}

.section_filter .products-count_txt {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.section_filter p.products-count_txt {
    font-size: 1rem;
    font-weight: 400;
    white-space: nowrap;
}

/* ===== BOTONES PRIMARIOS Y SECUNDARIOS ===== */
.section_filter .btn-primary,
.section_filter .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.section_filter .btn-primary {
    background: #006dff;
    color: #ffff;
    border-radius: 20px;
    min-width: 120px;
}

.section_filter .btn-primary:hover {
    background: #0052d9;
}

.section_filter .btn-secondary {
    background: #006dff;
    color: #ffff;
    border-radius: 20px;
    min-width: 120px;
}

.section_filter .btn-secondary:hover {
    background: #0057CB;
}

.section_filter .wizard-footer {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
}

/* ===== VERSIÓN MÓVIL ===== */
@media screen and (max-width: 767px) {
    .section_filter-title h2 {
        color: #1a1a1a;
        font-size: 1.4rem;
        font-weight: 700;
    }
    
    .section_filter .wizard-container {
        width: 100%;
        background-color: #fff;
        padding: 10px;
        margin: 0 auto;
        border-radius: 20px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    
    .section_filter .category-btn {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 10px;
        border-radius: 16px;
        border: none;
        font-size: 16px;
        gap: 5px;
        cursor: pointer;
        background: #9e9e9e;
        color: #fff;
        transition: background 0.2s ease;
        align-items: center;
        justify-content: center;
    }
    
    .section_filter .wizard-category {
        display: flex;
        gap: 16px;
        margin-bottom: 12px;
    }
    
    .section_filter .step-btn {
        padding: 8px 12px;
        border-radius: 8px;
        border: none;
        background: #f1f1f1;
        font-size: 14px;
        cursor: pointer;
        color: #333;
        transition: background 0.2s ease;
    }
    
    .section_filter .wizard-steps {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section_filter .wizard-container_st-principal {
        display: flex;
        flex-direction: column;
    }
    
    .section_filter .wizard-container_st-principal_img {
        display: none;
    }
    
    .section_filter .wizard-container_steps {
        display: flex;
        flex-direction: column;
    }
    
    .section_filter .options-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
        margin: 20px 0;
        height: auto;
        width: 100%;
        align-items: center;
        align-content: center;
    }
    
    .section_filter .options-grid.doble-col {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        gap: 5px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    
    .section_filter .options-grid label {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        background: #f8f9fa;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 2px solid transparent;
        font-size: 0.8rem;
        font-weight: 400;
        max-height: 65px;
    }
    
    .section_filter .size-bx .size-txt {
        font-size: 0.8rem;
    }
}