/* PRODUCTOS */
.card-producto .contenedor-imagen-producto {
    display: flex;
    justify-content: center;
    align-self: center;
    position: relative;
    border-radius: 8px;
    width: 100%;
    max-height: 270px;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.card-producto .contenedor-imagen-variante {
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-producto .img-ambientes{
    height: 100%;
    width: 100%;
    aspect-ratio: 1/1;
}

.card-producto .contenedor-imagen-variante img {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-producto .img-producto-principal {
    max-width: 100%;
    min-height: 270px;
    max-height: 100%;
    width: auto;
    height: auto;
    padding: 0.5rem;
    box-sizing: border-box;
    object-fit: contain;
}

.card-producto .img-variante {
    height: 100%;
    width: auto;
    padding: 0.25rem;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
}


.card-producto .img-expandida {
   width: 100% !important;
    height: 100% !important;
    min-height: 270px;
    padding: 0 !important;
    box-sizing: border-box;
    object-fit: cover !important;
    object-position: center !important;
}

.contenedor-img-secundaria {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
    object-fit: cover !important;
    object-position: center !important;
}

#spinnerProductos {
    color: var(--negro);
    transition: opacity 0.3s ease-out;
}

.btn-mas {
    width: 32px;
    height: 32px;
}

.menu-lateral-productos .caja-check::before {
    content: "";
    height: 1px;
    width: 100%;
    background-color: var(--grisBorde);
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--grisTexto);
    transition: all 0.2s;
}
.breadcrumb-item.active,
.breadcrumb-item a:hover {
    color: var(--negro);
}

.producto-detalle .img-producto {
    aspect-ratio: 1;
    object-fit: cover;
}

.imgs-sec-producto .container-swiper {
    padding-left: 24px;
    padding-right: 24px;
}
.imgs-sec-producto .container-swiper:has(.swiper-button-lock) {
    padding-left: 0;
    padding-right: 0;
}

.imgs-sec-producto .slide-imagenes {
    width: auto !important;
}

.imgs-sec-producto .flechas-swiper-imagenes {
    --swiper-navigation-size: 1.5rem;
}

.imgs-sec-producto .swiper-button-next,
.swiper-button-prev {
    color: var(--negro1) !important;
}
.imgs-sec-producto .link-imgs-producto img {
    width: 100px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--grisBorde);
}

.imgs-sec-producto .link-imgs-producto {
    cursor: pointer;
}
.imgs-sec-producto .flechas-swiper-imagenes {
    --swiper-navigation-size: 1.5rem;
}

.referencia-producto {
    font-size: 0.8rem;
}

.btn-personalizar-producto {
    /* padding: 0.25rem 1rem; */
    width: 100%;
    font-size: 0.9rem;
    border-radius: 4rem;
    background-color: #fff;
    border: none;
    transition: 0.3s;
}

.btn-personalizar-producto:hover {
    background-color: #ddd;
}

.text-producto {
    font-weight: 600;
}

.boton-configuracion-seleccionada{
    font-size: 0.9rem;
}

/* Filtros */

.categorias-ocultas {
    color: #ddd;
}

.roundCheck {
    appearance: none; /* Oculta el estilo predeterminado */
    -webkit-appearance: none;
    box-sizing: border-box; /* Asegura que el tamaño incluya el borde */
    height: 1.2rem;
    width: 1.2rem;
    max-width: 1.2rem;
    border-radius: 1000px; /* Asegura la forma circular */
    border: 1px solid #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roundCheck-desactivado {
    appearance: none; /* Oculta el estilo predeterminado */
    -webkit-appearance: none;
    box-sizing: border-box; /* Asegura que el tamaño incluya el borde */
    height: 1.2rem;
    width: 1.2rem;
    max-width: 1.2rem;
    border-radius: 1000px; /* Asegura la forma circular */
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
}

.roundCheck.form-switch {
    padding-left: 0;
}

.roundCheck:focus-visible {
    border: 1px solid #333;
}

.form-check {
    min-height: 1.2rem;
}

.roundCheck:checked {
    background-color: #000;
    border-color: #000;
}

