/**
 * Menu Estiloss - Hoja de estilos Front-end
 * Estética: Blanco, Negro y toques en Dorado de Joyería Premium
 * Diseñado y optimizado para Elementor y WordPress
 *
 * @package MenuEstiloss
 */

/* ==========================================================================
   1. VARIABLES CSS (DESIGN TOKENS: BLANCO, NEGRO Y DORADO)
   ========================================================================== */
:root {
    --me-black-bg: #0a0a0a;
    --me-black-pure: #000000;
    --me-white-bg: #ffffff;

    --me-text-light: #ffffff;
    --me-text-dark: #111827;
    --me-text-muted: #6b7280;

    --me-gold: #c5a059;
    --me-gold-hover: #b08d46;
    --me-gold-light: #faf6ed;
    --me-gold-border: #e6d5b8;

    --me-gray-border: #e5e7eb;
    --me-gray-subtle: #f9fafb;

    --me-header-height: 76px;
    --me-mobile-header-height: 64px;

    --me-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --me-shadow-dropdown: 0 16px 36px rgba(0, 0, 0, 0.12);
    --me-shadow-mega: 0 24px 48px -12px rgba(0, 0, 0, 0.10), 0 0 1px 1px rgba(0, 0, 0, 0.04);

    --me-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --me-radius-sm: 6px;
    --me-radius-md: 10px;
    --me-radius-lg: 16px;
    --me-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

    --me-wa-color: #25d366;
    --me-wa-hover: #20ba5a;
}

/* ==========================================================================
   2. CONTENEDORES Y REGLAS DE RESPONSIVIDAD PARA ELEMENTOR
   ========================================================================== */
.menu-estiloss-wrapper {
    width: 100%;
    position: relative;
    font-family: var(--me-font-sans);
    color: var(--me-text-light);
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* Integración con Elementor: permitir mover y seleccionar en el canvas con nivel estándar */
.menu-estiloss-wrapper:not(.me-account-shortcode-root) {
    position: relative;
    z-index: 30;
}

.elementor-widget-shortcode:has(.menu-estiloss-wrapper:not(.me-account-shortcode-root)),
.elementor-widget:has(.menu-estiloss-wrapper:not(.me-account-shortcode-root)),
.elementor-element:has(.menu-estiloss-wrapper:not(.me-account-shortcode-root)),
.elementor-column:has(.menu-estiloss-wrapper:not(.me-account-shortcode-root)),
.elementor-section:has(.menu-estiloss-wrapper:not(.me-account-shortcode-root)),
.e-con:has(.menu-estiloss-wrapper:not(.me-account-shortcode-root)) {
    z-index: 30 !important;
    overflow: visible !important;
}

.elementor-widget-shortcode .menu-estiloss-wrapper:not(.me-account-shortcode-root),
/* Z-Index del Menú: nivel estándar para que NUNCA se sobreponga al carrito de compra */
.elementor-element .menu-estiloss-wrapper:not(.me-account-shortcode-root) {
    position: relative;
    z-index: 30;
}

/* Elevar el contenedor del menú ÚNICAMENTE cuando un mega menú está desplegado o en hover */
.elementor-element .menu-estiloss-wrapper:not(.me-account-shortcode-root):has(.me-nav-item.is-active),
.elementor-element .menu-estiloss-wrapper:not(.me-account-shortcode-root):has(.me-has-megamenu:hover),
.elementor-element .menu-estiloss-wrapper:not(.me-account-shortcode-root).me-megamenu-active {
    z-index: 1000 !important;
}

/* Z-Index del Shortcode de Cuenta: por debajo del carrito por defecto, por encima al abrir su submenu */
.me-account-shortcode-root,
.elementor-widget-shortcode:has(.me-account-shortcode-root),
.elementor-widget:has(.me-account-shortcode-root),
.elementor-element:has(.me-account-shortcode-root),
.elementor-column:has(.me-account-shortcode-root) {
    z-index: 25 !important;
    position: relative;
}

.me-account-shortcode-root.me-account-dropdown-active,
.me-account-shortcode-root:has(.me-account-wrapper.is-open),
.elementor-widget-shortcode:has(.me-account-wrapper.is-open),
.elementor-widget:has(.me-account-wrapper.is-open),
.elementor-element:has(.me-account-wrapper.is-open),
.elementor-column:has(.me-account-wrapper.is-open) {
    z-index: 2000 !important;
}

/* El carrito de WooCommerce y Elementor SIEMPRE debe prevalecer sobre el header y el buscador */
.elementor-element:has(.elementor-menu-cart__main),
.elementor-widget:has(.elementor-menu-cart__main),
.elementor-column:has(.elementor-menu-cart__main),
.elementor-section:has(.elementor-menu-cart__main),
.e-con:has(.elementor-menu-cart__main),
.elementor-element:has(.elementor-widget-woocommerce-menu-cart),
.elementor-widget:has(.elementor-widget-woocommerce-menu-cart),
.elementor-column:has(.elementor-widget-woocommerce-menu-cart),
.elementor-section:has(.elementor-widget-woocommerce-menu-cart),
.e-con:has(.elementor-widget-woocommerce-menu-cart),
.elementor-widget-woocommerce-menu-cart,
.elementor-menu-cart,
.elementor-menu-cart__container,
.elementor-menu-cart__toggle,
.woocommerce-mini-cart,
.widget_shopping_cart,
.widget_shopping_cart_content,
.mini-cart-content,
.paxi-mini-cart-header,
.cart-drawer,
.drawer-cart,
.xoo-wsc-modal,
.xoo-wsc-wrapper,
.woocommerce-cart-drawer {
    z-index: 999999999 !important;
}

/* El drawer lateral flotante del carrito */
.elementor-menu-cart__main {
    position: fixed !important;
    z-index: 999999999 !important;
}

.elementor-menu-cart__main[aria-hidden="false"] {
    position: fixed !important;
    z-index: 999999999 !important;
    visibility: visible !important;
}

/* Cuando el carrito de compras está desplegado, el buscador y el menú bajan su prioridad */
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .menu-estiloss-wrapper:not(:has(.elementor-menu-cart__main)),
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .me-desktop-search-container,
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .me-search-bar-standalone,
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .me-header-desktop:not(:has(.elementor-menu-cart__main)),
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .elementor-element:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .elementor-column:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .elementor-section:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body:has(.elementor-menu-cart__main[aria-hidden="false"]) .e-con:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body.me-cart-open .menu-estiloss-wrapper:not(:has(.elementor-menu-cart__main)),
body.me-cart-open .me-desktop-search-container,
body.me-cart-open .me-search-bar-standalone,
body.me-cart-open .me-header-desktop:not(:has(.elementor-menu-cart__main)),
body.me-cart-open .elementor-element:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body.me-cart-open .elementor-column:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body.me-cart-open .elementor-section:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)),
body.me-cart-open .e-con:has(.menu-estiloss-wrapper):not(:has(.elementor-menu-cart__main)) {
    z-index: 10 !important;
}

/* Con el carrito abierto, toda la cadena de ancestros del carrito (incluido el header de Elementor) va al frente */
html body.me-cart-open .me-cart-ancestor,
html body:has(.elementor-menu-cart__main[aria-hidden="false"]) .elementor-location-header:has(.elementor-menu-cart__main[aria-hidden="false"]),
html body:has(.elementor-menu-cart__main[aria-hidden="false"]) header:has(.elementor-menu-cart__main[aria-hidden="false"]),
html body:has(.elementor-menu-cart__main[aria-hidden="false"]) .e-con:has(.elementor-menu-cart__main[aria-hidden="false"]),
html body:has(.elementor-menu-cart__main[aria-hidden="false"]) .elementor-element:has(.elementor-menu-cart__main[aria-hidden="false"]) {
    z-index: 2147483000 !important;
}

html body.me-cart-open .elementor-menu-cart__container,
html body.me-cart-open .elementor-menu-cart__main {
    z-index: 2147483001 !important;
}

body:has(.elementor-menu-cart__main[aria-hidden="false"]) .me-search-results,
body.me-cart-open .me-search-results {
    display: none !important;
}

.menu-estiloss-wrapper *,
.menu-estiloss-wrapper *::before,
.menu-estiloss-wrapper *::after,
.me-modal *,
.me-mobile-drawer *,
.me-floating-wa * {
    box-sizing: border-box;
}

.me-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Manejo en modo automático (ambos juntos) */
.me-responsive-wrapper .me-show-on-desktop {
    display: block;
}
.me-responsive-wrapper .me-show-on-mobile {
    display: none;
}
@media (max-width: 1024px) {
    .me-responsive-wrapper .me-show-on-desktop {
        display: none !important;
    }
    .me-responsive-wrapper .me-show-on-mobile {
        display: block !important;
    }
}

