/* ==========================================================================
   TEATRO EL ESPIÓN — Modern CSS Override
   Dark Theater / Noir Aesthetic
   MADE BY HENRY PERRY
   ========================================================================== */

/* ── Google Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Frijole&family=Ribeye+Marrow&family=Cinzel:wght@400;700&family=Handlee&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────────────────── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-elevated: #1c1c28;
    --surface-glass: rgba(22, 22, 31, 0.75);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(91, 141, 239, 0.35);
    --gold: #5b8def;
    --gold-light: #8cadf6;
    --gold-dim: #3b6bc7;
    --text-primary: #eaeaf0;
    --text-secondary: #9a9aad;
    --text-muted: #6e6e82;
    --accent-blue: #5b8def;
    --accent-warm: #e8875a;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2);
    --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global Reset & Base ───────────────────────────────────────────────── */
body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ── Selection ──────────────────────────────────────────────────────────── */
::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════════════ */
/* Override affix JS behavior */
/* a[rel="affix-anchor"] {
    display: none !important;
} */

.navbar-container {
    position: relative;
    z-index: 1000;
}

.navbar {
    /* position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0;
    right: 0; */
    z-index: 1000 !important;
    height: min-content !important;
    background: var(--bg-secondary) !important;
    border: none !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    opacity: 0.95 !important;
}

.navbar-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 12px 0 !important;
    min-height: auto !important;
    border-radius: 0 !important;
    filter: none !important;
}

/* ── Logo ───────────────────────────────────────────────────────────────── */
.brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    text-decoration: none !important;
    padding: 4px 0 !important;
    margin: 0 !important;
}

.brand .logo-market {
    height: 38px !important;
    width: auto !important;
    border-radius: 6px;
    filter: brightness(1.1);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.market-titulo {
    font-family: 'Playfair Display', serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--gold-light) !important;
    letter-spacing: 0.5px;
    line-height: 1.2 !important;
}

.market-subtitulo {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px;
    font-weight: 400 !important;
}

/* ── Nav Links ─────────────────────────────────────────────────────────── */
.nav>li>a {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm) !important;
    text-decoration: un !important;
}

a>strong {
    text-decoration: underline !important;
}

a>strong span {
    text-decoration: underline !important;
}

.nav>li>a:hover {
    color: var(--gold-light) !important;
    background: rgba(212, 175, 55, 0.08) !important;
}

.nav>li.active>a {
    color: var(--gold-light) !important;
    background: rgba(91, 141, 239, 0.08) !important;
}

/* ── Dropdown ──────────────────────────────────────────────────────────── */
.dropdown-menu {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-elevated) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    min-width: 200px !important;
    backdrop-filter: blur(16px);
}

.dropdown-menu>li>a {
    color: var(--text-secondary) !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-fast) !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

.dropdown-menu>li>a:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    color: var(--gold-light) !important;
}

.dropdown-toggle .caret {
    border-top-color: var(--text-secondary) !important;
    margin-left: 6px;
}

/* ── Mobile Nav Toggle ─────────────────────────────────────────────────── */
.btn-navbar {
    background: transparent !important;
    border: 1px solid var(--border-accent) !important;
    border-radius: var(--radius-sm) !important;
    padding: 8px 10px !important;
    box-shadow: none !important;
    transition: background var(--transition-fast) !important;
}

.btn-navbar:hover {
    background: rgba(212, 175, 55, 0.1) !important;
}

