@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//bananastore.pe/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.8") format("woff2");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,154,216);
	--wd-alternative-color: FAE813;
	--btn-default-bgcolor: rgb(0,154,216);
	--btn-default-bgcolor-hover: rgb(0,154,216);
	--btn-accented-bgcolor: rgb(0,154,216);
	--btn-accented-bgcolor-hover: rgb(0,154,216);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(0,46,165);
	background-image: none;
}
html .wd-page-content .wd-product .product-wrapper .wd-entities-title, html .wd-product .price, html .wd-product .price > .amount, html .wd-product .price ins > .amount {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: rgb(30,115,190);
}
html .wd-page-content .wd-product .product-wrapper .wd-entities-title a:hover, html .wd-product .price:hover, html .wd-product .price > .amount:hover, html .wd-product .price ins > .amount:hover {
	color: rgb(221,51,51);
}
.product-labels .product-label.onsale {
	background-color: rgb(212,18,18);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 5px;
}
:root{
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}



.wd-page-title {
background-color: #0a0a0a;
}

/* 1. Definimos la animación "Latido + Color" */
@keyframes latidoOferta {
  0% {
    background-color: #d32f2f; /* Rojo */
    color: #ffffff !important;
    transform: scale(1); /* Tamaño normal */
  }
  50% {
    background-color: #ffeb3b; /* Amarillo */
    color: #000000 !important;
    transform: scale(1.1); /* Crece un 10% */
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.7); /* Añadimos un pequeño resplandor */
  }
  100% {
    background-color: #d32f2f; /* Rojo */
    color: #ffffff !important;
    transform: scale(1); /* Regresa a tamaño normal */
  }
}

/* 2. Aplicamos la animación al enlace */
li.menu-oferta-flash > a {
  /* display: inline-block es vital para que la transformación de tamaño funcione bien */
  
  animation: latidoOferta 1.2s infinite ease-in-out; /* 1.2s es un ritmo de corazón acelerado */
  border-radius: 4px;
  padding: 0 15px !important;
  font-weight: 800; /* Extra negrita */
  text-transform: uppercase;
  transition: all 0.3s ease; /* Suaviza la transición al quitar el mouse */
}

/* 3. Comportamiento al pasar el mouse (Hover) */
li.menu-oferta-flash > a:hover {
  animation: none; /* PAUSA la animación */
  transform: scale(1.15); /* Se queda un poquito MÁS grande que el latido (efecto zoom) */
  background-color: #d32f2f; /* Se queda en color Rojo Fijo */
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.5); /* Sombra fija */
}

/* Contenedor relativo para asegurar posicionamiento 
.product-grid-item .product-image-link {
    position: relative;
    display: block;
}

/* Creamos el elemento fantasma que llevará la imagen 
.product-grid-item .product-image-link::after {
    content: "";
    position: absolute;
    bottom: 0; /* Pegado al fondo 
    left: 0;
    width: 100%; /* Que ocupe todo el ancho 
    height: 50px; /* AJUSTA ESTO: La altura de tu imagen 
    
    /* Aquí pegas la URL de tu imagen subida 
    background-image: url('https://bananastore.pe/wp-content/uploads/2026/01/PIE-DE-PRODUCTO-BANANA-STORE-scaled.png');
    
    background-size: 100% auto; /* Ajusta al ancho, altura automática 
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 2; /* Para que esté encima de la foto 
    pointer-events: none; /* TRUCO DE ORO: Permite dar click a través de la imagen 
}
/* Para la imagen principal en la página de producto 
.woocommerce-product-gallery__image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Quizás aquí necesites más altura 
    background-image: url('https://bananastore.pe/wp-content/uploads/2026/01/PIE-DE-PRODUCTO-BANANA-STORE-scaled.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 2;
    pointer-events: none;
}

/* --- Diseño de la caja de precios y prevención de choque con marcas --- */
.caja-precios-banana {
    border: 1px dashed #cccccc;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    background-color: #ffffff;
    
    /* El truco: Hacemos que la caja sea 100px más angosta para dejar espacio a los logos a la derecha */
    max-width: calc(100% - 150px); 
}

/* Diseño responsivo: En celulares, los logos se mueven, así que la caja vuelve a ser 100% ancha */
@media (max-width: 768px) {
    .caja-precios-banana {
        max-width: 100%;
    }
}

/* =========================================================
   DISEÑO DE BARRA DE STOCK TIPO "CARGA" (Semáforo Visual)
   ========================================================= */

/* --- 1. El Contenedor Principal (Fondo gris) --- */
.wd-progress-bar.wd-stock-progress-bar {
    max-width: 320px !important; /* Ancho máximo para que no se estire */
    margin-bottom: 15px !important;
}