/* Modo Desktop dedicado ([menu_estiloss_desktop]): centrado perfecto vertical y horizontal */
.menu-estiloss-wrapper.me-desktop-only {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

.me-desktop-only .me-mobile-toggle {
    display: none !important;
}

/* ==========================================================================
   3. TOPBAR ANUNCIO (OPCIONAL)
   ========================================================================== */
.me-topbar {
    background-color: var(--me-black-pure);
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    text-align: center;
    padding: 7px 0;
}

.me-topbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.me-topbar-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   4. HEADER PRINCIPAL (DESKTOP)
   ========================================================================== */
.me-header {
    background-color: var(--me-black-bg);
    color: var(--me-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    width: 100%;
}

.me-header-desktop {
    min-height: var(--me-header-height);
}

.me-header-nav-only {
    background-color: transparent !important;
    border-bottom: none !important;
    min-height: unset !important;
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.me-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

.me-nav-only-inner {
    padding: 0 clamp(8px, 1.4vw, 24px) !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    margin: 0 auto !important;
    gap: clamp(8px, 1.4vw, 24px) !important;
    box-sizing: border-box !important;
}

/* Barra de Búsqueda de Escritorio: Frame ampliado al máximo de forma fluida */
.me-desktop-search-container {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 0 0 auto !important;
    z-index: 35 !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 480px !important;
    min-width: 180px !important;
}

.me-desktop-search-container:focus-within,
.me-desktop-search-container.is-active {
    z-index: 900 !important;
}

.me-search-bar-standalone {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.me-nav-search-only .me-action-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 8px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: color 0.2s ease, transform 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.me-nav-search-only .me-action-btn:hover,
.me-nav-search-only .me-action-btn:focus,
.me-nav-search-only .me-action-btn:active {
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

.me-nav-search-only .me-action-btn svg {
    color: #ffffff !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

.me-search-bar-form {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Cápsula de búsqueda blanca minimalista sobre fondo negro */
.me-search-pill-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 999px !important;
    height: 40px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 5px 0 14px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.me-search-pill-wrapper:hover,
.me-search-pill-wrapper:focus-within {
    background: #ffffff !important;
    border-color: #c5a059 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(197, 160, 89, 0.3) !important;
}

.me-search-bar-standalone .me-search-pill-wrapper {
    width: 100%;
}

.me-search-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    margin-right: 8px;
    flex-shrink: 0;
}

.me-search-pill-icon svg {
    color: #475569 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

.me-search-pill-submit {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 6px 13px !important;
    cursor: pointer !important;
    margin-left: 6px;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: 28px;
    outline: none !important;
}

.me-search-pill-submit:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.32) !important;
}

.me-search-pill-submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.me-search-pill-input {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

.me-search-pill-input::placeholder {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.me-search-clear-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 4px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.me-search-clear-btn:hover {
    color: #0f172a;
}

/* Dropdown de Resultados en Vivo AJAX Minimalista Blanco */
.me-search-live-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    min-width: 280px;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    z-index: 999999 !important;
    max-height: 440px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    box-sizing: border-box;
}

.me-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.me-search-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #0f172a;
    border-radius: 50%;
    animation: meSpin 0.7s linear infinite;
}

@keyframes meSpin {
    to { transform: rotate(360deg); }
}

.me-search-empty {
    padding: 18px 14px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.me-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.18s ease;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.me-search-result-item:last-child {
    border-bottom: none;
}

.me-search-result-item:hover {
    background-color: #f8fafc !important;
}

.me-search-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    background-color: #f8fafc;
}

.me-search-info {
    flex-grow: 1;
    min-width: 0;
}

.me-search-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    transition: color 0.18s ease;
}

.me-search-result-item:hover .me-search-title {
    color: #000000 !important;
}

.me-search-sku {
    display: inline-block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}

.me-search-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a !important;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

.me-search-footer-link {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #e2e8f0;
    text-decoration: none !important;
    background-color: #f8fafc;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.me-search-footer-link:hover {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

/* Barra de Móvil Dedicada */
.me-mobile-trigger-bar {
    background-color: transparent !important;
    border-bottom: none !important;
    min-height: unset !important;
    height: auto;
    width: 100%;
}

.me-mobile-nav-only {
    padding: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Botón Minimalista Móvil (Sin texto, solo icono) */
.me-mobile-btn-minimal {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--me-black-bg) !important;
    color: #ffffff !important;
    padding: 10px !important;
    border-radius: var(--me-radius-sm) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: var(--me-transition) !important;
    cursor: pointer !important;
    line-height: 1 !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.me-mobile-btn-minimal:hover,
.me-mobile-btn-minimal:focus,
.me-mobile-btn-minimal:active {
    border-color: var(--me-gold) !important;
    color: var(--me-gold) !important;
    background-color: #000000 !important;
}

.me-mobile-btn-minimal .me-hamburger-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.me-mobile-btn-minimal svg {
    display: block !important;
}

/* Shortcode de Cuenta Independiente [menu_estiloss_cuenta] */
.me-account-shortcode-root {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 25 !important;
}

.me-account-shortcode-root.me-align-right {
    justify-content: flex-end;
}

.me-account-shortcode-root.me-align-left {
    justify-content: flex-start;
}

/* Ocultar shortcode de cuenta en móvil (se usa la versión dedicada en el menú drawer) */
@media (max-width: 1024px) {
    .menu-estiloss-wrapper.me-account-shortcode-root,
    .me-account-shortcode-root,
    .elementor-widget-shortcode:has(.me-account-shortcode-root),
    .elementor-widget:has(.me-account-shortcode-root),
    .elementor-element:has(.me-account-shortcode-root),
    .elementor-column:has(.me-account-shortcode-root) {
        display: none !important;
    }
}

/* Blindaje contra temas/Elementor que inyectaban fondo blanco con texto blanco */
html body .menu-estiloss-wrapper.me-account-shortcode-root .me-account-standalone .me-account-btn,
html body .me-account-standalone .me-account-btn,
html body .me-action-btn.me-account-btn {
    border-radius: 999px !important;
    padding: 8px 18px !important;
    background-color: #0a0a0a !important;
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    gap: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    transition: var(--me-transition) !important;
    text-decoration: none !important;
    line-height: normal !important;
    vertical-align: middle !important;
}

html body .menu-estiloss-wrapper.me-account-shortcode-root .me-account-standalone .me-account-btn *,
html body .me-account-standalone .me-account-btn *,
html body .me-action-btn.me-account-btn * {
    color: inherit !important;
    fill: currentColor !important;
}

html body .menu-estiloss-wrapper.me-account-shortcode-root .me-account-standalone .me-account-btn:hover,
html body .menu-estiloss-wrapper.me-account-shortcode-root .me-account-standalone .me-account-btn:focus,
html body .menu-estiloss-wrapper.me-account-shortcode-root .me-account-standalone .me-account-btn:active,
html body .me-account-standalone .me-account-btn:hover,
html body .me-account-standalone .me-account-btn:focus,
html body .me-account-standalone .me-account-btn:active,
html body .me-action-btn.me-account-btn:hover,
html body .me-action-btn.me-account-btn:focus,
html body .me-action-btn.me-account-btn:active {
    background-color: #141414 !important;
    background: #141414 !important;
    border-color: var(--me-gold, #c5a059) !important;
    color: var(--me-gold, #c5a059) !important;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25) !important;
}

.me-account-login-text {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    color: inherit !important;
}

/* Brand / Logo */
.me-header-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.me-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.me-logo-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.me-logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Navegación Desktop: Enlaces alineados fluidamente a la izquierda sin solapar buscador */
.me-desktop-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.me-nav-list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: clamp(10px, 1.8vw, 34px) !important;
    line-height: 1 !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

.me-nav-item {
    position: relative;
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.me-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(3px, 0.4vw, 6px);
    color: #ffffff !important;
    font-size: clamp(12px, 0.95vw, 14px);
    font-weight: 500;
    text-decoration: none !important;
    padding: 10px clamp(2px, 0.4vw, 5px) !important;
    margin: 0 !important;
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    position: relative;
    line-height: 1.2 !important;
    vertical-align: middle !important;
    transition: color 0.2s ease;
    cursor: pointer;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.me-nav-link:hover,
.me-nav-link:focus,
.me-nav-link:active,
.me-nav-link:visited:hover,
.me-nav-item:hover > .me-nav-link,
.me-nav-item.is-active > .me-nav-link {
    color: var(--me-gold) !important;
}

.me-arrow-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.me-nav-item:hover .me-arrow-icon,
.me-nav-item.is-active .me-arrow-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   5. MEGA MENÚS DESKTOP (BLANCO CON TOQUES DORADOS)
   ========================================================================== */
.me-megamenu-panel {
    position: fixed;
    top: 76px;
    left: 50vw;
    transform: translateX(-50%) translateY(8px);
    width: min(1200px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    background-color: var(--me-white-bg);
    color: var(--me-text-dark);
    border-radius: var(--me-radius-lg);
    box-shadow: var(--me-shadow-mega);
    border: 1px solid var(--me-gray-border);
    border-top: 3px solid var(--me-gold); /* Toque dorado superior elegante */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 999999999 !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden !important;
    white-space: normal !important;
    -webkit-overflow-scrolling: touch;
}

.me-megamenu-panel *,
.me-megamenu-panel *::before,
.me-megamenu-panel *::after {
    box-sizing: border-box;
}

.me-megamenu-panel .me-item-link,
.me-megamenu-panel .me-item-text,
.me-megamenu-panel .me-col,
.me-megamenu-panel .me-col-title {
    white-space: normal !important;
}

.me-megamenu-tienda {
    width: min(1200px, calc(100vw - 40px));
}

.me-megamenu-custom {
    width: min(1200px, calc(100vw - 40px));
}

.me-has-megamenu:hover .me-megamenu-panel,
.me-has-megamenu.is-active .me-megamenu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.me-megamenu-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    padding: 28px 30px 20px;
    overflow-x: hidden;
    white-space: normal !important;
}

.me-megamenu-grid {
    display: grid;
    gap: 26px;
    width: 100%;
    box-sizing: border-box;
}

.me-grid-4-cols {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.35fr);
}

.me-grid-3-cols {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.85fr) minmax(0, 1.35fr);
}

.me-col {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 1280px) {
    .me-megamenu-panel {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }
    .me-megamenu-inner {
        padding: 20px 16px 14px !important;
    }
    .me-megamenu-grid {
        gap: 16px !important;
    }
    .me-grid-4-cols {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.15fr) !important;
    }
    .me-grid-3-cols {
        grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.85fr) minmax(0, 1.35fr) !important;
    }
    .me-trust-row {
        gap: 10px !important;
        margin-top: 16px !important;
        padding-top: 14px !important;
    }
}

@media (max-width: 1120px) {
    .me-grid-3-cols {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.85fr) minmax(0, 1.35fr) !important;
        gap: 12px !important;
    }
}

/* Column Headings */
.me-col-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.me-col-icon {
    color: var(--me-gold);
    display: inline-flex;
}

.me-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--me-text-dark);
    margin: 0;
}

.me-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.me-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: var(--me-radius-sm);
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--me-transition);
    min-width: 0;
    box-sizing: border-box;
    gap: 6px;
}

