/**
 * Yadea México - Estilos Globales (yadea-global.css)
 * 
 * Unificación BEM para Header y Footer omnipresentes en todo el sitio.
 *
 * @author  Pablo Gamaliel Solis Arista
 * @url     https://gamalielsolis.com
 * @project Yadea México (yadea.mx)
 */

/* ==========================================================================
   RESET GLOBAL
   ========================================================================== */
html {
	font-size: 115% !important;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
}

/* ==========================================================================
   RESET DE CONTENEDORES MAESTROS (Para ocupar el ancho real)
   ========================================================================== */
#page, .site-content, .site {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
}

h1 {
	font-size: 3rem !important;
	line-height: 1.1;
}

h2 {
	font-size: 2.2rem !important;
	margin-bottom: 30px;
}

h3 {
	font-size: 1.5rem;
}

/* ==========================================================================
   CONTENEDOR MAESTRO GLOBAL
   Contiene el contenido del Header, secciones y Footer con respiro lateral.
   ========================================================================== */
.yadea-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 5%;
	width: 100%;
	box-sizing: border-box;
}

/* ==========================================================================
   HEADER PREMIUM Y TOP BAR
   ========================================================================== */
.yadea-topbar {
	background-color: #111111;
	color: #ffffff;
}

.yadea-topbar__container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 38px;
}

.yadea-topbar__links {
	display: flex;
	gap: 2rem;
}

.yadea-topbar__links a {
	color: #ffffff;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.yadea-topbar__links a:hover {
	color: #ff5000;
}

.yadea-header-wrapper {
	position: sticky;
	top: 0;
	z-index: 9999;
}

.yadea-header {
	background-color: #ffffff;
	border-bottom: 1px solid #e0e0e0;
}

/* El contenedor del header hereda .yadea-container y agrega flex */
.yadea-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	padding-bottom: 20px;
}

.yadea-header__cell {
	display: flex;
	align-items: center;
}

/* Bloque Izquierdo: Logo */
.yadea-header__logo-img {
	max-height: 45px;
	width: auto;
}

/* Bloque Central: Menú Único */
.yadea-header__menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2rem;
	align-items: center;
}

.yadea-header__menu-list a {
	color: #111111;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.yadea-header__menu-list a:hover {
	color: #ff5000;
}

/* Bloque Derecho: Iconos y Botón */
.yadea-header__cell--actions {
	gap: 1.5rem;
	position: relative;
}

.yadea-header__cart-link {
	position: relative;
	display: inline-flex;
	color: #111111;
	transition: color 0.3s ease;
}

.yadea-header__cart-link:hover {
	color: #ff5000;
}

.yadea-header__cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background-color: #ff5000;
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 800;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

.yadea-header__btn-distribuidor,
.yadea-header__btn-distribuidor:visited {
	background-color: transparent;
	color: #111111 !important;
	border: none;
	padding: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.yadea-header__btn-distribuidor:hover {
	color: #ff5000 !important;
}

.yadea-header__btn-catalog {
	background-color: #ff5000;
	color: #ffffff !important;
	padding: 0.6rem 1.5rem;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 4px;
	white-space: nowrap; /* Evita que el texto se rompa en dos líneas */
	transition: background-color 0.3s ease;
}

.yadea-header__btn-catalog:hover {
	background-color: #e04600;
	color: #ffffff !important;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 80, 0, 0.4); }
	70% { box-shadow: 0 0 0 6px rgba(255, 80, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 80, 0, 0); }
}

/* ==========================================================================
   GLOBAL FOOTER (3 Columnas)
   ========================================================================== */
.yadea-global-footer {
	background-color: #111111;
	color: #cccccc;
	padding: 4rem 5% 2rem 5%;
	font-family: 'Inter', sans-serif;
	overflow: hidden;
    margin-top: auto;
}

/* El contenedor del footer hereda .yadea-container */
.yadea-global-footer__container {
	/* Hereda max-width y padding de .yadea-container */
}

/* Grid de 3 Columnas Estrictas */
.yadea-global-footer__grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4rem;
	margin-bottom: 3rem;
	align-items: start;
}

/* Estilos de Columna Generales */
.yadea-global-footer__logo {
	max-width: 180px;
	margin-bottom: 1.5rem;
}

.yadea-global-footer__title {
	color: #ffffff;
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	font-weight: 700;
}

.yadea-global-footer__text {
	font-size: 0.85rem;
	line-height: 1.6;
	color: #999999;
	margin-bottom: 0.8rem;
}

.yadea-global-footer__text strong {
	color: #ffffff;
}