.roundCheck:checked::after {
    content: "✔"; /* Agrega el check */
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Botones */
.boton-outline-productos {
    border-color: #000 !important;
    color: #000 !important;
}

#inputBuscador {
    background-color: #fff;
    border-color: #000;
    color: #000;
}

/* Producto show */
.producto-coleccion {
    font-weight: 600;
    color: #000;
}

.producto-descarga-info {
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    display: inline-block; /* Para que el pseudo-elemento se posicione correctamente respecto al texto */
}

.producto-descarga-info::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px; /* Grosor de la línea */
    width: 0;
    background-color: #000;
    transition: width 0.3s ease; /* Duración y tipo de animación */
}

.producto-descarga-info:hover::after {
    width: 100%; /* Al hacer hover, la línea se extiende de izquierda a derecha */
}

/* Breadcrumb =========================================*/

.breadcrumb-item:hover {
    color: #aaa;
}

/* Modal personalización */

.modal-personalizacion-header {
    font-weight: 200;
    border-bottom: 1px solid #000;
}

#modalPersonalizarAcabado .modal-content {
    background-color: #fff;
    border-radius: 0;
    padding: 1rem 2rem;
}

.tipo-acabado {
    font-size: 0.7rem;
    padding: 0 0.7rem;
}

.modal-personalizacion-secondary-title {
    color: #666;
}

.contenedor-acabado-productos {
    height: 100px;
    border-radius: 16px;
    padding: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contenedor-acabado-productos:hover {
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #000;
}

.imagen-acabado {
    width: 60px;
    min-height: 60px;
    min-width: 60px;
    height: 60px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.imagen-acabado img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenedor-acabado-productos span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

.img-acabado-card-producto {
    max-height: 30px;
    height: 30px;
    max-width: 30px;
    width: 30px;
    border-radius: 50%;
}

.imagen-acabado-personalizacion {
    height: 70px;
    width: 70px;
    object-fit: cover;
}

.imagen-acabado-personalizacion img {
    height: 100%;
    min-height: 70px;
    width: 100%;
    object-fit: cover;
}

.imagen-circular img {
    border-radius: 50%;
    height: 70px;
    width: 70px;
    object-fit: cover;
}

@media (max-width: 767.5px) {
    .footer-producto {
        flex-direction: column;
    }
}

/* CONFIGURADOR */
.contenedor-opciones-personalizacion {
    max-height: 35vh !important;
    overflow-y: auto !important;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;
    gap: 1rem;
}
#configuradorProductoModal .modal-content {
    min-height: 65vh !important;
    max-height: 65vh !important;
}

.boton-seleccion-configurador {
    height: auto;
    width: 110px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: .3rem;
    padding-inline: 1rem;

    background: none;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 16px;

    transition: 0.2s;
}

.boton-seleccion-configurador:hover {
    background-color: var(--gris1);
    border: 1px solid var(--grisBorde);
}

.boton-seleccion-configurador.solo-texto {
    min-height: 0;
    border: 1px solid var(--negro);
    width: auto;
}

.boton-seleccion-configurador.solo-texto:hover {
    border: 1px solid var(--negro);
    background: var(--negro);
    color: white;
}

.boton-seleccion-configurador.solo-texto:hover .texto-seleccion-configurador {
    color: white;
}

.modal-configurador-row {
    width: 100%;
    height: 100%;
    max-height: 250px;
}

.modal-configuracion-opciones {
    height: 100%;
    max-height: 300px;
    overflow-y: auto;
}
.texto-seleccion-configurador {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border-radius: 0;
    padding: 0.3rem 0.75rem;
    transition: 0.2s;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--negro);
    text-transform: capitalize;
}

.boton-cerrar-modal-personalizacion {
    background-color: var(--negro);
    color: white;
    transition: 0.3s;
    border: 1px solid var(--negro);
    text-transform: uppercase;
}

.boton-cerrar-modal-personalizacion:hover {
    border: 1px solid var(--negro);
    color: var(--negro);
    background: none;
}

.img-personalizacion-seleccionados {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
}

@media (max-width: 1000px) {
    .contenedor-opciones-personalizacion {
        max-height: 23vh !important;
        overflow-y: auto !important;
    }
}