.me-item-text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
    word-break: break-word;
}

.me-item-link:hover,
.me-item-link:focus,
.me-item-link:active {
    color: var(--me-gold) !important;
    background-color: var(--me-gold-light) !important;
    padding-left: 10px;
}

.me-item-link:hover .me-link-chevron,
.me-item-link:focus .me-link-chevron,
.me-item-link:active .me-link-chevron {
    color: var(--me-gold) !important;
    transform: translateX(3px);
}

.me-link-chevron {
    color: #9ca3af;
    display: inline-flex;
    flex-shrink: 0;
    transition: var(--me-transition);
}

/* Iconos de Hombre y Mujer para dar equilibrio visual en sección Explorar */
.me-link-gender-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #4b5563;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.me-item-link:hover .me-link-gender-icon {
    background-color: #faf5eb;
    color: var(--me-gold, #c5a059);
    transform: scale(1.08);
}

.me-link-gender-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
}

/* Subcategorías indentadas */
.me-sublink-list {
    list-style: none;
    margin: 3px 0 6px 14px;
    padding: 0 0 0 10px;
    border-left: 2px solid var(--me-gold);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.me-subitem-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--me-text-muted);
    font-size: 13px;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: var(--me-radius-sm);
    transition: var(--me-transition);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.me-subitem-link:hover,
.me-subitem-link:focus,
.me-subitem-link:active {
    color: var(--me-gold) !important;
    padding-left: 10px;
}

.me-sub-bullet {
    color: var(--me-gold);
    font-size: 12px;
}

/* Columna Explorar con Chips y Badges (Paleta Estricta: Negro, Blanco y Dorado) */
.me-item-highlight {
    font-weight: 600;
    color: var(--me-gold) !important;
    background-color: var(--me-gold-light);
}

.me-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
}

.me-badge-new {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    border: 1px solid var(--me-gold) !important;
}

.me-badge-top {
    background-color: var(--me-gold) !important;
    color: #ffffff !important;
    border: 1px solid var(--me-gold-hover) !important;
}

.me-badge-sale {
    background-color: var(--me-gold-light) !important;
    color: var(--me-gold-hover) !important;
    border: 1px solid var(--me-gold-border) !important;
}

.me-color-chip {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.me-chip-gold {
    background: linear-gradient(135deg, #fce09b, #c5a059, #9c7832);
}

.me-chip-silver {
    background: linear-gradient(135deg, #ffffff, #d1d5db, #9ca3af);
}

/* Columna 4: Bloque Promocional */
.me-promo-card {
    background-color: #f9fafb;
    border-radius: var(--me-radius-md);
    overflow: hidden;
    border: 1px solid var(--me-gray-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.me-promo-media {
    width: 100%;
    height: 150px;
    background-color: var(--me-black-bg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.me-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.me-promo-card:hover .me-promo-img {
    transform: scale(1.05);
}

.me-promo-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.me-promo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--me-text-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.me-promo-desc {
    font-size: 13px;
    color: var(--me-text-muted);
    margin: 0 0 16px;
    line-height: 1.4;
}

/* Botones UI */
.me-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--me-radius-sm);
    transition: var(--me-transition);
    cursor: pointer;
    border: none;
}

.me-btn-gold {
    background-color: var(--me-gold) !important;
    color: #ffffff !important;
}

.me-btn-gold:hover,
.me-btn-gold:focus,
.me-btn-gold:active {
    background-color: var(--me-gold-hover) !important;
    color: #ffffff !important;
}

.me-btn-wa {
    background-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #20bd5a !important;
    box-shadow: 0 1px 3px rgba(37, 211, 102, 0.25) !important;
}

.me-btn-wa:hover,
.me-btn-wa:focus,
.me-btn-wa:active {
    background-color: #20bd5a !important;
    background: #20bd5a !important;
    color: #ffffff !important;
    border-color: #1ea952 !important;
}

.me-btn-wa svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.me-btn-wa span {
    color: #ffffff !important;
}

.me-btn-outline {
    background-color: transparent !important;
    color: var(--me-text-dark) !important;
    border: 1px solid var(--me-gray-border) !important;
}

.me-btn-outline:hover,
.me-btn-outline:focus,
.me-btn-outline:active {
    background-color: var(--me-gold) !important;
    border-color: var(--me-gold) !important;
    color: #ffffff !important;
}

.me-btn-full {
    width: 100%;
}

/* Fila de Confianza */
.me-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--me-gray-border);
    box-sizing: border-box;
    width: 100%;
}

.me-trust-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    box-sizing: border-box;
}

.me-trust-icon {
    color: var(--me-gold);
    background-color: var(--me-gold-light);
    border-radius: var(--me-radius-sm);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.me-trust-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.me-trust-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--me-text-dark);
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
}

.me-trust-desc {
    font-size: 11px;
    color: var(--me-text-muted);
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
}

/* Mega Menú 2 Específico (Personalizables) */
.me-two-column-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.me-two-column-list li {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.me-two-column-list .me-item-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 6px 8px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--me-radius-sm);
    color: #374151 !important;
    text-decoration: none !important;
    transition: var(--me-transition);
    overflow: hidden !important;
    white-space: normal !important;
    gap: 6px !important;
}

.me-two-column-list .me-item-link:hover,
.me-two-column-list .me-item-link:focus,
.me-two-column-list .me-item-link:active {
    color: var(--me-gold) !important;
    background-color: var(--me-gold-light) !important;
    padding-left: 10px !important;
}

.me-two-column-list .me-link-tag-icon {
    color: var(--me-gold) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 14px !important;
    margin-right: 2px !important;
}

.me-two-column-list .me-item-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    color: inherit !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

.me-two-column-list .me-link-chevron {
    color: #9ca3af !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    transition: var(--me-transition);
}

.me-two-column-list .me-item-link:hover .me-link-chevron {
    color: var(--me-gold) !important;
    transform: translateX(3px) !important;
}

.me-feature-link {
    padding: 8px 10px;
    font-size: 13px;
    min-width: 0;
    box-sizing: border-box;
}

.me-feature-icon {
    color: var(--me-gold);
    margin-right: 6px;
    display: inline-flex;
    flex-shrink: 0;
}

.me-custom-experience-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid var(--me-gray-border);
    border-radius: var(--me-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    box-sizing: border-box;
}