.btn-navbar .icon-bar {
    background: var(--gold) !important;
    border-radius: 2px;
    height: 2px !important;
    width: 20px;
    display: block;
    margin: 4px 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SITE HEADER / HERO
   ══════════════════════════════════════════════════════════════════════════ */
.site-header {
    background: var(--bg-primary) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#site-header-portada {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ══════════════════════════════════════════════════════════════════════════ */
.site-body {
    background: var(--bg-primary) !important;
    padding-bottom: 60px !important;
    position: relative;
}

/* Parallax is now handled by JS (parallax.html) */

.site-body>* {
    position: relative;
    z-index: 1;
}

.container[data-widget="fixedContainer"] {
    max-width: 2200px !important;
    width: 80% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* ── Page Header ───────────────────────────────────────────────────────── */
.page-header {
    border-bottom: 1px solid var(--border-accent) !important;
    margin-bottom: 50px !important;
    padding-bottom: 20px !important;
    margin-top: 30px !important;
}

.page-header h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    margin: 0 !important;
}

/* ── Page Content ──────────────────────────────────────────────────────── */
.page-content {
    padding: 0 !important;
}

.page-body {
    padding: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY — Headings
   ══════════════════════════════════════════════════════════════════════════ */
.page-content h1,
.site-page-content h1 {
    font-family: 'Playfair Display', serif !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.01em;
}

.page-content h1 a,
.site-page-content h1 a {
    color: var(--gold) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.page-content h1 a:hover,
.site-page-content h1 a:hover {
    color: var(--gold-light) !important;
}

.page-content h2,
.site-page-content h2 {
    font-family: 'Playfair Display', serif !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    margin-top: 10px !important;
}

.page-content h2 a,
.site-page-content h2 a {
    color: var(--gold) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.page-content h2 a:hover,
.site-page-content h2 a:hover {
    color: var(--gold-light) !important;
}

/* ── Typography — Body ─────────────────────────────────────────────────── */
.page-content p,
.site-page-content p {
    font-family: 'Inter', sans-serif !important;
    color: var(--text-secondary) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    margin-bottom: 20px !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   IMAGES
   ══════════════════════════════════════════════════════════════════════════ */
.page-content img,
.site-page-content img,
.widget img {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-card);
    max-width: 100% !important;
    height: auto !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.4s ease !important;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    /* Ensure hover effects still work */
}

.page-content img:hover,
.site-page-content img:hover,
.widget img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(91, 141, 239, 0.15);
    filter: brightness(1.05);
}

/* Prevent logo from scaling on hover */
.brand img:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(1.1) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   HR SEPARATORS
   ══════════════════════════════════════════════════════════════════════════ */
.page-content hr,
.site-page-content hr,
.widget hr {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--gold-dim) 15%,
            var(--gold) 50%,
            var(--gold-dim) 85%,
            transparent 100%) !important;
    background-size: 200% 100%;
    margin: 48px auto !important;
    max-width: 60%;
    opacity: 0.45;
}

/* Shimmer animation removed — caused CPU spikes */
/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */
.btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-smooth) !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

/* Primary / Info buttons — Gold */
.btn-primary,
.btn-info,
.btn-success {
    background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-light) 100%) !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 4px 16px rgba(91, 141, 239, 0.35) !important;
    border: none !important;
    /* Ensure border is removed for success buttons */
}

.btn-primary:hover,
.btn-info:hover,
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(91, 141, 239, 0.5) !important;
    color: var(--bg-primary) !important;
}

/* Default buttons — Ghost / Outlined */
.btn-default {
    background: transparent !important;
    border: 1px solid var(--border-accent) !important;
    color: var(--gold) !important;
}

.btn-default:hover {
    background: rgba(91, 141, 239, 0.1) !important;
    border-color: var(--gold) !important;
    color: var(--gold-light) !important;
    transform: translateY(-1px);
}