/* Horarios */
.yadea-horarios {
	list-style: none;
	padding: 0;
	margin: 0;
	color: #999999;
}

.yadea-horarios li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #333;
	padding: 8px 0;
	font-size: 0.85rem;
}

/* Teléfono resaltado */
.yadea-global-footer__phone {
	font-size: 1.2rem;
	color: #ff5000;
	font-weight: bold;
	margin-bottom: 1rem;
}

/* Formulario Newsletter - UI Premium */
.yadea-global-footer__newsletter {
	margin-top: 1.5rem;
	width: 100%;
	max-width: 460px;
}

.yadea-newsletter-input-group {
	display: flex;
	align-items: center;
	background-color: #161616 !important;
	border: 1px solid #333333 !important;
	border-radius: 50px !important;
	padding: 5px !important;
	position: relative;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.yadea-newsletter-input-group:focus-within {
	border-color: #ff5000 !important;
	box-shadow: 0 0 0 3px rgba(255, 80, 0, 0.15) !important;
}

.yadea-newsletter-icon {
	color: #666666;
	margin-left: 10px;
	margin-right: 4px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	transition: color 0.3s ease;
}

.yadea-newsletter-input-group:focus-within .yadea-newsletter-icon {
	color: #ff5000;
}

.yadea-global-footer__input {
	flex: 1 1 auto;
	width: 0;
	background-color: transparent !important;
	border: none !important;
	color: #ffffff !important;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	padding: 10px 0;
	outline: none !important;
	box-shadow: none !important;
}

.yadea-global-footer__input::placeholder {
	color: #666666 !important;
}

.yadea-global-footer__submit {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	background-color: #ff5000 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 40px !important;
	padding: 12px 24px !important;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.yadea-global-footer__submit:hover {
	background-color: #e04600 !important;
	transform: translateY(-1px);
}

/* Utilidades Globales de Visibilidad */
.yadea-mobile-only {
    display: none !important;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #111111;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

#page {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.site-main, #content {
    flex-grow: 1;
}

.yadea-global-footer__submit:hover {
	background-color: #e04600;
}

/* Copyright Inferior */
.yadea-global-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 2rem;
	text-align: center;
}

.yadea-global-footer__social {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.yadea-global-footer__social-text {
	color: #666666;
	font-size: 0.9rem;
	margin: 0;
}

.yadea-global-footer__social-link {
	color: #999999;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.yadea-global-footer__social-link:hover {
	color: #ffffff;
}

.yadea-global-footer__social-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.yadea-global-footer__copyright {
	color: #666666;
	margin: 0;
	font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE HEADER & FOOTER
   ========================================================================== */
@media screen and (max-width: 1024px) {
	.yadea-header__menu-list {
		display: none; /* Hamburguesa a implementar */
	}
	.yadea-global-footer__grid-3 {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}



/* ==========================================================================
   MOBILE UI/UX (MAX-WIDTH: 768px)
   Regla: No alterar desktop. Solo adaptar layouts a columna única.
   ========================================================================== */
@media (max-width: 768px) {

    h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem !important; margin-bottom: 15px !important; line-height: 1.25 !important; }
    h3 { font-size: 1.4rem !important; }

    /* Prevención de scroll horizontal en todo el sitio */
    html, body, .yadea-home {
        overflow-x: clip;
        width: 100%;
        max-width: 100vw;
    }
    * {
        box-sizing: border-box;
    }

    /* Reflujo de contenedores del Home a columna vertical */
    .yadea-hero__content,
    .yadea-about__grid,
    .yadea-about__pillars,
    .yadea-catalog__grid,
    .yadea-services__grid,
    .yadea-distributors__grid,
    .yadea-test-drive__grid,
    .yadea-global-footer__grid-3,
    .yadea-header__inner {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    /* Grids del Home forzados a 1 columna */
    .yadea-catalog__grid,
    .yadea-distributors__grid,
    .yadea-services__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Padding lateral seguro para evitar contenido pegado a bordes */
    .yadea-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Secciones con espaciado vertical compacto */
    .yadea-section,
    .yadea-hero,
    .yadea-about,
    .yadea-catalog,
    .yadea-test-drive {
        padding-top: 40px;
        padding-bottom: 40px;
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Tipografía escalada para pantallas pequeñas */
    h1, h2, h3, 
    .yadea-hero__heading, 
    .yadea-about__heading, 
    .yadea-catalog__heading {
        word-break: break-word;
    }
    
    .yadea-hero__heading {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .yadea-about__heading,
    .yadea-catalog__heading,
    .yadea-test-drive__heading {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    p, 
    .yadea-hero__description, 
    .yadea-about__text, 
    .yadea-catalog__subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Imágenes y botones adaptados a touch */
    img, 
    .yadea-about__image, 
    .yadea-catalog__card-image {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .yadea-hero__cta, 
    .yadea-btn, 
    .yadea-product-card__actions .button,
    .btn-sticky-cta {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        justify-content: center;
        display: flex;
        font-size: 1rem;
    }


}


/* ==========================================================================
   YADEA TIENDA: CONCESIONARIO VIRTUAL PREMIUM
   Banner, Filtros, Grid fijo 3 cols, Tarjetas con colores como círculos,
   descripción corta, precio destacado y botón "Comprar Ahora".
   ========================================================================== */

/* --- Banner Promocional (Placeholder para imágenes Desktop/Mobile) --- */
.yadea-shop-banner {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #1a1a1a;
}
.yadea-shop-banner__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 800px;
}

/* --- Cuerpo de la Tienda (fondo blanco, misma estética que el body) --- */
.yadea-shop-body {
    padding-top: 40px;
    padding-bottom: 60px;
    background: #ffffff;
}

/* --- Sistema de Filtros (Tabs) --- */
.yadea-shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}
.yadea-filter-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #555;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.yadea-filter-btn:hover {
    border-color: #ff5000;
    color: #ff5000;
}
.yadea-filter-btn.active {
    background: #ff5000;
    color: #fff;
    border-color: #ff5000;
}

/* --- Grid Fijo de 3 Columnas --- */
.yadea-shop-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* ===================================================================
   TARJETA PREMIUM — Radical Showcase (Neo-Premium)
   Autor: Pablo Gamaliel Solis Arista
   Diseño inspirado en catálogos de Apple y DJI.
   Sin bordes intrusivos, la imagen es la protagonista.
   =====================================================/* --- Contenedor Principal (White Premium) --- */
.yadea-premium-card {
    display: flex;
    flex-direction: column;
    background: #ffffff; /* Blanco puro para más contraste */
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: 
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}
.yadea-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.yadea-premium-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}
.yadea-premium-card__link:hover,
.yadea-premium-card__link:focus {
    text-decoration: none !important;
    color: inherit;
}

/* --- TOP: Showcase de Imagen (Spotlight) --- */
.yadea-premium-card__showcase {
    background: radial-gradient(circle at center, #f4f4f5 0%, #ffffff 70%); /* Spotlight suave */
    border-radius: 16px;
    height: 240px; 
    margin: 0 0 24px 0;
    padding: 16px;
    display: flex;
    align-items: center; 
    justify-content: center;
    position: relative;
}
.yadea-premium-card__showcase img {
    max-height: 100%;
    max-width: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.yadea-premium-card:hover .yadea-premium-card__showcase img {
    transform: scale(1.08);
}

/* --- BOTTOM: Detalles --- */
.yadea-premium-card__details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Meta & Colores Row */
.yadea-premium-card__meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.yadea-premium-card__meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0; /* Ya no tiene margin-bottom porque el row lo maneja */
}
.yadea-premium-card__meta .brand {
    color: #ff5000;
    font-weight: 800;
}
.yadea-premium-card__meta .sep {
    color: #d0d0d0;
}
.yadea-premium-card__meta .cat {
    color: #555;
    font-weight: 600;
}

/* Colores inline */
.yadea-premium-card__swatches-inline .yadea-shop-swatches {
    margin: 0 !important;
    gap: 6px !important;
    justify-content: flex-end !important;
}
.yadea-premium-card__swatches-inline .yadea-swatch {
    width: 14px !important;
    height: 14px !important;
    border-width: 1px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Título */
.yadea-premium-card__title,
.yadea-premium-card .yadea-premium-card__title,
.yadea-premium-card__details h2.yadea-premium-card__title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.05em !important;
    text-align: left !important;
}

/* Descripción */
.yadea-premium-card__excerpt {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex-grow: 1; /* Empuja el footer hacia abajo */
}

/* Zona de Compra (Flex) */
.yadea-premium-card__buy-zone {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #ebebeb;
}

/* Precio */
.price-wrapper {
    display: flex;
    flex-direction: column;
}
.price-wrapper .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}
.price-amount {
    line-height: 1;
}
.price-amount .amount,
.price-amount > span > .amount,
.price-amount ins .amount {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #111 !important;
}
.price-amount del {
    display: block;
    margin-bottom: 2px;
}
.price-amount del .amount {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #a0a0a0 !important;
    text-decoration: line-through;
}
.price-amount ins {
    text-decoration: none;
}

/* Botón CTA (Pill oscuro/naranja) */
.action-wrapper .yadea-btn-buy {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    gap: 8px;
    background: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}
.yadea-premium-card:hover .yadea-btn-buy {
    background: #ff5000;
    padding-right: 20px;
    padding-left: 28px;
    box-shadow: 0 4px 15px rgba(255, 80, 0, 0.3);
}
.action-wrapper .yadea-btn-buy svg {
    transition: transform 0.3s ease;
}
.yadea-premium-card:hover .yadea-btn-buy svg {
    transform: translateX(4px);
}

/* ==========================================================================
   TIENDA RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .yadea-shop-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {

    h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem !important; margin-bottom: 15px !important; line-height: 1.25 !important; }
    h3 { font-size: 1.4rem !important; }

    .yadea-shop-banner {
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .yadea-shop-banner__img {
        max-height: 280px;
        height: 100%;
        object-fit: cover;
    }
    .yadea-shop-banner__title {
        font-size: 1.5rem !important; /* Evitar que se rompan palabras largas como MOVILIDAD */
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
    }
    .yadea-shop-filters {
        gap: 6px;
        justify-content: center;
    }
    .yadea-filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        flex: 1 1 auto;
        text-align: center;
    }
    .yadea-shop-catalog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Adaptación del Showcase Monolith */
    .yadea-premium-card__showcase {
        height: 200px; /* Reducir altura en móviles */
        margin-bottom: 20px;
    }
    .yadea-premium-card__title {
        font-size: 1.2rem !important;
    }
    .yadea-premium-card__buy-zone {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .action-wrapper .yadea-btn-buy {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ESTILOS PREMIUM TIENDA / CATÁLOGO (Inyectados desde global.css)
   ========================================================================== */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 30px !important; margin-top: 40px !important; }
.woocommerce ul.products li.product, .woocommerce ul.products li.yadea-product-card { background: #fff !important; padding: 20px !important; border-radius: 0 !important; border: 1px solid #eaeaea; box-shadow: none !important; text-align: center; transition: all 0.3s ease; }
.woocommerce ul.products li.product:hover, .woocommerce ul.products li.yadea-product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important; border-color: #ff5000 !important; }
.woocommerce ul.products li.product img, .yadea-product-card__image img { border-radius: 0 !important; width: 100% !important; height: auto !important; object-fit: cover; mix-blend-mode: multiply; transition: opacity 0.3s ease; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .yadea-product-card__title a { font-size: 1.1rem !important; font-weight: 800 !important; margin: 15px 0 10px !important; color: #111111 !important; line-height: 1.3 !important; }
.woocommerce ul.products li.product .price, .yadea-product-card__price { font-size: 1.1rem !important; color: #ff5000 !important; font-weight: 700 !important; margin-bottom: 10px !important; display: block; }
.woocommerce ul.products li.product .price, .yadea-product-card__price { font-size: 1.1rem !important; color: #ff5000 !important; font-weight: 700 !important; margin-bottom: 10px !important; display: block; }
.woocommerce .price del, .yadea-product-card__price del, .yadea-card__price del, .price-amount del { font-size: 0.85rem !important; color: #a0a0a0 !important; font-weight: 500 !important; display: inline-block; margin-right: 8px; text-decoration: line-through !important; opacity: 0.7; }
.woocommerce .price ins, .yadea-product-card__price ins, .yadea-card__price ins, .price-amount ins { background: transparent !important; color: #ff5000 !important; text-decoration: none !important; font-size: 1.3rem !important; font-weight: 900 !important; padding: 0 !important; }
.woocommerce ul.products li.product .button, .yadea-product-card__actions .button { background: #ff5000 !important; color: #fff !important; display: block !important; width: 100% !important; margin-top: 15px !important; border-radius: 0 !important; font-weight: bold !important; text-transform: uppercase !important; padding: 14px !important; font-size: 0.85rem !important; letter-spacing: 0.05em !important; }
.woocommerce ul.products li.product .button:hover, .yadea-product-card__actions .button:hover { background: #e04600 !important; }

/* SWATCHES */
.yadea-swatches { display: flex; justify-content: center; gap: 8px; margin: 12px 0 15px; }
.yadea-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #eaeaea; cursor: pointer; transition: transform 0.2s, border-color 0.2s; box-sizing: border-box; }
.yadea-swatch:hover, .yadea-swatch.active { transform: scale(1.15); border-color: #111111; }

/* === CHECKOUT (VIETNAM: 2 COLUMNAS) === */
.woocommerce-checkout .woocommerce { max-width: 1200px !important; margin: 40px auto !important; }
.woocommerce-billing-fields > h3 { display: none !important; } /* Ocultar "Detalles de facturación" sin afectar Sucursal */
#yadea_sucursal_section h3 { display: block !important; margin-top: 20px; margin-bottom: 15px; }
.woocommerce-checkout form.checkout { display: flex !important; flex-wrap: wrap !important; gap: 40px !important; align-items: flex-start !important; }
.woocommerce-checkout #customer_details { width: calc(60% - 20px) !important; }
.woocommerce-checkout #order_review_heading { width: calc(40% - 20px) !important; margin-bottom: 15px !important; }
.woocommerce-checkout #order_review { width: calc(40% - 20px) !important; background: #f8f9fa !important; padding: 30px !important; border-radius: 16px !important; border: 1px solid #eaeaea !important; }

/* INPUTS Y FORMULARIOS */
.woocommerce form .form-row { margin-bottom: 20px !important; padding: 0 !important; }
.woocommerce form .form-row label { font-weight: 600 !important; margin-bottom: 8px !important; display: block !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100% !important; padding: 16px !important; border: 1px solid #d1d1d1 !important; border-radius: 8px !important; box-shadow: none !important; font-size: 15px !important; transition: border-color 0.3s ease !important; background: #fff !important; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: #ff5000 !important; outline: none !important; }
.woocommerce #place_order { background: #ff5000 !important; color: #fff !important; width: 100% !important; padding: 20px !important; font-size: 1.2rem !important; border-radius: 8px !important; text-transform: uppercase !important; font-weight: bold !important; margin-top: 20px !important; }

/* ==========================================================================
   HELPERS & HAMBURGER (Globales)
   ========================================================================== */
.yadea-mobile-only {
    display: none !important;
}

.yadea-hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yadea-hamburger-box {
    width: 24px;
    height: 16px;
    position: relative;
    display: inline-block;
}
.yadea-hamburger-inner,
.yadea-hamburger-inner::before,
.yadea-hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: #111;
    position: absolute;
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.yadea-hamburger-inner { top: 50%; transform: translateY(-50%); }
.yadea-hamburger-inner::before { content: ''; top: -7px; left: 0; }
.yadea-hamburger-inner::after { content: ''; bottom: -7px; left: 0; }

.yadea-hamburger.is-active .yadea-hamburger-inner { background-color: transparent; }
.yadea-hamburger.is-active .yadea-hamburger-inner::before { transform: translateY(7px) rotate(45deg); }
.yadea-hamburger.is-active .yadea-hamburger-inner::after { transform: translateY(-7px) rotate(-45deg); }

/* RESPONSIVE */
@media (max-width: 768px) {

    h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem !important; margin-bottom: 15px !important; line-height: 1.25 !important; }
    h3 { font-size: 1.4rem !important; }

    .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { width: 100% !important; }

    .yadea-desktop-only { display: none !important; }
    li.yadea-mobile-only { display: block !important; }
    button.yadea-mobile-only { display: inline-flex !important; }

    /* =======================================================
       UTILIDADES DE VISIBILIDAD MÓVIL
       ======================================================= */
    .yadea-desktop-only {
        display: none !important;
    }
    .yadea-mobile-only {
        display: block !important;
    }
    li.yadea-mobile-only,
    div.yadea-mobile-only,
    button.yadea-mobile-only {
        display: flex !important;
    }
    img.yadea-mobile-only {
        display: inline-block !important;
    }

    /* =======================================================
       1. CINTA NEGRA (Top Bar) MÓVIL
       ======================================================= */
    .yadea-topbar__container {
        justify-content: center;
        height: auto;
        padding: 5px 0;
    }
    .yadea-topbar__links {
        width: 100%;
        justify-content: space-evenly;
        gap: 0;
    }
    .yadea-topbar__links a {
        display: inline-block;
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        line-height: 1.5;
        padding: 12px 10px;
        text-align: center;
    }

    /* El parche de position: fixed ha sido removido. El header usa position: sticky nativo y no requiere padding-top. */

    /* =======================================================
       2. HEADER BLANCO MÓVIL
       ======================================================= */
    .yadea-header__container {
        display: flex;
        justify-content: center; /* Centrar Logo */
        align-items: center;
        padding: 0 20px; /* Padding rígido en pixeles */
        height: 65px;
        position: relative;
    }

    .yadea-header__cell--logo {
        flex: 0 0 auto;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 6px; /* Corrección óptica de centrado vertical */
    }
    .yadea-header__logo-img {
        max-width: 150px;
        max-height: 35px;
        object-fit: contain;
    }

    /* Hamburguesa a la izquierda absoluta */
    .yadea-hamburger {
        position: absolute;
        left: 8px; /* Reducido para compensar el padding interno invisible del botón */
        padding: 5px;
        margin: 0;
        z-index: 3;
        display: flex;
        align-items: center;
    }

    /* Acciones a la derecha absoluta */
    .yadea-header__cell--actions {
        position: absolute;
        right: 25px; /* Aumentado para igualar el margen izquierdo visual */
        padding: 0;
        margin: 0;
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        z-index: 3;
    }
    
    .yadea-header__cell--actions .yadea-header__btn-distribuidor,
    .yadea-header__cell--actions .yadea-header__btn-catalog {
        display: none !important; /* Solo ocultos en la barra superior móvil, no en el menú */
    }

    .yadea-header__cart-link {
        padding: 5px;
        margin: 0;
        display: flex;
        align-items: center;
    }

    /* Bloqueador de scroll al abrir menú (Forzado iOS) */
    body.yadea-no-scroll {
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed;
        width: 100%;
        top: 0;
    }

    /* =======================================================
       3. MENÚ HAMBURGUESA DESPLEGABLE
       ======================================================= */
    .yadea-header__cell--menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.90); /* Glassmorphism */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: 0 30px 60px rgba(0,0,0,0.12); /* Sombra dramática premium */
        padding: 10px 0 40px;
        height: calc(100vh - 115px); /* Menú a pantalla completa (restando topbar+header) */
        overflow-y: auto; /* Permitir scroll interno */
        z-index: 1000;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    .yadea-header__cell--menu.is-active {
        display: block;
        animation: menuFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    }

    @keyframes menuFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .yadea-header__menu-list {
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0;
        padding: 20px 0; /* Respiro más amplio al inicio */
    }
    .yadea-header__menu-list > li {
        border-bottom: none; 
        opacity: 0;
        transform: translateY(20px);
    }
    
    /* Animación escalonada (Stagger) */
    .yadea-header__cell--menu.is-active .yadea-header__menu-list > li {
        animation: staggerItemIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes staggerItemIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .yadea-header__menu-list > li:nth-child(1) { animation-delay: 0.05s; }
    .yadea-header__menu-list > li:nth-child(2) { animation-delay: 0.10s; }
    .yadea-header__menu-list > li:nth-child(3) { animation-delay: 0.15s; }
    .yadea-header__menu-list > li:nth-child(4) { animation-delay: 0.20s; }
    .yadea-header__menu-list > li:nth-child(5) { animation-delay: 0.25s; }
    .yadea-header__menu-list > li:nth-child(6) { animation-delay: 0.30s; }
    .yadea-header__menu-list > li:nth-child(7) { animation-delay: 0.35s; }
    .yadea-header__menu-list > li:nth-child(8) { animation-delay: 0.40s; }
    .yadea-header__menu-list > li:nth-child(9) { animation-delay: 0.45s; }
    .yadea-header__menu-list > li:nth-child(10) { animation-delay: 0.50s; }

    .yadea-header__menu-list a,
    .yadea-header__menu-list a:visited {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%; /* Forzar ocupación total */
        box-sizing: border-box; /* Prevenir desbordamientos por el padding */
        font-size: 1.35rem !important; /* Tamaño más equilibrado */
        font-weight: 600 !important; /* Peso sólido pero no exagerado */
        letter-spacing: -0.05em; 
        line-height: 1.2;
        padding: 16px 35px !important; 
        text-align: left !important;
        white-space: normal;
        color: #111111 !important; /* Negro clásico, compartido con :visited para evitar cambios de color */
        transition: color 0.3s ease, transform 0.2s ease;
    }
    
    /* Flechas chevron para indicar navegación */
    .yadea-header__menu-list > li:not(.yadea-mobile-socials):not(.yadea-mobile-legal) > a:not(.yadea-header__btn-catalog)::after {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        border-top: 2px solid #888888; /* Chevron más sutil y elegante */
        border-right: 2px solid #888888;
        transform: rotate(45deg);
        margin-left: auto;
        opacity: 0.8;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .yadea-header__menu-list > li:not(.yadea-mobile-socials):not(.yadea-mobile-legal) > a:not(.yadea-header__btn-catalog):active::after {
        transform: rotate(45deg) scale(0.9) translateX(5px);
    }

    .yadea-header__menu-list a:active {
        background-color: transparent !important;
        transform: scale(0.97); /* Microinteracción táctil */
        color: #ff5000 !important;
    }

    /* Estilo de los botones movidos al menú */
    /* "Sé distribuidor" hereda al 100% el estilo de un enlace normal del menú (mismo peso, color e importancia) */
    
    .yadea-header__menu-list .yadea-header__btn-catalog,
    .yadea-header__menu-list .yadea-header__btn-catalog:visited {
        justify-content: center !important; /* Centrar el texto en flex */
        margin: 15px 35px 25px 35px !important; 
        width: calc(100% - 70px) !important; 
        display: flex !important; 
        padding: 18px 0 !important;
        border-radius: 100px !important; /* Diseño de pastilla (pill) hiper moderno */
        background: linear-gradient(135deg, #ff7a00, #ff5000) !important; /* Gradiente de impacto */
        font-size: 1.25rem !important; /* Sobreescribir el tamaño gigante */
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        color: #ffffff !important; 
        box-shadow: 0 12px 30px rgba(255, 80, 0, 0.35) !important; /* Resplandor dramático */
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    }
    
    .yadea-header__menu-list .yadea-header__btn-catalog:active {
        transform: scale(0.95);
        box-shadow: 0 6px 15px rgba(255, 80, 0, 0.25) !important;
    }
    
    /* Fila de Redes Sociales Móvil */
    li.yadea-mobile-socials {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: center;
        gap: 25px 0;
        padding: 30px 40px 15px 40px;
        margin-top: 15px;
        border-top: 1px solid #f4f4f5; /* Separador sutil */
    }
    
    li.yadea-mobile-socials a {
        padding: 10px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #111111 !important;
    }

    /* Aviso de Privacidad Móvil */
    li.yadea-mobile-legal {
        display: flex !important;
        justify-content: center;
        padding: 0 0 30px 0;
    }
    li.yadea-mobile-legal a {
        font-size: 0.8rem !important;
        font-weight: 400 !important;
        color: #888888 !important;
        text-align: center !important;
        text-decoration: underline !important;
        padding: 10px !important;
        border: none !important;
    }
    
    li.yadea-mobile-socials a svg {
        width: 24px;
        height: 24px;
        transition: color 0.3s ease;
    }

    /* Ocultar barra flotante lateral en móvil (Excepto WhatsApp) */
    .yadea-floating-btn:not(.yadea-whatsapp-btn) {
        display: none !important;
    }
}

/* ==========================================================================
   MEGA MENU (DESKTOP)
   ========================================================================== */
@media (min-width: 992px) {
    .yadea-header { position: relative; }
    
    .yadea-megamenu-caret {
        display: inline-block;
        margin-left: 5px;
        transition: transform 0.3s ease;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #111;
        vertical-align: middle;
    }
    .yadea-has-megamenu:hover .yadea-megamenu-caret {
        transform: rotate(180deg);
        border-top-color: #ff5000;
    }

    .yadea-megamenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        pointer-events: none;
    }

    /* Puente invisible para mantener el hover al bajar el mouse */
    .yadea-megamenu::before {
        content: "";
        position: absolute;
        top: -30px;
        left: 0;
        width: 100%;
        height: 30px;
        background: transparent;
    }

    .yadea-has-megamenu:hover .yadea-megamenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .yadea-megamenu__inner {
        display: flex;
        padding: 40px 0;
        min-height: 400px;
    }

    .yadea-megamenu__sidebar {
        width: 25%;
        border-right: 1px solid #f0f0f0;
        padding-right: 40px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .yadea-megamenu__tab {
        background: none;
        border: none;
        font-size: 1.1rem;
        font-weight: 600;
        color: #111;
        cursor: pointer;
        padding: 5px 0;
        margin-left: auto;
        width: max-content;
        transition: all 0.2s ease;
        border-bottom: 2px solid transparent;
    }

    .yadea-megamenu__tab:hover {
        color: #ff5000;
    }

    .yadea-megamenu__tab.active {
        color: #111;
        border-bottom-color: #ff5000;
    }

    .yadea-megamenu__content {
        width: 75%;
        padding-left: 60px;
        position: relative;
    }

    .yadea-megamenu__panel {
        display: none;
        animation: fadeInMegaMenu 0.4s ease forwards;
    }

    .yadea-megamenu__panel.active {
        display: block;
    }

    .yadea-megamenu__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .yadea-megamenu__product-card {
        text-align: center;
        text-decoration: none !important;
        display: block;
        transition: transform 0.3s ease;
    }

    .yadea-megamenu__product-card:hover {
        transform: translateY(-5px);
    }

    .yadea-megamenu__product-img {
        background: transparent;
        margin-bottom: 15px;
        height: 160px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
    
    .yadea-megamenu__product-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .yadea-megamenu__product-title {
        font-size: 1.2rem;
        color: #111;
        margin: 0 0 5px 0;
        font-weight: 600;
    }

    .yadea-megamenu__product-meta {
        font-size: 0.8rem;
        color: #666;
        display: block;
    }

    @keyframes fadeInMegaMenu {
        from { opacity: 0; transform: translateX(10px); }
        to { opacity: 1; transform: translateX(0); }
    }
}
    
/* ==========================================================================
   BLOQUE: .yadea-floating-dock
   Contenedor flotante de Redes Sociales y WhatsApp (Global)
   ========================================================================== */
.yadea-floating-dock { position: fixed; bottom: 2rem; right: 2rem; z-index: 99999; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.yadea-floating-btn { width: 44px; height: 44px; background-color: #2c2c2c; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: all 0.3s ease; text-decoration: none; color: #fff; }
.yadea-floating-btn svg { width: 22px; height: 22px; fill: currentColor; }
.yadea-floating-btn:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.3); background-color: #ff5000; }
.yadea-whatsapp-btn { width: 60px; height: 60px; background-color: #25d366; }
.yadea-whatsapp-btn svg { width: 32px; height: 32px; }
.yadea-whatsapp-btn:hover { background-color: #20b858; }

@media (max-width: 768px) {

    h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem !important; margin-bottom: 15px !important; line-height: 1.25 !important; }
    h3 { font-size: 1.4rem !important; }

    .yadea-floating-dock { bottom: 1.5rem; right: 1.5rem; }
    .yadea-whatsapp-btn { width: 50px; height: 50px; }
    .yadea-whatsapp-btn svg { width: 28px; height: 28px; }
}

/* ==========================================================================
   MOBILE PRODUCT MENU (ACCORDION)
   ========================================================================== */
.yadea-mobile-product-menu {
	margin: 0;
	padding: 0;
	width: 100%;
}
.yadea-mobile-accordion {
	width: 100%;
}
.yadea-mobile-accordion summary {
	font-size: 1.35rem !important;
	font-weight: 600 !important;
	color: #111111 !important;
	letter-spacing: -0.05em; 
	line-height: 1.2;
	padding: 16px 35px !important; 
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none; /* Hide default arrow */
	cursor: pointer;
	box-sizing: border-box;
	width: 100%;
}
.yadea-mobile-accordion summary::-webkit-details-marker {
	display: none;
}
/* Reemplazamos el "+" por el chevron chevron nativo del men */
.yadea-mobile-accordion summary::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-top: 2px solid #888888;
	border-right: 2px solid #888888;
	transform: rotate(45deg);
	margin-left: auto;
	opacity: 0.8;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.yadea-mobile-accordion[open] summary::after {
	transform: rotate(135deg) scale(0.9) translateY(-2px); /* Chevron apunta hacia abajo */
	border-color: #ff5000;
	opacity: 1;
}
.yadea-mobile-accordion-content {
	padding: 5px 35px 25px 35px; /* Padding interno alineado con el men */
	width: 100%;
	box-sizing: border-box;
}
.yadea-mobile-cat-group {
	margin-bottom: 35px;
}
.yadea-mobile-cat-group:last-child {
	margin-bottom: 0;
}
.yadea-mobile-cat-title {
	font-size: 0.95rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--yadea-orange, #ff5000);
	letter-spacing: -0.02em;
	border-bottom: 1px solid #f4f4f5;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
.yadea-mobile-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}
.yadea-mobile-product-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none !important;
	background: #fcfcfc; /* Fondo un poco mas distinguible que el blanco puro */
	border: 1px solid #f0f0f0; /* Borde sutl para enmarcar */
	border-radius: 12px;
	padding: 15px 12px;
	transition: transform 0.3s, background 0.3s;
}
.yadea-mobile-product-item:active {
	transform: scale(0.96);
	background: #f4f4f5;
}
.yadea-mobile-product-item img {
	width: 100%;
	max-width: 90px;
	height: auto;
	max-height: 70px;
	object-fit: contain;
	margin: 0 auto 12px auto;
	display: block;
	mix-blend-mode: multiply;
}
.yadea-mobile-product-item span {
	display: block;
	width: 100%;
	font-size: 0.85rem;
	font-weight: 700;
	color: #111;
	line-height: 1.3;
	text-align: center;
}