.me-badge-experience {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--me-gold);
    background-color: var(--me-gold-light);
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--me-gold-border);
    margin-bottom: 8px;
}

.me-experience-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--me-text-dark);
    margin: 0 0 5px;
}

.me-experience-desc {
    font-size: 12px;
    color: #4b5563;
    margin: 0 0 12px;
    line-height: 1.35;
    word-break: break-word;
}

.me-steps-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;
    min-width: 0;
}

.me-step-box {
    background-color: #ffffff;
    border: 1px solid var(--me-gray-border);
    border-radius: var(--me-radius-sm);
    padding: 8px !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    box-sizing: border-box;
}

.me-step-info {
    min-width: 0;
}

.me-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--me-gold);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.me-step-title {
    font-size: 11px;
    color: var(--me-text-dark);
    display: block;
    word-break: break-word;
    line-height: 1.25;
}

.me-step-desc {
    font-size: 9.5px;
    color: var(--me-text-muted);
    line-height: 1.2;
    word-break: break-word;
}

.me-engrave-preview-box {
    background-color: var(--me-black-pure);
    border-radius: var(--me-radius-sm);
    padding: 8px 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    min-width: 0;
    box-sizing: border-box;
}

.me-preview-caption {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    display: block;
    margin-bottom: 2px;
}

.me-preview-sample {
    text-align: center;
}

.me-engraved-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 13.5px;
    color: #f3e5ab;
    letter-spacing: 0.8px;
    word-break: break-word;
}

.me-action-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 10px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
}

.me-action-buttons .me-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 9px 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    min-width: 0 !important;
    min-height: 38px !important;
    height: auto !important;
    border-radius: var(--me-radius-sm, 6px) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.me-action-buttons .me-btn-wa {
    background-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #20bd5a !important;
    box-shadow: 0 1px 3px rgba(37, 211, 102, 0.25) !important;
}

.me-action-buttons .me-btn-wa:hover,
.me-action-buttons .me-btn-wa:focus,
.me-action-buttons .me-btn-wa:active {
    background-color: #20bd5a !important;
    background: #20bd5a !important;
    border-color: #1ea952 !important;
    color: #ffffff !important;
}

.me-action-buttons .me-btn-wa svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.me-action-buttons .me-btn-wa span {
    color: #ffffff !important;
}

/* Simple Dropdown */
.me-simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--me-white-bg);
    min-width: 220px;
    border-radius: var(--me-radius-md);
    box-shadow: var(--me-shadow-dropdown);
    border: 1px solid var(--me-gray-border);
    border-top: 2px solid var(--me-gold);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: var(--me-transition);
    z-index: 99999;
}

.me-has-simple-dropdown:hover .me-simple-dropdown,
.me-has-simple-dropdown.is-active .me-simple-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.me-simple-dropdown li a {
    display: block;
    padding: 9px 18px;
    color: #374151;
    font-size: 13px;
    text-decoration: none;
    transition: var(--me-transition);
}

.me-simple-dropdown li a:hover {
    background-color: #f9fafb;
    color: var(--me-gold);
    padding-left: 22px;
}

/* ==========================================================================
   6. HEADER ACTIONS (BUSCAR, CUENTA, CARRITO)
   ========================================================================== */
.me-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.me-action-item {
    position: relative;
}

.me-action-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.me-action-btn:hover,
.me-action-btn:focus-visible {
    color: var(--me-gold);
}

.me-account-logged {
    border-radius: 999px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.08);
    gap: 8px;
}

.me-account-greeting {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.me-account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 250px;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-radius: var(--me-radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    border-top: 2px solid var(--me-gold) !important;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: var(--me-transition);
    z-index: 100000;
}

.me-account-wrapper.is-open .me-account-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.me-account-dropdown-header {
    border-bottom: 1px solid #e5e7eb !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
}

.me-account-badge {
    display: inline-block !important;
    background-color: #faf5eb !important;
    color: #92722a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    border: 1px solid #ebd9b5 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
}

.me-account-dropdown-header strong,
.me-account-email {
    display: block !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    word-break: break-all !important;
    margin: 0 !important;
}

.me-account-dropdown-header p {
    font-size: 12px !important;
    color: #6b7280 !important;
    margin: 4px 0 0 !important;
    line-height: 1.4 !important;
}

.me-account-dropdown-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.me-account-dropdown-cta .me-btn-gold {
    background-color: #c5a059 !important;
    background: #c5a059 !important;
    color: #ffffff !important;
    border: 1px solid #b38f46 !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 8px 14px !important;
    border-radius: var(--me-radius-sm) !important;
    text-decoration: none !important;
}

.me-account-dropdown-cta .me-btn-gold:hover {
    background-color: #b38f46 !important;
    background: #b38f46 !important;
    color: #ffffff !important;
}

.me-account-dropdown-cta .me-btn-outline {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding: 8px 14px !important;
    border-radius: var(--me-radius-sm) !important;
    text-decoration: none !important;
}

.me-account-dropdown-cta .me-btn-outline:hover {
    background-color: #faf5eb !important;
    border-color: #c5a059 !important;
    color: #c5a059 !important;
}

.me-account-dropdown-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.me-account-dropdown-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.me-account-dropdown-list li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: var(--me-radius-sm) !important;
    color: #1f2937 !important;
    background-color: transparent !important;
    background: transparent !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: var(--me-transition) !important;
}

.me-account-dropdown-list li a span {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

.me-account-dropdown-list li a svg {
    color: #6b7280 !important;
    stroke: #6b7280 !important;
    flex-shrink: 0 !important;
}

.me-account-dropdown-list li a:hover,
.me-account-dropdown-list li a:focus,
.me-account-dropdown-list li a:active {
    background-color: #faf5eb !important;
    background: #faf5eb !important;
    color: var(--me-gold) !important;
}

.me-account-dropdown-list li a:hover span,
.me-account-dropdown-list li a:focus span,
.me-account-dropdown-list li a:active span {
    color: var(--me-gold) !important;
}

.me-account-dropdown-list li a:hover svg,
.me-account-dropdown-list li a:focus svg,
.me-account-dropdown-list li a:active svg {
    color: var(--me-gold) !important;
    stroke: var(--me-gold) !important;
}

.me-account-dropdown-list .me-logout-link {
    color: #4b5563 !important;
}

.me-account-dropdown-list .me-logout-link span {
    color: #4b5563 !important;
}

.me-account-dropdown-list .me-logout-link:hover,
.me-account-dropdown-list .me-logout-link:focus,
.me-account-dropdown-list .me-logout-link:active {
    color: #dc2626 !important;
    background-color: #fef2f2 !important;
    background: #fef2f2 !important;
}

.me-account-dropdown-list .me-logout-link:hover span,
.me-account-dropdown-list .me-logout-link:focus span,
.me-account-dropdown-list .me-logout-link:active span {
    color: #dc2626 !important;
}

.me-account-dropdown-list .me-logout-link:hover svg,
.me-account-dropdown-list .me-logout-link:focus svg,
.me-account-dropdown-list .me-logout-link:active svg {
    color: #dc2626 !important;
    stroke: #dc2626 !important;
}

.me-divider {
    height: 1px !important;
    background-color: #e5e7eb !important;
    margin: 6px 0 !important;
    border: none !important;
}

/* Cart Counter */
.me-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.me-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--me-gold);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--me-black-bg);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.me-cart-count.me-has-items {
    transform: scale(1.1);
}

/* ==========================================================================
   7. HEADER MÓVIL DEDICADO ([menu_estiloss_mobile])
   ========================================================================== */
.me-header-mobile-bar {
    height: var(--me-mobile-header-height);
    background-color: var(--me-black-bg);
}

.me-mobile-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.me-mobile-toggle {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.me-mobile-toggle:hover {
    color: var(--me-gold);
}

.me-mobile-brand-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.me-mobile-logo-img {
    max-height: 38px;
    width: auto;
}

.me-mobile-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.me-mobile-actions-right {
    gap: 8px;
}

/* ==========================================================================
   8. DRAWER MÓVIL (OFF-CANVAS & ACORDEÓN VERTICAL NATIVO)
   ========================================================================== */
.me-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 999999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.me-mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.me-mobile-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
}

.me-mobile-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(380px, 86vw);
    background-color: var(--me-white-bg);
    color: var(--me-text-dark);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.me-mobile-drawer.is-open .me-mobile-container {
    transform: translateX(0);
}

.me-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background-color: var(--me-black-bg);
    color: #ffffff;
    border-bottom: 2px solid var(--me-gold);
}

.me-mobile-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.me-mobile-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 6px;
    cursor: pointer;
    display: inline-flex;
}

.me-mobile-close-btn:hover,
.me-mobile-close-btn:focus,
.me-mobile-close-btn:active {
    color: var(--me-gold) !important;
}

