:root {
    --nmd-blue: #051024;
    --nmd-gold: #c7a14a;
    --nmd-white: #ffffff;
    --nmd-font: 'Poppins', sans-serif;
}

/* SISTEMA IDIOMAS */
.lang { display: none !important; }
body.lang-es .lang.es { display: inline-block !important; }
body.lang-en .lang.en { display: inline-block !important; }
body.lang-fr .lang.fr { display: inline-block !important; }

/* HEADER GENERAL */
.nmd-header {
    background: var(--nmd-blue);
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 99999; height: 85px; display: flex; align-items: center;
    font-family: var(--nmd-font);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- DISEÑO ESCRITORIO --- */
.nmd-nav-pc {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 30px;
    display: flex; align-items: center; justify-content: space-between;
}
.nmd-nav-left, .nmd-nav-right { display: flex; align-items: center; gap: 20px; flex: 1; }
.nmd-nav-right { justify-content: flex-end; }
.nmd-nav-pc a, .nmd-drop-label { color: white; text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.nmd-nav-pc a:hover, .nmd-drop-label:hover { color: var(--nmd-gold); }
.nmd-nav-center img { height: 55px; }

/* MEGA MENU PC (FIX CIERRE) */
.nmd-dropdown-area { position: relative; padding: 30px 0; }
.nmd-dropdown-area::after {
    content: ""; position: absolute; top: 70px; left: 0; width: 100%; height: 35px; display: block; z-index: 1;
}
.nmd-mega-box {
    position: absolute; top: 90px; left: 50%; transform: translateX(-50%) translateY(15px);
    width: 580px; background: white; border-radius: 12px; padding: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.3); display: none; z-index: 100;
}
.nmd-dropdown-area:hover .nmd-mega-box { display: block; animation: nmdFade 0.3s forwards; }

.nmd-mega-inner { display: flex; gap: 40px; }
.nmd-mega-col { flex: 1; }
.nmd-mega-title { 
    color: #004488; font-weight: 800; font-size: 13px; border-bottom: 2px solid var(--nmd-gold); 
    padding-bottom: 8px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px;
}
.nmd-mega-links a { display: flex !important; align-items: center; color: #333 !important; padding: 10px 0 !important; font-size: 14px !important; font-weight: 600 !important; }
.nmd-mega-links a i { color: var(--nmd-gold); margin-right: 12px; width: 20px; text-align: center; }
.nmd-mega-links a:hover { color: var(--nmd-gold) !important; transform: translateX(5px); }

/* SELECTOR IDIOMA PC */
.nmd-lang-pc { position: relative; padding: 10px 0; }
.nmd-lang-pc-trigger { 
    color: white; cursor: pointer; display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 6px;
}
.nmd-lang-pc-list {
    position: absolute; top: calc(100% ); right: 0; 
    background: white; border-radius: 8px; width: 110px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); display: none; z-index: 10000;
}
.nmd-lang-pc:hover .nmd-lang-pc-list { display: block; animation: nmdFade 0.2s forwards; }

.l-opt { 
    padding: 12px 15px; color: #333; cursor: pointer; display: flex; 
    align-items: center; gap: 10px; font-weight: 700; font-size: 13px;
}
.l-opt:hover { background: #f8f8f8; color: var(--nmd-gold); }
.l-opt img { width: 20px; border-radius: 2px; }

/* --- DISEÑO MÓVIL (HEADER) --- */
.nmd-nav-mob { display: none; width: 100%; padding: 0 20px; align-items: center; justify-content: space-between; }
.nmd-burger { background: none; border: none; color: white; font-size: 28px; cursor: pointer; padding: 0; }
.nmd-mob-logo-box img { height: 42px; }

.nmd-mob-lang-wrapper { position: relative; }
.nmd-mob-lang-selector {
    border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: 5px 10px;
    display: flex; align-items: center; gap: 8px; cursor: pointer; color: white;
}
.nmd-mob-lang-selector img { width: 22px; border-radius: 2px; }
.nmd-mob-lang-list {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: white; border-radius: 8px; width: 100px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); display: none; z-index: 10000;
}
.nmd-mob-lang-wrapper.active .nmd-mob-lang-list { display: block; }

/* --- SIDEBAR MÓVIL --- */
.nmd-sb-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); visibility: hidden; opacity: 0; transition: 0.3s; z-index: 100000; }
.nmd-sb-overlay.visible { visibility: visible; opacity: 1; }
.nmd-sb-drawer { position: absolute; left: -100%; width: 85%; max-width: 350px; height: 100%; background: var(--nmd-blue); transition: 0.4s; overflow-y: auto; }
.nmd-sb-overlay.visible .nmd-sb-drawer { left: 0; }

