/* ============================================================
   NOE PREMIUMSPORT — style.css (Versión Profesional V3.5)
   ============================================================ */

:root {
    --bg-deep: #050508;
    --bg-card: #121216;
    --bg-card-alt: #0e0e12;
    --brand-magenta: #C5A059;
    /* Champagne Gold Elegante */
    --brand-violet: #8A6D3B;
    /* Champagne Dark */
    --text-high: #ffffff;
    --text-mid: #a0a0b8;
    --text-low: #555568;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --gradient-premium: linear-gradient(135deg, var(--brand-magenta), var(--brand-violet));
    --danger: #e11d48;
    --warning: #f59e0b;
    --success: #10b981;
    --info: #3b82f6;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
}

.main-hero-logo {
        height: 45vh;
        /* Limita la altura al 35% de la pantalla */
        min-height: 250px;
        max-height: 450px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
        border: 8px solid #050508;
        /* Borde oscuro que se funde con el fondo */
        box-shadow: 0 0 40px rgba(197, 160, 89, 0.15);
        /* Resplandor premium sutil */
        animation: floating 4s ease-in-out infinite;
    }

    @keyframes floating {
        0% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0);
        }
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        font-family: 'Lato', sans-serif;
        font-size: 14px;
    }

    body {
        background-color: var(--bg-deep);
        color: var(--text-high);
        overflow-x: hidden;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    body.is-ready {
        opacity: 1;
    }

    .hidden {
        display: none !important;
    }

    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--bg-deep);
    }

    ::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--brand-magenta);
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        display: block;
        font-size: 0.85rem;
        color: var(--text-mid);
        margin-bottom: 5px;
        font-weight: 500;
    }

    .form-control {
        width: 100%;
        padding: 10px 12px;
        background-color: #1a1a20 !important;
        border: 1px solid #555 !important;
        color: white !important;
        border-radius: 6px;
        outline: none;
        transition: var(--transition);
        font-family: 'Lato', sans-serif;
    }

    .form-control:focus {
        border-color: var(--brand-magenta) !important;
        background-color: #222 !important;
        box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
    }

    .form-control::placeholder {
        color: #666;
    }

    .btn-guardar,
    .btn-cta {
        background: var(--gradient-premium);
        color: white;
        border: none;
        padding: 14px;
        border-radius: var(--radius-sm);
        font-weight: bold;
        cursor: pointer;
        font-size: 1.1rem;
        transition: var(--transition);
        font-family: 'Lato', sans-serif;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .btn-guardar:hover,
    .btn-cta:hover {
        filter: brightness(1.2);
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(197, 160, 89, 0.4);
        background: rgba(197, 160, 89, 0.1);
        border-color: var(--brand-magenta);
    }

    .btn-heart-icon {
        width: 18px;
        height: 18px;
        margin-left: 10px;
        color: var(--brand-magenta);
        fill: var(--brand-magenta);
        vertical-align: middle;
        transition: transform 0.3s ease;
        animation: heartPulse 2.5s infinite ease-in-out;
        filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.4));
    }

    @keyframes heartPulse {
        0%, 100% { transform: scale(1); opacity: 0.8; }
        50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 8px var(--brand-magenta)); }
    }

    .btn-cta:hover .btn-heart-icon {
        animation: heartBeat 0.5s infinite ease-in-out;
        fill: white;
        color: white;
    }

    @keyframes heartBeat {
        0% { transform: scale(1.1); }
        30% { transform: scale(1.4); }
        60% { transform: scale(1.2); }
        100% { transform: scale(1.1); }
    }

    .btn-guardar:disabled,
    .btn-cta:disabled {
        background: #333;
        color: #666;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        filter: none;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 15px 5%;
        background: rgba(10, 10, 14, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
        transition: var(--transition);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        min-height: 45px;
    }

    .logo-link {
        display: flex;
        align-items: center;
    }

    .logo-img {
        height: 45px;
        width: 45px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--brand-magenta);
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-weight: 400;
        font-size: 1rem;
        letter-spacing: 2px;
        padding: 6px 2px;
        position: relative;
        transition: color 0.4s ease, text-shadow 0.4s ease;
    }

    .nav-links a .nav-label {
        position: relative;
        display: inline-block;
    }

    .nav-links a .nav-label::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        width: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--brand-magenta), transparent);
        transition: width 0.4s ease, left 0.4s ease;
    }

    .nav-links a:hover .nav-label::after {
        width: 100%;
        left: 0;
    }

    .nav-links a:hover {
        color: #fff;
        text-shadow: 0 0 12px rgba(197, 160, 89, 0.35);
    }

    /* Golden dot dividers between nav items */
    .nav-divider {
        width: 4px;
        height: 4px;
        background: rgba(197, 160, 89, 0.45);
        border-radius: 50%;
        margin: 0 18px;
        flex-shrink: 0;
    }

    /* Imperdibles highlight */
    .nav-links a.nav-highlight {
        color: var(--brand-magenta);
        font-weight: 500;
    }

    .nav-links a.nav-highlight:hover {
        color: #fff;
        text-shadow: 0 0 18px rgba(197, 160, 89, 0.5);
    }

    /* Cliente button in nav */
    .nav-btn-cliente {
        font-family: 'Lato', sans-serif !important;
        font-style: normal !important;
        font-size: 0.7rem !important;
        letter-spacing: 2.5px !important;
        text-transform: uppercase !important;
        color: rgba(255, 255, 255, 0.5) !important;
        border: 1px solid rgba(197, 160, 89, 0.25) !important;
        padding: 5px 16px !important;
        border-radius: 0 !important;
        transition: all 0.4s ease !important;
    }

    .nav-btn-cliente:hover {
        color: var(--brand-magenta) !important;
        border-color: var(--brand-magenta) !important;
        background: rgba(197, 160, 89, 0.05) !important;
    }

    /* ── Hamburger Button (mobile only) ── */
    .hamburger-btn {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-left: 12px;
        z-index: 10;
    }

    .hamburger-line {
        display: block;
        width: 22px;
        height: 1.5px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    .hamburger-btn.is-active .hamburger-line:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .hamburger-btn.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger-btn.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    @media(max-width:900px) {
        .nav-links {
            display: none;
        }

        .hamburger-btn {
            display: flex;
        }
    }

    /* ── Mobile Nav Drawer ── */
    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 99997;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .mobile-nav-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-drawer {
        position: fixed;
        top: 0;
        right: -320px;
        width: 290px;
        max-width: 85vw;
        height: 100vh;
        background: linear-gradient(180deg, #0a0a0e 0%, #050508 100%);
        z-index: 99998;
        display: flex;
        flex-direction: column;
        padding: 30px 28px;
        border-left: 1px solid rgba(197, 160, 89, 0.15);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .mobile-nav-drawer.is-open {
        right: 0;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-nav-logo {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1.5px solid rgba(197, 160, 89, 0.4);
        object-fit: cover;
    }

    .mobile-nav-close {
        background: rgba(255, 255, 255, 0.06);
        border: none;
        color: rgba(255, 255, 255, 0.6);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .mobile-nav-close:hover {
        background: var(--brand-magenta);
        color: #fff;
        transform: rotate(90deg);
    }

    .mobile-nav-divider-gold {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.35), transparent);
        margin: 8px 0 20px;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-nav-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: 1.15rem;
        letter-spacing: 1.5px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: all 0.3s ease;
        position: relative;
        padding-left: 0;
    }

    .mobile-nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 1px;
        background: var(--brand-magenta);
        transition: width 0.3s ease;
    }

    .mobile-nav-links a:hover {
        color: #fff;
        padding-left: 18px;
    }

    .mobile-nav-links a:hover::before {
        width: 12px;
    }

    .mobile-nav-links a.mobile-nav-highlight {
        color: var(--brand-magenta);
        font-weight: 500;
    }

    .mobile-nav-links a.mobile-nav-highlight:hover {
        color: #fff;
    }

    .mobile-nav-cliente-btn {
        display: block;
        text-align: center;
        font-family: 'Lato', sans-serif;
        font-size: 0.75rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        border: 1px solid rgba(197, 160, 89, 0.25);
        padding: 12px 0;
        margin-top: 8px;
        transition: all 0.3s ease;
    }

    .mobile-nav-cliente-btn:hover {
        color: var(--brand-magenta);
        border-color: var(--brand-magenta);
        background: rgba(197, 160, 89, 0.05);
    }

    .mobile-nav-footer {
        margin-top: auto;
        padding-top: 30px;
        text-align: center;
    }

    .mobile-nav-footer p {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        color: rgba(197, 160, 89, 0.4);
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }

    .mobile-nav-footer span {
        font-family: 'Lato', sans-serif;
        color: rgba(255, 255, 255, 0.2);
        font-size: 0.65rem;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    .nav-tools {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cart-status {
        cursor: pointer;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        padding: 6px 15px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: bold;
        color: white;
        transition: var(--transition);
    }

    .cart-status:hover {
        background: rgba(255, 0, 127, 0.1);
        border-color: var(--brand-magenta);
    }

    #cart-count {
        background: var(--danger);
        color: #fff;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.75rem;
        margin-left: 8px;
        box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
    }

    .hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 40px;
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        z-index: -2;
        background:
            radial-gradient(ellipse at 50% 35%, #000 20%, transparent 65%),
            linear-gradient(to bottom, rgba(0, 0, 0, 0.4), #050508),
            url('/assets/hero_bg.webp') center/cover;
        background-size: auto, auto, cover;
        background-position: center, center, center;
        opacity: 0.85;
    }

    .hero-content {
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    .brand-title {
        display: flex;
        flex-direction: column;
        font-family: 'Playfair Display', serif;
        font-size: clamp(2.2rem, 8vw, 9rem);
        line-height: 0.9;
        color: white;
        margin-bottom: 15px;
    }

    .brand-title span:nth-child(2) {
        color: var(--brand-magenta);
        text-shadow: 0 0 40px rgba(197, 160, 89, 0.4);
    }

    .hero-sub {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        color: var(--text-high);
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        margin-bottom: 45px;
        font-weight: 400;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        line-height: 1.2;
    }

    .hero-sub span {
        display: block;
        letter-spacing: 1px;
    }

    @media (min-width: 768px) {
        .hero-sub {
            flex-direction: row;
            gap: 15px;
            justify-content: center;
        }

        .hero-sub span:first-child::after {
            content: '•';
            margin-left: 15px;
            color: var(--brand-magenta);
            font-style: normal;
            opacity: 0.6;
        }
    }

    .trust-section {
        padding: 80px 5%;
        background: linear-gradient(to bottom, #050508, #0a0a0c);
        border-bottom: 1px solid var(--border-subtle);
    }

    .trust-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 40px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .trust-card {
        text-align: center;
        padding: 30px 20px;
        transition: var(--transition);
        position: relative;
    }

    .trust-card:hover {
        transform: translateY(-10px);
    }

    .trust-icon-wrap {
        width: 60px;
        height: 60px;
        margin: 0 auto 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--brand-magenta);
        position: relative;
    }

    .trust-icon-wrap svg {
        width: 32px;
        height: 32px;
        filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
        transition: 0.5s ease;
    }

    .trust-card:hover .trust-icon-wrap svg {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.8));
    }

    .trust-icon-wrap::after {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        background: rgba(197, 160, 89, 0.05);
        border-radius: 50%;
        z-index: -1;
    }

    .trust-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.6rem;
        font-style: italic;
        margin-bottom: 15px;
        color: var(--text-high);
        letter-spacing: 0.5px;
    }

    .trust-card p {
        color: var(--text-mid);
        font-family: 'Lato', sans-serif;
        font-size: 0.95rem;
        line-height: 1.8;
        max-width: 300px;
        margin: 0 auto;
        font-weight: 300;
        letter-spacing: 0.3px;
    }

    .section-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.4rem, 5vw, 3.5rem);
        margin-bottom: 40px;
        letter-spacing: clamp(0.5px, 0.3vw, 2px);
        text-align: center;
        width: 100%;
        color: white;
        word-break: break-word;
    }

    .filters-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        margin-bottom: 40px;
        overflow: hidden;
    }

    .filter-group {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .filter-bar {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 20px 10px 20px;
        max-width: 100%;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .filter-bar::-webkit-scrollbar {
        height: 6px;
    }

    .filter-bar::-webkit-scrollbar-track {
        background: transparent;
    }

    .filter-bar::-webkit-scrollbar-thumb {
        background: rgba(197, 160, 89, 0.8);
        border-radius: 10px;
    }

    .pill {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-subtle);
        color: var(--text-mid);
        padding: 8px 16px;
        border-radius: 50px;
        cursor: pointer;
        font-weight: bold;
        transition: var(--transition);
        font-size: 0.75rem;
        text-transform: uppercase;
        backdrop-filter: blur(5px);
        flex-shrink: 0;
    }

    .pill:hover {
        border-color: var(--brand-magenta);
        color: var(--text-high);
        background: rgba(197, 160, 89, 0.05);
    }

    .pill.active {
        background: var(--brand-magenta);
        color: #fff;
        border: none;
        box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    }

    #loading-state {
        text-align: center;
        padding: 40px;
        color: var(--text-mid);
        font-size: 1.2rem;
    }

    .catalog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
        padding: 0 5% 80px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .product-card {
        background: linear-gradient(145deg, #16161e, #0e0e12);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-lg);
        overflow: hidden;
        transition: all 0.4s ease;
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: relative;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .product-card:hover {
        transform: translateY(-8px);
        border-color: rgba(197, 160, 89, 0.3);
        box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
    }

    .product-image-wrap {
        position: relative;
        aspect-ratio: 4/5;
        overflow: hidden;
        background: #000;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .product-card:hover .product-image {
        transform: scale(1.08);
    }

    .product-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 0.65rem;
        font-weight: bold;
        text-transform: uppercase;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        z-index: 15;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
    }

    .sold-out-banner {
        position: absolute;
        top: 25px;
        left: -35px;
        background: var(--danger);
        color: white;
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        padding: 3px 40px;
        transform: rotate(-45deg);
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        letter-spacing: 1px;
        text-align: center;
    }

    .badge-oferta {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #e11d48, #9f1239);
        color: white;
        font-weight: 900;
        padding: 5px 12px;
        border-radius: 50px;
        z-index: 25;
        font-size: 0.7rem;
        box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        animation: pulse-discount 2s infinite;
        letter-spacing: 0.5px;
    }

    @keyframes pulse-discount {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }
    }

    /* FIX: Z-Index aumentado y parpadeo visible para campañas */
    @keyframes blink-premium {
        0% {
            opacity: 1;
            box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
            transform: scale(1);
        }

        50% {
            opacity: 0.8;
            box-shadow: 0 0 5px rgba(197, 160, 89, 0.2);
            transform: scale(1.03);
        }

        100% {
            opacity: 1;
            box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
            transform: scale(1);
        }
    }

