header {
    height: 70px;
    background-color: #fff;
}
.logoHeader {
    height: 50px;
}
header a {
    margin-left: 4rem;
}

@media screen and (max-width: 767px) {
    .logoHeader {
        height: 40px;
    }
    header a {
        margin-left: 0rem;
        width: 100%;
        font-size: 0.9rem;
    }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#doorCont {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    position: relative;
}


#door {
    width: 300px;
    height: 400px;
    outline: 2px solid black;
    position: relative;
    background-color: #e8d1a6;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 3rem;
}

@media screen and (max-width: 767px) {
#door {
    margin-left: auto;
}
}

#doorResumen {
    width: 300px;
    height: 400px;
    outline: 2px solid black;
    position: relative;
    background-color: #e8d1a6;
    justify-content: flex-start;
    align-items: flex-start;
}
#doorResumenImg {
    width: 300px;
    height: 400px;
    outline: 2px solid black;
    position: relative;
    background-color: #e8d1a6;
    justify-content: flex-start;
    align-items: flex-start;
}

@media screen and (max-width: 767px) {
    #doorResumenImg {
        margin-top: 1rem;
    }
}

#resumenContenido {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: wrap;
    width: 60%;
    gap: 1rem;
}

.articuloResumen {
    flex-wrap: nowrap;
}

.panel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
}

.btn-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;

}

.divider {
    height: 5px;
    background-color: #333;
    cursor: ns-resize;
    width: 100%;
    position: absolute;
    z-index: 150;
}

.divisorPuerta {
    background-color: #333;
    z-index: 1000;
    width: 3px;
    position: absolute;
}

.inputDivisor >input:focus {
    border: 0;
    outline: 0;

}

.inputDivisor {
    width: 100px;
    position: absolute;
    padding: 0 0.3rem;
    left: 0;
    background-color: #f9fbfc;
    font-size: 1rem;
    border: 1px solid #dce0e1;
    border-radius: 3px;
    height: 35px; 
    box-sizing: border-box;
}
.inputDivisor > input {
    max-width: 90%;
    height: 100%;
    background-color: transparent;
    border: 0;
    font-size: 1rem;
}

@media screen and (max-width: 767px) {
    .inputDivisor {
        width: 70px;
        position: absolute;
        padding: 0 0.1rem;
        left: 0;
        background-color: #f9fbfc;
        font-size: 0.8rem;
        border: 1px solid #dce0e1;
        border-radius: 3px;
        height: 35px; 
        box-sizing: border-box;
    }
    .inputDivisor > input {
        max-width: 90%;
        height: 100%;
        background-color: transparent;
        border: 0;
        font-size: 0.8rem;
    }
}

#addDivider {
    position: absolute;
    left: 0;
    top: 0px;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    #addDivider {
        top: 0px;
        font-size: 0.7rem;
    }
}   

.espejoInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #dce0e1;
    border-radius: 10px;

}

.espejo {
    width: 50%;
    height: 100%;
    border: 2px solid #555; /* Borde del espejo */
    /* background: linear-gradient(135deg, #d0e0ff 25%, #f0f8ff 50%, #d0e0ff 75%); */
    position: relative;
    overflow: hidden;
}

.espejo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));*/
    background-image: url('../images/espejo3.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.madera {
    width: 50%;
    height: 100%;
    border: 2px solid #555; /* Borde de la madera */
    /* background: linear-gradient(135deg, #8b4513 25%, #a0522d 50%, #8b4513 75%); */
    /* background-image: url('images/madera.jpeg'); */
    background-image: url('../images/madera2.png');
    /* background-size: 50%; */
    background-size: cover;
    background-repeat: repeat;
    position: relative;
    overflow: hidden;
}






.progressbar {
    counter-reset: step;
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 0;
    font-size: 0.8rem;
}
.progressbar button {
    list-style: none;
    display: inline-block;
    width: 12%;
    position: relative;
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    color: #000;
    font-size: 0.8rem;
}
.progressbar button:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    border-radius: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    background-color: #fff;
}
.progressbar button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    top: 15px;
    left: -50%;
    z-index: -1;
}
.progressbar button:first-child:after {
    content: none;
}
.progressbar button.active {
    color: #cfa602;
}
.progressbar button.active:before {
    border-color: #cfa602;
} 
.progressbar button.active + button:after {
    background-color: #cfa602;
}

@media screen and (max-width: 767px) {
    .progressbar {
        flex-wrap: wrap;
    }
    .progressbar button {
        width: 22%;
        font-size: 0.6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
}

.articulo {
    aspect-ratio: 1/0.7;
    border: 0;
    background-color: #FFF;
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
}

.acabadosCont {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1rem;
}

@media screen and (max-width: 767px) {
    .acabadosCont {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.acabadosContCarros {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 90px));
    gap: 1rem;
}

@media screen and (max-width: 767px) {
    .acabadosContCarros {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.acabadosCont > div {
    aspect-ratio: 1/1;
}

.articulo > div {
    position: absolute;
    left: 2.5%;
    bottom: 2.5%;
    width: 95%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 5px;
    text-align: center;
    border-radius: 7px 7px 7px 7px;
}

.articulo-acabado {
    aspect-ratio: 1/1;
    border: 0;
    background-color: transparent;
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 25px;
    /* box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2); */
    cursor: pointer;
    position: relative;
    margin: 1rem 0rem 2rem 1rem;   
}

@media screen and (max-width: 767px) {
    .articulo-acabado {
        margin: 1rem 0rem 2rem 0rem;   
    }
}

.articulo-acabado > div {
    width: 100%;
    position: absolute;
    top: 105%;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding: 5px;
    text-align: center;
    border-radius: 7px 7px 7px 7px;
    margin-top: 0rem;
}

.articuloActive {
    border: 3px solid #e4b63e;
}

.paso {
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    position: absolute;
    width: 93%;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.paso-entrando {
    display: flex;
    transform: translateX(100%);
    opacity: 0;
}

.paso-saliendo {
    transform: translateX(-100%);
    opacity: 0;
}

.paso-activo {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    padding-bottom: 40px;
}

.articulosCont {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 200px));
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    row-gap: 1rem;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {

    .articulosCont {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(46%, 46%));
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        row-gap: 1rem;
        box-sizing: border-box;
    }
}   

.divisiones {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box; 
    padding-bottom: 20px;
}

.input-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.btn-sistema {
    border: 0px;
    border-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    min-height: 30px; 
    background-color: rgba(0, 0, 0, 0.5); 
    color: #FFF; 
    padding: 5px; 
    text-align: center; 
    cursor: pointer
}
.btn-sistema-active {
    background-color: #e4b63e;
}