/*=====    FLEX DETALLE DEL PRODUCTO     =====*/
.flexDetalleProducto{
    display:flex;
    justify-content:center;flex-wrap: wrap;
    width:100%;padding-top:50px;
    height:auto;
}


.totalResult{
  height: auto;
    background-color: transparent;
    font-size: 22px;
    border: none;
    outline: none;
    color: var(--negro);
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: right;
    width: 300px;
}

body.dark .totalResult{
      color: var(--blanco);
}


.avisoPreMenu{display:none;}

        /*=====    PRODUCTO GALERÍA     =====*/

            .galleria {
                width:450px;overflow:hidden;margin-top: 30px;
                display: flex;padding:10px;
                flex-direction: column;
                align-items: center;transition:all ease .3s;
            }

            .gallery-hightlight {
                width: 100%;transition:all ease .3s;
                height: 100%;object-fit: cover;
            }
            #magnifying_area{
                box-shadow:0px 1px 10px rgb(236, 236, 236);
                border:8px solid #fff;
            }

            body.dark #magnifying_area{box-shadow:0px 1px 10px rgb(19, 19, 19); border:8px solid var(--negro);}
               
            

            figure{
              width: 100%;height:500px;
              overflow:hidden;
              border:3px solid #fff;
              position: relative;
            }
            figure img{
              max-width: 100%;
              min-width: 100%;
              position: absolute;
              left: 50%;
              top: 50%;
              transform: translate(-50%,-50%);
              z-index: 10;
              pointer-events: none;
            }



            .vistaprevia {
                display: flex;flex-wrap:wrap;
                width: 100%;height:200px;transition:all ease .3s;
               /* margin: auto;*/
            }
            .vistaprevia img {
                flex-grow: 1;margin-top:8px;margin-left:5px;transition:all ease .3s;
                width:92px;max-width:92px;height:92px;margin-right:10px; padding:5px;
                cursor: pointer;box-shadow:0px 1px 15px rgb(236, 236, 236);
            }

            body.dark  .vistaprevia img{box-shadow:0px 1px 15px rgb(19, 19, 19);}
            
            img.selected-active {
                border: solid 2px var(--principal);outline:none;
            }


        /*=====    INFORMACIÓN A DETALLE DEL PRODUCTO     =====*/
.conetenedorInfo{
    width:700px;transition:all ease .3s;margin-bottom:80px;
    height:auto;padding:20px;transition: all ease .3s;
    padding-left:100px;padding-top:10px;
}





.conetenedorInfo h1{
    text-align:left;font-weight:500;
    padding-bottom:0px;
}

.conetenedorInfo h2{
    text-align:left;margin-top:-10px;
    padding-bottom:20px !important;font-weight:400;
    font-size:16px; font-weight:bold;
}

.conetenedorInfo h3{
    text-align:left;margin-top:-20px;
    font-size:15px;color:var(--grisoscuro4);
    padding-bottom:25px;font-weight:400;
}



/*OFERTA - AGOTADO*/
.cuadritoOfertaEnProductoSeleccionado,.cuadritoAgotadoEnProductoSeleccionado{
    height:30px;font-weight:350;
    display:flex;margin-top:0px;
    justify-content:center;
    border-radius:5px;
    align-items:center;
    color:var(--blanco);
    font-size:13px;z-index:1;   
    margin-top: -20px;
    margin-bottom: 20px;
}
.cuadritoOfertaEnProductoSeleccionado{width:80px;background-color:rgb(243, 28, 0)}
.cuadritoAgotadoEnProductoSeleccionado{background-color:rgb(243, 28, 0);width:110px;}


/*SELECT DE OPCIONES EN PRODUCTO*/
.flexCantidadUnidadesTamanos{
  display:flex;
  width:auto;
  /*padding-top:20px;*/
 padding-bottom:10px;
 /* border-top:0.5px dotted #c9c9c9;
  border-bottom:0.5px dotted #c9c9c9;*/
  align-items:center;
  color:var(--negro);
}