.me-mobile-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 18px;
    -webkit-overflow-scrolling: touch;
}

/* Buscador en Vivo en el Menú Desplegable Móvil (Estilo Egata Manager) */
.me-mobile-search-section {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.me-mobile-search-form {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
}

.me-mobile-search-pill {
    width: 100% !important;
    height: 42px !important;
    background-color: #f3f4f6 !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 999px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.me-mobile-search-pill:focus-within,
.me-mobile-search-pill:hover {
    background-color: #ffffff !important;
    border-color: var(--me-gold) !important;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2) !important;
}

.me-mobile-search-pill .me-search-pill-icon {
    color: var(--me-gold) !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.me-mobile-search-pill .me-search-pill-input {
    color: #111827 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
}

.me-mobile-search-pill .me-search-pill-input::placeholder {
    color: #9ca3af !important;
    font-size: 13px !important;
}

.me-mobile-live-results {
    position: relative !important;
    top: 6px !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 0 0 !important;
    border: 1px solid var(--me-gray-border) !important;
    border-top: 2px solid var(--me-gold) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    z-index: 999 !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    padding: 6px !important;
}

.me-mobile-nav {
    width: 100%;
    font-size: 14px;
    color: var(--me-text-dark);
}

.me-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.me-mobile-item {
    border-bottom: 1px solid #f3f4f6;
}

.me-mobile-link,
.me-mobile-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--me-text-dark);
    background: transparent;
    border: none;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.me-mobile-link:hover,
.me-mobile-link:focus,
.me-mobile-link:active,
.me-mobile-accordion-btn:hover,
.me-mobile-accordion-btn:focus,
.me-mobile-accordion-btn:active {
    color: var(--me-gold) !important;
}

.me-mobile-chevron {
    transition: transform 0.25s ease;
    color: #9ca3af;
    display: inline-flex;
}

.me-mobile-accordion-item.is-open .me-mobile-chevron {
    transform: rotate(180deg);
    color: var(--me-gold);
}

/* Acordeón Vertical Nativo */
.me-mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: #fafafa;
    border-radius: var(--me-radius-sm);
    padding: 0 12px;
}

.me-mobile-accordion-item.is-open .me-mobile-accordion-content {
    max-height: 2000px;
    transition: max-height 0.4s ease-in-out;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--me-gray-border);
}

.me-mobile-subgroup {
    margin-bottom: 14px;
}

.me-mobile-subheading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--me-gold);
    margin-bottom: 8px;
}

.me-mobile-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.me-mobile-sublist li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    padding: 4px 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.me-mobile-sublist li a:hover,
.me-mobile-sublist li a:focus,
.me-mobile-sublist li a:active {
    color: var(--me-gold) !important;
}

.me-mobile-nested-list {
    list-style: none;
    margin: 4px 0 6px 12px;
    padding-left: 8px;
    border-left: 2px solid var(--me-gold);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.me-mobile-nested-list li a {
    font-size: 12px;
    color: #6b7280;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.me-mobile-nested-list li a:hover,
.me-mobile-nested-list li a:focus,
.me-mobile-nested-list li a:active {
    color: var(--me-gold) !important;
}

.me-mobile-promo-box {
    margin-top: 10px;
}

.me-mobile-account-section {
    padding: 14px 4px;
}

.me-mobile-user-info {
    margin-bottom: 10px;
}

.me-mobile-user-name {
    display: block;
    font-weight: 700;
    color: var(--me-text-dark);
}

.me-mobile-user-email {
    font-size: 12px;
    color: #6b7280;
}

.me-mobile-account-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.me-mobile-cart-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.me-mobile-cart-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.me-badge-cart {
    background-color: var(--me-gold);
    color: #ffffff;
    padding: 2px 8px;
}

/* ==========================================================================
   9. MODAL DE BÚSQUEDA ACCESIBLE
   ========================================================================== */
.me-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.me-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.me-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.me-modal-dialog {
    position: relative;
    width: min(720px, 94vw);
    background-color: #ffffff;
    border-radius: var(--me-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--me-gray-border);
    border-top: 3px solid var(--me-gold);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.me-modal.is-open .me-modal-dialog {
    transform: translateY(0);
}

.me-search-dialog-inner {
    padding: 28px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    width: 100%;
}

.me-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.me-search-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--me-text-dark);
    margin: 0;
}

.me-close-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
}

.me-close-btn:hover {
    color: var(--me-text-dark);
    background-color: #f3f4f6;
}

.me-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f9fafb;
    border: 2px solid var(--me-gray-border);
    border-radius: var(--me-radius-md);
    padding: 4px 6px 4px 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.me-search-input-wrap:focus-within {
    border-color: var(--me-gold);
    background-color: #ffffff;
}

.me-search-input-icon {
    color: #9ca3af;
    display: inline-flex;
}

.me-search-input {
    flex-grow: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111827 !important; /* TEXTO OSCURO 100% VISIBLE AL ESCRIBIR */
    padding: 8px 0 !important;
    margin: 0 !important;
    caret-color: var(--me-gold) !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

.me-search-input::placeholder {
    color: #9ca3af !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Resultados en Vivo en Modal de Escritorio: Integración en flujo normal para que NUNCA queden ocultos */
.me-modal-live-results {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 0 !important;
    border: 1px solid var(--me-gray-border) !important;
    border-top: 2px solid var(--me-gold) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    max-height: 420px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
}

.me-modal-live-results .me-search-items-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.me-search-suggestions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.me-suggestions-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.me-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.me-tag {
    font-size: 12px;
    color: #4b5563;
    background-color: #f3f4f6;
    padding: 5px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--me-transition);
}

.me-tag:hover {
    background-color: var(--me-gold-light);
    color: var(--me-gold);
}

/* ==========================================================================
   10. BOTÓN FLOTANTE DE WHATSAPP (FIXED)
   ========================================================================== */
.me-floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999999;
}

.me-wa-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--me-wa-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.me-wa-btn:hover {
    transform: scale(1.08);
    background-color: var(--me-wa-hover);
    color: #ffffff;
}

.me-wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--me-wa-color);
    animation: me-wa-pulse 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
    opacity: 0.6;
    pointer-events: none;
}

@keyframes me-wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.me-wa-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.me-wa-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--me-black-pure);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #ffffff;
    border-radius: var(--me-radius-md);
    padding: 8px 14px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--me-transition);
}

.me-wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--me-black-pure);
}

.me-wa-tooltip strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.me-wa-tooltip span {
    font-size: 11px;
    color: #9ca3af;
}

.me-wa-btn:hover .me-wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 1024px) {
    .me-floating-wa {
        bottom: 20px;
        right: 20px;
    }
    .me-wa-tooltip {
        display: none;
    }
}

/* ==========================================================================
   12. AISLAMIENTO TOTAL DE COLORES CONTRA TEMAS Y ELEMENTOR
   Garantiza que NUNCA aparezcan rosas, magentas, azules u otros colores ajenos
   al pasar el cursor, presionar, enfocar o hacer clic.
   ========================================================================== */
.menu-estiloss-wrapper,
.me-megamenu-panel,
.me-mobile-drawer,
.me-search-modal,
.me-account-dropdown {
    --e-global-color-accent: #c5a059 !important;
    --e-global-color-primary: #111827 !important;
    --e-global-color-secondary: #c5a059 !important;
    --wp--preset--color--accent: #c5a059 !important;
    --ast-global-color-0: #c5a059 !important;
    --ast-global-color-1: #c5a059 !important;
    --ast-global-color-2: #c5a059 !important;
    --ast-global-color-3: #111827 !important;
    accent-color: #c5a059 !important;
}

/* Neutralizar selección y highlights táctiles */
.menu-estiloss-wrapper *,
.me-megamenu-panel *,
.me-mobile-drawer *,
.me-search-modal *,
.me-account-dropdown * {
    -webkit-tap-highlight-color: transparent !important;
}

.menu-estiloss-wrapper a:visited,
.me-megamenu-panel a:visited,
.me-mobile-drawer a:visited,
.me-search-modal a:visited,
.me-account-dropdown a:visited {
    color: inherit;
}

.menu-estiloss-wrapper *:focus,
.menu-estiloss-wrapper *:active,
.me-megamenu-panel *:focus,
.me-megamenu-panel *:active,
.me-mobile-drawer *:focus,
.me-mobile-drawer *:active,
.me-search-modal *:focus,
.me-search-modal *:active,
.me-account-dropdown *:focus,
.me-account-dropdown *:active {
    outline: none !important;
    box-shadow: none !important;
}

/* 1. Header Desktop - Barra Principal (Nivel Superior) - BLANCO (#ffffff) */
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link > span,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link .me-arrow-icon,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link .me-arrow-icon svg,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    border-color: transparent;
    text-shadow: none !important;
    background-color: transparent !important;
}