/* Link-style buttons */
.btn-link {
    background: transparent !important;
    color: var(--gold) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.btn-link:hover {
    color: var(--gold-light) !important;
    background: rgba(91, 141, 239, 0.08) !important;
    text-decoration: none !important;
}

/* Block buttons */
.btn-block {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

/* Large buttons */
.btn-large {
    padding: 16px 36px !important;
    font-size: 13px !important;
}

/* Mini buttons (social share) */
.btn-mini {
    padding: 8px 12px !important;
    font-size: 14px !important;
    border-radius: var(--radius-sm) !important;
}

/* Instagram button specific */
.btn-primary .icon-instagram,
.btn-primary .fa {
    font-size: 16px;
    vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════════════════
   ROW-FLUID LAYOUTS — Card Treatment
   ══════════════════════════════════════════════════════════════════════════ */
.row-fluid {
    margin-bottom: 0px !important;
}

.row-fluid>[class*="span"] {
    padding: 20px !important;
    box-sizing: border-box !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
    border-radius: var(--radius-md);
}

.page-content .row-fluid>[class*="span"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ══════════════════════════════════════════════════════════════════════════
   EMBED / VIDEO CONTAINERS
   ══════════════════════════════════════════════════════════════════════════ */
.embed-container {
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-card);
    margin: 20px 0 !important;
    position: relative;
    transition: box-shadow 0.4s ease, transform 0.4s ease !important;
}

.embed-container:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(91, 141, 239, 0.1);
    transform: translateY(-2px);
}

.embed-container iframe {
    border-radius: var(--radius-md) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   SOCIAL SHARE
   ══════════════════════════════════════════════════════════════════════════ */
[data-widget="socialsharer"] {
    padding: 24px 0 !important;
    margin: 20px 0 !important;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

[data-widget="socialsharer"] strong {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
    display: block !important;
}

[data-widget="socialsharer"] .btn-toolbar {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap;
}

[data-widget="socialsharer"] .btn-toolbar .btn {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-secondary) !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
}

[data-widget="socialsharer"] .btn-toolbar .btn:hover {
    background: rgba(91, 141, 239, 0.1) !important;
    border-color: var(--gold-dim) !important;
    color: var(--gold) !important;
    transform: translateY(-2px) scale(1.05);
}

/* ══════════════════════════════════════════════════════════════════════════
   SPINNER
   ══════════════════════════════════════════════════════════════════════════ */
.nav-spinner .fa-spinner {
    color: var(--gold) !important;
}

.navbar-text {
    color: var(--text-muted) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.page-footer {
    border-top: 1px solid var(--border-subtle) !important;
    padding-top: 40px !important;
    margin-top: 60px !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   GALERIA MODAL (image lightbox)
   ══════════════════════════════════════════════════════════════════════════ */
.modal {
    background: rgba(0, 0, 0, 0.85) !important;
    border-radius: var(--radius-lg) !important;
}

.modal-header {
    background: var(--bg-card) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.modal-body {
    background: var(--bg-card) !important;
}

.modal-footer {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-subtle) !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.7) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG STYLES
   ══════════════════════════════════════════════════════════════════════════ */
#portada-blog {
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
}

.entrada-blog {
    background: var(--bg-card) !important;
    padding: 32px !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-subtle) !important;
    margin-bottom: 24px !important;
    transition: border-color var(--transition-smooth);
}

.entrada-blog:hover {
    border-color: var(--border-accent) !important;
}

.entrada-blog h2 {
    font-size: 22px !important;
}

.entrada-blog-fecha {
    color: var(--text-muted) !important;
    font-size: 12px !important;
    letter-spacing: 1px;
}

#sidebar-blog {
    padding-left: 40px !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   DISCOUNT / CART INFO (embedded styles)
   ══════════════════════════════════════════════════════════════════════════ */
.descuentos-ofertas {
    color: var(--accent-warm) !important;
}

.precio-original-carrito {
    color: var(--text-muted) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   LINK HOVER STATES (general)
   ══════════════════════════════════════════════════════════════════════════ */
a {
    color: var(--gold) !important;
    transition: color var(--transition-fast) !important;
}

a:hover {
    color: var(--gold-light) !important;
    text-decoration: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   FORMS (contact page)
   ══════════════════════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-primary) !important;
    padding: 12px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
    box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold-dim) !important;
    box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.15) !important;
    outline: none !important;
}

label {
    color: var(--text-secondary) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE-SPECIFIC OVERRIDES
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 979px) {
    .nav-collapse {
        background: var(--bg-secondary) !important;
        border: 1px solid var(--border-subtle) !important;
        border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
        box-shadow: var(--shadow-elevated) !important;
        padding: 12px !important;
    }

    .nav-collapse .nav>li {
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-collapse .nav>li:last-child {
        border-bottom: none;
    }

    .nav-collapse .nav>li>a {
        padding: 14px 16px !important;
    }

    .row-fluid>[class*="span"] {
        padding: 12px 0 !important;
    }
}

@media (max-width: 767px) {
    .container[data-widget="fixedContainer"] {
        padding: 0 16px !important;
    }

    .page-header {
        margin-bottom: 30px !important;
        margin-top: 20px !important;
    }

    .page-content hr,
    .site-page-content hr,
    .widget hr {
        margin: 32px auto !important;
    }

    .btn-large {
        padding: 14px 24px !important;
        font-size: 12px !important;
    }

    #sidebar-blog {
        padding-left: 0 !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS — Safe hover-only effects (no scroll-triggered animations)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Button Shine Sweep ─────────────────────────────────────────────────── */
.btn-primary::after,
.btn-info::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: all 0.6s;
    opacity: 0;
}

.btn-primary:hover::after,
.btn-info:hover::after {
    left: 120%;
    opacity: 1;
    transition: all 0.6s;
}

/* ══════════════════════════════════════════════════════════════════════════
   BACKGROUND ORB ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */

#parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 500vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.4) 0%, rgba(91, 141, 239, 0) 70%);
    opacity: 0.6;
    filter: blur(20px);
    animation:
        orb-pulsate 8s ease-in-out infinite,
        orb-color-shift 15s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}

/* Original Orbs Mapping */
.bg-orb:nth-child(1) {
    width: 600px;
    height: 600px;
    left: 15%;
    top: 15%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.bg-orb:nth-child(2) {
    width: 500px;
    height: 500px;
    left: 80%;
    top: 25%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(59, 107, 199, 0.3) 0%, transparent 70%);
}

.bg-orb:nth-child(3) {
    width: 600px;
    height: 600px;
    left: 15%;
    top: 85%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
    animation-duration: 12s;
}

.bg-orb:nth-child(4) {
    width: 350px;
    height: 350px;
    left: 75%;
    top: 60%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
    animation-duration: 10s;
    background: radial-gradient(circle, rgba(120, 160, 255, 0.25) 0%, transparent 70%);
}

.bg-orb:nth-child(5) {
    width: 480px;
    height: 480px;
    left: 30%;
    top: 10%;
    transform: translate(-50%, -50%);
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(70, 120, 220, 0.3) 0%, transparent 70%);
}