body.dark  .flexCantidadUnidadesTamanos{
  color:var(--blanco);
}

.flexCantidadUnidadesTamanos select{
  padding:15px 15px;outline:none;
  margin-left:10px;
  background-color:transparent;
}

body.dark .flexCantidadUnidadesTamanos select{
  color:var(--blanco);
}

body.dark .flexCantidadUnidadesTamanos select option{
  color:var(--negro);
}

#total,#PrecioSegunTamano{height:auto;background-color:transparent;font-size:22px;border:none;outline:none;color:var(--negro);padding-top:10px;padding-bottom:10px;text-align:right;width:300px;}
body.dark  #PrecioSegunTamano{color:var(--blanco);}  body.dark  #total{color:var(--blanco);}




/*ESTRELLITAS PUNTUACIÓN*/
.reseniasProductoCantidad{
  display:flex;justify-content:space-around;width:180px;margin-top:-30px;margin-bottom:5px;align-items:center;
  margin-left:-3px;
}

.reseniasProductoCantidad i{
  color:rgb(255, 208, 0);
}

.reseniasProductoCantidad p{
  color:#7e7e7e;
}


/*----------- STYLES PARA MARCA Y CÓDIGO DE PRODUCTO SKU ---------*/
        /* CSS - Agrega esto a tu hoja de estilos */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom:30px;
    margin-top:-5px;
    font-size: 0.95rem;
}

.product-brand {
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.product-brand:hover {
    background-color: var(--principalhover);
}

.product-sku {
    color: var(--negro);
    background-color: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .product-meta {
        gap: 8px;
        font-size: 0.85rem;
    }
}



/*----------------------Descripcion del producto y escpeficiones-------------------*/
.descripcionProducto{
    padding-bottom:10px;
}
body.dark .descripcionProducto{color:var(--blanco);}
body.dark .descripcionProducto p span{color:var(--blanco) !important;}
body.dark p span{color:var(--blanco) !important;}


.conetenedorInfo .descripcionProducto h2, .conetenedorInfo .descripcionProducto h1, .conetenedorInfo .descripcionProducto h3, .conetenedorInfo .descripcionProducto h4, .conetenedorInfo .descripcionProducto h5{
    padding:10px 0px;margin: 0px;font-weight: 600;
}
.conetenedorInfo .descripcionProducto h2{
  font-size:25px;
}

.specs-text h2, .specs-text h1, .specs-text h3, .specs-text h4, .specs-text h5{
    padding:10px 0px;margin: 0px;text-align:left;font-weight: 600;
}

.specs-text h2{
  font-size:25px;
}

.conetenedorInfo .descripcionProducto p{
    padding:0px;margin: 0px;
}


.specs-text p{
    padding:0px;margin: 0px;
}


.specs-content:empty,
.specs-text:empty {
    display: none;
}

/* Ocultar sección completa si no hay contenido */
.product-specs-container:empty {
    display: none;
}

/* Estilo para contenido mínimo */
.specs-text {
    min-height: 20px; /* Evita colapsar completamente */
}


/* Contenedor principal */
.product-specs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px 0;
    margin-top:-30px;
    color:var(--negro);
}

body.dark .product-specs-container{
    color:var(--blanco);
}

/* Sección de especificaciones */
.specs-content {
    flex: 1;
    min-width: 300px;
}

/* Sección de video */
.video-section {
    flex: 1;
    min-width: 300px;
}

/* Contenedor del video responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    margin-top: 15px;
    background: #000;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mensaje de error */
.video-error {
    color: var(--secundario);
    padding: 10px;
    background: #ffeeee;
    border-radius: 4px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .product-specs-container {
        flex-direction: column;
    }
    
    .specs-content, .video-section {
        width: 100%;
    }
}



