/* ===== CSS para Menu y Navs ===== */

/* menu desktop */
#masthead .menu-desktop .custom-logo-link{
  max-width: 250px;
  padding: 20px;
}
#masthead .menu-desktop #menu-principal{
  display: flex;
  align-items: center;
  justify-content: center;
}
#masthead .menu-desktop #menu-principal li{
  position: relative;
}
#masthead .menu-desktop #menu-principal li a{
  font-size: clamp(16px,1.5vw,1.5vw);
  padding: 10px;
  margin: 5px;
  display: inline-block;
}
#masthead .menu-desktop #menu-principal li a:hover{
  color: var(--color-marca-segundo);
}
#masthead .menu-desktop #menu-principal li ul{
  display: none;
  position: absolute;
  top: 50px;
  left: 10%;
  background: #f4f5f5;
  z-index: 200;
  width: auto;
  transition: all 0.25s ease-out;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
}
#masthead .menu-desktop #menu-principal li:hover ul{
  display: block;
}
#masthead .menu-desktop #menu-principal li:hover ul li a{
  padding: 7px 20px;
  margin: 0;
}
#masthead .xoo-wsc-sc-bki{
  background-color: #b6acc6;
  color: white;
  transition: 0.2s;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-radius: 100%;
  margin: 0px 5px;
  transform: 0.8s;
}
#masthead .xoo-wsc-sc-count{
  background-color: var(--color-marca-quinto);
}
/* menu mobile */
/* -------------------------------------------
   CSS para la Visualización Móvil (Menú Hamburguesa)
   Asegurado dentro del ID #masthead
   ------------------------------------------- */

/* 1. Estilo para el contenedor principal de la navegación móvil */
#masthead .nav-mobile {
    /* Asegura que el navbar siempre esté en la parte superior */
    position: sticky;
    top: 0;
    z-index: 1050; /* Mayor que la mayoría de los elementos */
    background-color: #ffffff; /* Fondo blanco o el color de tu header */
    border-bottom: 1px solid #eeeeee; /* Línea sutil debajo del header */
    padding-bottom: 0;
}

/* 2. Estilo del botón (Toggle) */
#masthead .nav-mobile .navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    line-height: 1;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

/* Estilo del ícono (fas fa-bars) */
#masthead .nav-mobile .navbar-toggler span i.fas {
    font-size: 1.5rem; /* Tamaño del ícono */
    color: #FF69B4; /* Un color vibrante (Rosa/Pink) para destacar */
}

/* Efecto al pasar el mouse/tocar el botón */
#masthead .nav-mobile .navbar-toggler:hover span i.fas,
#masthead .nav-mobile .navbar-toggler:focus span i.fas {
    color: #e6007e; /* Tono más oscuro al interactuar */
}

/* 3. Estilo del Contenedor Desplegable */
#masthead .nav-mobile .barra-menu {
    /* Asegura que la barra de menú ocupe todo el ancho */
    width: 100%; 
}

#masthead .nav-mobile .menu-desplegable {
    /* El contenedor que se despliega (navbarSupportedContent) */
    background-color: #f8f9fa; /* Un fondo ligeramente diferente para contraste */
    position: absolute; /* Para que cubra el contenido de abajo */
    top: 100%; /* Inicia justo debajo del header fijo */
    left: 0;
    width: 100%;
    /* Efecto de sombra para darle profundidad */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    padding: 10px 0; /* Espaciado interno */
}

/* 4. Estilo de la Lista Principal del Menú */
#masthead .nav-mobile #menu-principal {
    display: block !important; /* Asegura que se muestre como bloque vertical */
    padding-left: 0;
    margin-bottom: 0;
}

/* 5. Estilo de los Ítems del Menú Principal */
#masthead .nav-mobile #menu-principal > li {
    display: block; /* Cada ítem ocupa su propia línea */
    border-bottom: 1px solid #e9ecef; /* Separador sutil entre ítems */
    
}

#masthead .nav-mobile #menu-principal > li:last-child {
    border-bottom: none; /* Elimina la línea en el último ítem */
}

#masthead .nav-mobile #menu-principal > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 600; /* Texto seminegrilla */
    color: #333; /* Color de texto oscuro */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Efecto Hover/Active */
#masthead .nav-mobile #menu-principal > li > a:hover {
    background-color: #f1f1f1; /* Fondo suave al pasar el mouse */
    color: #e6007e; /* Resalta el texto */
}

/* 6. Estilo para los Submenús (menús anidados) */
#masthead .nav-mobile .sub-menu {
    padding-left: 20px; /* Indentación para submenús */
    background-color: #f8f9fa; /* Fondo ligero para distinguirlos */
    border-top: 1px solid #e9ecef; /* Separador */
    padding-top: 5px;
    padding-bottom: 10px;
}

#masthead .nav-mobile .sub-menu li a {
    padding: 8px 0;
    font-size: 1rem;
    font-weight: 400; /* Fuente normal */
    color: #555;
}