/* 2. Header Desktop - Barra Principal Hover / Active: DORADO (#c5a059) */
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link:hover,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link:focus,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link:active,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item.is-active > .me-nav-link,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item:hover > .me-nav-link,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link:hover > span,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link:focus > span,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item > .me-nav-link:active > span,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item.is-active > .me-nav-link > span,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item:hover > .me-nav-link > span,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item:hover .me-arrow-icon svg,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-list > .me-nav-item.is-active .me-arrow-icon svg,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn:hover,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn:hover svg,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn:focus,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn:focus svg,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn:active,
html body .menu-estiloss-wrapper .me-header-desktop .me-nav-search-only .me-action-btn:active svg {
    color: #c5a059 !important;
    fill: #c5a059 !important;
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 3. Panel de Mega Menú - RESTAURACIÓN ESTRICTA DE TEXTOS OSCUROS (Fondo Blanco) */
html body .me-megamenu-panel {
    background-color: #ffffff !important;
    color: #111827 !important;
}

html body .me-megamenu-panel .me-col-title {
    color: #111827 !important;
}

html body .me-megamenu-panel .me-col-icon svg {
    color: #c5a059 !important;
}

html body .me-megamenu-panel .me-item-link,
html body .me-megamenu-panel .me-item-link span,
html body .me-megamenu-panel .me-item-text {
    color: #374151 !important;
}

html body .me-megamenu-panel .me-item-link .me-link-chevron svg {
    color: #9ca3af !important;
    fill: currentColor !important;
}

html body .me-megamenu-panel .me-subitem-link,
html body .me-megamenu-panel .me-subitem-link span {
    color: #6b7280 !important;
}

html body .me-megamenu-panel .me-sub-bullet {
    color: #c5a059 !important;
}

html body .me-megamenu-panel .me-item-highlight,
html body .me-megamenu-panel .me-item-highlight span {
    color: #c5a059 !important;
    background-color: #faf5eb !important;
}

html body .me-megamenu-panel .me-feature-link,
html body .me-megamenu-panel .me-feature-link span {
    color: #374151 !important;
}

html body .me-megamenu-panel .me-feature-icon svg {
    color: #c5a059 !important;
}

html body .me-megamenu-panel .me-trust-title {
    color: #111827 !important;
}

html body .me-megamenu-panel .me-trust-desc {
    color: #6b7280 !important;
}

html body .me-megamenu-panel .me-trust-icon svg {
    color: #c5a059 !important;
}

html body .me-megamenu-panel .me-experience-title,
html body .me-megamenu-panel .me-step-title {
    color: #111827 !important;
}

html body .me-megamenu-panel .me-experience-desc,
html body .me-megamenu-panel .me-step-desc {
    color: #4b5563 !important;
}

html body .me-megamenu-panel .me-step-num,
html body .menu-estiloss-wrapper .me-step-num,
html body .me-step-num {
    background-color: #c5a059 !important;
    color: #ffffff !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border: none !important;
}

/* Badges en Mega Menú y Móvil (NUEVO, TOP, OFERTA) */
html body .me-megamenu-panel .me-badge-new,
html body .me-mobile-drawer .me-badge-new,
html body .menu-estiloss-wrapper .me-badge-new,
html body .me-badge-new {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #c5a059 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    line-height: normal !important;
}

html body .me-megamenu-panel .me-badge-top,
html body .me-mobile-drawer .me-badge-top,
html body .menu-estiloss-wrapper .me-badge-top,
html body .me-badge-top {
    background-color: #c5a059 !important;
    color: #ffffff !important;
    border: 1px solid #b38f46 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    line-height: normal !important;
}

html body .me-megamenu-panel .me-badge-sale,
html body .me-mobile-drawer .me-badge-sale,
html body .menu-estiloss-wrapper .me-badge-sale,
html body .me-badge-sale {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    line-height: normal !important;
}

/* Evitar que el hover en enlaces cambie el color del texto o fondo del badge */
html body .me-megamenu-panel .me-item-link:hover .me-badge-new,
html body .me-megamenu-panel .me-item-link:focus .me-badge-new,
html body .me-megamenu-panel .me-item-link:active .me-badge-new,
html body .me-mobile-drawer .me-mobile-link:hover .me-badge-new,
html body .me-mobile-drawer .me-mobile-link:focus .me-badge-new {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #c5a059 !important;
}

html body .me-megamenu-panel .me-item-link:hover .me-badge-top,
html body .me-megamenu-panel .me-item-link:focus .me-badge-top,
html body .me-megamenu-panel .me-item-link:active .me-badge-top,
html body .me-mobile-drawer .me-mobile-link:hover .me-badge-top,
html body .me-mobile-drawer .me-mobile-link:focus .me-badge-top {
    background-color: #c5a059 !important;
    color: #ffffff !important;
    border-color: #b38f46 !important;
}

html body .me-megamenu-panel .me-item-link:hover .me-badge-sale,
html body .me-megamenu-panel .me-item-link:focus .me-badge-sale,
html body .me-megamenu-panel .me-item-link:active .me-badge-sale,
html body .me-mobile-drawer .me-mobile-link:hover .me-badge-sale,
html body .me-mobile-drawer .me-mobile-link:focus .me-badge-sale {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border-color: #fde68a !important;
}

/* Mega Menú Hover: Dorado */
html body .me-megamenu-panel .me-item-link:hover,
html body .me-megamenu-panel .me-item-link:hover span,
html body .me-megamenu-panel .me-item-link:hover .me-item-text,
html body .me-megamenu-panel .me-item-link:focus,
html body .me-megamenu-panel .me-item-link:focus span,
html body .me-megamenu-panel .me-item-link:active,
html body .me-megamenu-panel .me-item-link:active span,
html body .me-megamenu-panel .me-subitem-link:hover,
html body .me-megamenu-panel .me-subitem-link:hover span,
html body .me-megamenu-panel .me-subitem-link:focus,
html body .me-megamenu-panel .me-subitem-link:focus span,
html body .me-megamenu-panel .me-subitem-link:active,
html body .me-megamenu-panel .me-subitem-link:active span,
html body .me-megamenu-panel .me-feature-link:hover,
html body .me-megamenu-panel .me-feature-link:hover span {
    color: #c5a059 !important;
    fill: #c5a059 !important;
    outline: none !important;
}

html body .me-megamenu-panel .me-item-link:hover .me-link-chevron svg,
html body .me-megamenu-panel .me-item-link:focus .me-link-chevron svg,
html body .me-megamenu-panel .me-item-link:active .me-link-chevron svg,
html body .me-megamenu-panel .me-feature-link:hover .me-link-chevron svg {
    color: #c5a059 !important;
    fill: #c5a059 !important;
}

/* 3.1 Dropdown de Cuenta de Usuario - RESTAURACIÓN ESTRICTA DE TEXTOS OSCUROS (Fondo Blanco) */
html body .me-account-dropdown,
html body .menu-estiloss-wrapper .me-account-dropdown {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    border-top: 2px solid #c5a059 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

html body .me-account-dropdown .me-account-badge {
    display: inline-block !important;
    background-color: #faf5eb !important;
    color: #92722a !important;
    border: 1px solid #ebd9b5 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
}

html body .me-account-dropdown .me-account-dropdown-header strong,
html body .me-account-dropdown .me-account-email {
    display: block !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    word-break: break-all !important;
}

html body .me-account-dropdown .me-account-dropdown-header p {
    color: #6b7280 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin: 4px 0 0 !important;
}

html body .me-account-dropdown .me-account-dropdown-list li a,
html body .me-account-dropdown .me-account-dropdown-list li a:link,
html body .me-account-dropdown .me-account-dropdown-list li a:visited {
    color: #1f2937 !important;
    background-color: transparent !important;
    background: transparent !important;
    text-decoration: none !important;
}

html body .me-account-dropdown .me-account-dropdown-list li a span {
    color: #1f2937 !important;
}

html body .me-account-dropdown .me-account-dropdown-list li a svg,
html body .me-account-dropdown .me-account-dropdown-list li a svg path {
    color: #4b5563 !important;
    stroke: #4b5563 !important;
}

html body .me-account-dropdown .me-account-dropdown-list li a:hover,
html body .me-account-dropdown .me-account-dropdown-list li a:focus,
html body .me-account-dropdown .me-account-dropdown-list li a:active {
    background-color: #faf5eb !important;
    background: #faf5eb !important;
    color: #c5a059 !important;
}

html body .me-account-dropdown .me-account-dropdown-list li a:hover span,
html body .me-account-dropdown .me-account-dropdown-list li a:focus span,
html body .me-account-dropdown .me-account-dropdown-list li a:active span {
    color: #c5a059 !important;
}

html body .me-account-dropdown .me-account-dropdown-list li a:hover svg,
html body .me-account-dropdown .me-account-dropdown-list li a:hover svg path,
html body .me-account-dropdown .me-account-dropdown-list li a:focus svg,
html body .me-account-dropdown .me-account-dropdown-list li a:focus svg path {
    color: #c5a059 !important;
    stroke: #c5a059 !important;
}

html body .me-account-dropdown .me-account-dropdown-list .me-logout-link,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link span {
    color: #4b5563 !important;
}

html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:hover,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:focus,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:active {
    background-color: #fef2f2 !important;
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:hover span,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:focus span,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:active span {
    color: #dc2626 !important;
}

html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:hover svg,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:hover svg path,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:focus svg,
html body .me-account-dropdown .me-account-dropdown-list .me-logout-link:focus svg path {
    color: #dc2626 !important;
    stroke: #dc2626 !important;
}

html body .me-account-dropdown .me-account-dropdown-cta .me-btn-gold {
    background-color: #c5a059 !important;
    background: #c5a059 !important;
    color: #ffffff !important;
    border: 1px solid #b38f46 !important;
    font-weight: 600 !important;
}

html body .me-account-dropdown .me-account-dropdown-cta .me-btn-gold:hover {
    background-color: #b38f46 !important;
    background: #b38f46 !important;
    color: #ffffff !important;
}

html body .me-account-dropdown .me-account-dropdown-cta .me-btn-outline {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    font-weight: 500 !important;
}

html body .me-account-dropdown .me-account-dropdown-cta .me-btn-outline:hover {
    background-color: #faf5eb !important;
    border-color: #c5a059 !important;
    color: #c5a059 !important;
}

html body .me-account-dropdown .me-divider {
    height: 1px !important;
    background-color: #e5e7eb !important;
    margin: 6px 0 !important;
    border: none !important;
}

/* 4. Trigger Móvil (Botón Hamburguesa) - Icono en BLANCO (#ffffff) */
html body .menu-estiloss-wrapper .me-mobile-toggle,
html body .menu-estiloss-wrapper .me-mobile-toggle *,
html body .menu-estiloss-wrapper .me-mobile-toggle svg,
html body .menu-estiloss-wrapper .me-mobile-toggle path,
html body .menu-estiloss-wrapper .me-mobile-btn-minimal {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

html body .menu-estiloss-wrapper .me-mobile-toggle:hover,
html body .menu-estiloss-wrapper .me-mobile-toggle:focus,
html body .menu-estiloss-wrapper .me-mobile-toggle:active,
html body .menu-estiloss-wrapper .me-mobile-toggle:hover *,
html body .menu-estiloss-wrapper .me-mobile-toggle:focus *,
html body .menu-estiloss-wrapper .me-mobile-toggle:active *,
html body .menu-estiloss-wrapper .me-mobile-toggle:hover svg,
html body .menu-estiloss-wrapper .me-mobile-toggle:focus svg,
html body .menu-estiloss-wrapper .me-mobile-toggle:active svg {
    color: #c5a059 !important;
    fill: #c5a059 !important;
    stroke: #c5a059 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 5. Drawer Móvil - BLINDAJE TOTAL CONTRA ROSA (Elementor y Temas) */
html body .me-mobile-drawer,
html body .me-mobile-drawer * {
    --e-global-color-accent: #c5a059 !important;
    --e-global-color-primary: #111827 !important;
    --e-global-color-secondary: #c5a059 !important;
    --ast-global-color-0: #c5a059 !important;
    --ast-global-color-1: #c5a059 !important;
    --ast-global-color-2: #c5a059 !important;
    --ast-global-color-3: #111827 !important;
    -webkit-tap-highlight-color: transparent !important;
}

html body .me-mobile-drawer button:not(.me-btn):not(.me-btn-gold):not(.me-btn-outline),
html body .me-mobile-drawer a:not(.me-btn):not(.me-btn-gold):not(.me-btn-outline):not(.me-mobile-account-btn),
html body .me-mobile-drawer .me-mobile-accordion-btn,
html body .me-mobile-drawer .me-mobile-close-btn,
html body .me-mobile-drawer .me-mobile-link,
html body .me-mobile-drawer .me-search-clear-btn {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

/* Estado normal de textos móviles dentro del drawer */
html body .me-mobile-drawer .me-mobile-accordion-btn,
html body .me-mobile-drawer .me-mobile-link {
    color: #111827 !important;
}

html body .me-mobile-drawer .me-mobile-chevron,
html body .me-mobile-drawer .me-mobile-chevron svg {
    color: #9ca3af !important;
    fill: #9ca3af !important;
}

html body .me-mobile-drawer .me-mobile-sublist li a,
html body .me-mobile-drawer .me-mobile-nested-list li a {
    color: #4b5563 !important;
}

/* Al pasar el cursor, hacer clic o estar activo: NUNCA ROSA, SIEMPRE DORADO #c5a059 */
html body .me-mobile-drawer a:hover,
html body .me-mobile-drawer a:focus,
html body .me-mobile-drawer a:active,
html body .me-mobile-drawer a:hover *,
html body .me-mobile-drawer a:focus *,
html body .me-mobile-drawer a:active *,
html body .me-mobile-drawer button:hover,
html body .me-mobile-drawer button:focus,
html body .me-mobile-drawer button:active,
html body .me-mobile-drawer button:hover *,
html body .me-mobile-drawer button:focus *,
html body .me-mobile-drawer button:active *,
html body .me-mobile-drawer .me-mobile-accordion-btn:hover,
html body .me-mobile-drawer .me-mobile-accordion-btn:focus,
html body .me-mobile-drawer .me-mobile-accordion-btn:active,
html body .me-mobile-drawer .me-mobile-accordion-btn:hover *,
html body .me-mobile-drawer .me-mobile-accordion-btn:focus *,
html body .me-mobile-drawer .me-mobile-accordion-btn:active *,
html body .me-mobile-drawer .me-mobile-accordion-item.is-open > .me-mobile-accordion-btn,
html body .me-mobile-drawer .me-mobile-accordion-item.is-open > .me-mobile-accordion-btn *,
html body .me-mobile-drawer .me-mobile-link:hover,
html body .me-mobile-drawer .me-mobile-link:focus,
html body .me-mobile-drawer .me-mobile-link:active,
html body .me-mobile-drawer .me-mobile-sublist li a:hover,
html body .me-mobile-drawer .me-mobile-sublist li a:focus,
html body .me-mobile-drawer .me-mobile-sublist li a:active,
html body .me-mobile-drawer .me-mobile-nested-list li a:hover,
html body .me-mobile-drawer .me-mobile-nested-list li a:focus,
html body .me-mobile-drawer .me-mobile-nested-list li a:active,
html body .me-mobile-drawer .me-mobile-close-btn:hover,
html body .me-mobile-drawer .me-mobile-close-btn:focus,
html body .me-mobile-drawer .me-mobile-close-btn:active,
html body .me-mobile-drawer .me-mobile-close-btn:hover *,
html body .me-mobile-drawer .me-mobile-close-btn:focus *,
html body .me-mobile-drawer .me-mobile-close-btn:active * {
    color: #c5a059 !important;
    fill: #c5a059 !important;
    stroke: #c5a059 !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* Reglas explícitas de alta prioridad para botones móviles de cuenta y acciones (100% visibles siempre) */
html body .me-mobile-drawer .me-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: var(--me-radius-sm, 6px) !important;
    cursor: pointer !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

html body .me-mobile-drawer .me-btn-gold,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-gold {
    background-color: #c5a059 !important;
    background: #c5a059 !important;
    color: #ffffff !important;
    border: 1px solid #c5a059 !important;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.25) !important;
}

html body .me-mobile-drawer .me-btn-gold:hover,
html body .me-mobile-drawer .me-btn-gold:focus,
html body .me-mobile-drawer .me-btn-gold:active,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-gold:hover,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-gold:focus,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-gold:active {
    background-color: #b38f48 !important;
    background: #b38f48 !important;
    color: #ffffff !important;
    border-color: #b38f48 !important;
}

html body .me-mobile-drawer .me-btn-outline,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-outline {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
}

html body .me-mobile-drawer .me-btn-outline:hover,
html body .me-mobile-drawer .me-btn-outline:focus,
html body .me-mobile-drawer .me-btn-outline:active,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-outline:hover,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-outline:focus,
html body .me-mobile-drawer .me-mobile-account-buttons .me-btn-outline:active {
    background-color: #faf5eb !important;
    background: #faf5eb !important;
    color: #c5a059 !important;
    border-color: #c5a059 !important;
}

html body .me-mobile-drawer .me-mobile-account-btn {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
}

html body .me-mobile-drawer .me-mobile-account-btn:hover {
    background-color: #faf5eb !important;
    background: #faf5eb !important;
    color: #c5a059 !important;
    border-color: #c5a059 !important;
}

/* Resultados de búsqueda en drawer móvil: fondo sutil en hover sin rosa */
html body .me-mobile-drawer .me-search-result-item:hover {
    background-color: #faf5eb !important;
}

/* 6. Asegurar z-index máximo en modales y dropdowns */
.me-modal {
    z-index: 999999999 !important;
}

/* ======================================================
   7. BLINDAJE ULTRA PRIORITARIO: PASOS Y BADGES (MÁXIMA PRIORIDAD EN CASCADA)
   ====================================================== */
html body .me-step-num,
html body .me-megamenu-panel .me-step-num,
html body .menu-estiloss-wrapper .me-step-num,
html body .me-step-box .me-step-num {
    background-color: #c5a059 !important;
    color: #ffffff !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    border: none !important;
    box-shadow: none !important;
}

html body .me-megamenu-panel .me-step-title,
html body .me-step-box .me-step-title {
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

html body .me-megamenu-panel .me-step-desc,
html body .me-step-box .me-step-desc {
    color: #6b7280 !important;
    font-size: 10px !important;
}

/* Badges: Anula estrictamente cualquier a:hover *, a:focus *, o resets de tema */
html body .me-megamenu-panel .me-badge-new,
html body .me-mobile-drawer .me-badge-new,
html body .menu-estiloss-wrapper .me-badge-new,
html body .me-badge-new,
html body .me-megamenu-panel a:hover .me-badge-new,
html body .me-megamenu-panel a:focus .me-badge-new,
html body .me-megamenu-panel a:active .me-badge-new,
html body .me-mobile-drawer a:hover .me-badge-new,
html body .me-mobile-drawer a:focus .me-badge-new,
html body .me-mobile-drawer a:active .me-badge-new,
html body .me-mobile-drawer a:hover * .me-badge-new,
html body .me-megamenu-panel .me-item-link:hover .me-badge-new,
html body .me-megamenu-panel .me-item-link:focus .me-badge-new,
html body .me-megamenu-panel .me-item-link:active .me-badge-new,
html body .me-mobile-drawer .me-mobile-link:hover .me-badge-new,
html body .me-mobile-drawer .me-mobile-link:focus .me-badge-new,
html body .me-mobile-drawer .me-mobile-link:active .me-badge-new {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #c5a059 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    line-height: normal !important;
    letter-spacing: 0.5px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body .me-megamenu-panel .me-badge-top,
html body .me-mobile-drawer .me-badge-top,
html body .menu-estiloss-wrapper .me-badge-top,
html body .me-badge-top,
html body .me-megamenu-panel a:hover .me-badge-top,
html body .me-megamenu-panel a:focus .me-badge-top,
html body .me-megamenu-panel a:active .me-badge-top,
html body .me-mobile-drawer a:hover .me-badge-top,
html body .me-mobile-drawer a:focus .me-badge-top,
html body .me-mobile-drawer a:active .me-badge-top,
html body .me-mobile-drawer a:hover * .me-badge-top,
html body .me-megamenu-panel .me-item-link:hover .me-badge-top,
html body .me-megamenu-panel .me-item-link:focus .me-badge-top,
html body .me-megamenu-panel .me-item-link:active .me-badge-top,
html body .me-mobile-drawer .me-mobile-link:hover .me-badge-top,
html body .me-mobile-drawer .me-mobile-link:focus .me-badge-top,
html body .me-mobile-drawer .me-mobile-link:active .me-badge-top {
    background-color: #c5a059 !important;
    color: #ffffff !important;
    border: 1px solid #b38f46 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    line-height: normal !important;
    letter-spacing: 0.5px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body .me-megamenu-panel .me-badge-sale,
html body .me-mobile-drawer .me-badge-sale,
html body .menu-estiloss-wrapper .me-badge-sale,
html body .me-badge-sale,
html body .me-megamenu-panel a:hover .me-badge-sale,
html body .me-megamenu-panel a:focus .me-badge-sale,
html body .me-megamenu-panel a:active .me-badge-sale,
html body .me-mobile-drawer a:hover .me-badge-sale,
html body .me-mobile-drawer a:focus .me-badge-sale,
html body .me-mobile-drawer a:active .me-badge-sale,
html body .me-mobile-drawer a:hover * .me-badge-sale,
html body .me-megamenu-panel .me-item-link:hover .me-badge-sale,
html body .me-megamenu-panel .me-item-link:focus .me-badge-sale,
html body .me-megamenu-panel .me-item-link:active .me-badge-sale,
html body .me-mobile-drawer .me-mobile-link:hover .me-badge-sale,
html body .me-mobile-drawer .me-mobile-link:focus .me-badge-sale,
html body .me-mobile-drawer .me-mobile-link:active .me-badge-sale {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    line-height: normal !important;
    letter-spacing: 0.5px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   13. SECCIÓN MÓVIL DE MI CUENTA (DENTRO DEL DRAWER)
   ========================================================================== */
.me-mobile-account-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--me-gray-border, #e5e7eb);
}

.me-mobile-account-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--me-radius-md, 10px);
    padding: 16px;
    box-sizing: border-box;
}

.me-mobile-account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.me-mobile-account-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.me-mobile-account-avatar svg {
    color: #ffffff !important;
    fill: currentColor !important;
}

.me-mobile-account-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.me-mobile-account-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.me-mobile-account-email {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.me-mobile-account-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.me-mobile-account-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #1e293b !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.me-mobile-account-btn svg {
    flex-shrink: 0;
    color: #475569;
    fill: currentColor;
}

.me-mobile-account-btn:hover,
.me-mobile-account-btn:focus,
.me-mobile-account-btn:active {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--me-gold, #c5a059) !important;
}

.me-mobile-account-btn:hover svg {
    color: var(--me-gold, #c5a059) !important;
}

.me-mobile-logout-btn {
    color: #dc2626 !important;
    border-color: #fecaca;
    background-color: #fef2f2;
}

.me-mobile-logout-btn svg {
    color: #dc2626;
}

.me-mobile-logout-btn:hover,
.me-mobile-logout-btn:focus,
.me-mobile-logout-btn:active {
    background-color: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c !important;
}

.me-mobile-account-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.me-mobile-account-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.me-mobile-account-icon-wrap svg {
    color: #ffffff !important;
    fill: currentColor !important;
}

.me-mobile-account-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.me-mobile-account-sub {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.3;
}

.me-mobile-account-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==========================================================================
   14. RESPONSIVIDAD PARA PANTALLAS REDUCIDAS EN DESKTOP (1025px - 1400px)
   Buscador extendido que no invade el carrito ni aplasta los elementos del menú
   ========================================================================== */
@media (max-width: 1400px) {
    .me-nav-only-inner {
        padding: 0 clamp(8px, 1.2vw, 16px) !important;
        gap: 14px !important;
    }
    .me-nav-list {
        gap: clamp(10px, 1.4vw, 20px) !important;
    }
    .me-nav-link {
        font-size: 13px !important;
        padding: 8px 3px !important;
    }
    .me-desktop-search-container {
        max-width: 380px !important;
    }
    .me-search-pill-wrapper {
        height: 38px !important;
    }
}

@media (max-width: 1240px) {
    .me-nav-only-inner {
        padding: 0 8px !important;
        gap: 10px !important;
    }
    .me-nav-list {
        gap: 10px !important;
    }
    .me-nav-link {
        font-size: 12.5px !important;
        padding: 6px 2px !important;
        gap: 3px !important;
    }
    .me-nav-link .me-arrow-icon svg {
        width: 12px !important;
        height: 12px !important;
    }
    .me-desktop-search-container {
        max-width: 300px !important;
        min-width: 150px !important;
    }
    .me-search-pill-wrapper {
        height: 36px !important;
        padding: 0 4px 0 10px !important;
    }
    .me-search-pill-input {
        font-size: 12px !important;
    }
    .me-search-pill-submit {
        padding: 5px 9px !important;
        font-size: 10px !important;
        margin-left: 4px !important;
    }
}

@media (max-width: 1120px) {
    .me-nav-list {
        gap: 8px !important;
    }
    .me-nav-link {
        font-size: 11.5px !important;
        letter-spacing: 0.1px !important;
    }
    .me-desktop-search-container {
        max-width: 250px !important;
        min-width: 130px !important;
    }
    .me-search-pill-wrapper {
        height: 34px !important;
        padding: 0 3px 0 8px !important;
    }
    .me-search-pill-input {
        font-size: 11px !important;
    }
    .me-search-pill-input::placeholder {
        font-size: 10.5px !important;
    }
    .me-search-pill-submit {
        padding: 4px 7px !important;
        font-size: 9.5px !important;
    }
}