/*Corazón FAVORITO*/
.favoritoAnadirEnProductoSeleccionado{
    height:40px;width:40px;margin: 20px 0px 10px 0px;
    background-color:transparent;z-index:1;cursor: pointer;
    display:flex;justify-content:center;align-items:center;
}
.favoritoAnadirEnProductoSeleccionado i{
    color: rgb(248, 248, 248);font-size:28px;transition:all ease .3s;
    text-shadow: -1px 0 var(--negro), 0 1px var(--negro), 1px 0 var(--negro), 0 -1px var(--negro);
}
.favoritoAnadirEnProductoSeleccionado:hover  i{
    color:var(--principal);text-shadow:none;transform:scale(1.2);
}





/* Estilos para botones de incremento y decremento en tipo 5 */

/* Contenedor general */
.producto-opciones {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

/* Grupo de tallas */
.grupo-tallas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 20px 0;
}

/* Botón de talla */
.btn-talla {
    background-color: var(--blanco);
    color: var(--negro);
    border: none;
    padding: 12px 20px;
    border: 2px solid var(--negro);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-talla:hover {
    background-color: var(--negro);
     color: var(--blanco);
}

.btn-talla.activo {
    background-color:var(--negro);
    color: var(--blanco);
        border: 2px solid var(--blanco);
}

/* Grupo de colores */
.grupo-colores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

/* Botón de color */
.btn-color {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--grisoscuro);
    cursor: pointer;
    outline: none;
    transition: transform 0.2s ease;
}

.btn-color:hover {
    transform: scale(1.1);
}

.btn-color.activo-color {
    border: 3px solid #ff6600;
}
.selector-cantidad {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.control-cantidad {
    display: flex;
    width: 150px;
    align-items: center;
    margin-top: 10px;
    margin-left:5px;
}

.control-cantidad button {
    width: 50px;
    height: 45px;
    background-color: var(--negro);
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid var(--grisoscuro2);
}

.control-cantidad button:hover {
    background-color: #333;
}

.control-cantidad input {
    width: 50px;
    height: 45px;
    border:none;
    text-align: center;
    font-size: 16px;
    outline:none;
    background-color: white;
    border-top: 1px solid var(--grisoscuro2);
    border-bottom: 1px solid var(--grisoscuro2);
}





/*Boton para agregar al carrito de pedidos*/

.btn-carrito{
    padding:15px 100px;
    font-size:15px;
    transition: all ease .3s;
    background-color:var(--secundario);
    color: var(--blanco);
    cursor:pointer;
    border-radius:5px;
}
.btn-carrito i{font-size:13px;}

.btn-carrito:hover{
    background-color:var(--secundariohover);
    color: var(--blanco);
}

/*BTN WHATSAPP*/
a .btn-carrito{
    padding:15px 100px;
    font-size:15px;
    margin-bottom:10px;
    transition: all ease .3s;
    background-color:#25D366;
    color: var(--blanco);
    cursor:pointer;
    border-radius:5px;
}
a .btn-carrito i{font-size:15px;}

a .btn-carrito:hover{
    filter: brightness(1.1);
    color: var(--blanco);
}

.whatsapp-btn{
    margin-bottom:10px;
}

.whatsapp-btn:hover{
    filter: brightness(1.1);
}


/*Compartir por redes sociales*/


.flexTags{
    display:flex;justify-content:left;
    margin-top:10px;margin-bottom:20px;
  }


.flexTags p{
    padding:10px 0px 10px 0px;font-size:14px;
    margin:10px;color:var(--grisoscuro3);
  }

  body.dark .flexTags p{color:rgb(211, 211, 211);}
  
.compartirRedeSociales{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;font-family: 'Quicksand600', sans-serif;
  }


  .share-buttons-row{
    height: 40px;

	display: -webkit-flex; /* Safari */
    -webkit-align-items: center; /* Safari 7.0+ */
    display: flex;
    align-items: center;
}

.share-buttons-row > div {
	width: 40px;
    height: 40px;
    cursor: pointer;margin-top:20px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

	text-align: center;
	float: left;
	margin-right: .3em;
	padding: 0;
	
    background-repeat: no-repeat;
    background-position: center;border-radius:50%;
    background-size: 20px 20px;
}


.share-whatsapp{
  background-color: #0bb802;color:var(--blanco);font-size:20px;transition:all ease .3s;
}

.share-whatsapp i{
  padding-top:10px;
}

.share-whatsapp:hover{
  background-color: #0bd300;
}


.share-fb{
  background-color: #2d609b;color:var(--blanco);font-size:20px;transition:all ease .3s;
}

.share-fb i{
  padding-top:10px;
}

.share-fb:hover{
  background-color: #236ec4;
}



.share-pinterest{
    background-color: #f1051d;color:var(--blanco);font-size:20px;transition:all ease .3s;
  }
  
  .share-pinterest i{
    padding-top:10px;
  }
  
  .share-pinterest:hover{
    background-color: #f80019;
  }
  

.share-twitter{
  background-color: #050505;color:var(--blanco);font-size:20px;transition:all ease .3s;
}


.share-twitter:hover{
  background-color: #101010;
}

.share-twitter i{  
  padding-top:10px;
}

.share-linkedin{
  background-color: #0074a1;color:var(--blanco);font-size:20px;transition:all ease .3s;
}

.share-linkedin:hover{
  background-color: #0794cc;
}

.share-linkedin i{  
  padding-top:10px;
}

.share-copy{
      background-color: #6c757d;color:var(--blanco);font-size:20px;transition:all ease .3s;
}

.share-copy:hover{
  background-color: #5a6268;
}

.share-copy i{  
  padding-top:10px;
}



/* MODAL PARA IMAGEES GALERÍA EN PRODUCTO */
/* Estilos para el modal y efectos */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#202124de;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border: 8px solid var(--blanco);
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--blanco);
    font-size: 35px;
    cursor: pointer;
    background: var(--negro);
    height: 40px;
    width: 40px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secundario);
    border: none;
    color:var(--blanco);
    font-size: 24px;   
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all ease .3s;
}