#masthead .nav-mobile .sub-menu li a:hover {
    color: #FF69B4; /* Resalta el subítem */
}
/* menu rrss */
#menu-rrss{
  display: flex;
  justify-content: center;
}
#menu-rrss li a{
  background-color: #b6acc6;
  transition: 0.2s;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-radius: 100%;
  margin: 0px 5px;
  transform: 0.8s;
}
#menu-rrss li a i{
  color: white;
  font-size: 28px;
}
#menu-rrss li:hover a{
  transform: scale(130%);
  background-color: #8c7ba7;
}
/* searchbar */
.unified-search-form {
  position: relative;
  width: 250px;
  max-width: 100%;
  margin: 10px auto;
}
.unified-search-form label {
  margin-bottom: 0;
  width: 100%;
}
.unified-search-form input[type="search"] {
  width: 100%;
  padding: 8px 50px 8px 15px;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 999px; 
  background-color: #dad8d8;
  color: #333;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box; 
}
.unified-search-form input[type="search"]:focus {
  box-shadow: 0 0 0 2px #0073aa33;
}
.unified-search-form button {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #555;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.unified-search-form button i {
  pointer-events: none; 
}
.unified-search-form button:hover {
  color: #0073aa;
}
.unified-search-form button:focus {
  outline: none;
}
/* clases boton de whatsapp (wsp)
.boton-wsp{
  position: fixed;
  z-index: 100;
  bottom: 15px;
  left: 30px;
  background-color: #2db742;
  border-radius: 100%;
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  color: white;
  box-shadow: -1px 2px 10px -3px rgba(0,0,0,0.5);
  transition: 0.3s;
}
.boton-wsp:hover{
  font-size: 60px;
}
.boton-wsp i{
  line-height: 2;
} */
/* boton subida */
.boton-subida{
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-marca-quinto);
  color: white !important;
  border-radius: 100px;
  transition: 0.2s;
  height: 45px;
  width: 45px;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}
.boton-subida:hover{
  filter: brightness(110%);
}
.boton-subida.activo{
  display: flex;
}
/* sidebar */
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn, .xoo-wsc-container .xoo-wsc-btn{
  background-color: var(--color-marca-segundo);
  transition: 0.2s;
}
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, .xoo-wsc-container .xoo-wsc-btn:hover{
  background-color: var(--color-marca-tercero);
  border-color: var(--color-marca-segundo);
}
/* ======================================= */
/* 1. Estilo de Tarjeta Base */
/* ======================================= */

.woocommerce ul.products li.product , li.product{
    /* Diseño de Tarjeta */
    background-color: #ffffff;
    border: 1px solid var(--color-marca-cuarto); /* Borde suave */
    border-radius: 10px; /* Esquinas redondeadas */
    box-shadow: 0 4px 12px rgba(52, 73, 94, 0.05); /* Sombra muy sutil basada en color principal */
    transition: all 0.3s ease-in-out; 
    overflow: hidden;
    height: 100%; /* Importante para el layout de columna */
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
}

.woocommerce ul.products li.product:hover , li.product:hover {
    box-shadow: 0 8px 20px rgba(52, 73, 94, 0.1); /* Sombra más pronunciada al pasar el ratón */
    transform: translateY(-3px); /* Efecto de levantamiento sutil */
}

/* ======================================= */
/* 2. Imagen del Producto */
/* ======================================= */

/* Contenedor de la imagen (Ajustar según tu tema/plugin de slideshow) */
.woocommerce ul.products li.product .product-slideshow , li.product .product-slideshow{
    overflow: hidden;
    border-radius: 10px 10px 0 0; /* Solo esquinas superiores */
}

.woocommerce ul.products li.product img , li.product img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.woocommerce ul.products li.product:hover img , li.product:hover img{
    transform: scale(1.03); /* Zoom sutil a la imagen */
}

/* ======================================= */
/* 3. Estilo del Contenido (Título y Precio) */
/* ======================================= */

/* Alineación y espaciado general */
.woocommerce ul.products li.product .woocommerce-loop-product__link , li.product .woocommerce-loop-product__link{
    text-align: center;
    padding: 0 15px; /* Relleno interior para el texto */
}

/* Título */
.woocommerce ul.products li.product .woocommerce-loop-product__title , li.product .woocommerce-loop-product__title{
    font-size: 1.1em;
    font-weight: 700;
    color: var(--color-marca-primero); /* Color de marca principal */
    margin: 15px 0 5px;
    line-height: 1.3;
    min-height: 4vw;
}

/* Precio */
.woocommerce ul.products li.product .price , li.product .price{
    font-size: 1.25em;
    color: var(--color-marca-primero);
    font-weight: 600;
    margin: 5px 0 15px;
    display: block;
}

/* ======================================= */
/* 4. Botón Añadir al Carrito / Seleccionar Opciones */
/* ======================================= */

.woocommerce ul.products li.product .button, li.product .button{
    /* Color de acento de la marca */
    background-color: var(--color-marca-segundo); 
    color: #ffffff;
    border: none;
    border-radius: 0 0 10px 10px; /* Bordes redondeados solo en la parte inferior */
    padding: 12px 0;
    width: 100%;
    margin-top: auto; /* Empuja el botón al final de la tarjeta (gracias a flexbox) */
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    line-height: 1; 
}

.woocommerce ul.products li.product .button:hover, li.product .button:hover {
    background-color: #b30030; /* Tono más oscuro del color de marca */
    color: #ffffff;
}