.nmd-sb-head { padding: 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sb-logo { height: 35px; }
#nmd-sb-close i { 
    color: var(--nmd-gold); border: 2px solid var(--nmd-gold); border-radius: 50%; 
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; 
}

.nmd-sb-search-box { padding: 20px 25px; }
.nmd-sb-search { 
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px; padding: 14px; color: white; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.nmd-sb-search i { color: var(--nmd-gold); }

.sb-nav-list { padding: 0; }
.sb-item, .sb-acc-header { 
    color: white; text-decoration: none; padding: 22px 25px; display: flex; 
    justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.06); 
    font-weight: 700; font-size: 24px; cursor: pointer;
}
.sb-item i, .sb-acc-header i { color: rgba(255,255,255,0.4); font-size: 18px; }

.sb-accordion.active { background: rgba(255,255,255,0.04); border-left: 6px solid var(--nmd-gold); }
.sb-accordion.active .sb-acc-header { color: var(--nmd-gold); border-bottom: none; }
.sb-accordion.active .sb-acc-header i { transform: rotate(180deg); color: var(--nmd-gold); }

.sb-acc-panel { max-height: 0; overflow: hidden; transition: 0.4s; background: rgba(0,0,0,0.2); }
.sb-accordion.active .sb-acc-panel { max-height: 800px; padding-bottom: 20px; }
.sb-acc-panel a { color: #eee; text-decoration: none; display: flex; align-items: center; gap: 15px; padding: 15px 40px; font-size: 18px; }

/* --- FOOTER FINAL --- */
.nmd-footer-main { background: var(--nmd-blue); color: white; padding: 70px 0 0; border-top: 1px solid rgba(255,255,255,0.1); }
.nmd-footer-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; padding: 0 25px 50px; }
.ft-logo { height: 55px; margin-bottom: 25px; }
.ft-contact-info p { font-size: 15px; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.ft-contact-info i { color: var(--nmd-gold); }
.ft-title { color: var(--nmd-gold); font-size: 15px; margin-bottom: 25px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.ft-nav a { color: #ccc; text-decoration: none; display: flex; align-items: center; margin-bottom: 15px; font-size: 15px; transition: 0.3s; }
.ft-nav a:hover { color: var(--nmd-gold); transform: translateX(5px); }

.ft-pay-icons { display: flex; gap: 18px; font-size: 32px; margin-bottom: 35px; }
.ft-pay-icons .fa-stripe { color: #635bff; }
.ft-pay-icons .fa-cc-visa { color: #1a1f71; }
.ft-pay-icons .fa-cc-mastercard { color: #eb001b; }

.ft-social-row { display: flex; gap: 12px; }
.ft-social-row a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; transition: 0.3s; }
.ft-social-row a:hover { background: var(--nmd-gold); color: var(--nmd-blue); border-color: var(--nmd-gold); }

.nmd-ft-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; background: rgba(0,0,0,0.2); }
.ft-bottom-inner { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 25px; }
.ft-copy { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }
.ft-legal-links { display: flex; gap: 20px; }
.legal-item { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; }

/* ANIMACIONES */
@keyframes nmdFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   WIDGETS FLOTANTES — Split Bicolor v1.0
   ============================================= */

.nmd-widgets-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999999;
    transition: bottom 0.3s ease;
}

/* BASE — pill split */
.nmd-f-btn {
    display: flex;
    align-items: stretch;
    border-radius: 50px;
    overflow: hidden;
    text-decoration: none;
    font-family: var(--nmd-font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    padding: 0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.nmd-f-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

/* BLOQUE ICONO */
.nmd-f-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex-shrink: 0;
    font-size: 19px;
}

/* BLOQUE TEXTO — override del sistema de idiomas dentro del botón */
.nmd-f-btn .lang {
    display: none;
    align-items: center;
    padding: 14px 20px 14px 12px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

body.lang-es .nmd-f-btn .lang.es { display: flex !important; }
body.lang-en .nmd-f-btn .lang.en { display: flex !important; }
body.lang-fr .nmd-f-btn .lang.fr { display: flex !important; }

/* WHATSAPP */
.nmd-f-btn.wa       { background: #25d366; }
.nmd-f-btn.wa i     { background: #1da851; color: #fff; }
.nmd-f-btn.wa .lang { background: #25d366; color: #fff; }
.nmd-f-btn.wa:hover { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5); }

/* RESERVAR */
.nmd-f-btn.book       { background: #c7a14a; }
.nmd-f-btn.book i     { background: #051024; color: #c7a14a; }
.nmd-f-btn.book .lang { background: #c7a14a; color: #051024; }
.nmd-f-btn.book:hover { box-shadow: 0 8px 28px rgba(199, 161, 74, 0.5); }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .nmd-nav-pc { display: none; }
    .nmd-nav-mob { display: flex; }
    .nmd-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .nmd-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .ft-contact-info p, .ft-nav a, .ft-pay-icons, .ft-social-row { justify-content: center; }
    .ft-bottom-inner { flex-direction: column; gap: 15px; }

    /* WIDGETS MÓVIL — solo icono circular con ripple
       (scopeado a .nmd-widgets-wrap para no afectar al modal) */
    .nmd-widgets-wrap {
        bottom: 20px !important;
        right: 20px !important;
        gap: 14px !important;
    }

    .nmd-widgets-wrap .nmd-f-btn {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    .nmd-widgets-wrap .nmd-f-btn:hover {
        transform: scale(1.12) !important;
        box-shadow: none !important;
    }

    /* Ocultar texto solo en los flotantes */
    .nmd-widgets-wrap .nmd-f-btn .lang,
    body.lang-es .nmd-widgets-wrap .nmd-f-btn .lang.es,
    body.lang-en .nmd-widgets-wrap .nmd-f-btn .lang.en,
    body.lang-fr .nmd-widgets-wrap .nmd-f-btn .lang.fr {
        display: none !important;
    }

    /* Icono ocupa todo el círculo */
    .nmd-widgets-wrap .nmd-f-btn i {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        border-radius: 50% !important;
        font-size: 22px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .nmd-widgets-wrap .nmd-f-btn.wa i   { background: #25d366 !important; color: #fff !important; }
    .nmd-widgets-wrap .nmd-f-btn.book i { background: #c7a14a !important; color: #051024 !important; }

    /* Ripple pulsante — el box-shadow es exterior, funciona con overflow:hidden */
    .nmd-widgets-wrap .nmd-f-btn.wa {
        animation: rippleWa 2.5s ease-in-out infinite !important;
    }
    .nmd-widgets-wrap .nmd-f-btn.book {
        animation: rippleBook 2.5s 0.8s ease-in-out infinite !important;
    }

    @keyframes rippleWa {
        0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), 0 4px 16px rgba(37, 211, 102, 0.4); }
        50%       { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0),  0 4px 16px rgba(37, 211, 102, 0.4); }
    }

    @keyframes rippleBook {
        0%, 100% { box-shadow: 0 0 0 0 rgba(199, 161, 74, 0.45), 0 4px 16px rgba(199, 161, 74, 0.4); }
        50%       { box-shadow: 0 0 0 10px rgba(199, 161, 74, 0),  0 4px 16px rgba(199, 161, 74, 0.4); }
    }
}

/* Estilos básicos para que el modal de WhatsApp funcione */
.whatsapp-modal {
    position: fixed; inset: 0; z-index: 1000000;
    display: none; align-items: center; justify-content: center;
}
.whatsapp-modal.active { display: flex; }
.whatsapp-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.whatsapp-modal-content { 
    position: relative; background: white; padding: 30px; border-radius: 15px; 
    max-width: 400px; width: 90%; text-align: center; 
}
.whatsapp-modal-close { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; border: none; background: none; }

/* --- LÓGICA DE HEADER Y LOGO --- */
.nmd-header {
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Estado transparente */
.nmd-header.is-transparent {
    background-color: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

/* OCULTAR LOGO (PC y Móvil) cuando es transparente */
.nmd-header.is-transparent .nmd-nav-center img,
.nmd-header.is-transparent .nmd-mob-logo-box img {
    opacity: 0 !important;
    transform: scale(0.7);
    pointer-events: none;
}

/* LOGO VISIBLE cuando tiene color */
.nmd-header .nmd-nav-center img,
.nmd-header .nmd-mob-logo-box img {
    transition: all 0.4s ease-in-out !important;
    opacity: 1 !important;
    transform: scale(1);
    pointer-events: auto;
}

/* --- ESTILOS GLOBALES DEL MODAL WHATSAPP --- */
.whatsapp-modal {
    position: fixed; inset: 0; z-index: 9999999;
    display: none; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
}
.whatsapp-modal.active { display: flex; animation: nmdFade 0.3s forwards; }

.whatsapp-modal-overlay { 
    position: absolute; inset: 0; background: rgba(0,0,0,0.8); 
}

.whatsapp-modal-content { 
    position: relative; background: white; padding: 40px 30px; border-radius: 15px; 
    max-width: 420px; width: 90%; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.whatsapp-modal-close { 
    position: absolute; top: 15px; right: 15px; font-size: 28px; 
    color: #ccc; cursor: pointer; border: none; background: none; 
}
.whatsapp-modal-close:hover { color: #333; }

/* ============================================
   POPUP DESCUENTO 5% - VERSIÓN MEJORADA v2.1
   ============================================ */

.nmd-discount-popup {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.nmd-discount-popup.active {
    display: flex;
    animation: nmdPopupFadeIn 0.4s ease-out forwards;
}

.nmd-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 16, 36, 0.94);
    backdrop-filter: blur(10px);
}

.nmd-popup-box {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 520px;
    width: 94%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: nmdPopupSlideUp 0.5s ease-out forwards;
    overflow: hidden;
}

.nmd-popup-header {
    background: linear-gradient(135deg, #c7a14a 0%, #d4b56a 50%, #c7a14a 100%);
    padding: 35px 40px 30px;
    position: relative;
    overflow: hidden;
}

.nmd-popup-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.nmd-popup-header::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.nmd-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    border: 2px solid #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.nmd-popup-close i {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.nmd-popup-close:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
}

.nmd-popup-close:active {
    transform: scale(0.95);
}

.nmd-popup-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.nmd-popup-icon i {
    font-size: 42px;
    color: #c7a14a;
    animation: nmdGiftBounce 2s ease-in-out infinite;
}

.nmd-discount-badge {
    background: #051024;
    color: #c7a14a;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(5, 16, 36, 0.3);
}

.nmd-popup-content {
    padding: 40px 40px 45px;
}

.nmd-popup-title {
    font-size: 32px;
    font-weight: 800;
    color: #051024;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-align: center;
}

.nmd-popup-subtitle {
    font-size: 17px;
    color: #555;
    margin: 0 0 10px 0;
    line-height: 1.6;
    text-align: center;
}

.nmd-popup-subtitle strong {
    color: #c7a14a;
    font-weight: 700;
}

.nmd-email-notice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #c7a14a;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nmd-email-notice i {
    font-size: 24px;
    color: #c7a14a;
    flex-shrink: 0;
}

.nmd-email-notice p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.nmd-email-notice strong {
    color: #051024;
    font-weight: 700;
}

.nmd-popup-form {
    margin-bottom: 25px;
}

.nmd-form-group {
    position: relative;
    margin-bottom: 20px;
}

.nmd-form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #c7a14a;
    font-size: 20px;
    z-index: 1;
}

.nmd-form-group input {
    width: 100%;
    padding: 18px 24px 18px 56px;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8f9fa;
}

.nmd-form-group input:focus {
    outline: none;
    border-color: #c7a14a;
    background: white;
    box-shadow: 0 0 0 5px rgba(199, 161, 74, 0.1);
}

.nmd-form-group input::placeholder {
    color: #999;
}

.nmd-popup-btn {
    width: 100%;
    padding: 18px 35px;
    background: linear-gradient(135deg, #c7a14a 0%, #d4b56a 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(199, 161, 74, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nmd-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(199, 161, 74, 0.5);
}

.nmd-popup-btn:active { transform: translateY(-1px); }

.nmd-popup-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.nmd-popup-btn:hover i { transform: translateX(5px); }

.nmd-popup-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.nmd-popup-btn.loading i {
    animation: nmdSpin 1s linear infinite;
}

.nmd-success-msg {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    text-align: center;
    animation: nmdSuccessSlide 0.5s ease-out forwards;
}

.nmd-success-msg i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.nmd-success-msg h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 800;
}

.nmd-success-msg p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.95;
}

.nmd-popup-lang-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}

.nmd-popup-lang-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.nmd-popup-lang-btn img {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nmd-popup-lang-btn:hover {
    border-color: #c7a14a;
    background: #fff9f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 161, 74, 0.2);
}

.nmd-popup-lang-btn.active {
    background: linear-gradient(135deg, #c7a14a 0%, #d4b56a 100%);
    border-color: #c7a14a;
    color: white;
    box-shadow: 0 6px 20px rgba(199, 161, 74, 0.3);
}

.nmd-popup-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.nmd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

.nmd-feature-item i {
    color: #4caf50;
    font-size: 16px;
}

.nmd-popup-legal {
    font-size: 12px;
    color: #999;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nmd-popup-legal i {
    font-size: 14px;
    color: #4caf50;
}

@keyframes nmdPopupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nmdPopupSlideUp {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nmdGiftBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%       { transform: translateY(-8px) rotate(-5deg); }
    50%       { transform: translateY(0) rotate(0deg); }
    75%       { transform: translateY(-4px) rotate(5deg); }
}

@keyframes nmdSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes nmdSuccessSlide {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE POPUP - TABLET */
@media (max-width: 768px) {
    .nmd-popup-box { max-width: 90%; border-radius: 20px; }
    .nmd-popup-header { padding: 30px 30px 25px; }
    .nmd-popup-content { padding: 35px 30px 40px; }
    .nmd-popup-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .nmd-popup-close i { font-size: 20px; }
    .nmd-popup-icon { width: 80px; height: 80px; }
    .nmd-popup-icon i { font-size: 38px; }
    .nmd-popup-title { font-size: 28px; }
    .nmd-popup-subtitle { font-size: 16px; }
}

/* RESPONSIVE POPUP - MÓVIL */
@media (max-width: 650px) {
    .nmd-popup-box { max-width: 95%; width: 95%; border-radius: 18px; margin: 10px; }
    .nmd-popup-header { padding: 25px 20px 20px; }
    .nmd-popup-content { padding: 28px 20px 32px; }
    .nmd-popup-close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .nmd-popup-close i { font-size: 18px; }
    .nmd-popup-icon { width: 70px; height: 70px; }
    .nmd-popup-icon i { font-size: 34px; }
    .nmd-discount-badge { padding: 6px 20px; font-size: 13px; }
    .nmd-popup-title { font-size: 24px; margin-bottom: 12px; }
    .nmd-popup-subtitle { font-size: 15px; margin-bottom: 8px; }
    .nmd-email-notice { padding: 12px 15px; gap: 10px; margin: 18px 0 20px; }
    .nmd-email-notice i { font-size: 20px; }
    .nmd-email-notice p { font-size: 13px; }
    .nmd-form-group { margin-bottom: 18px; }
    .nmd-form-group input { padding: 16px 20px 16px 52px; font-size: 15px; border-radius: 12px; }
    .nmd-form-group i { font-size: 18px; left: 18px; }
    .nmd-popup-btn { padding: 16px 28px; font-size: 15px; border-radius: 12px; }
    .nmd-popup-lang-selector { gap: 10px; margin-bottom: 20px; }
    .nmd-popup-lang-btn { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
    .nmd-popup-lang-btn img { width: 22px; height: 16px; }
    .nmd-popup-features { grid-template-columns: 1fr; gap: 10px; margin: 20px 0; }
    .nmd-feature-item { font-size: 12px; }
    .nmd-success-msg { padding: 20px 15px; }
    .nmd-success-msg i { font-size: 40px; margin-bottom: 12px; }
    .nmd-success-msg h3 { font-size: 20px; margin-bottom: 8px; }
    .nmd-success-msg p { font-size: 14px; }
    .nmd-popup-legal { font-size: 11px; }
}

/* RESPONSIVE POPUP - MÓVIL PEQUEÑO */
@media (max-width: 400px) {
    .nmd-popup-box { max-width: 96%; width: 96%; }
    .nmd-popup-header { padding: 20px 15px 18px; }
    .nmd-popup-content { padding: 25px 18px 28px; }
    .nmd-popup-close { top: 8px; right: 8px; width: 36px; height: 36px; }
    .nmd-popup-close i { font-size: 16px; }
    .nmd-popup-icon { width: 65px; height: 65px; }
    .nmd-popup-icon i { font-size: 30px; }
    .nmd-popup-title { font-size: 22px; }
    .nmd-popup-subtitle { font-size: 14px; }
    .nmd-email-notice { padding: 10px 12px; }
    .nmd-email-notice p { font-size: 12px; }
    .nmd-popup-btn { font-size: 14px; padding: 14px 24px; }
}