.nav-button:hover{
    background: var(--secundariohover);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.zoom-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--blanco);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.zoom-button i {
    font-size: 18px;
}

/* Efecto de cursor de lupa */
#magnifying_area:hover {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") 12 12, zoom-in;
}
















@media(max-width:1210px){
    .conetenedorInfo{width:600px;}
}


@media(max-width:1105px){
    .conetenedorInfo{width:500px;}
}

@media(max-width:1005px){
    .conetenedorInfo{width:400px;padding-left:20px;}
    .flexTags p{font-size:12px;}
}

@media(max-width:905px){
    .conetenedorInfo{width:350px;}
    .btn-carrito{padding:15px 83px;}
}



@media(max-width:800px){
    .conetenedorInfo{width:100%;margin-bottom:10px;}
    .vistaprevia{height:auto;}

}

@media(max-width:450px){
    .galleria {width:350px;padding:5px;}
    figure{height:400px;}
    figure#magnifying_area{margin:0;}
    .vistaprevia img {
        margin-top:10px;margin-left:5px;width:56px;max-width:56px;height:56px;margin-right:7px;padding:4px;box-shadow:0px 1px 10px rgb(236, 236, 236);
    }
    .conetenedorInfo h1{
      margin-top:0;padding-top:0;margin-bottom:0px;padding-bottom:5;
    }
     .specs-text h1{
      margin-top:0;padding-top:0;margin-bottom:0px;padding-bottom:5;
    }
}



@media(max-width:361px){
.btn-carrito{padding:15px 85px;}
.flexTags p{padding: 5px 0px 10px 0px;}
}



@media(max-width:351px){
    .galleria {width:315px;padding:5px;margin-top:40px;}
    figure{height:350px;}
    figure#magnifying_area{margin:0;}
    .vistaprevia img {
        margin-top:10px;margin-left:5px;width:50px;max-width:50px;height:50px;margin-right:5px;padding:4px;box-shadow:0px 1px 10px rgb(236, 236, 236);
    }
    .btn-carrito{padding:15px 70px;}

}