@keyframes orb-pulsate {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.8;
    }
}

@keyframes orb-color-shift {
    0% {
        filter: blur(20px) hue-rotate(0deg);
    }

    100% {
        filter: blur(25px) hue-rotate(180deg);
    }
}



@keyframes btnShine {

    0%,
    75%,
    100% {
        left: -60%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        left: 130%;
        opacity: 0;
    }
}

/* ── Ambient Gold Pulse on Page Header ─────────────────────────────────── */
.page-header {
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--gold) 50%,
            transparent 100%);
    animation: pageHeaderGlow 3s ease-in-out infinite;
}

@keyframes pageHeaderGlow {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.7;
    }
}

/* ── Social Share Icons Pulse on Hover ──────────────────────────────────── */
[data-widget="socialsharer"] .btn-toolbar .btn:hover .fa {
    animation: socialPop 0.3s ease forwards;
}

@keyframes socialPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1.1);
    }
}

/* ── Navbar subtle border glow ─────────────────────────────────────────── */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(91, 141, 239, 0.2) 30%,
            rgba(91, 141, 239, 0.35) 50%,
            rgba(91, 141, 239, 0.2) 70%,
            transparent 100%);
    pointer-events: none;
}

/* ── Typein Animation Detector (hidden helper text) ────────────────────── */
.typeinanimdetector {
    visibility: hidden !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   TOOLTIPS & POPOVERS
   ══════════════════════════════════════════════════════════════════════════ */
.tooltip-inner {
    background: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    padding: 8px 14px !important;
}

.tooltip.top .tooltip-arrow {
    border-top-color: var(--bg-elevated) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   WELL / ALERT BOXES
   ══════════════════════════════════════════════════════════════════════════ */
.well {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-card) !important;
    color: var(--text-primary) !important;
}

.alert {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-accent) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-primary) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   OVERRIDE INLINE COLORS (best effort — needs !important)
   ══════════════════════════════════════════════════════════════════════════ */
/* Many elements have inline styles with color set via KnockoutJS binding.
   We selectively override the most jarring ones. */
.site-page-content h1.pre,
.site-page-content h1.restore-pointer-events {
    color: var(--text-primary) !important;
}

.site-page-content h2.pre,
.site-page-content h2.restore-pointer-events {
    color: var(--text-primary) !important;
    font-family: 'Playfair Display', serif !important;
}

.site-page-content p.pre,
.site-page-content p.restore-pointer-events {
    color: var(--text-secondary) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Fix the specific typed-animation text color */
.site-page-content h1 a,
.site-page-content h2 a {
    color: var(--gold) !important;
}

/* ── Restore Original Artistic Fonts ───────────────────────────────────── */
/* These fonts were chosen for specific headers and should not be overridden */

h1[style*="Frijole"],
.site-page-content h1[style*="Frijole"] {
    font-family: 'Frijole', cursive !important;
    color: rgb(31, 67, 188) !important;
    /* Original inline color restored */
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.1);
    /* Adjusted shadow for readability on dark bg */
}

h1[style*="Frijole"] a,
.site-page-content h1[style*="Frijole"] a {
    color: inherit !important;
}

h1[style*="Ribeye"],
.site-page-content h1[style*="Ribeye"] {
    font-family: 'Ribeye Marrow', cursive !important;
}

h1[style*="Cinzel"],
h2[style*="Cinzel"],
.site-page-content h1[style*="Cinzel"],
.site-page-content h2[style*="Cinzel"] {
    font-family: 'Cinzel', serif !important;
}

h1[style*="Handlee"],
.site-page-content h1[style*="Handlee"] {
    font-family: 'Handlee', cursive !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRINT STYLES (minimal)
   ══════════════════════════════════════════════════════════════════════════ */
@media print {
    body {
        background: white !important;
        color: #000 !important;
    }

    .navbar-container,
    [data-widget="socialsharer"] {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   PULSE ANIMATION FOR '¡ANOTATE YA!' BUTTON
   ══════════════════════════════════════════════════════════════════════════ */
@keyframes pulse-scale {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(91, 141, 239, 0.35);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px 8px rgba(91, 141, 239, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(91, 141, 239, 0.35);
    }
}

a[href*="/-contacto-2/"].btn {
    animation: pulse-scale 2s infinite ease-in-out !important;
    backface-visibility: hidden;
    z-index: 10;
    position: relative;
    background-color: var(--border-accent) !important;
    color: white !important;
    /* Ensure the button is visible and actionable */
}