.wd-progress-bar.wd-stock-progress-bar .progress-area {
    background-color: #e9ecef !important; /* Gris claro para el fondo vacío */
    height: 12px !important;
    border-radius: 10px !important;
    box-shadow: none !important; /* Diseño plano y limpio */
    overflow: hidden; /* Para cortar la barra interna en los bordes */
}

/* --- 2. La Barra Interna (El color que se llena) --- */
.wd-progress-bar.wd-stock-progress-bar .progress-bar {
    display: block !important; /* ¡Importante! La hacemos visible de nuevo */
    height: 100% !important;
    border-radius: 10px !important;
    /* Transición suave para el ancho y el color */
    transition: width 0.5s ease-in-out, background-color 0.3s ease;
}

/* --- 3. Estilo del Badge de Texto (No cambia) --- */
p.stock.in-stock {
    padding: 8px 15px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    display: inline-block !important;
    margin-top: 15px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
}

/* =========================================================
   NIVELES DE SEMÁFORO (Ancho y Color)
   ========================================================= */

/* 🔴 ROJO: Stock crítico (1-3 unidades) -> Barra al 25% */
.stock-nivel-rojo .wd-progress-bar.wd-stock-progress-bar .progress-bar {
    background-color: #ff3b3b !important;
    width: 25% !important; /* Simula que queda poco */
}
.stock-nivel-rojo p.stock.in-stock {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

/* 🟡 AMARILLO: Stock medio (4-10 unidades) -> Barra al 60% */
.stock-nivel-amarillo .wd-progress-bar.wd-stock-progress-bar .progress-bar {
    background-color: #FFC107 !important;
    width: 60% !important; /* Simula que va por la mitad */
}
.stock-nivel-amarillo p.stock.in-stock {
    background-color: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

/* 🟢 VERDE: Buen stock (+10 unidades) -> Barra al 100% */
.stock-nivel-verde .wd-progress-bar.wd-stock-progress-bar .progress-bar {
    background-color: #25D366 !important;
    width: 100% !important; /* Barra llena */
}
.stock-nivel-verde p.stock.in-stock {
    background-color: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1px solid #bbf7d0 !important;
}

/* =========================================================
   1. AJUSTES TEXTO SUPERIOR DE LA BARRA DE STOCK
   ========================================================= */

/* Ocultar el texto de "Pedidos: X" (Total vendido) */
.wd-progress-bar.wd-stock-progress-bar .stock-info .total-sold {
    display: none !important;
}

/* Asegurar que "Artículos disponibles: X" se quede alineado a la derecha */
.wd-progress-bar.wd-stock-progress-bar .stock-info {
    display: flex !important;
    
    font-weight: 600 !important;
    color: #555 !important;
}

/* =========================================================
   2. DISEÑO PREMIUM PARA EL CONTADOR DE VISITAS
   ========================================================= */

/* Limitar el ancho y crear el diseño de "Caja de Notificación" */
.wd-product-info.wd-visits-count {
    max-width: 380px !important; /* Mismo ancho que la barra de stock */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important; /* Degradado azul hielo */
    border: 1px solid #bae6fd !important;
    border-left: 4px solid #0ea5e9 !important; /* Acento lateral azul vibrante */
    border-radius: 8px !important;
    padding: 10px 15px !important;
    color: #0369a1 !important; /* Texto azul oscuro legible */
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.1) !important; /* Sombra suave */
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important; /* Animación suave para el hover */
}

/* Efecto de "Flote" al pasar el mouse por encima */
.wd-product-info.wd-visits-count:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 8px -1px rgba(14, 165, 233, 0.2) !important;
}

/* Resaltar el número de personas para mayor impacto psicológico */
.wd-product-info.wd-visits-count strong {
    color: #0284c7 !important;
    font-size: 16px !important;
    margin: 0 4px !important;
    background-color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* =========================================================
   DISEÑO DEL CONTADOR DE VISITAS GLOBAL
   ========================================================= */

/* Contenedor flotante */
.banana-live-visitors {
    position: fixed;
    bottom: 25px;
    left: 25px; /* Cámbialo a 'right: 25px;' si prefieres que salga a la derecha */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px; /* Forma de píldora redondeada */
    padding: 10px 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999; /* Asegura que siempre esté por encima de todo */
    transition: all 0.3s ease;
}

/* El número resaltado */
#banana-live-count {
    color: #0f172a;
    font-weight: 800;
    font-size: 16px;
}

/* El punto verde palpitante (Efecto en vivo) */
.banana-live-visitors .live-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366; /* Verde vibrante */
    border-radius: 50%;
    display: inline-block;
    animation: pulso-verde 2s infinite;
}

/* Animación del radar */
@keyframes pulso-verde {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Modo celular: Lo centramos y subimos un poco para no chocar con el menú móvil de WoodMart */
@media (max-width: 768px) {
    .banana-live-visitors {
        bottom: 80px; 
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        font-size: 12px;
        padding: 8px 15px;
    }
}