/* ══════════════════════════════════════════════════════════
   CAMPAIGN SYSTEM - ELITE REDESIGN
   ══════════════════════════════════════════════════════════ */

.campaign-overlay-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 15px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.badge-campania-elite {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #c5a059;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.badge-campania-elite i {
    font-size: 0.7rem;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.timer-elite {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.timer-elite span {
    font-weight: 800;
    color: #fff;
}

/* Admin Panel Campaign Cards - Professional Look */
.campaign-card-pro {
    background: #16161a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.campaign-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-magenta);
    opacity: 0.5;
}

    .campaign-card-pro:hover {
        transform: translateY(-5px);
        border-color: rgba(197, 160, 89, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .campaign-card-pro:hover::before {
        opacity: 1;
    }

    .campaign-card-pro .header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .campaign-card-pro .title {
        font-family: 'Playfair Display', serif;
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 4px;
    }

    .campaign-card-pro .stats {
        display: flex;
        gap: 15px;
        font-size: 0.7rem;
        color: var(--text-dim);
    }

    .campaign-card-pro .stats b {
        color: var(--accent);
    }

    .progress-wrapper {
        margin: 15px 0;
    }

    .progress-info {
        display: flex;
        justify-content: space-between;
        font-size: 0.65rem;
        color: var(--text-mid);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .progress-bar-bg {
        height: 6px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        overflow: hidden;
    }

    .progress-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--brand-magenta), #e11d48);
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
        transition: width 1s ease;
    }

    .btn-action-pro {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .btn-action-pro:hover {
        background: var(--danger);
        border-color: var(--danger);
        color: white;
        transform: rotate(90deg);
    }

    .precio-tachado {
        text-decoration: line-through;
        color: var(--text-mid);
        font-size: 0.95rem;
        margin-right: 8px;
        font-weight: normal;
    }

    .stock-alert-1 {
        background: rgba(225, 29, 72, 0.1);
        color: var(--danger);
        border: 1px solid rgba(225, 29, 72, 0.3);
        font-weight: bold;
        font-size: 0.75rem;
        padding: 5px 10px;
        border-radius: 6px;
        display: inline-block;
        margin-top: 8px;
    }

    .stock-alert-2 {
        background: rgba(245, 158, 11, 0.1);
        color: var(--warning);
        border: 1px solid rgba(245, 158, 11, 0.3);
        font-weight: bold;
        font-size: 0.75rem;
        padding: 5px 10px;
        border-radius: 6px;
        display: inline-block;
        margin-top: 8px;
    }

    .product-info {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .product-marca {
        font-size: 0.7rem;
        letter-spacing: 1px;
        color: var(--brand-magenta);
        text-transform: uppercase;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .product-desc {
        font-family: 'Playfair Display', serif;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-high);
        line-height: 1.4;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .price-text {
        font-family: 'Lato', sans-serif;
        font-size: 1.5rem;
        font-weight: 400;
        color: var(--brand-magenta);
        margin-top: auto;
        letter-spacing: 1px;
    }

    .btn-add-quick {
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: white;
        font-size: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
        transition: all var(--transition);
        cursor: pointer;
    }

    .btn-add-quick:hover {
        background: var(--brand-magenta);
        border-color: var(--brand-magenta);
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    }

    /* FIX: Scroll interno del carrito. Se divide en flex:1 (para items) y el resto fijo. */
    .cart-sidebar {
        position: fixed;
        top: 0;
        right: -450px;
        width: 100%;
        max-width: 420px;
        height: 100vh;
        height: 100dvh;
        background: #121216;
        z-index: 100000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        border-left: 1px solid rgba(197, 160, 89, 0.2);
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
    }

    .cart-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 99999;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .cart-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: #0a0a0c;
        flex-shrink: 0;
    }

    .cart-items-container {
        flex: 1;
        overflow-y: auto;
        padding: 25px;
    }

    .cart-bottom-section {
        padding: 20px 30px;
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        background: #0a0a0c;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3);
        flex-shrink: 0; /* No se achica, mantiene su tamaño */
        max-height: 70vh; /* Pero no puede ocupar todo */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }


    .cart-item-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(145deg, #1a1a22, #15151a);
        padding: 15px;
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .cart-input {
        width: 100%;
        background: #0a0a0c;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        padding: 15px;
        border-radius: var(--radius-md);
        outline: none;
        font-size: 1rem;
        transition: var(--transition);
    }

    .cart-input:focus {
        border-color: var(--brand-magenta);
        box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
    }

    .trust-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.2);
        color: var(--success);
        padding: 12px;
        border-radius: var(--radius-md);
        font-size: 0.85rem;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .product-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
        z-index: 100000;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .product-modal-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .product-modal-content {
        background: var(--bg-card);
        width: 100%;
        max-width: 950px;
        max-height: 85vh;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        z-index: 50;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.2s;
    }

    .modal-close:hover {
        background: var(--brand-magenta);
        transform: rotate(90deg);
    }

    .modal-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 100%;
        overflow: hidden;
    }

    @media(max-width:768px) {
        .modal-body {
            grid-template-columns: 1fr;
            overflow-y: auto;
        }

        .product-modal-content {
            max-height: 95vh;
        }
    }

    .modal-gallery {
        padding: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        background: #0a0a0c;
        position: relative;
        overflow-y: auto;
    }

    .main-img-container {
        width: 100%;
        height: 450px;
        background: #000;
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-img-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .thumb-list {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .thumb-img {
        width: 65px;
        height: 65px;
        border-radius: 10px;
        border: 2px solid transparent;
        cursor: pointer;
        object-fit: cover;
        opacity: 0.5;
        transition: var(--transition);
    }

    .thumb-img.active,
    .thumb-img:hover {
        opacity: 1;
        border-color: var(--brand-magenta);
        transform: translateY(-3px);
    }

    .modal-info {
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        background: var(--bg-card);
    }

    .modal-info h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.1rem, 3vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 12px;
        color: white;
        font-style: italic;
        letter-spacing: 0.5px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .modal-price {
        font-family: 'Lato', sans-serif;
        font-size: clamp(1.6rem, 4.5vw, 3rem);
        font-weight: 300;
        color: var(--brand-magenta);
        margin-bottom: 20px;
        letter-spacing: clamp(0.5px, 0.3vw, 2px);
    }

    .modal-desc {
        font-family: 'Lato', sans-serif;
        color: #e0e0e0;
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 25px;
        padding-top: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        letter-spacing: 0.5px;
    }

    .modal-specs {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-bottom: 25px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .spec-item {
        font-size: 0.8rem;
        color: var(--text-mid);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .spec-item strong {
        color: white;
        display: block;
        font-size: 1.1rem;
        text-transform: none;
        letter-spacing: 0;
        margin-top: 5px;
    }

    .fomo-popup {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: rgba(20, 20, 25, 0.95);
        border-right: 4px solid var(--brand-magenta);
        padding: 12px 18px;
        border-radius: var(--radius-sm);
        z-index: 99999;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(8px);
        transform: translateX(150%);
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .fomo-popup.show {
        transform: translateX(0);
    }

    .fomo-img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fomo-text {
        font-size: 0.85rem;
        color: #ccc;
        line-height: 1.3;
    }

    .fomo-text strong {
        color: white;
        display: block;
        font-size: 0.95rem;
    }

    .about-section {
        padding: 100px 5%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .about-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    @media(max-width:900px) {
        .about-container {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .about-text h2 {
        font-family: 'Playfair Display', serif;
        font-size: 3.5rem;
        margin-bottom: 30px;
        letter-spacing: 2px;
        color: white;
    }

    .about-text p {
        color: var(--text-mid);
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .image-frame {
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-lg);
        padding: 15px;
        position: relative;
        background: var(--bg-card);
    }

    .image-frame img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        filter: grayscale(20%);
        transition: 0.5s;
    }

    .image-frame:hover img {
        filter: grayscale(0%);
    }

    .site-footer {
        background: #08080a;
        padding: 80px 5% 40px;
        border-top: 1px solid var(--border-subtle);
        margin-top: 80px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 60px;
        max-width: 1400px;
        margin: 0 auto 60px;
    }

    @media(max-width:1024px) {
        .footer-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }
    }

    @media(max-width:600px) {
        .footer-grid {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .footer-logo {
        width: 60px;
        height: auto;
        margin-bottom: 20px;
        filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.2));
    }

    .footer-brand-name {
        font-family: 'Montserrat', sans-serif;
        color: white;
        letter-spacing: 3px;
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .footer-slogan {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        color: var(--brand-magenta);
        font-size: 1.1rem;
        margin-bottom: 25px;
        opacity: 0.8;
    }

    .footer-divider-gold {
        width: 40px;
        height: 1px;
        background: var(--brand-magenta);
        opacity: 0.3;
    }

    @media(max-width:600px) {
        .footer-divider-gold {
            margin: 0 auto;
        }
    }

    .footer-title {
        font-family: 'Lato', sans-serif;
        color: white;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.9rem;
        margin-bottom: 25px;
        position: relative;
    }

    .footer-nav a {
        display: block;
        color: var(--text-mid);
        text-decoration: none;
        font-size: 0.95rem;
        margin-bottom: 12px;
        transition: 0.3s;
        font-weight: 300;
    }

    .footer-nav a:hover {
        color: var(--brand-magenta);
        transform: translateX(5px);
    }

    @media(max-width:600px) {
        .footer-nav a:hover {
            transform: translateY(-3px);
        }
    }

    .footer-highlight {
        color: var(--brand-magenta) !important;
        font-weight: 500 !important;
    }

    .footer-contact-info p {
        color: var(--text-mid);
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

    .footer-wpp-btn {
        display: inline-flex;
        align-items: center;
        background: rgba(197, 160, 89, 0.05);
        border: 1px solid rgba(197, 160, 89, 0.2);
        color: var(--brand-magenta);
        padding: 12px 20px;
        text-decoration: none;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
        transition: 0.3s;
        font-weight: bold;
    }

    .footer-wpp-btn:hover {
        background: var(--brand-magenta);
        color: #000;
        box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
    }

    .footer-bottom {
        border-top: 1px solid var(--border-subtle);
        padding-top: 30px;
        text-align: center;
    }

    .footer-bottom p {
        color: var(--text-low);
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* ══════════════════════════════════════════════════════════
   ADMIN (admin.html)
   ══════════════════════════════════════════════════════════ */

    .admin-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        background: var(--bg-card-alt);
        border-bottom: 1px solid #222;
    }

    .admin-header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        background: var(--gradient-premium);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .dashboard {
        padding: 25px 5%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .panel {
        background: var(--bg-card-alt);
        padding: 25px;
        border-radius: var(--radius-sm);
        border: 1px solid #222;
    }

    .row-entregado {
        opacity: 0.5;
        filter: grayscale(80%);
        background-color: rgba(255, 255, 255, 0.02) !important;
    }

    .tab-btn {
        background: none;
        border: none;
        color: var(--text-mid);
        font-size: 1rem;
        cursor: pointer;
        padding-bottom: 8px;
        font-weight: bold;
        margin-right: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: var(--transition);
        font-family: 'Lato', sans-serif;
    }

    .tab-btn:hover {
        color: white;
    }

    .tab-btn.active {
        color: var(--brand-magenta);
        border-bottom: 3px solid var(--brand-magenta);
    }

    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 15px;
        background: transparent;
    }

    th,
    td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #222;
        font-size: 0.9rem;
    }

    th {
        color: var(--text-mid);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .img-thumb {
        width: 40px;
        height: 55px;
        object-fit: cover;
        border-radius: 4px;
        border: 1px solid #333;
    }

    .kpi-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
        margin-bottom: 25px;
    }

    .kpi-card {
        background: #111;
        border: 1px solid #333;
        padding: 20px;
        border-radius: var(--radius-sm);
        text-align: center;
    }

    .kpi-label {
        font-size: 0.75rem;
        color: var(--text-mid);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .kpi-value {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        color: var(--brand-magenta);
        margin-top: 5px;
    }

    .upload-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        margin-bottom: 15px;
    }

    .upload-zone {
        border: 1px dashed #666;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        cursor: pointer;
        background: #1a1a20;
        position: relative;
        overflow: hidden;
        flex-direction: column;
        font-size: 0.75rem;
        color: var(--text-mid);
        text-align: center;
    }

    .upload-zone:hover {
        border-color: var(--brand-magenta);
    }

    .admin-preview-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        display: none;
    }

    .btn-multi {
        background: #222;
        color: white;
        border: 1px solid var(--border-subtle);
        padding: 12px;
        width: 100%;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 15px;
        font-size: 0.9rem;
        font-weight: bold;
        transition: 0.2s;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .btn-multi:hover {
        border-color: var(--brand-magenta);
        color: var(--brand-magenta);
    }

    .btn-del-foto {
        position: absolute;
        top: 5px;
        right: 5px;
        background: rgba(225, 29, 72, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        cursor: pointer;
        display: none;
        z-index: 20;
        font-size: 0.7rem;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    /* FIX: FORZAR COLORES RGB EN LOS BADGES DE ESTADO (Tracking) */
    .status-badge {
        padding: 5px 10px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: bold;
        color: white !important;
        border: none;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        text-align: center;
        font-family: 'Lato', sans-serif;
    }

    .rgb-rojo {
        background-color: var(--danger) !important;
    }

    .rgb-amarillo {
        background-color: var(--warning) !important;
        color: #000 !important;
    }

    .rgb-azul {
        background-color: var(--info) !important;
    }

    .rgb-verde {
        background-color: var(--success) !important;
    }

    #toast-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .toast {
        background: #1a1a20;
        border-left: 4px solid var(--brand-magenta);
        padding: 15px 20px;
        border-radius: 4px;
        color: white;
        animation: slideIn 0.3s ease forwards;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }

        to {
            transform: translateX(0);
        }
    }

    /* ESTILOS PARA POPUPS DE TICKET Y CIERRE Z */
    .pos-ticket-modal {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        padding: 30px;
        border-radius: var(--radius-md);
        max-width: 450px;
        width: 90%;
        text-align: center;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    }

    .pos-ticket-modal h3 {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        color: white;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .pos-ticket-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px dashed #333;
        font-size: 0.9rem;
        text-align: left;
    }

    .pos-ticket-total {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: var(--success);
        margin: 20px 0;
    }

    .cierre-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 15px;
        font-size: 0.85rem;
    }

    .cierre-table th,
    .cierre-table td {
        padding: 10px;
        border-bottom: 1px solid #333;
        text-align: left;
    }

    .cierre-table th {
        color: var(--brand-magenta);
    }

    .caja-table-container {
        max-height: 400px;
        overflow-y: auto;
        border: 1px solid #333;
        border-radius: 6px;
    }

    /* MODAL DE CIERRE Z PROFESIONAL */
    .cierre-z-modal {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        width: 95%;
        max-width: 500px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    }

    .cierre-z-header {
        background: rgba(225, 29, 72, 0.1);
        border-bottom: 2px solid var(--danger);
        padding: 20px;
        text-align: center;
    }

    .cierre-z-header h2 {
        color: var(--danger);
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin: 0;
    }

    .cierre-z-body {
        padding: 30px;
        text-align: center;
    }

    .cierre-z-body p {
        color: var(--text-mid);
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .cierre-z-actions {
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    @media(max-width: 600px) {
        .kpi-grid {
            grid-template-columns: 1fr;
        }

        .upload-grid {
            grid-template-columns: 1fr;
        }

        .catalog-grid {
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .panel {
            padding: 15px;
        }
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .section-title,
    .logo-text,
    .hero-sub {
        font-family: 'Playfair Display', serif;
    }

    /* ESTILOS DELUXE GLOBALES (Novedades, Filtros, Cards) */
    .nav-categories a {
        font-family: 'Lato', sans-serif !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        font-size: 0.85rem !important;
        font-weight: 300 !important;
        border-bottom: 1px solid transparent;
        transition: all 0.3s ease;
    }

    .nav-categories a:hover {
        color: #fff !important;
        border-bottom: 1px solid #fff;
    }

    .product-info h3 {
        font-family: 'Playfair Display', serif !important;
        font-weight: 400 !important;
        font-size: 1.2rem !important;
        margin-bottom: 5px;
        letter-spacing: 0.5px;
    }

    .product-brand {
        font-family: 'Lato', sans-serif !important;
        letter-spacing: 3px !important;
        text-transform: uppercase !important;
        font-size: 0.7rem !important;
        color: #aaa !important;
    }

.section-title,
.trust-card h3,
.footer-col h4 {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
}


/* Top Marquee Bar Dinámico */
.top-marquee-container {
    background-color: var(--bg-deep);
    color: #fff;
    padding: 10px 0;
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: scrollMarquee 35s linear infinite;
    will-change: transform;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-item {
    display: inline-block;
    padding-right: 80px;
}

.top-marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* ══════════════════════════════════════════════════════════
   WHATSAPP NAV BUTTON (in header)
   ══════════════════════════════════════════════════════════ */
.nav-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25D366;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.nav-whatsapp-btn:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

/* ══════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: rgba(18, 18, 22, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 50%;
    color: var(--brand-magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand-magenta);
    color: #000;
    border-color: var(--brand-magenta);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

/* ══════════════════════════════════════════════════════════
   CART ITEM WITH IMAGE
   ══════════════════════════════════════════════════════════ */
.cart-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(145deg, #1a1a22, #15151a);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 12px;
}

.cart-item-thumb {
    width: 52px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   FIT-MASTER CANVAS RESPONSIVE
   ══════════════════════════════════════════════════════════ */
#fit-canvas {
    max-width: 100%;
    height: auto;
}

@media(max-width: 480px) {
    #sim-container {
        height: 220px !important;
    }
    #fit-canvas {
        width: 220px !important;
        height: 220px !important;
    }
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }
}

/* Fit-Master mobile: stack canvas + inputs vertically */
@media(max-width: 680px) {
    #fit-master-modal .product-modal-overlay > div > div:nth-child(2) > div:nth-child(2) {
        grid-template-columns: 1fr !important;
    }
    .cart-sidebar {
        max-width: 100%;
    }
    .cart-bottom-section {
        padding: 15px 20px;
    }
    .btn-cta {
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
        letter-spacing: 1.5px !important;
    }
}
