/* Altaris Shop Ã¢â‚¬â€ Design System 2026 */
:root {
    color-scheme: dark;
    --bg-deep: #050810;
    --bg-surface: rgba(14, 20, 38, 0.78);
    --bg-elevated: rgba(20, 28, 52, 0.92);
    --bg-input: rgba(22, 32, 58, 0.95);
    --bg-input-hover: rgba(28, 40, 72, 1);
    --input-border: rgba(100, 140, 220, 0.22);
    --input-placeholder: rgba(109, 133, 173, 0.75);
    --select-chevron: %232dd4bf;
    --border-subtle: rgba(120, 160, 255, 0.14);
    --border-focus: rgba(45, 212, 191, 0.65);
    --text-primary: #f8fafc;
    --text-secondary: #b4c5e4;
    --text-muted: #6d85ad;
    --accent: #2dd4bf;
    --accent-soft: #6366f1;
    --accent-warm: #f472b6;
    --accent-glow: rgba(45, 212, 191, 0.28);
    --accent-glow-violet: rgba(99, 102, 241, 0.22);
    --success: #34d399;
    --price: #fde047;
    --price-glow: rgba(253, 224, 71, 0.15);
    --gradient-brand: linear-gradient(135deg, #2dd4bf 0%, #6366f1 50%, #a78bfa 100%);
    --gradient-surface: linear-gradient(145deg, rgba(45, 212, 191, 0.06) 0%, rgba(99, 102, 241, 0.08) 50%, rgba(244, 114, 182, 0.04) 100%);
    --gradient-btn: linear-gradient(135deg, #14b8a6 0%, #3b82f6 55%, #6366f1 100%);
    --radius-sm: 0.7rem;
    --radius-md: 1rem;
    --radius-lg: 1.35rem;
    --radius-xl: 1.75rem;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(45, 212, 191, 0.12);
    --shadow-form: 0 0 0 1px rgba(45, 212, 191, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
    --font-auth-display: 'Syne', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-auth-body: 'Outfit', 'DM Sans', system-ui, sans-serif;
    --auth-glass-bg: rgba(255, 255, 255, 0.055);
    --auth-glass-border: rgba(255, 255, 255, 0.14);
    --auth-aurora-1: rgba(56, 189, 248, 0.35);
    --auth-aurora-2: rgba(167, 139, 250, 0.32);
    --auth-aurora-3: rgba(244, 114, 182, 0.22);
    --gradient-auth-btn: linear-gradient(135deg, #22d3ee 0%, #818cf8 45%, #c084fc 100%);
    --header-h: 96px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    background-image:
        radial-gradient(ellipse 90% 60% at 10% -10%, rgba(45, 212, 191, 0.1), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 0%, rgba(99, 102, 241, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(244, 114, 182, 0.06), transparent 55%);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Header Ã¢â€â‚¬Ã¢â€â‚¬ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(6, 8, 15, 0.82);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: env(safe-area-inset-top, 0);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    max-width: min(520px, 72vw);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-width: 0;
    gap: 0.35rem;
}

.brand-mark {
    flex-shrink: 0;
    height: clamp(72px, 11vh, 96px);
    width: clamp(72px, 11vh, 96px);
    padding: 0.15rem;
    background: #ffffff;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 24px rgba(45, 212, 191, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.brand:hover .brand-mark {
    box-shadow:
        0 0 32px rgba(45, 212, 191, 0.22),
        0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

.brand-logo-img {
    height: 100%;
    width: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #ffffff;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.logo-altaris {
    font-size: clamp(2.25rem, 4.5vw, 3.15rem);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-shop {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 700;
    color: var(--text-secondary);
}

.header .logo-shop { opacity: 0.92; }

.slogan {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    font-size: clamp(0.65rem, 1.05vw, 0.82rem);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    gap: 0.35rem;
}

.slogan-sep {
    opacity: 0.45;
    font-weight: 400;
    letter-spacing: 0;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
}

/* Fuera del header en mÃƒÂ³vil (ver media query); en desktop el JS lo reinserta en .header-actions */

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
    color: var(--text-secondary);
    border-radius: 999px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(45, 212, 191, 0.1);
}

.nav-links a.nav-cta {
    background: var(--gradient-btn);
    color: white;
    box-shadow: 0 4px 18px var(--accent-glow);
}

.nav-links a.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.nav-user-menu-wrap {
    position: relative;
}

.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-user-btn:hover,
.nav-user-btn.is-open {
    color: var(--text-primary);
    background: rgba(45, 212, 191, 0.12);
    border-color: rgba(45, 212, 191, 0.28);
    transform: translateY(-1px);
}

.nav-user-chevron {
    font-size: 0.62rem;
    opacity: 0.75;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-user-btn:not(.is-authenticated) .nav-user-chevron {
    display: none;
}

.nav-user-btn.is-open .nav-user-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 252px;
    padding: 0.45rem;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(22, 30, 52, 0.98), rgba(14, 20, 38, 0.98));
    border: 1px solid rgba(99, 102, 241, 0.28);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    z-index: 1600;
}

.nav-user-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.72rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-user-dropdown.is-open .nav-user-dropdown-item {
    animation: navUserMenuItemIn 0.38s ease backwards;
}

.nav-user-dropdown.is-open .nav-user-dropdown-item:nth-child(1) { animation-delay: 0.04s; }
.nav-user-dropdown.is-open .nav-user-dropdown-item:nth-child(2) { animation-delay: 0.09s; }
.nav-user-dropdown.is-open .nav-user-dropdown-item:nth-child(4) { animation-delay: 0.14s; }

@keyframes navUserMenuItemIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-user-dropdown-item:hover {
    transform: translateX(4px);
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.22);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.nav-user-dropdown-item-logout:hover {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.28);
}

.nav-user-dropdown-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    transition: transform 0.22s ease;
}

.nav-user-dropdown-item:hover .nav-user-dropdown-icon {
    transform: scale(1.06);
}

.nav-user-dropdown-icon-profile {
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
}

.nav-user-dropdown-icon-orders {
    background: rgba(45, 212, 191, 0.16);
    color: #99f6e4;
}

.nav-user-dropdown-icon-logout {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
}

.nav-user-dropdown-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    flex: 1;
    min-width: 0;
}

.nav-user-dropdown-copy strong {
    font-size: 0.88rem;
    color: #f1f5f9;
    font-weight: 700;
}

.nav-user-dropdown-copy small {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
}

.nav-user-dropdown-arrow {
    font-size: 0.72rem;
    color: #64748b;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.nav-user-dropdown-item:hover .nav-user-dropdown-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #cbd5e1;
}

.nav-user-dropdown-divider {
    height: 1px;
    margin: 0.35rem 0.45rem;
    background: rgba(255, 255, 255, 0.08);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.cart-icon:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--border-focus);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0 4px;
}

.menu-btn {
    display: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-primary);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.menu-btn:hover,
.menu-btn:focus-visible {
    background: rgba(45, 212, 191, 0.1);
    border-color: var(--border-subtle);
    outline: none;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    z-index: 999;
    background: rgba(2, 6, 14, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.nav-open,
html.nav-open {
    overflow: hidden;
    touch-action: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.header-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.65rem;
    border-radius: 0.45rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.35);
    white-space: nowrap;
    line-height: 1;
}

[data-theme="light"] .header-live-badge {
    color: #1e3a8a;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.22);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Theme toggle (Dark / White) Ã¢â€â‚¬Ã¢â€â‚¬ */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.65rem 0.35rem 0.45rem;
    border: 1px solid rgba(45, 212, 191, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
    animation: themeToggleAttention 2.4s ease-in-out infinite;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(45, 212, 191, 0.75);
    box-shadow: 0 0 28px rgba(45, 212, 191, 0.35);
}

.theme-toggle-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(45, 212, 191, 0.35);
    animation: themeToggleRing 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes themeToggleAttention {
    0%, 100% { box-shadow: 0 0 16px rgba(45, 212, 191, 0.18); }
    50% { box-shadow: 0 0 32px rgba(45, 212, 191, 0.42), 0 0 48px rgba(99, 102, 241, 0.15); }
}

@keyframes themeToggleRing {
    0% { transform: scale(1); opacity: 0.65; }
    70% { transform: scale(1.12); opacity: 0; }
    100% { transform: scale(1.12); opacity: 0; }
}

.theme-toggle-track {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    flex-shrink: 0;
    transition: background 0.35s ease, border-color 0.35s ease;
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2dd4bf, #6366f1);
    box-shadow: 0 2px 10px rgba(45, 212, 191, 0.45);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.62rem;
    transition: opacity 0.25s ease;
}

.theme-toggle-icon-dark {
    left: 7px;
    color: #94a3b8;
    opacity: 1;
}

.theme-toggle-icon-light {
    right: 7px;
    color: #fde68a;
    opacity: 0.35;
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(255, 255, 255, 0.85);
    animation: themeToggleAttentionLight 2.4s ease-in-out infinite;
}

[data-theme="light"] .theme-toggle-pulse {
    border-color: rgba(245, 158, 11, 0.4);
}

@keyframes themeToggleAttentionLight {
    0%, 100% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 0 32px rgba(245, 158, 11, 0.45), 0 0 48px rgba(251, 191, 36, 0.2); }
}

[data-theme="light"] .theme-toggle-track {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: rgba(245, 158, 11, 0.45);
}

[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(24px);
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
}

[data-theme="light"] .theme-toggle-icon-dark { opacity: 0.35; }
[data-theme="light"] .theme-toggle-icon-light { opacity: 1; color: #b45309; }

.theme-toggle-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-width: 2.6rem;
    text-align: left;
}

.theme-toggle-label-dark,
.theme-toggle-label-light {
    display: none;
}

html:not([data-theme="light"]) .theme-toggle-label-dark {
    display: inline;
    color: #99f6e4;
}

[data-theme="light"] .theme-toggle-label-light {
    display: inline;
    color: #b45309;
}

[data-theme="light"] .theme-toggle-label-dark { display: none; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Hero Carousel Ã¢â€â‚¬Ã¢â€â‚¬ */
.hero-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 1rem 0;
}

.filters-container--hero {
    max-width: 1600px;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.filters-container--compact {
    padding: 1rem 1.15rem 1.15rem;
}

.filters-container--compact.filters-container--featured {
    padding: 1rem 1.15rem 1.15rem;
}

.hero-carousel-wrap {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    aspect-ratio: 28 / 7;
    min-height: 285px;
    max-height: 435px;
    height: clamp(285px, 31.5vw, 435px);
    background: var(--bg-elevated);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    min-height: 285px;
    background: #081c3a;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.06) contrast(1.04) saturate(1.05);
}

.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, rgba(6, 8, 15, 0.38) 0%, rgba(6, 8, 15, 0.12) 36%, rgba(6, 8, 15, 0.02) 62%, transparent 78%);
}

.carousel-content {
    --carousel-text: #ffffff;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4.5rem;
    max-width: 720px;
    color: var(--carousel-text);
}

.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    margin-bottom: 1rem;
}

.carousel-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.8vw, 2.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    color: var(--carousel-text, #ffffff);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.carousel-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--carousel-text, #ffffff);
    opacity: 0.92;
    margin-bottom: 1.75rem;
    line-height: 1.55;
    max-width: 540px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.carousel-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.9rem 1.75rem;
    background: white;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.carousel-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 8, 15, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover { background: rgba(59, 130, 246, 0.5); border-color: transparent; }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

.carousel-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    width: 28px;
    background: white;
}

.hero-seo-title {
    max-width: 1600px;
    margin: 1.5rem auto 0.45rem;
    padding: 0 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-seo-lead {
    max-width: 1600px;
    margin: 0 auto 0.25rem;
    padding: 0 1.5rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Trust bar */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.35rem 1.5rem;
    min-height: 96px;
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 0 20px rgba(45, 212, 191, 0.08),
        0 4px 28px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Borde con destello animado */
.trust-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        120deg,
        rgba(45, 212, 191, 0.85),
        rgba(99, 102, 241, 0.45),
        rgba(45, 212, 191, 0.15),
        rgba(167, 139, 250, 0.55),
        rgba(45, 212, 191, 0.85)
    );
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: trustBorderGlow 5s ease infinite;
    pointer-events: none;
    z-index: 0;
}

/* Destello que recorre la tarjeta */
.trust-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 55%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(45, 212, 191, 0.06) 35%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(45, 212, 191, 0.06) 65%,
        transparent 100%
    );
    transform: skewX(-18deg);
    animation: trustShimmer 4.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.trust-item:nth-child(1)::after { animation-delay: 0s; }
.trust-item:nth-child(2)::after { animation-delay: 0.7s; }
.trust-item:nth-child(3)::after { animation-delay: 1.4s; }
.trust-item:nth-child(4)::after { animation-delay: 2.1s; }

.trust-item:nth-child(1)::before { animation-delay: 0s; }
.trust-item:nth-child(2)::before { animation-delay: 1.2s; }
.trust-item:nth-child(3)::before { animation-delay: 2.4s; }
.trust-item:nth-child(4)::before { animation-delay: 3.6s; }

@keyframes trustShimmer {
    0%, 72%, 100% { left: -80%; opacity: 0; }
    8% { opacity: 1; }
    38% { left: 130%; opacity: 1; }
    48% { opacity: 0; }
}

@keyframes trustBorderGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.55; }
    50% { background-position: 100% 50%; opacity: 1; }
}

.trust-item:hover {
    border-color: rgba(45, 212, 191, 0.55);
    transform: translateY(-4px);
    box-shadow:
        0 0 32px rgba(45, 212, 191, 0.22),
        0 0 64px rgba(99, 102, 241, 0.1),
        0 12px 36px rgba(0, 0, 0, 0.35);
}

.trust-item:hover::before { opacity: 1; animation-duration: 2.5s; }

.trust-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(45, 212, 191, 0.14);
    color: var(--accent);
    font-size: 1.35rem;
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.2);
    transition: var(--transition);
}

.trust-item:hover .trust-icon {
    box-shadow: 0 0 28px rgba(45, 212, 191, 0.45);
    background: rgba(45, 212, 191, 0.22);
}

.trust-item > div:last-child {
    position: relative;
    z-index: 1;
}

.trust-item strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.trust-item span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

.status-row {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-connected { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: #6ee7b7; }
.status-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Sections Ã¢â€â‚¬Ã¢â€â‚¬ */
section.shop-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    position: relative;
}

section.shop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 90%);
    height: 280px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

section.shop-section > * {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient-brand);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.8vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, #99f6e4 70%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.catalog-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.stat-chip:hover {
    border-color: rgba(45, 212, 191, 0.35);
    transform: translateY(-1px);
}

.stat-chip i { color: var(--accent); font-size: 0.75rem; }
.stat-chip strong { color: var(--price); font-weight: 700; }

/* -- Filters & Forms -- */
.filters-container {
    position: relative;
    background: var(--bg-surface);
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem 1.75rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.filters-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 31px,
            rgba(148, 163, 184, 0.045) 31px,
            rgba(148, 163, 184, 0.045) 32px
        );
}

.filters-container::after {
    content: '';
    position: absolute;
    inset: auto -20% -55% auto;
    width: 55%;
    height: 90%;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.12), transparent 68%);
}

/* Featured catalog filters â€” 2026 steel / brand-navy (no teal) */
.filters-container--featured {
    isolation: isolate;
    padding: 1.55rem 1.75rem 1.7rem;
    background: linear-gradient(160deg, rgba(12, 18, 34, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 16px 40px rgba(0, 0, 0, 0.38);
    animation: filtersPanelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.filters-container--featured::before {
    padding: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 36%),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 39px,
            rgba(148, 163, 184, 0.05) 39px,
            rgba(148, 163, 184, 0.05) 40px
        );
    -webkit-mask: none;
    mask: none;
    animation: none;
}

.filters-container--featured::after {
    inset: auto -18% -60% auto;
    width: 48%;
    height: 95%;
    background: radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.16), transparent 70%);
    animation: none;
}

.filters-container--featured .filters-header {
    margin-bottom: 1.35rem;
    position: relative;
    z-index: 1;
}

.filters-header-copy {
    min-width: 0;
    flex: 1;
}

.filters-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
}

.filters-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.filters-live-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: none;
    animation: filtersLivePulse 2s ease-out infinite;
}

.filters-container--featured .filters-header-icon {
    position: relative;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.32);
    box-shadow: none;
    color: #93c5fd;
    animation: none;
}

.filters-container--featured .filters-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #f8fafc;
}

.filters-container--featured .filters-desc {
    color: rgba(148, 163, 184, 0.95);
}

.filters-container--featured .filter-group {
    position: relative;
    z-index: 1;
    animation: filtersFieldIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.08s + (var(--filter-i, 0) * 0.06s));
}

.filters-container--featured .filter-group label {
    color: #93c5fd;
}

.filters-container--featured .filter-group label i {
    color: #60a5fa;
}

.filters-container--featured .filter-group .input-wrap {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.filters-container--featured .filter-group:focus-within .input-wrap {
    transform: translateY(-1px);
    filter: none;
}

.filters-container--featured .filter-group select,
.filters-container--featured .filter-group input {
    min-height: 3rem;
    border-color: rgba(148, 163, 184, 0.22);
    background-color: rgba(2, 6, 23, 0.82);
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.82));
    background-repeat: no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: #e2e8f0;
}

.filters-container--featured .filter-group select {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2360a5fa' d='M6 8L1 3h10z'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.82));
    background-repeat: no-repeat, no-repeat;
    background-position: right 1rem center, 0 0;
    background-size: 12px 12px, auto;
}

.filters-container--featured .filter-group select:hover,
.filters-container--featured .filter-group input:hover {
    border-color: rgba(96, 165, 250, 0.45);
}

.filters-container--featured .filter-group select:focus,
.filters-container--featured .filter-group input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.filters-container--featured .input-wrap:focus-within .input-icon {
    color: #60a5fa;
    transform: translateY(-50%) scale(1.05);
}

@keyframes filtersPanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes filtersFieldIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes filtersLivePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
    .filters-container--featured,
    .filters-container--featured .filter-group,
    .filters-live-dot {
        animation: none !important;
    }

    .filters-container--featured .filter-group:focus-within .input-wrap {
        transform: none;
    }
}


.filters-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    position: relative;
    z-index: 1;
}

.filters-header-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #93c5fd;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.filters-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.filters-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.95fr);
    gap: 1rem 1.15rem;
    align-items: end;
    position: relative;
    z-index: 1;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.filter-group label i {
    font-size: 0.65rem;
    opacity: 0.85;
}

.field-label-note {
    font-weight: 500;
    opacity: 0.72;
    font-size: 0.95em;
    letter-spacing: 0.02em;
    text-transform: none;
}

.input-wrap {
    position: relative;
}

.input-wrap.has-icon .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    transition: var(--transition);
}

.filter-group select,
.filter-group input,
.form-grid input,
.form-grid select,
.form-grid textarea,
.key-input {
    width: 100%;
    padding: 0.82rem 1.05rem;
    background-color: var(--bg-input);
    border: 1.5px solid var(--input-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: var(--transition);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.filter-group select option,
.form-grid select option {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

.filter-group select,
.form-grid select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232dd4bf' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 12px;
}

.input-wrap.has-icon input {
    padding-left: 2.65rem;
}

.filter-group select:hover,
.filter-group input:hover,
.form-grid input:hover,
.form-grid select:hover,
.form-grid textarea:hover {
    border-color: rgba(45, 212, 191, 0.4);
    background-color: var(--bg-input-hover);
}

.filter-group select:focus,
.filter-group input:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-input-hover);
    color: var(--text-primary);
    box-shadow:
        0 0 0 3px rgba(45, 212, 191, 0.18),
        0 0 24px rgba(45, 212, 191, 0.12),
        inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

.input-wrap:focus-within .input-icon {
    color: var(--accent);
}

.filter-group input::placeholder,
.form-grid input::placeholder,
.form-grid textarea::placeholder {
    color: var(--input-placeholder);
}

.btn-filter {
    background: var(--gradient-btn);
    border: none;
    padding: 0.85rem 1.65rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    width: 100%;
    box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    letter-spacing: 0.02em;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--accent-glow), 0 4px 16px var(--accent-glow-violet);
}

.btn-filter:active {
    transform: translateY(0);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(0.85rem, 2vw, 1.5rem);
}

@keyframes productCardIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-grid .product-card {
    animation: productCardIn 0.45s ease backwards;
}

.products-grid .product-card:nth-child(1) { animation-delay: 0.02s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.08s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.11s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.14s; }
.products-grid .product-card:nth-child(n+6) { animation-delay: 0.17s; }

.product-card {
    background: linear-gradient(165deg, rgba(22, 32, 58, 0.98) 0%, rgba(14, 20, 38, 0.96) 100%);
    /* Avoid backdrop-filter here: Chrome tints card children differently than Edge */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(120, 160, 255, 0.12);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
    min-height: 0;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.35), rgba(99, 102, 241, 0.2), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 212, 191, 0.45);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(45, 212, 191, 0.12),
        0 12px 40px rgba(45, 212, 191, 0.1);
}

.product-card:hover::after { opacity: 1; }

.product-card-media {
    position: relative;
    padding: 1.25rem 1.25rem 0.75rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 55%, #e8eef9 100%);
    border-bottom: 1px solid rgba(120, 160, 255, 0.08);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-stock-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(52, 211, 153, 0.95);
    color: #064e3b;
    box-shadow: 0 2px 12px rgba(52, 211, 153, 0.35);
}

.product-stock-badge.out {
    background: rgba(148, 163, 184, 0.9);
    color: #1e293b;
    box-shadow: none;
}

.product-stock-badge i { font-size: 0.6rem; }

.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
}

.product-card-body {
    padding: 1rem 1.15rem 0.65rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.product-category-chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5eead4;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.28);
}

.product-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.product-model {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 1.15rem 0.35rem;
    min-width: 0;
}

.product-model-brand,
.product-model-sep {
    flex-shrink: 0;
}

.product-model-code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-secondary);
}

.detail-model-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.4rem;
    margin: 0 0 0.4rem;
    color: var(--text-primary);
    line-height: 1.25;
}

.detail-model-heading .product-model-code {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    font-weight: inherit;
    color: inherit;
}

.spec-model-value {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-copy-model {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(120, 160, 255, 0.22);
    border-radius: 0.4rem;
    background: rgba(80, 120, 220, 0.12);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-copy-model:hover {
    background: rgba(80, 120, 220, 0.22);
    color: var(--text-primary);
    border-color: rgba(120, 160, 255, 0.4);
}

.btn-copy-model:active {
    transform: scale(0.94);
}

.btn-copy-model.is-copied {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.45);
    color: #86efac;
}

.btn-copy-model i {
    font-size: 0.72rem;
}

.detail-model-heading .btn-copy-model {
    width: 1.85rem;
    height: 1.85rem;
}

.detail-model-heading .btn-copy-model i {
    font-size: 0.8rem;
}

.product-card-footer {
    padding: 0 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.product-price-block {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(120, 160, 255, 0.1);
}

.product-price-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--price);
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 0 24px var(--price-glow);
}

.product-price-unavailable {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.price-iva-note { font-size: 0.65rem; color: var(--text-muted); font-weight: 400; display: block; margin-top: 0.15rem; }

.price-total-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(52, 211, 153, 0.25);
    text-shadow: none;
}

.price-total-note i {
    font-size: 0.72rem;
    opacity: 0.85;
}

.detail-price .price-total-note {
    font-size: 0.85rem;
    margin-top: 0.35rem;
    border-top: none;
    padding-top: 0;
}

.btn-add-cart {
    width: 100%;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.88rem;
    font-family: inherit;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #0d9488;
    background-image: linear-gradient(90deg, #14b8a6 0%, #2563eb 55%, #6366f1 100%);
    box-shadow: 0 4px 18px rgba(20, 184, 166, 0.28);
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

.btn-add-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--accent-glow), 0 4px 14px var(--accent-glow-violet);
}

.btn-add-cart:active:not(:disabled) { transform: translateY(0); }

.btn-add-cart:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(100, 116, 139, 0.4);
    box-shadow: none;
}

.product-card .btn-filter {
    margin-top: 0.75rem;
    width: 100%;
    font-size: 0.8rem;
    padding: 0.6rem;
}

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; margin-top: 2rem; }
.page-btn {
    padding: 0.5rem 0.9rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.page-btn:hover:not(:disabled) { border-color: var(--border-focus); color: var(--text-primary); }
.page-btn.active { background: var(--gradient-btn); border-color: transparent; color: white; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-info { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: rgba(6, 8, 15, 0.9);
    padding: 2.5rem 1.5rem 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
    gap: 2rem;
}

.footer-brand h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0;
}

.footer-social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    padding: 0 !important;
    border-radius: 999px;
    border: none;
    font-size: 1.45rem;
    text-decoration: none;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-social-facebook {
    background: #1877f2;
}

.footer-social-tiktok {
    background: #010101;
    position: relative;
    overflow: hidden;
}

.footer-social-tiktok::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 28% 30%, rgba(37, 244, 238, 0.55), transparent 45%),
        radial-gradient(circle at 72% 70%, rgba(254, 44, 85, 0.55), transparent 45%);
    pointer-events: none;
}

.footer-social-tiktok i {
    position: relative;
    z-index: 1;
    text-shadow:
        -1.5px -1px 0 #25f4ee,
        1.5px 1px 0 #fe2c55;
}

.footer-social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

a.footer-social-link:hover,
.footer-social-link:not(.is-pending):hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    filter: brightness(1.08);
}

.footer-social-link.is-pending {
    cursor: default;
    opacity: 0.92;
}

.footer-social-link.is-pending:hover {
    transform: none;
    filter: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.footer-legal {
    max-width: 1440px;
    margin: 1.75rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.footer-legal p {
    margin: 0.2rem 0;
}

.footer-legal strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0.85rem auto 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

/* Policy pages (devoluciones, etc.) */
.policy-page .header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.policy-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
}

.policy-article h1 {
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.85rem;
    color: var(--text-primary);
}

.policy-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan, #2dd4bf);
    margin: 0 0 0.65rem;
}

.policy-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 2rem;
}

.policy-article section {
    margin-bottom: 2.25rem;
}

.policy-article h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
    color: var(--text-primary);
}

.policy-article h3 {
    font-size: 1rem;
    font-weight: 650;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.policy-article p,
.policy-article li {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.policy-article a {
    color: var(--accent-cyan, #2dd4bf);
}

.policy-steps {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.policy-steps li {
    margin-bottom: 0.55rem;
}

.policy-list {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
}

.policy-list li {
    margin-bottom: 0.55rem;
}

.policy-list--notes {
    margin-top: 1.25rem;
}

.policy-note {
    background: rgba(45, 212, 191, 0.08);
    border-left: 3px solid var(--accent-cyan, #2dd4bf);
    padding: 0.85rem 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0 0;
}

.policy-tiers {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0;
}

.policy-tier {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
}

.policy-fee {
    margin: 0.75rem 0 0;
    color: var(--text-primary) !important;
}

.policy-contact {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.75rem;
}

.policy-contact p {
    margin: 0 0 1.25rem;
}

.policy-contact .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin-top: 0;
    text-decoration: none;
    box-sizing: border-box;
}

[data-theme="light"] .policy-tier {
    background: rgba(0, 45, 86, 0.03);
}

[data-theme="light"] .policy-note {
    background: rgba(0, 45, 86, 0.06);
}

/* Modals, cart, auth Ã¢â‚¬â€ preserved + refined */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    max-width: 1100px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2rem;
    border: 1px solid rgba(45, 212, 191, 0.2);
    position: relative;
    box-shadow: var(--shadow-form), 0 24px 80px rgba(0, 0, 0, 0.5);
}

.modal-content.modal-detail { max-width: 1200px; }
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    font-size: 1.25rem;
    font-family: inherit;
    padding: 0;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover { background: rgba(239, 68, 68, 0.2); border-color: #ef4444; }

.close-modal-account {
    top: 0.85rem;
    right: 0.85rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%);
    border: 2px solid rgba(254, 202, 202, 0.55);
    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.22),
        0 8px 22px rgba(239, 68, 68, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.close-modal-account i {
    line-height: 1;
    font-size: 1.05rem;
}

.close-modal-account:hover {
    color: #fff;
    transform: scale(1.08) rotate(90deg);
    background: linear-gradient(145deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    border-color: #fecaca;
    box-shadow:
        0 0 0 4px rgba(239, 68, 68, 0.32),
        0 12px 28px rgba(239, 68, 68, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.close-modal-account:active {
    transform: scale(0.96) rotate(90deg);
    box-shadow:
        0 0 0 2px rgba(239, 68, 68, 0.28),
        0 4px 12px rgba(239, 68, 68, 0.4);
}

.close-modal-account:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(239, 68, 68, 0.45),
        0 8px 22px rgba(239, 68, 68, 0.45);
}

.profile-confirm-modal {
    z-index: 2200;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.profile-confirm-dialog {
    width: min(92vw, 400px);
    padding: 1.65rem 1.5rem 1.35rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(165deg, rgba(22, 30, 52, 0.98), rgba(14, 20, 38, 0.98));
    border: 1px solid rgba(99, 102, 241, 0.32);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(99, 102, 241, 0.12);
    text-align: center;
    animation: profileConfirmIn 0.28s ease;
}

@keyframes profileConfirmIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-confirm-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    font-size: 1.35rem;
}

.profile-confirm-dialog h3 {
    font-size: 1.05rem;
    color: #f8fafc;
    margin-bottom: 0.45rem;
}

.profile-confirm-dialog p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.profile-confirm-actions {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
}

.profile-confirm-actions .btn-secondary,
.profile-confirm-actions .btn-primary {
    min-width: 7.5rem;
    padding: 0.62rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.profile-confirm-yes {
    background: var(--gradient-btn);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-confirm-yes:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1490;
    background: rgba(2, 4, 12, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.cart-open {
    overflow: hidden;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 440px;
    height: 100%;
    z-index: 1500;
    transition: right 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar-glass {
    background:
        linear-gradient(168deg, rgba(36, 24, 58, 0.97) 0%, rgba(16, 22, 48, 0.98) 42%, rgba(24, 16, 40, 0.97) 100%);
    border-left: 1px solid rgba(244, 114, 182, 0.22);
    box-shadow:
        -24px 0 80px rgba(0, 0, 0, 0.55),
        -4px 0 0 rgba(244, 114, 182, 0.35),
        inset 1px 0 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(28px) saturate(1.35);
    -webkit-backdrop-filter: blur(28px) saturate(1.35);
}

.cart-sidebar.open { right: 0; }

.cart-glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.cart-glass-orb-1 {
    width: 220px;
    height: 220px;
    top: -40px;
    left: -60px;
    background: rgba(244, 114, 182, 0.28);
}

.cart-glass-orb-2 {
    width: 180px;
    height: 180px;
    top: 38%;
    right: -70px;
    background: rgba(167, 139, 250, 0.24);
}

.cart-glass-orb-3 {
    width: 260px;
    height: 260px;
    bottom: -80px;
    left: 20%;
    background: rgba(251, 191, 36, 0.14);
}

.cart-sidebar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.25rem 1.25rem;
    padding-top: calc(3.35rem + env(safe-area-inset-top, 0px));
}

.cart-sidebar-close {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    z-index: 20;
}

.cart-panel-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    position: relative;
}

.cart-panel-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.cart-panel-icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.35), rgba(167, 139, 250, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(244, 114, 182, 0.2);
}

.cart-panel-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f472b6, #a78bfa);
    color: #fff;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.68rem;
    font-weight: 800;
    border: 2px solid rgba(24, 16, 40, 0.95);
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.35);
}

.cart-panel-copy {
    flex: 1;
    min-width: 0;
}

.cart-panel-header h3 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.12rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.12rem;
    letter-spacing: -0.02em;
}

.cart-panel-header p {
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.78rem;
    color: rgba(203, 213, 225, 0.75);
    margin: 0;
}

.cart-close {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: #e2e8f0;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.cart-close:hover {
    background: rgba(244, 114, 182, 0.18);
    border-color: rgba(244, 114, 182, 0.45);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.15rem 0.1rem 0.5rem;
    margin-right: -0.25rem;
    padding-right: 0.35rem;
    scrollbar-width: auto;
    scrollbar-color: rgba(244, 114, 182, 0.65) rgba(255, 255, 255, 0.08);
    scrollbar-gutter: stable;
}

.cart-items::-webkit-scrollbar { width: 10px; }

.cart-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    margin: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(244, 114, 182, 0.85) 0%, rgba(167, 139, 250, 0.75) 100%);
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.25);
    min-height: 40px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(244, 114, 182, 1) 0%, rgba(167, 139, 250, 0.95) 100%);
}

.cart-item-card {
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem;
    margin-bottom: 0.65rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.cart-item-card:hover {
    border-color: rgba(244, 114, 182, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.cart-item-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.cart-item-title {
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.82rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.35;
}

.cart-item-line-total {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.88rem;
    font-weight: 800;
    color: #fde047;
    white-space: nowrap;
}

.cart-item-unit {
    font-size: 0.74rem;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.55rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.cart-qty-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cart-qty-btn:hover {
    background: rgba(244, 114, 182, 0.2);
    color: #fff;
}

.cart-qty-value {
    min-width: 1.75rem;
    text-align: center;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.55);
    color: #fecaca;
}

.cart-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.cart-empty-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.15), rgba(167, 139, 250, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f9a8d4;
    font-size: 1.65rem;
}

.cart-empty h4 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.4rem;
}

.cart-empty p {
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.5;
    max-width: 16rem;
    margin: 0 auto;
}

.cart-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-total { margin: 0 0 0.85rem; }

.cart-total-breakdown {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(253, 224, 71, 0.18);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.84rem;
    padding: 0.28rem 0;
    color: rgba(203, 213, 225, 0.9);
}

.cart-total-row.muted { color: rgba(148, 163, 184, 0.85); font-size: 0.78rem; }

.cart-total-row.final {
    margin-top: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(253, 224, 71, 0.2);
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--price);
    text-shadow: 0 0 24px rgba(253, 224, 71, 0.25);
}

.btn-cart-checkout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.15rem;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f472b6 0%, #a78bfa 48%, #6366f1 100%);
    color: #fff;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s;
    box-shadow:
        0 10px 32px rgba(244, 114, 182, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-cart-checkout-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.btn-cart-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 16px 40px rgba(167, 139, 250, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.btn-cart-checkout:hover:not(:disabled) .btn-cart-checkout-glow {
    transform: translateX(120%);
}

.btn-cart-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-cart-checkout i:last-child {
    font-size: 0.82rem;
    opacity: 0.9;
}

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

.btn-primary {
    background: var(--gradient-btn);
    border: none;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 28px var(--accent-glow); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-secondary { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-secondary); padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.btn-secondary:hover { border-color: var(--border-focus); color: var(--text-primary); }
.btn-danger { background: rgba(239, 68, 68, 0.12); border: 1px solid #ef4444; color: #fca5a5; padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.8rem; }

.loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.loading p { font-size: 0.95rem; color: var(--text-secondary); }

.loading-empty i {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.catalog-error {
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.55;
}

.catalog-error i {
    font-size: 2rem;
    color: #ef4444;
}

.catalog-error p {
    margin: 0.35rem 0;
}

.catalog-error small {
    display: block;
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(45, 212, 191, 0.15);
    border-top-color: var(--accent);
    border-right-color: var(--accent-soft);
    animation: spin 0.85s linear infinite;
}

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

.notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--bg-elevated);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent);
    animation: slideIn 0.35s ease;
    z-index: 3000;
    box-shadow: var(--shadow-card);
    font-size: 0.875rem;
}

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Detail modal internals */
.detail-header { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.detail-gallery { flex: 1; min-width: 280px; }
.detail-main-img { width: 100%; max-height: 360px; object-fit: contain; background: rgba(0,0,0,0.35); border-radius: var(--radius-md); border: 1px solid var(--border-subtle); }
.detail-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.detail-thumb { width: 68px; height: 68px; object-fit: contain; background: rgba(0,0,0,0.3); border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; padding: 4px; }
.detail-thumb.active { border-color: var(--accent); }
.detail-info { flex: 1.2; min-width: 280px; }
.detail-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.detail-brand img { max-height: 36px; max-width: 120px; object-fit: contain; }
.detail-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.5rem 0 1rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.5rem; }
.detail-tab { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-secondary); padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; font-size: 0.85rem; transition: var(--transition); }
.detail-tab.active { background: var(--accent); border-color: var(--accent); color: white; }
.detail-panel { display: none; }
.detail-panel.active { display: block; }

.stock-by-city-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #8aa9ff;
    font-size: 0.88rem;
    padding: 0.5rem 0;
}

.stock-by-city-hint {
    color: #8aa9ff;
    font-size: 0.82rem;
    margin-top: 0.75rem;
}

.stock-by-city-empty,
.stock-by-city-error {
    color: #8aa9ff;
    font-size: 0.88rem;
    margin-top: 0.75rem;
}

.stock-by-city-error {
    color: #f87171;
}

.stock-summary-total {
    margin-bottom: 0.35rem;
}

.stock-by-city-table-wrap {
    margin-top: 1rem;
    overflow-x: auto;
}

.stock-by-city-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.stock-by-city-table th,
.stock-by-city-table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.stock-by-city-table th {
    color: #9bc5ff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stock-by-city-table td strong {
    color: #e0ff80;
}

.stock-by-city-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.08);
}
.detail-desc { background: rgba(0,0,0,0.25); border-radius: var(--radius-md); padding: 1rem; overflow-x: auto; color: var(--text-secondary); line-height: 1.6; }
.detail-desc img,
.detail-desc video {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.detail-desc iframe {
    max-width: 100%;
    width: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-sm);
    background: #0f172a;
}
.detail-desc table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}
.detail-price { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; color: var(--price); margin: 1rem 0; }
.detail-price-original { color: var(--text-muted); font-size: 0.9rem; display: block; margin-top: 0.25rem; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.spec-item { background: rgba(0,0,0,0.2); padding: 0.75rem; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); font-size: 0.85rem; }
.spec-item label { display: block; color: var(--text-muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.features-list { list-style: none; }
.features-list li { padding: 0.55rem 0.75rem; margin-bottom: 0.35rem; background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); border-left: 3px solid var(--accent); font-size: 0.875rem; }
.resources-list { display: flex; flex-direction: column; gap: 0.5rem; }
.resource-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem; background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.resource-link:hover { border-color: var(--border-focus); color: var(--text-primary); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.85rem; }
.related-card { background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); padding: 0.75rem; border: 1px solid var(--border-subtle); cursor: pointer; text-align: center; transition: var(--transition); }
.related-card:hover { border-color: var(--border-focus); transform: translateY(-2px); }
.related-card img { width: 100%; height: 90px; object-fit: contain; margin-bottom: 0.4rem; }

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-register-form {
    position: relative;
}

.auth-register-badge-wrap {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 0.35rem 0 0.85rem;
    padding: 0.35rem 0.5rem 0;
}

#authPanelRegister.active ~ .auth-register-badge-wrap {
    display: flex;
}

.auth-register-badge {
    width: clamp(120px, 34%, 168px);
    height: auto;
    max-height: 168px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    background: transparent;
}

.auth-form-actions {
    margin: 0.35rem 0 1rem;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.07);
    color: #f1f5f9;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.auth-cancel-btn i {
    font-size: 0.95rem;
    opacity: 0.95;
}

.auth-cancel-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, 0.65);
    color: #ffffff;
    background: rgba(239, 68, 68, 0.22);
    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.18),
        0 8px 22px rgba(239, 68, 68, 0.28);
}

.auth-cancel-btn:active {
    transform: translateY(0);
}

.auth-verify-pending {
    text-align: center;
    padding: 1.35rem 1.1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.auth-verify-pending-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.22), rgba(79, 70, 229, 0.24));
    color: #99f6e4;
    font-size: 1.75rem;
}

.auth-verify-pending h3 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.45rem;
}

.auth-verify-pending p {
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.55rem;
}

.auth-verify-pending-email {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.95rem;
    font-weight: 700;
    color: #fde047;
    word-break: break-word;
}

.auth-verify-pending-hint {
    max-width: 26rem;
    margin: 0.65rem auto 1rem;
}

.auth-resend-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: min(100%, 16rem);
    margin-top: 0.25rem;
    border-color: rgba(45, 212, 191, 0.5);
    box-shadow:
        0 0 20px rgba(45, 212, 191, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-resend-btn i,
.auth-resend-btn span {
    position: relative;
    z-index: 1;
}

.auth-resend-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        120deg,
        rgba(45, 212, 191, 0.9),
        rgba(99, 102, 241, 0.5),
        rgba(45, 212, 191, 0.2),
        rgba(167, 139, 250, 0.6),
        rgba(45, 212, 191, 0.9)
    );
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: authResendBorderGlow 4s ease infinite;
    pointer-events: none;
    z-index: 0;
}

.auth-resend-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 55%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(45, 212, 191, 0.08) 35%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(45, 212, 191, 0.08) 65%,
        transparent 100%
    );
    transform: skewX(-18deg);
    animation: authResendShimmer 3.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.auth-resend-btn:hover {
    border-color: rgba(45, 212, 191, 0.65);
    box-shadow:
        0 0 28px rgba(45, 212, 191, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-resend-btn:disabled::before,
.auth-resend-btn:disabled::after {
    animation-play-state: paused;
    opacity: 0.35;
}

@keyframes authResendShimmer {
    0%, 68%, 100% { left: -80%; opacity: 0; }
    10% { opacity: 1; }
    42% { left: 130%; opacity: 1; }
    52% { opacity: 0; }
}

@keyframes authResendBorderGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.6; }
    50% { background-position: 100% 50%; opacity: 1; }
}

.auth-verify-pending-note {
    min-height: 1.25rem;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    color: #6ee7b7;
}

.auth-forgot-wrap {
    text-align: right;
    margin: -0.15rem 0 0.85rem;
}

.auth-forgot-link,
.auth-back-login-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: #93c5fd;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-forgot-link:hover,
.auth-back-login-link:hover {
    color: #bfdbfe;
}

.auth-panel-forgot .auth-forgot-intro {
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.auth-panel-forgot .auth-back-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    text-decoration: none;
}

.auth-forgot-success {
    text-align: center;
    padding: 1.35rem 1.1rem 1.1rem;
}

.auth-forgot-success h3 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.45rem;
}

.auth-forgot-success p {
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.55rem;
}

.auth-back-login-btn {
    margin-top: 0.75rem;
}

#forgotPasswordSubmitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.reset-password-body {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(79, 70, 229, 0.22), transparent 55%),
        radial-gradient(ellipse 80% 60% at 100% 50%, rgba(13, 148, 136, 0.14), transparent 50%),
        var(--bg-base);
}

.reset-password-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top, 0));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
}

.reset-password-shell {
    width: min(100%, 28rem);
}

.reset-password-glass {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    font-family: var(--font-auth-body, var(--font-body));
    background: var(--auth-glass-bg, rgba(255, 255, 255, 0.055));
    backdrop-filter: blur(32px) saturate(1.85);
    -webkit-backdrop-filter: blur(32px) saturate(1.85);
    border: 1px solid var(--auth-glass-border, rgba(255, 255, 255, 0.14));
    border-radius: var(--radius-xl);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0 100px rgba(129, 140, 248, 0.1);
}

.reset-password-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

.reset-password-orb-1 {
    width: 200px;
    height: 200px;
    top: -70px;
    right: -30px;
    background: var(--auth-aurora-1, rgba(129, 140, 248, 0.55));
}

.reset-password-orb-2 {
    width: 160px;
    height: 160px;
    bottom: 18%;
    left: -50px;
    background: var(--auth-aurora-2, rgba(45, 212, 191, 0.45));
}

.reset-password-orb-3 {
    width: 120px;
    height: 120px;
    bottom: -35px;
    right: 12%;
    background: var(--auth-aurora-3, rgba(167, 139, 250, 0.4));
}

.reset-password-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reset-password-icon {
    width: 3.1rem;
    height: 3.1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.28), rgba(79, 70, 229, 0.32));
    color: #99f6e4;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.2);
}

.reset-password-header h1 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.15rem;
    letter-spacing: -0.02em;
}

.reset-password-header p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(203, 213, 225, 0.82);
}

.reset-password-body-panel {
    position: relative;
    z-index: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.reset-password-loading {
    text-align: center;
    padding: 1.5rem 0.5rem 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.reset-password-intro {
    text-align: center;
    color: rgba(203, 213, 225, 0.92);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.reset-password-email {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.95rem;
    font-weight: 700;
    color: #fde047;
    word-break: break-word;
}

.reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.reset-password-field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45, 212, 191, 0.95);
    margin-bottom: 0.4rem;
}

.reset-password-input-wrap {
    position: relative;
}

.reset-password-input-wrap input {
    width: 100%;
    padding: 0.82rem 2.75rem 0.82rem 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.22);
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.reset-password-input-wrap input:focus {
    outline: none;
    border-color: rgba(45, 212, 191, 0.55);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.reset-password-input-wrap input::placeholder {
    color: rgba(148, 163, 184, 0.75);
}

.reset-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(148, 163, 184, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-password-toggle:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
}

.reset-password-hint {
    min-height: 1.1rem;
    margin: 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.85);
}

.reset-password-hint.is-match {
    color: #6ee7b7;
}

.reset-password-hint.is-mismatch {
    color: #fca5a5;
}

.reset-password-error {
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-size: 0.84rem;
    line-height: 1.45;
}

.reset-password-submit {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.95rem 1.15rem;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #0d9488 0%, #2563eb 52%, #4f46e5 100%);
    color: #fff;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
        0 12px 32px rgba(37, 99, 235, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.22s, box-shadow 0.22s;
}

.reset-password-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.55),
        rgba(45, 212, 191, 0.35),
        rgba(255, 255, 255, 0.15),
        rgba(167, 139, 250, 0.45),
        rgba(255, 255, 255, 0.55)
    );
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: authResendBorderGlow 4s ease infinite;
    pointer-events: none;
    z-index: 0;
}

.reset-password-submit-glow {
    position: absolute;
    top: -50%;
    left: -80%;
    width: 55%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 35%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.08) 65%,
        transparent 100%
    );
    transform: skewX(-18deg);
    animation: authResendShimmer 3.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.reset-password-submit i,
.reset-password-submit span:last-child {
    position: relative;
    z-index: 1;
}

.reset-password-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 16px 40px rgba(37, 99, 235, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.reset-password-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.reset-password-submit-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.reset-password-submit-secondary::before,
.reset-password-submit-secondary .reset-password-submit-glow {
    display: none;
}

.reset-password-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: rgba(148, 163, 184, 0.9);
}

.reset-password-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.reset-password-trust i {
    color: rgba(45, 212, 191, 0.85);
}

.reset-password-result {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.reset-password-result-icon {
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.65rem;
}

.reset-password-result-icon.success {
    background: rgba(52, 211, 153, 0.15);
    color: #6ee7b7;
    border: 2px solid rgba(52, 211, 153, 0.4);
}

.reset-password-result-icon.failure {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 2px solid rgba(239, 68, 68, 0.35);
}

.reset-password-result h2 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.2rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.55rem;
}

.reset-password-result p {
    margin: 0 0 1rem;
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.88rem;
    line-height: 1.55;
}

.reset-password-progress {
    height: 4px;
    margin-top: 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.reset-password-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d9488, #2563eb);
    animation: resetPasswordProgress 2.8s ease forwards;
}

@keyframes resetPasswordProgress {
    from { width: 0; }
    to { width: 100%; }
}

@media (max-width: 520px) {
    .auth-register-badge {
        width: clamp(104px, 42vw, 136px);
        max-height: 118px;
    }
}
.form-grid .full { grid-column: 1 / -1; }
.payment-card { background: rgba(0,0,0,0.2); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 0.85rem; margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.payment-card.default { border-color: var(--success); }

.mp-account-info {
    background: linear-gradient(145deg, rgba(0, 158, 227, 0.08) 0%, rgba(45, 212, 191, 0.06) 100%);
    border: 1px solid rgba(0, 158, 227, 0.22);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
}

.account-payments-first {
    margin-top: 0;
}

.payment-trust-banner {
    background: #ffffff;
    border: 1px solid #c5cdd8;
    border-radius: 10px;
    padding: 0.85rem 1rem 1rem;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.payment-trust-banner-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e2e8f0;
}

.payment-trust-ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    border: 1px solid #94a3b8;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #475569;
    background: #f8fafc;
}

.payment-trust-ssl-badge i {
    font-size: 0.55rem;
}

.payment-trust-heading {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #334155;
}

.payment-trust-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.1rem 1.35rem;
}

.payment-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    line-height: 1;
}

.payment-brand small {
    font-size: 0.58rem;
    color: #64748b;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.payment-brand-visa {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    font-style: italic;
    color: #1a1f71;
    letter-spacing: 0.04em;
}

.payment-brand-amex {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #016fd0;
    background: rgba(1, 111, 208, 0.1);
    border: 1px solid rgba(1, 111, 208, 0.25);
    border-radius: 0.35rem;
    padding: 0.35rem 0.55rem;
}

.payment-trust-note {
    margin: 0.65rem 0 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--text-muted, #94a3b8);
    text-align: center;
}

.payment-brand-circles {
    display: flex;
    align-items: center;
}

.payment-brand-circles i {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
}

.payment-brand-circles i + i {
    margin-left: -0.55rem;
}

.payment-brand-circles-mc i:first-child { background: #eb001b; }
.payment-brand-circles-mc i:last-child { background: #f79e1b; }

@media (max-width: 480px) {
    .payment-trust-brands {
        gap: 0.85rem 1rem;
    }

    .payment-brand-visa {
        font-size: 1.25rem;
    }

    .payment-brand-amex {
        font-size: 0.78rem;
    }
}

.checkout-login-note,
.ui-info-banner.checkout-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    margin: 0 1.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.checkout-login-note.checkout-warning,
.ui-info-banner.is-warning.checkout-note {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.35);
}
.cart-summary { background: rgba(0,0,0,0.2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1rem; margin-bottom: 1rem; }
.cart-summary h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cart-summary ul { list-style: none; max-height: 160px; overflow-y: auto; }
.cart-summary li { padding: 0.4rem 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.85rem; display: flex; justify-content: space-between; }
.cart-summary-total { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--price); }
#card-element {
    background: var(--bg-input);
    border: 1.5px solid rgba(100, 140, 220, 0.22);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    transition: var(--transition);
}

#card-element:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}
#card-errors { color: #ef4444; font-size: 0.8rem; min-height: 1.2rem; margin-top: 0.35rem; }
.payment-loader { display: none; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; color: var(--text-muted); font-size: 0.875rem; }
.payment-loader.active { display: flex; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Checkout Mercado Pago Ã¢â€â‚¬Ã¢â€â‚¬ */
.checkout-modal {
    max-width: 1240px !important;
    width: calc(100% - 2rem);
    height: auto;
    max-height: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.checkout-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.06) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.checkout-header-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
    flex-shrink: 0;
}

.checkout-header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.checkout-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkout-login-note,
.ui-info-banner.checkout-note {
    flex-shrink: 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.4fr);
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
}

.checkout-layout::-webkit-scrollbar {
    width: 8px;
}

.checkout-layout::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.35);
    border-radius: 4px;
}

.checkout-summary-panel {
    padding: 1.5rem 1.75rem;
    background: rgba(0, 0, 0, 0.25);
    border-right: 1px solid var(--border-subtle);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.checkout-form-panel {
    padding: 1.5rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
}

.checkout-form-panel form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.checkout-form-scroll {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 1rem;
}

.checkout-pay-footer {
    flex-shrink: 0;
    margin: 0 -1.75rem 0;
    padding: 1rem 1.75rem 1.35rem;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.96) 0%, rgba(6, 8, 15, 1) 100%);
    position: relative;
    bottom: auto;
    z-index: 6;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
}

.checkout-pay-footer .btn-mp-checkout,
.checkout-pay-footer .btn-paypal-card-pay {
    margin-top: 0;
    width: 100%;
}

.checkout-pay-footer .checkout-legal {
    margin-top: 0.65rem;
    margin-bottom: 0;
}

.checkout-pay-footer .checkout-cancel-hint {
    margin-top: 0.4rem;
    margin-bottom: 0.15rem;
}

.checkout-pay-footer .btn-checkout-cancel {
    margin-top: 0.85rem;
}

.checkout-summary-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.checkout-summary-card h3 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-items-list {
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-item:last-child { border-bottom: none; }

.checkout-item-info {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.checkout-item-info img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.checkout-item-info strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.checkout-item-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkout-item-price {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.checkout-summary-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 0.75rem 0;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.checkout-summary-row-muted { color: var(--text-muted); font-size: 0.8rem; }

.iva-zone-badge {
    color: var(--accent, #14b8a6);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.checkout-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.checkout-summary-total-row > span:first-child {
    font-weight: 700;
    font-size: 1rem;
}

.checkout-total-amount {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--price);
}

.checkout-trust-seals {
    margin-top: 0.55rem;
}

.checkout-trust-seals-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.checkout-trust-seals-title i {
    color: var(--accent, #2dd4bf);
}

.checkout-trust-seal-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-trust-seal-card {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 0;
}

.checkout-trust-seal-card img {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.32));
}

.checkout-trust-seal-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.checkout-trust-seal-card strong {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary, #f1f5f9);
}

.checkout-trust-seal-card span {
    font-size: 0.68rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.checkout-trust-seal-card-wide {
    grid-column: auto;
}

.checkout-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.5rem 0.65rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.trust-badge i { color: var(--accent); font-size: 0.8rem; }

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.checkout-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-section-title h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.checkout-form-grid {
    padding: 1rem;
    gap: 0.85rem;
}

.checkout-warning {
    margin: 0 1.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mp-payment-card {
    background: linear-gradient(145deg, rgba(0, 158, 227, 0.08) 0%, rgba(45, 212, 191, 0.06) 100%);
    border: 1px solid rgba(0, 158, 227, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.15rem;
    margin-bottom: 1.25rem;
}

.mp-payment-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mp-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.mp-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 158, 227, 0.15);
    color: #7dd3fc;
    border: 1px solid rgba(0, 158, 227, 0.3);
}

.mp-payment-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.mp-payment-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mp-payment-features li {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mp-payment-features i { color: var(--success); font-size: 0.75rem; }

.btn-mp-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #009ee3 0%, #0077b6 50%, #005f8a 100%);
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(0, 158, 227, 0.35);
}

.btn-mp-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 158, 227, 0.45);
}

.btn-mp-checkout:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.payment-provider-tabs {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.payment-provider-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.35);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.payment-provider-tab:hover {
    border-color: rgba(99, 102, 241, 0.45);
    color: var(--text-primary);
}

.payment-provider-tab.active {
    border-color: rgba(45, 212, 191, 0.55);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.12) 0%, rgba(99, 102, 241, 0.14) 100%);
    color: var(--text-primary);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15);
}

.paypal-payment-card {
    border-color: rgba(0, 112, 186, 0.25);
    background: linear-gradient(180deg, rgba(0, 112, 186, 0.08) 0%, rgba(15, 23, 42, 0.2) 100%);
}

.checkout-payment-secure-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: -0.35rem 0 0.9rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.checkout-payment-secure-note i {
    color: var(--accent, #2dd4bf);
    font-size: 0.78rem;
}

/* PayPal checkout Ã¢â‚¬â€ estilo tipo formulario limpio (Shopify-like) */
.paypal-checkout-panel.shopify-like-payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible;
    color: var(--text-primary);
}

.shopify-payment-box {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.shopify-payment-method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    background: rgba(15, 23, 42, 0.35);
}

.shopify-payment-method.is-active {
    display: block;
    padding: 0;
    background: transparent;
}

.shopify-payment-method-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.shopify-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #38bdf8;
    box-shadow: inset 0 0 0 4px #0ea5e9;
    background: #0ea5e9;
    flex-shrink: 0;
}

.shopify-radio.is-muted {
    border-color: rgba(148, 163, 184, 0.55);
    box-shadow: none;
    background: transparent;
}

.shopify-payment-method-title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--text-primary);
}

.shopify-card-brands {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.shopify-brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.shopify-brand-visa { color: #1a1f71; }
.shopify-brand-mc { color: #eb001b; }
.shopify-brand-amex { color: #2e77bc; font-size: 0.58rem; }

.shopify-card-fields {
    padding: 0.95rem 1rem 1.1rem;
    background: rgba(2, 6, 23, 0.35);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.shopify-card-type-row {
    margin-bottom: 0.85rem;
}

.shopify-field {
    margin-bottom: 0.75rem;
}

.shopify-field:last-child {
    margin-bottom: 0;
}

.shopify-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.shopify-field-control {
    position: relative;
}

.shopify-field-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

.shopify-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.shopify-payment-paypal-row {
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.shopify-paypal-mark {
    flex-shrink: 0;
}

.shopify-paypal-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: #60a5fa;
    letter-spacing: -0.02em;
}

.shopify-paypal-hint {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.paypal-checkout-panel .paypal-card-field {
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.paypal-checkout-panel .paypal-card-field:focus-within {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22) !important;
}

.shopify-field-control .paypal-card-field {
    padding-right: 2.4rem;
}

.paypal-card-type-group {
    border: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.paypal-card-type-group legend {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #67e8f9;
    margin-bottom: 0.15rem;
}

.paypal-card-type-option {
    display: block;
    cursor: pointer;
}

.paypal-card-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.paypal-card-type-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0.55rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.paypal-card-type-option input:checked + span {
    border-color: #38bdf8;
    background: rgba(14, 165, 233, 0.14);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.paypal-card-type-option span i {
    color: #67e8f9;
}

.btn-paypal-card-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.95rem 1.15rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 55%, #a855f7 100%);
    color: #fff;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
    transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s, filter 0.25s;
}

.btn-paypal-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.45rem;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.btn-paypal-logo {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
}

.btn-paypal-text {
    flex: 1;
    text-align: center;
}

.btn-paypal-arrow {
    flex-shrink: 0;
    font-size: 0.88rem;
    opacity: 0.95;
}

.btn-paypal-card-pay.is-ready:not(:disabled) {
    opacity: 1;
    cursor: pointer;
    filter: none;
}

.btn-paypal-card-pay.is-ready:not(:disabled):hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 32px rgba(99, 102, 241, 0.4);
}

@media (max-width: 560px) {
    .shopify-field-row {
        grid-template-columns: 1fr;
    }

    .shopify-payment-method-header {
        flex-wrap: wrap;
    }

    .shopify-card-brands {
        width: 100%;
        justify-content: flex-end;
        padding-left: 1.7rem;
    }
}

[data-theme="light"] .checkout-payment-secure-note {
    color: #64748b;
}

[data-theme="light"] .shopify-payment-box {
    background: #fff;
    border-color: #d1d5db;
}

[data-theme="light"] .shopify-payment-method-header,
[data-theme="light"] .shopify-payment-paypal-row {
    background: #fafafa;
}

[data-theme="light"] .shopify-card-fields {
    background: #f3f4f6;
}

[data-theme="light"] .shopify-payment-method-title,
[data-theme="light"] .shopify-field label {
    color: #111827 !important;
}

[data-theme="light"] .paypal-card-type-option span {
    background: #fff;
    color: #374151;
    border-color: #d1d5db;
}

[data-theme="light"] .paypal-card-type-option input:checked + span {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #3b82f6;
}

.btn-checkout-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.78rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-checkout-cancel:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(148, 163, 184, 0.55);
    color: #f8fafc;
    transform: translateY(-1px);
}

.btn-checkout-cancel:disabled {
    cursor: not-allowed;
}

.btn-checkout-cancel i {
    font-size: 0.82rem;
    opacity: 0.9;
}

.checkout-cancel-hint {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #94a3b8;
    text-align: center;
}

.paypal-pay-section .btn-checkout-cancel {
    margin-top: 0.65rem;
    background: #fff;
    border-color: #cbd5e1;
    color: #475569;
}

.paypal-pay-section .btn-checkout-cancel:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

.paypal-pay-section .checkout-cancel-hint {
    color: #64748b;
}

.orders-folio-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    align-items: stretch;
}

.orders-folio-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
    color: #8aa9ff;
}

.orders-folio-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.orders-folio-search input::placeholder {
    color: #6c8dcf;
}

.btn-folio-lookup {
    padding: 0.55rem 1rem;
    border: 1px solid rgba(0, 112, 186, 0.45);
    border-radius: var(--radius-sm);
    background: rgba(0, 112, 186, 0.18);
    color: #9bc5ff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-folio-lookup:hover {
    background: rgba(0, 112, 186, 0.32);
    border-color: rgba(0, 112, 186, 0.65);
}

.folio-status-card {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 112, 186, 0.35);
    background: rgba(0, 112, 186, 0.1);
}

.folio-status-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    color: #9bc5ff;
    font-size: 0.88rem;
}

.folio-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.55rem 1rem;
    font-size: 0.8rem;
}

.folio-status-grid span {
    display: block;
    color: #6c8dcf;
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
}

.folio-status-grid strong {
    color: var(--text-primary);
}

.folio-lookup-error {
    margin: 0 0 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 0.82rem;
}

.order-folio-line {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.order-folio-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c8dcf;
}

.order-folio-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88rem;
    color: #9bc5ff;
}

.order-history-card {
    align-items: flex-start;
    gap: 0.75rem;
}

.order-history-main {
    flex: 1;
    min-width: 0;
}

.order-history-total {
    color: #e0ff80;
    font-weight: 700;
    white-space: nowrap;
}

.order-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
    width: 100%;
}

.order-invoice-btn {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.75rem !important;
}

.order-invoice-btn-facturar {
    width: 100%;
    margin-top: 0.65rem;
    justify-content: center;
    min-height: 2.45rem;
    font-weight: 700 !important;
}

.order-pending-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.order-pending-hint {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #94a3b8;
}

.order-invoice-hint {
    flex: 1 1 100%;
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    color: #8aa9ff;
}

.order-shipping-panel {
    margin-top: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.35);
}

.order-shipping-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.order-shipping-head strong {
    font-size: 0.82rem;
    color: #e2e8f0;
}

.order-shipping-status {
    font-size: 0.72rem;
    font-weight: 700;
    color: #86efac;
}

.order-shipping-status.is-prep {
    color: #fde68a;
}

.order-shipping-address {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.order-tracking-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.order-tracking-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.7rem;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.order-tracking-guide {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #e2e8f0;
}

.order-tracking-link {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: none;
}

.order-tracking-link:hover {
    text-decoration: underline;
}

[data-theme="light"] .order-shipping-panel {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .order-shipping-head strong,
[data-theme="light"] .order-tracking-guide {
    color: #0f172a;
}

[data-theme="light"] .order-shipping-address,
[data-theme="light"] .order-tracking-row {
    color: #475569;
}

[data-theme="light"] .order-tracking-link {
    color: #1d4ed8;
}

.paypal-powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.72rem;
    color: #64748b;
}

.paypal-powered-by img {
    display: block;
}

.paypal-card-errors {
    color: #c0392b;
    font-weight: 500;
}

.paypal-sandbox-hint {
    color: #92400e;
    background: #fffbeb;
    border-color: #fcd34d;
}

.paypal-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: #0070ba;
}

.paypal-badge {
    background: rgba(0, 112, 186, 0.15);
    color: #7ec8ff;
}

.paypal-card-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.paypal-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.paypal-card-field {
    min-height: 46px;
    border: 1.5px solid rgba(100, 140, 220, 0.22);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    transition: var(--transition);
}

.paypal-card-field:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.paypal-card-field iframe {
    width: 100% !important;
    min-height: 44px;
}

.paypal-card-errors {
    min-height: 1.2rem;
    color: #ef4444;
    font-size: 0.82rem;
    line-height: 1.4;
}

.paypal-card-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.paypal-sandbox-hint {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    line-height: 1.45;
    color: #fde68a;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.paypal-sandbox-hint code {
    font-size: 0.78rem;
    color: #fcd34d;
}

.paypal-card-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #fde68a;
    font-size: 0.82rem;
    line-height: 1.5;
}

.checkout-legal {
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Shared UI Ã¢â‚¬â€ formularios y paneles (misma lÃƒÂ³gica que checkout) Ã¢â€â‚¬Ã¢â€â‚¬ */
.ui-panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.75rem 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.06) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.ui-panel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
    flex-shrink: 0;
}

.ui-panel-header h2,
.ui-panel-header h1 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
    color: var(--text-primary);
}

.ui-panel-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.ui-form-body { padding: 1.5rem 1.75rem 1.75rem; }

.ui-form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-form);
    margin-bottom: 1.5rem;
}

.ui-form-card-inner { padding: 1.35rem 1.5rem 1.5rem; }

.ui-form-card-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.ui-form-card-title i { color: var(--accent); font-size: 0.95rem; }

.ui-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.ui-section-title h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0;
}

.ui-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ui-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.ui-info-banner > i:first-child {
    color: #93c5fd;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.ui-info-banner.is-warning {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.35);
}

.ui-info-banner.is-warning > i:first-child { color: #fde047; }

.ui-info-banner ul {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
    line-height: 1.65;
}

.ui-tab-bar,
.auth-tabs,
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.ui-tab,
.auth-tab,
.admin-tab {
    flex: 1;
    min-width: fit-content;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.ui-tab.active,
.auth-tab.active,
.admin-tab.active {
    background: var(--gradient-btn);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.ui-tab:hover:not(.active),
.auth-tab:hover:not(.active),
.admin-tab:hover:not(.active) {
    border-color: var(--border-focus);
    color: var(--text-primary);
}

.modal-auth,
.modal-account {
    max-width: 600px !important;
    padding: 0 !important;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-account { max-width: 760px !important; }

.modal-auth-body,
.modal-account-body {
    padding: 1.25rem 1.75rem 1.75rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: rgba(45, 212, 191, 0.85) rgba(255, 255, 255, 0.08);
    scrollbar-gutter: stable;
}

.modal-auth-body::-webkit-scrollbar,
.modal-account-body::-webkit-scrollbar {
    width: 12px;
}

.modal-auth-body::-webkit-scrollbar-track,
.modal-account-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    margin: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-auth-body::-webkit-scrollbar-thumb,
.modal-account-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.95) 0%, rgba(99, 102, 241, 0.85) 100%);
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.35);
    min-height: 48px;
}

.modal-auth-body::-webkit-scrollbar-thumb:hover,
.modal-account-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(52, 211, 153, 1) 0%, rgba(129, 140, 248, 1) 100%);
}

.modal-auth .ui-panel-header,
.modal-account .ui-panel-header {
    margin: 0;
    border-radius: 0;
    flex-shrink: 0;
}

.ui-section-title-spaced { margin-top: 0.65rem; }

.ui-section-title h3 i {
    color: var(--accent);
    font-size: 0.88rem;
    margin-right: 0.15rem;
}

.auth-submit,
.account-submit { margin-top: 1rem; }

.account-logout { margin-top: 0.25rem; width: 100%; }

.account-form-grid {
    padding: 0;
    background: transparent;
    border: none;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.form-grid,
.ui-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.form-grid .full,
.ui-form-grid .full { grid-column: 1 / -1; }

.account-section {
    margin-bottom: 1.35rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.account-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.account-section .ui-section-title {
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-subtle);
}

.account-section .ui-section-title h3 {
    border: none;
    padding: 0;
}

.account-section .form-grid {
    padding: 0;
    background: transparent;
    border: none;
}

.auth-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 1rem;
}

.auth-trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
    padding: 0.85rem 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
}

.auth-trust-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.05rem;
}

.auth-trust-title {
    display: block;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    color: #f1f5f9;
    letter-spacing: 0.01em;
}

.auth-trust-desc {
    display: block;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.35;
    color: #94a3b8;
}

.auth-trust-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Legacy Ã¢â‚¬â€ otros modales */
.auth-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-muted);
    padding: 0.55rem 0.4rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.auth-trust-item i { color: var(--accent); font-size: 0.9rem; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Auth modal Ã¢â‚¬â€ glass 2026 Ã¢â€â‚¬Ã¢â€â‚¬ */
#authModal.modal-auth-overlay {
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(34, 211, 238, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(192, 132, 252, 0.14), transparent 50%),
        rgba(3, 5, 12, 0.62);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

#authModal .modal-auth-glass {
    position: relative;
    isolation: isolate;
    font-family: var(--font-auth-body);
    background: var(--auth-glass-bg);
    backdrop-filter: blur(32px) saturate(1.85);
    -webkit-backdrop-filter: blur(32px) saturate(1.85);
    border: 1px solid var(--auth-glass-border);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 0 100px rgba(129, 140, 248, 0.12);
    overflow: hidden;
}

#authModal .auth-glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

#authModal .auth-glass-orb-1 {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -40px;
    background: var(--auth-aurora-1);
}

#authModal .auth-glass-orb-2 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: -60px;
    background: var(--auth-aurora-2);
}

#authModal .auth-glass-orb-3 {
    width: 140px;
    height: 140px;
    bottom: -40px;
    right: 25%;
    background: var(--auth-aurora-3);
}

#authModal .close-modal-glass,
#authModal .auth-glass-header,
#authModal .modal-auth-body {
    position: relative;
    z-index: 1;
}

.close-modal-glass {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    left: auto;
    z-index: 30;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    color: #f8fafc;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.94) 100%);
    border: 1.5px solid rgba(148, 163, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(99, 102, 241, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.close-modal-glass i {
    line-height: 1;
    pointer-events: none;
}

.close-modal-glass:hover {
    transform: scale(1.07);
    color: #ffffff;
    background: linear-gradient(145deg, #f87171 0%, #ef4444 48%, #dc2626 100%);
    border-color: rgba(254, 202, 202, 0.65);
    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.28),
        0 12px 28px rgba(239, 68, 68, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.close-modal-glass:active {
    transform: scale(0.96);
}

.close-modal-glass:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(45, 212, 191, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.35);
}

#authModal .auth-glass-header {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(129, 140, 248, 0.08) 50%,
        rgba(34, 211, 238, 0.06) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3.85rem 1.25rem 1.75rem;
}

#authModal .auth-glass-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background: var(--gradient-auth-btn);
    box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
    font-size: 1.35rem;
}

#authModal .auth-glass-header h2 {
    font-family: var(--font-auth-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #f8fafc;
}

#authModal .auth-brand-accent {
    background: linear-gradient(120deg, #67e8f9 0%, #a5b4fc 45%, #e879f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#authModal .auth-glass-header p {
    font-family: var(--font-auth-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(203, 213, 225, 0.85);
    letter-spacing: 0.01em;
}

#authModal .modal-auth-body {
    padding: 1.35rem 1.75rem 1.65rem;
}

#authModal .auth-tabs {
    gap: 0.55rem;
    padding: 0.35rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#authModal .auth-tab {
    font-family: var(--font-auth-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(203, 213, 225, 0.75);
    border-radius: calc(var(--radius-md) - 4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#authModal .auth-tab:hover:not(.active) {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

#authModal .auth-tab.active {
    background: var(--gradient-auth-btn);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow:
        0 6px 24px rgba(129, 140, 248, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#authModal .auth-form,
#authModal .form-grid {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#authModal .ui-section-title h3 {
    font-family: var(--font-auth-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e2e8f0;
}

#authModal .ui-step {
    background: var(--gradient-auth-btn);
    font-family: var(--font-auth-display);
    box-shadow: 0 4px 14px rgba(129, 140, 248, 0.35);
}

#authModal .filter-group label {
    font-family: var(--font-auth-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(103, 232, 249, 0.9);
}

#authModal .filter-group label i {
    color: #a5b4fc;
    margin-right: 0.25rem;
}

#authModal .filter-group input,
#authModal .input-wrap input {
    font-family: var(--font-auth-body);
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

#authModal .filter-group input::placeholder {
    color: rgba(148, 163, 184, 0.55);
    font-weight: 400;
}

#authModal .filter-group input:focus,
#authModal .input-wrap input:focus {
    outline: none;
    border-color: rgba(103, 232, 249, 0.55);
    background: rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 3px rgba(34, 211, 238, 0.12),
        0 0 24px rgba(129, 140, 248, 0.15);
}

#authModal .btn-primary {
    font-family: var(--font-auth-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--gradient-auth-btn);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 10px 32px rgba(129, 140, 248, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.2s, box-shadow 0.25s;
}

#authModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 40px rgba(34, 211, 238, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#authModal .auth-glass-trust {
    margin-top: 1.25rem;
    gap: 0.75rem;
}

#authModal .auth-glass-trust .auth-trust-card {
    padding: 1rem 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

#authModal .auth-glass-trust .auth-trust-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(103, 232, 249, 0.28);
}

#authModal .auth-trust-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#authModal .auth-trust-icon-shield {
    color: #67e8f9;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(103, 232, 249, 0.35);
}

#authModal .auth-trust-icon-ship {
    color: #a5b4fc;
    background: linear-gradient(145deg, rgba(129, 140, 248, 0.22), rgba(167, 139, 250, 0.12));
    border: 1px solid rgba(167, 139, 250, 0.35);
}

#authModal .auth-trust-icon-pay {
    color: #f0abfc;
    background: linear-gradient(145deg, rgba(232, 121, 249, 0.2), rgba(129, 140, 248, 0.12));
    border: 1px solid rgba(232, 121, 249, 0.32);
}

#authModal .auth-trust-title {
    font-family: var(--font-auth-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: #f8fafc;
}

#authModal .auth-trust-desc {
    font-family: var(--font-auth-body);
    font-size: 0.78rem;
    font-weight: 400;
    color: #cbd5e1;
    letter-spacing: 0.01em;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Checkout modal Ã¢â‚¬â€ glass 2026 (mismo lenguaje que auth) Ã¢â€â‚¬Ã¢â€â‚¬ */
/* Cerrado por defecto (.modal { display:none }). JS pone display:flex al abrir. */
#paymentModal.modal-checkout-overlay {
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0));
    background:
        radial-gradient(ellipse 80% 60% at 15% 15%, rgba(34, 211, 238, 0.1), transparent 55%),
        radial-gradient(ellipse 65% 55% at 90% 75%, rgba(192, 132, 252, 0.12), transparent 50%),
        rgba(3, 5, 12, 0.62);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

#paymentModal.modal-checkout-overlay::-webkit-scrollbar {
    width: 10px;
}

#paymentModal.modal-checkout-overlay::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
}

#paymentModal.modal-checkout-overlay::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.55);
    border-radius: 6px;
}

#paymentModal .checkout-modal-glass {
    position: relative;
    isolation: isolate;
    font-family: var(--font-auth-body);
    background: var(--auth-glass-bg);
    backdrop-filter: blur(32px) saturate(1.85);
    -webkit-backdrop-filter: blur(32px) saturate(1.85);
    border: 1px solid var(--auth-glass-border);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 0 100px rgba(129, 140, 248, 0.12);
    height: auto !important;
    max-height: none !important;
    max-width: 1240px !important;
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

#paymentModal .checkout-layout {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
}

#paymentModal .checkout-form-panel,
#paymentModal .checkout-form-panel form {
    min-height: 0;
    height: auto;
    overflow: visible;
}

#paymentModal .checkout-form-panel {
    align-self: start;
}

#paymentModal .checkout-form-panel form {
    flex: 0 0 auto;
}

#paymentModal .checkout-form-scroll {
    flex: 0 0 auto;
    overflow: visible;
}

#paymentModal .checkout-glass-orb-1 { top: -60px; left: 10%; right: auto; }
#paymentModal .checkout-glass-orb-2 { bottom: 10%; left: auto; right: -50px; }
#paymentModal .checkout-glass-orb-3 { bottom: -30px; left: 40%; right: auto; }

#paymentModal .close-modal-glass,
#paymentModal .checkout-glass-header,
#paymentModal .checkout-layout,
#paymentModal .checkout-login-note,
#paymentModal .checkout-warning {
    position: relative;
    z-index: 1;
}

#paymentModal .checkout-glass-header {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(129, 140, 248, 0.08) 50%,
        rgba(34, 211, 238, 0.06) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3.85rem 1.15rem 1.75rem;
}

#paymentModal .checkout-glass-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background: var(--gradient-auth-btn);
    box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
}

#paymentModal .checkout-glass-header h2 {
    font-family: var(--font-auth-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

#paymentModal .checkout-glass-header p {
    font-family: var(--font-auth-body);
    font-size: 0.88rem;
    color: rgba(203, 213, 225, 0.85);
}

#paymentModal .checkout-summary-panel {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#paymentModal .checkout-summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#paymentModal .checkout-summary-card h3 {
    font-family: var(--font-auth-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e2e8f0;
}

#paymentModal .checkout-total-amount {
    font-family: var(--font-auth-display);
    background: linear-gradient(120deg, #fde68a 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#paymentModal .checkout-trust-seal-card {
    font-family: var(--font-auth-body);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#paymentModal .checkout-trust-seals-title {
    color: rgba(226, 232, 240, 0.9);
}

#paymentModal .checkout-trust-seal-card strong {
    color: #f1f5f9;
}

#paymentModal .checkout-trust-seal-card span {
    color: #94a3b8;
}

#paymentModal .checkout-section-title h3 {
    font-family: var(--font-auth-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e2e8f0;
}

#paymentModal .checkout-step {
    background: var(--gradient-auth-btn);
    font-family: var(--font-auth-display);
    box-shadow: 0 4px 14px rgba(129, 140, 248, 0.35);
}

#paymentModal .checkout-form-grid {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#paymentModal .filter-group label {
    font-family: var(--font-auth-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(103, 232, 249, 0.9);
}

#paymentModal .filter-group label i {
    color: #a5b4fc;
}

#paymentModal .filter-group input {
    font-family: var(--font-auth-body);
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#paymentModal .filter-group input:focus {
    outline: none;
    border-color: rgba(103, 232, 249, 0.55);
    background: rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 3px rgba(34, 211, 238, 0.12),
        0 0 24px rgba(129, 140, 248, 0.15);
}

#paymentModal .payment-provider-tabs {
    padding: 0.35rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#paymentModal .payment-provider-tab {
    font-family: var(--font-auth-body);
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(203, 213, 225, 0.75);
    border-radius: calc(var(--radius-md) - 4px);
}

#paymentModal .payment-provider-tab:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

#paymentModal .payment-provider-tab.active {
    background: var(--gradient-auth-btn);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow:
        0 6px 24px rgba(129, 140, 248, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#paymentModal .mp-payment-card,
#paymentModal .paypal-payment-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#paymentModal .mp-badge,
#paymentModal .paypal-badge {
    font-family: var(--font-auth-body);
    background: rgba(129, 140, 248, 0.18);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.35);
}

#paymentModal .paypal-checkout-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.96) 100%) !important;
    border: 1px solid rgba(0, 112, 186, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 48, 135, 0.12);
}

#paymentModal .conekta-checkout-panel {
    margin-top: 0.25rem;
}

#paymentModal .conekta-card-grid {
    margin: 0;
}

#paymentModal .conekta-card-type-group {
    border: 0;
    padding: 0;
    margin: 0;
}

#paymentModal .conekta-card-type-group legend {
    font-family: var(--font-auth-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.85);
    margin-bottom: 0.55rem;
}

#paymentModal .conekta-card-type-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

#paymentModal .conekta-card-type-option {
    display: flex;
    cursor: pointer;
}

#paymentModal .conekta-card-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#paymentModal .conekta-card-type-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 58px;
    padding: 0.85rem 0.7rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

#paymentModal .conekta-card-type-option input:checked + span {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.12);
    color: #f8fafc;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

#paymentModal .conekta-card-type-group legend {
    margin-bottom: 0.35rem;
}

.conekta-required {
    color: #f87171;
    font-weight: 800;
}

.conekta-card-type-notice {
    display: none;
    margin: 0.65rem 0 0;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(248, 113, 113, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fecaca;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.conekta-card-type-hint {
    margin: 0 0 0.7rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(203, 213, 225, 0.8);
}

.conekta-card-type-notice.is-visible {
    display: block;
}

.conekta-card-details {
    display: contents;
}

.conekta-card-details.is-hidden {
    display: none;
}

.conekta-card-details.is-locked > .filter-group:not(.conekta-pay-actions) {
    opacity: 0.45;
}

[data-theme="light"] .conekta-card-type-notice {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

#paymentModal .conekta-card-type-group.is-incomplete .conekta-card-type-option span {
    border-color: rgba(251, 191, 36, 0.55);
}

[data-theme="light"] .conekta-card-type-hint {
    color: #64748b;
}

[data-theme="light"] #paymentModal .conekta-card-type-group.is-incomplete .conekta-card-type-option span {
    border-color: #f59e0b;
}

#paymentModal .conekta-pay-actions {
    margin-top: 0.35rem;
}

#paymentModal .conekta-pay-button {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
}

#paymentModal .conekta-pay-button.is-loading {
    opacity: 0.7;
    cursor: wait;
}

#paymentModal .conekta-pay-helper {
    margin: 0.55rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(203, 213, 225, 0.75);
}

.conekta-alt-pay {
    margin-top: 0.85rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.28);
}

.conekta-cash-link {
    display: none;
    margin-top: 0.15rem;
    padding: 0.95rem 0.9rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(45, 212, 191, 0.28);
    background: rgba(13, 148, 136, 0.08);
}

.conekta-cash-link.is-visible {
    display: block;
}

.conekta-cash-link[hidden] {
    display: none !important;
}

.conekta-cash-link-intro {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.92);
}

.conekta-cash-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 0.95rem;
}

.conekta-cash-method {
    padding: 0.75rem 0.8rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.28);
}

.conekta-cash-method h4 {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #99f6e4;
}

.conekta-cash-method p,
.conekta-cash-method li {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.conekta-cash-method ul {
    margin: 0;
    padding-left: 1.05rem;
}

@media (max-width: 720px) {
    #paymentModal .conekta-card-type-options,
    .conekta-cash-methods {
        grid-template-columns: 1fr;
    }
}

[data-theme="light"] .conekta-cash-link {
    background: #f0fdfa;
    border-color: #99f6e4;
}

[data-theme="light"] .conekta-cash-link-intro {
    color: #334155;
}

[data-theme="light"] .conekta-cash-method {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .conekta-cash-method h4 {
    color: #0f766e;
}

[data-theme="light"] .conekta-cash-method p,
[data-theme="light"] .conekta-cash-method li {
    color: #334155;
}

.conekta-alt-pay-divider {
    margin: 0 0 0.7rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(203, 213, 225, 0.8);
}

#paymentModal .conekta-link-button {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(45, 212, 191, 0.4);
    background: rgba(13, 148, 136, 0.12);
    color: #99f6e4;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

#paymentModal .conekta-link-button:hover:not(:disabled) {
    background: rgba(13, 148, 136, 0.2);
}

#paymentModal .conekta-link-button:disabled,
#paymentModal .conekta-link-button.is-loading {
    opacity: 0.65;
    cursor: wait;
}

[data-theme="light"] .conekta-alt-pay-divider {
    color: #64748b;
}

[data-theme="light"] #paymentModal .conekta-link-button {
    background: #ecfeff;
    border-color: #5eead4;
    color: #0f766e;
}

.checkout-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
}

.checkout-notice-action {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0d9488, #2563eb);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.checkout-notice-overlay.is-pending .checkout-notice-dialog {
    border-color: rgba(56, 189, 248, 0.4);
}

.checkout-notice-overlay.is-pending .checkout-notice-icon {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

[data-theme="light"] #paymentModal .conekta-card-type-group legend {
    color: #64748b;
}

[data-theme="light"] #paymentModal .conekta-card-type-option span {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

[data-theme="light"] #paymentModal .conekta-card-type-option input:checked + span {
    border-color: #0d9488;
    background: #ecfeff;
    color: #0f172a;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

[data-theme="light"] #paymentModal .conekta-pay-helper {
    color: #64748b;
}

.conekta-pay-hint {
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #475569;
}

#paymentModal .paypal-field-group label {
    color: #003087 !important;
}

#paymentModal .paypal-card-field {
    background: #fff !important;
    border-color: #cbd5e1 !important;
}

#paymentModal .checkout-pay-footer .checkout-legal.paypal-hidden-legal {
    display: none;
}

/* Modal aviso checkout */
.checkout-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(3, 5, 12, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.checkout-notice-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.checkout-notice-dialog {
    position: relative;
    width: min(100%, 440px);
    padding: 2rem 1.75rem 1.65rem;
    text-align: center;
    background: linear-gradient(165deg, rgba(22, 30, 52, 0.98), rgba(14, 20, 38, 0.98));
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.checkout-notice-overlay.is-visible .checkout-notice-dialog {
    transform: scale(1) translateY(0);
}

.checkout-notice-overlay.is-success .checkout-notice-dialog {
    border-color: rgba(52, 211, 153, 0.35);
}

.checkout-notice-close-btn {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    z-index: 2;
}

.support-chat-close-btn {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
}

.checkout-notice-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.85rem;
}

.checkout-notice-overlay.is-error .checkout-notice-icon {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
}

.checkout-notice-overlay.is-success .checkout-notice-icon {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

.checkout-notice-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.3rem;
    font-weight: 800;
    color: #f8fafc;
}

.checkout-notice-message {
    margin: 0 0 0.75rem;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.92rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.checkout-notice-folio {
    margin: 0 0 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(0, 112, 186, 0.14);
    border: 1px solid rgba(0, 112, 186, 0.35);
}

.checkout-notice-folio-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9bc5ff;
    margin-bottom: 0.25rem;
}

.checkout-notice-folio-value {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.05rem;
    color: #f8fafc;
    letter-spacing: 0.03em;
}

.checkout-notice-folio-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.checkout-notice-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0 0;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-notice-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.1rem;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.86rem;
    color: #fca5a5;
    line-height: 1.45;
}

.checkout-notice-list li::before {
    content: 'Ã¢â‚¬Â¢';
    position: absolute;
    left: 0;
    color: #f87171;
}

#paymentModal .checkout-pay-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin: 0.9rem 0 0;
    padding: 1rem 0 0.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

#paymentModal .checkout-pay-footer .btn-checkout-cancel {
    width: auto;
    align-self: center;
    margin-top: 0;
    min-height: 42px;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(148, 163, 184, 0.32);
    color: #f1f5f9;
}

#paymentModal .checkout-pay-footer .btn-checkout-cancel:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

#paymentModal .checkout-cancel-hint {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.78);
}

#paymentModal .checkout-legal-block {
    margin-top: 0.2rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.32);
}

#paymentModal .checkout-legal,
#paymentModal .checkout-legal-note {
    margin: 0;
    max-width: none;
    font-family: var(--font-auth-body);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
    color: rgba(226, 232, 240, 0.9);
}

#paymentModal .checkout-legal-note {
    margin-top: 0.45rem;
    color: rgba(203, 213, 225, 0.82);
}

#paymentModal .checkout-legal-note i {
    margin-right: 0.35rem;
    color: #5eead4;
}

#paymentModal .checkout-legal a {
    color: #99f6e4;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

#paymentModal .btn-mp-checkout {
    font-family: var(--font-auth-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--gradient-auth-btn);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 10px 32px rgba(129, 140, 248, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#paymentModal .btn-mp-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 14px 40px rgba(34, 211, 238, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#paymentModal .checkout-login-note {
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-left: 1.75rem;
    margin-right: 1.75rem;
}

/* Checkout result page */
.checkout-result-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top, 0));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
}

.checkout-result-card {
    max-width: 520px;
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-form), 0 24px 80px rgba(0, 0, 0, 0.5);
}

.checkout-result-card .checkout-result-body {
    padding: 2rem 2rem 2.25rem;
    text-align: center;
}

.checkout-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
}

.checkout-result-icon.success {
    background: rgba(52, 211, 153, 0.15);
    color: var(--success);
    border: 2px solid rgba(52, 211, 153, 0.4);
}

.checkout-result-icon.pending {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 2px solid rgba(251, 191, 36, 0.35);
}

.checkout-result-icon.failure {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 2px solid rgba(239, 68, 68, 0.35);
}

.checkout-result-card h1 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.checkout-result-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.checkout-result-folio {
    margin: -0.5rem 0 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(0, 112, 186, 0.12);
    border: 1px solid rgba(0, 112, 186, 0.35);
    text-align: center;
}

.checkout-result-folio span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9bc5ff;
    margin-bottom: 0.35rem;
}

.checkout-result-folio strong {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.15rem;
    color: #f8fafc;
    letter-spacing: 0.03em;
}

.checkout-result-folio small {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.checkout-result-meta {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.checkout-result-meta div {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.875rem;
}

.checkout-result-meta span:first-child { color: var(--text-muted); }
.checkout-result-meta span:last-child { font-weight: 700; color: var(--text-primary); }

.checkout-result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.checkout-result-actions .btn-secondary {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
}

.checkout-result-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    text-align: center;
}

.checkout-result-card .ui-panel-header {
    margin: 0;
    border-radius: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(120px, 34%) minmax(0, 1fr);
    }
    .checkout-summary-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.25rem;
    }
    .checkout-form-panel { padding: 1.25rem 1.25rem 0; }
    .checkout-pay-footer {
        margin: 0 -1.25rem 0;
        padding: 1rem 1.25rem 1.15rem;
    }
    #paymentModal .checkout-pay-footer {
        margin: 0.85rem 0 0;
        padding: 1rem 0 0.35rem;
    }
    .checkout-header { padding: 1.25rem; }
    .checkout-trust-seal-grid { flex-direction: column; }
    .checkout-trust-seal-card img { width: 60px; height: 60px; }
    .paypal-card-row { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 1024px) {
    :root { --header-h: 88px; }

    .trust-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .carousel-content { padding: 2.5rem 2rem; }
    .hero-carousel-wrap {
        min-height: 255px;
        height: clamp(255px, 36vw, 360px);
        max-height: 360px;
    }
    .filters-grid { grid-template-columns: 1fr 1fr; }
    .filter-group-search { grid-column: 1 / -1; }
    .nav-container { padding: 0 1.15rem; }
    section.shop-section { padding: 2rem 1.15rem 2.5rem; }
    .modal-content { padding: 1.65rem; }
    .checkout-modal { width: calc(100% - 1.5rem); }
}

@media (max-width: 768px) {
    :root { --header-h: 76px; }

    /*
      backdrop-filter en .header crea un containing block para position:fixed.
      El drawer quedaba atrapado/recortado dentro del header (~76px) y solo
      se veÃƒÂ­a el overlay oscuro Ã¢â‚¬â€ en mÃƒÂ³vil parecÃƒÂ­a Ã¢â‚¬Å“cargandoÃ¢â‚¬Â sin menÃƒÂº.
    */
    .header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(6, 8, 15, 0.97);
        overflow: visible;
    }

    [data-theme="light"] .header {
        background: rgba(255, 255, 255, 0.97);
    }

    .nav-container,
    .header-actions {
        overflow: visible;
    }

    .menu-btn { display: flex; }
    .nav-links {
        position: fixed;
        top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
        left: 0;
        width: min(88vw, 320px);
        height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
        flex-direction: column;
        align-items: stretch;
        background: var(--bg-elevated);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.25rem;
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
        border-right: 1px solid var(--border-subtle);
        box-shadow: 12px 0 40px rgba(2, 6, 23, 0.45);
        transition: transform 0.3s ease, visibility 0.3s ease;
        gap: 0.25rem;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-105%);
        visibility: hidden;
        pointer-events: none;
    }
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links a {
        border-radius: var(--radius-sm);
        min-height: 44px;
        padding: 0.65rem 1rem;
    }
    .nav-user-menu-wrap { width: 100%; }
    .nav-user-btn {
        width: 100%;
        justify-content: flex-start;
        border-radius: var(--radius-sm);
        min-height: 44px;
    }
    .nav-user-dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 0.35rem;
        transform: none;
        box-shadow: none;
    }
    .nav-user-dropdown:not(.is-open) {
        display: none;
    }
    .cart-icon {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .logo-altaris { font-size: 1.85rem; }
    .logo-shop { font-size: 1.15rem; }
    .brand { max-width: min(360px, 72vw); gap: 0.65rem; }
    .brand-mark { height: 64px; width: 64px; padding: 0.12rem; }
    .brand-logo-img { max-width: none; }
    .slogan { font-size: 0.55rem; letter-spacing: 0.06em; gap: 0.2rem; }
    .header-actions { gap: 0.4rem; }
    .nav-container { gap: 0.65rem; padding: 0 0.85rem; }
    .hero-section { padding: 0.75rem 0.75rem 0; }
    .hero-carousel-wrap {
        aspect-ratio: 4 / 3;
        min-height: 180px;
        height: auto;
        max-height: 270px;
        border-radius: var(--radius-lg);
    }
    .carousel-slide { min-height: 180px; }
    .carousel-content {
        padding: 1.35rem 1.1rem 1.35rem 1.25rem;
        max-width: 100%;
        justify-content: flex-end;
    }
    .carousel-content h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
    .carousel-content p {
        font-size: 0.88rem;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .carousel-cta { padding: 0.75rem 1.25rem; font-size: 0.88rem; }
    .carousel-btn { width: 40px; height: 40px; }
    .product-card-media { min-height: 180px; padding: 1rem 1rem 0.65rem; }
    .product-img { height: 160px; }
    .product-price { font-size: 1.2rem; }
    .product-card-footer { padding: 0 1rem 1rem; }
    .btn-add-cart { min-height: 44px; padding: 0.85rem 1rem; }
    .trust-bar { grid-template-columns: 1fr; gap: 0.85rem; }
    .trust-item { min-height: auto; padding: 1.1rem 1.2rem; }
    .trust-icon { width: 48px; height: 48px; font-size: 1.15rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; padding: 1rem; }
    .auth-trust-row { grid-template-columns: 1fr; }
    #authModal .auth-glass-trust { grid-template-columns: 1fr; }
    #authModal .auth-trust-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 0.85rem;
        padding: 0.85rem 1rem;
    }
    #authModal .auth-trust-card .auth-trust-icon { flex-shrink: 0; }
    #authModal .auth-trust-copy { flex: 1; min-width: 0; }
    .filters-grid { grid-template-columns: 1fr; }
    .filters-container { padding: 1.15rem; margin-bottom: 1.75rem; }
    .filter-group input,
    .filter-group select,
    .filters-container input,
    .filters-container select {
        font-size: 16px;
        min-height: 44px;
    }
    .btn-filter { min-height: 44px; width: 100%; }
    section.shop-section { padding: 1.5rem 0.85rem 2rem; }
    .section-header { margin-bottom: 1.25rem; padding-bottom: 1rem; }
    .section-title { font-size: clamp(1.45rem, 6vw, 1.85rem); }
    .section-subtitle { font-size: 0.85rem; flex-wrap: wrap; }
    .cart-sidebar { max-width: 100%; }
    .cart-sidebar-inner { padding: 1rem 0.85rem calc(1rem + env(safe-area-inset-bottom, 0)); }
    .cart-item-thumb { width: 64px; height: 64px; }
    .cart-item-actions { flex-direction: column; align-items: stretch; }
    .cart-qty-control { align-self: flex-start; }
    .cart-remove-btn { justify-content: center; min-height: 44px; }
    .modal {
        padding: 0;
        align-items: stretch;
    }
    .modal-content {
        max-height: 100dvh;
        min-height: 100dvh;
        border-radius: 0;
        padding: 1.15rem 1rem 1.5rem;
        padding-top: calc(1.15rem + env(safe-area-inset-top, 0));
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    }
    .modal-content.modal-detail {
        max-width: 100%;
    }
    .close-modal {
        top: calc(0.75rem + env(safe-area-inset-top, 0));
        right: 0.85rem;
        width: 44px;
        height: 44px;
    }
    .detail-header { flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
    .detail-gallery,
    .detail-info { min-width: 0; width: 100%; flex: none; }
    .detail-main-img { max-height: 280px; }
    .detail-price { font-size: 1.55rem; }
    .detail-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.35rem;
        margin: 1rem 0 0.85rem;
        padding-bottom: 0.65rem;
    }
    .detail-tabs::-webkit-scrollbar { display: none; }
    .detail-tab {
        flex-shrink: 0;
        min-height: 40px;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.5rem 0.85rem;
    }
    .specs-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pagination { gap: 0.35rem; margin-top: 1.5rem; }
    .page-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem 0.75rem;
    }
    .notification {
        left: 0.85rem;
        right: 0.85rem;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0));
        max-width: none;
    }
    .checkout-modal {
        width: 100% !important;
        height: auto;
        max-height: none;
        border-radius: 0;
    }
    #paymentModal .checkout-modal-glass {
        height: auto !important;
        max-height: none !important;
        width: 100%;
        border-radius: 0;
    }
    #paymentModal.modal-checkout-overlay {
        padding: 0;
        align-items: stretch;
    }
    #paymentModal .checkout-login-note {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .profile-confirm-dialog {
        width: calc(100% - 1.5rem);
        margin: 1rem;
    }
    .shipping-state-overlay .stock-coordination-dialog {
        width: calc(100% - 1.5rem);
        max-height: calc(100dvh - 2rem);
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    :root { --header-h: 68px; }

    .brand-copy .slogan { display: none; }
    .brand { max-width: min(240px, 62vw); }
    .logo-altaris { font-size: 1.55rem; }
    .logo-shop { font-size: 1rem; }
    .brand-mark { height: 56px; width: 56px; }
    .brand-logo-img { max-width: none; }
    .theme-toggle-label { display: none; }
    .theme-toggle { padding: 0.3rem 0.4rem; }
    .carousel-badge { font-size: 0.68rem; padding: 0.35rem 0.75rem; }
    .carousel-content { padding: 1rem 0.85rem; }
    .carousel-content p { -webkit-line-clamp: 2; }
    .product-title { font-size: 0.92rem; }
    .related-grid { grid-template-columns: 1fr; }
    .stat-chip { width: 100%; justify-content: center; }
    .catalog-stats { flex-direction: column; }
    .checkout-result-page { padding: 1rem 0.85rem; align-items: flex-start; }
    .checkout-result-card { width: 100%; }
}

@media (max-width: 360px) {
    .nav-links { width: 100vw; }
    .product-card-media { min-height: 160px; }
    .product-img { height: 140px; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Chat de soporte (email) Ã¢â€â‚¬Ã¢â€â‚¬ */
.support-chat-float-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1450;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.1rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee 0%, #6366f1 55%, #a78bfa 100%);
    color: #fff;
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    overflow: visible;
    box-shadow:
        0 12px 32px rgba(99, 102, 241, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    transition: transform 0.22s, box-shadow 0.22s;
}

.support-chat-float-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 40px rgba(99, 102, 241, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.support-chat-float-btn i {
    font-size: 1.2rem;
}

.support-chat-float-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(99, 102, 241, 0.45);
    animation: support-chat-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes support-chat-pulse {
    0% { transform: scale(1); opacity: 0.75; }
    100% { transform: scale(1.22); opacity: 0; }
}

.support-chat-wrap {
    position: fixed;
    right: 1.25rem;
    bottom: 5.5rem;
    z-index: 1460;
    width: min(100vw - 2rem, 480px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.support-chat-wrap.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.support-chat-panel {
    display: flex;
    flex-direction: column;
    height: min(82vh, 680px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(165deg, rgba(22, 30, 52, 0.98), rgba(14, 20, 38, 0.98));
    border: 1px solid rgba(99, 102, 241, 0.28);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(99, 102, 241, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.support-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.18));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-chat-header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.support-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.35), rgba(99, 102, 241, 0.45));
    color: #fff;
    flex-shrink: 0;
}

.support-chat-header h3 {
    font-family: var(--font-auth-display, var(--font-display));
    font-size: 1.12rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.1rem;
}

.support-chat-header p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

/* Modal horario laboral soporte Ã¢â‚¬â€ glass, solo cierra con Aceptar */
.support-hours-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(3, 5, 12, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.support-hours-notice-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.support-hours-notice-dialog {
    position: relative;
    overflow: hidden;
    width: min(100%, 420px);
    padding: 2.1rem 1.75rem 1.75rem;
    text-align: center;
    background: var(--auth-glass-bg, rgba(255, 255, 255, 0.055));
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: var(--radius-xl);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.support-hours-notice-overlay.is-visible .support-hours-notice-dialog {
    transform: scale(1) translateY(0);
}

.support-hours-notice-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(28px);
}

.support-hours-notice-orb-1 {
    width: 160px;
    height: 160px;
    top: -50px;
    left: -30px;
    background: rgba(251, 191, 36, 0.28);
}

.support-hours-notice-orb-2 {
    width: 140px;
    height: 140px;
    right: -40px;
    bottom: -30px;
    background: rgba(45, 212, 191, 0.16);
}

.support-hours-notice-icon {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.75rem;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.2);
}

.support-hours-notice-title {
    position: relative;
    z-index: 1;
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fde68a;
}

.support-hours-notice-message {
    position: relative;
    z-index: 1;
    margin: 0 0 1.35rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.support-hours-notice-accept {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.support-hours-notice-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.36);
}

.support-hours-notice-accept:focus-visible {
    outline: 2px solid #fde68a;
    outline-offset: 3px;
}

body.support-hours-notice-open {
    overflow: hidden;
}

/* Bienvenida registro Ã¢â‚¬â€ solo cierra con Aceptar */
.register-welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 14000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(3, 5, 12, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.register-welcome-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.register-welcome-dialog {
    position: relative;
    overflow: hidden;
    width: min(100%, 420px);
    padding: 2.35rem 1.75rem 1.75rem;
    text-align: center;
    background: var(--auth-glass-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: var(--radius-xl, 1.25rem);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(13, 148, 136, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    transform: scale(0.86) translateY(18px);
    transition: transform 0.42s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.register-welcome-overlay.is-visible .register-welcome-dialog {
    transform: scale(1) translateY(0);
}

.register-welcome-burst {
    position: absolute;
    inset: -40% -20% auto;
    height: 180px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.35) 0%, transparent 68%);
    pointer-events: none;
    animation: registerWelcomeBurst 1.1s ease-out both;
}

.register-welcome-rings {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.1rem;
}

.register-welcome-rings span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(45, 212, 191, 0.45);
    opacity: 0;
    animation: registerWelcomeRing 1.4s ease-out infinite;
}

.register-welcome-rings span:nth-child(2) { animation-delay: 0.25s; }
.register-welcome-rings span:nth-child(3) { animation-delay: 0.5s; }

.register-welcome-check {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #2563eb);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.4);
    animation: registerWelcomePop 0.55s cubic-bezier(0.34, 1.6, 0.64, 1) 0.12s both;
}

.register-welcome-title {
    margin: 1.15rem 0 0.55rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.register-welcome-message {
    margin: 0 0 1.5rem;
    color: #94a3b8;
    font-size: 0.98rem;
    line-height: 1.45;
}

.register-welcome-accept {
    appearance: none;
    border: 0;
    cursor: pointer;
    min-width: 160px;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #2563eb);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.register-welcome-accept:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.register-welcome-accept:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 3px;
}

body.register-welcome-open {
    overflow: hidden;
}

@keyframes registerWelcomeBurst {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes registerWelcomeRing {
    0% { transform: scale(0.7); opacity: 0.65; }
    100% { transform: scale(1.55); opacity: 0; }
}

@keyframes registerWelcomePop {
    from { opacity: 0; transform: translateX(-50%) scale(0.4); }
    to { opacity: 1; transform: translateX(-50%) scale(1); }
}

[data-theme="light"] .register-welcome-overlay {
    background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .register-welcome-dialog {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(13, 148, 136, 0.28);
}

[data-theme="light"] .register-welcome-title {
    color: #0f172a;
}

[data-theme="light"] .register-welcome-message {
    color: #475569;
}

.support-chat-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.support-chat-close:hover {
    background: rgba(248, 113, 113, 0.18);
    color: #fff;
}

.support-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.55), rgba(4, 8, 16, 0.75));
}

.support-chat-bubble {
    position: relative;
    max-width: 85%;
    min-width: 4.5rem;
    padding: 0.58rem 0.78rem 0.42rem;
    border-radius: 0.65rem;
    font-size: 0.98rem;
    line-height: 1.48;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.support-chat-bubble-text {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.support-chat-bubble-time {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.72rem;
    line-height: 1;
    opacity: 0.72;
}

.support-chat-bubble-agent {
    align-self: flex-start;
    background: #1f2c34;
    color: #e9edef;
    border-bottom-left-radius: 0.12rem;
}

.support-chat-bubble-agent .support-chat-bubble-time {
    text-align: left;
}

.support-chat-bubble-agent.support-chat-bubble-welcome {
    background: rgba(31, 44, 52, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 92%;
}

.support-chat-bubble-user {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-bottom-right-radius: 0.12rem;
}

.support-chat-bubble-user .support-chat-bubble-time {
    text-align: right;
}

.support-chat-bubble strong {
    display: none;
}

.support-chat-bubble p {
    margin: 0;
    white-space: pre-wrap;
}

.support-chat-rating-panel {
    padding: 1rem 0.95rem 1.1rem;
    border-top: 1px solid rgba(251, 191, 36, 0.25);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.1), rgba(6, 8, 15, 0.9));
}

.support-chat-rating-title {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.support-chat-rating-hint {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.support-chat-rating-stars {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.support-chat-star {
    border: none;
    background: transparent;
    color: rgba(148, 163, 184, 0.55);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.support-chat-star:hover,
.support-chat-star.is-active {
    color: #fbbf24;
    transform: translateY(-1px);
}

.support-chat-rating-comment {
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.85rem;
    resize: vertical;
}

.support-chat-rating-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 0.7rem;
    background: var(--gradient-btn);
    color: #041016;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}

.support-chat-rating-thanks {
    margin: 0.35rem 0 0;
    font-size: 0.84rem;
    color: #6ee7b7;
    line-height: 1.45;
}

.support-chat-compose {
    padding: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 8, 15, 0.85);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.support-chat-topic-row {
    display: flex;
    gap: 0.45rem;
}

.support-chat-topic {
    flex: 1;
    padding: 0.4rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #94a3b8;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}

.support-chat-topic.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #e0e7ff;
}

.support-chat-guest-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}

.support-chat-guest-fields input,
.support-chat-compose input[type="text"],
.support-chat-compose textarea {
    width: 100%;
    padding: 0.72rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #f8fafc;
    font-family: var(--font-auth-body, var(--font-body));
    font-size: 0.95rem;
}

.support-chat-guest-fields input:focus,
.support-chat-compose input:focus,
.support-chat-compose textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.support-chat-input-row {
    display: flex;
    gap: 0.45rem;
    align-items: flex-end;
}

.support-chat-attach-btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1.05rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.support-chat-attach-btn:hover {
    background: rgba(34, 211, 238, 0.22);
    color: #fff;
    transform: scale(1.04);
}

.support-chat-attachment-list {
    display: none;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.support-chat-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.82rem;
}

.support-chat-attachment-download {
    border: none;
    cursor: pointer;
    font: inherit;
    transition: background 0.2s, color 0.2s;
}

.support-chat-attachment-chip-actions {
    gap: 0.35rem;
    max-width: 100%;
}

.support-chat-attachment-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 11rem;
}

.support-chat-attachment-action {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.72rem;
    transition: background 0.2s, color 0.2s;
}

.support-chat-attachment-action:hover {
    background: rgba(34, 211, 238, 0.28);
    color: #fff;
}

.support-chat-attachment-unavailable {
    opacity: 0.75;
}

.support-chat-attachment-download:hover {
    background: rgba(34, 211, 238, 0.18);
    color: #e0f2fe;
}

.support-chat-attachment-chip button {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0;
}

.support-chat-bubble-text .support-chat-attachment-chip {
    margin-top: 0.15rem;
    background: rgba(0, 0, 0, 0.18);
}

.support-chat-input-row textarea {
    flex: 1;
    resize: none;
    min-height: 48px;
    max-height: 140px;
}

.support-chat-send {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #6366f1);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, opacity 0.2s;
}

.support-chat-send:hover:not(:disabled) {
    transform: scale(1.05);
}

.support-chat-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.support-chat-login-prompt {
    padding: 1rem 1.1rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.support-chat-login-prompt p {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.45;
}

.support-chat-login-btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem;
    background: linear-gradient(135deg, #22d3ee, #6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
}

.support-chat-user-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: rgba(203, 213, 225, 0.9);
    padding: 0.15rem 0.1rem 0.35rem;
}

.support-chat-user-bar i {
    color: #67e8f9;
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .support-chat-wrap {
        right: 0.5rem;
        left: 0.5rem;
        width: auto;
        bottom: 4.75rem;
    }

    .support-chat-panel {
        height: min(88vh, 720px);
    }

    .support-chat-bubble {
        font-size: 1rem;
    }

    .support-chat-guest-fields {
        grid-template-columns: 1fr;
    }

    .support-chat-float-label {
        display: none;
    }

    .support-chat-float-btn {
        width: 3.35rem;
        height: 3.35rem;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
}

.support-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.support-chat-escalate-btn {
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(14, 165, 233, 0.14);
    color: #bae6fd;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.support-chat-escalate-btn:hover {
    background: rgba(14, 165, 233, 0.24);
    border-color: rgba(125, 211, 252, 0.55);
    color: #e0f2fe;
}

.support-chat-mode-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.35);
    font-size: 0.75rem;
    color: #93c5fd;
}

.support-chat-mode-switch {
    border: none;
    background: transparent;
    color: #7dd3fc;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.support-chat-bubble-ai {
    border-color: rgba(56, 189, 248, 0.22);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(8, 47, 73, 0.55));
}

.support-chat-bubble-typing .support-chat-bubble-text {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.assistant-typing-dots {
    display: inline-flex;
    gap: 0.2rem;
}

.assistant-typing-dots span {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #7dd3fc;
    animation: assistant-dot-bounce 1.2s infinite ease-in-out;
}

.assistant-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.assistant-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes assistant-dot-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-3px); opacity: 1; }
}

.assistant-product-cards {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.assistant-product-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.55);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.assistant-product-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(8, 47, 73, 0.45);
    transform: translateY(-1px);
}

.assistant-product-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.2rem;
}

.assistant-product-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.assistant-product-card-copy strong,
.assistant-product-card-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assistant-product-card-copy strong {
    color: #e2e8f0;
    font-size: 0.82rem;
}

.assistant-product-card-copy span {
    font-size: 0.72rem;
    color: #94a3b8;
}

.assistant-product-price {
    color: #86efac !important;
    font-weight: 700;
}

.assistant-product-stock.in-stock {
    color: #86efac !important;
}

.assistant-product-stock.out-stock {
    color: #fca5a5 !important;
}

.assistant-escalate-hint {
    margin: 0.65rem 0 0;
    font-size: 0.74rem;
    color: #93c5fd;
}

.support-chat-human-tools.is-ai-mode .support-chat-input-row {
    grid-template-columns: 1fr auto;
}

.stock-coordination-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.stock-coordination-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.stock-coordination-open {
    overflow: hidden;
}

body.shipping-state-open {
    overflow: hidden;
}

.shipping-state-field {
    margin: 0.75rem 0 0.25rem;
    text-align: left;
}

.shipping-state-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.shipping-state-field select {
    width: 100%;
}

.municipio-field select,
.municipio-field .municipio-manual-input {
    width: 100%;
}

.municipio-manual-input {
    margin-top: 0.45rem;
}

.stock-coordination-dialog {
    width: min(100%, 520px);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 22px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    text-align: center;
    animation: stockCoordinationIn 0.35s ease;
}

@keyframes stockCoordinationIn {
    from { transform: translateY(12px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.stock-coordination-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fde68a;
    background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.35), rgba(245, 158, 11, 0.12));
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.18);
}

.stock-coordination-dialog h3 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: #fff7ed;
}

.stock-coordination-message {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
    font-size: 0.98rem;
}

.stock-coordination-city {
    margin: 0.85rem 0 0;
    color: #93c5fd;
    font-size: 0.88rem;
}

.stock-coordination-hint {
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #bbf7d0;
    font-size: 0.88rem;
}

.stock-coordination-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.stock-coordination-chat-btn {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
}

.stock-coordination-ack-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.stock-coordination-ack-btn:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .products-grid .product-card {
        animation: none;
    }
    .trust-item::before,
    .trust-item::after {
        animation: none;
    }
    .trust-item::before { opacity: 0.7; }
    .support-chat-float-pulse {
        animation: none;
    }
    .theme-toggle,
    .theme-toggle-pulse {
        animation: none;
    }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo claro (White) Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] {
    color-scheme: light;
    --bg-deep: #e8eef6;
    --bg-surface: rgba(255, 255, 255, 0.92);
    --bg-elevated: #ffffff;
    --bg-input: #f8fafc;
    --bg-input-hover: #ffffff;
    --input-border: rgba(15, 23, 42, 0.14);
    --input-placeholder: rgba(100, 116, 139, 0.75);
    --select-chevron: %2304846e;
    --border-subtle: rgba(15, 23, 42, 0.1);
    --border-focus: rgba(13, 148, 136, 0.55);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent: #0d9488;
    --accent-soft: #4f46e5;
    --accent-warm: #db2777;
    --accent-glow: rgba(13, 148, 136, 0.22);
    --accent-glow-violet: rgba(79, 70, 229, 0.14);
    --success: #059669;
    --price: #ea580c;
    --price-glow: rgba(234, 88, 12, 0.14);
    --gradient-btn: linear-gradient(90deg, #14b8a6 0%, #2563eb 55%, #6366f1 100%);
    --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 16px 48px rgba(13, 148, 136, 0.12);
    --shadow-form: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 12px 40px rgba(15, 23, 42, 0.08);
    --auth-glass-bg: #ffffff;
    --auth-glass-border: rgba(15, 23, 42, 0.12);
    --gradient-auth-btn: linear-gradient(135deg, #0d9488 0%, #2563eb 52%, #6d28d9 100%);
}

[data-theme="light"] body {
    background-image:
        radial-gradient(ellipse 90% 60% at 10% -10%, rgba(13, 148, 136, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 0%, rgba(79, 70, 229, 0.07), transparent 50%),
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(244, 114, 182, 0.05), transparent 55%);
}

[data-theme="light"] body::before {
    opacity: 0.015;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .nav-links a:hover {
    background: rgba(13, 148, 136, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .nav-user-btn:hover,
[data-theme="light"] .nav-user-btn[aria-expanded="true"] {
    background: rgba(13, 148, 136, 0.08);
    color: var(--text-primary);
}

[data-theme="light"] .product-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] .product-card:hover {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(13, 148, 136, 0.1),
        0 12px 40px rgba(13, 148, 136, 0.08);
}

[data-theme="light"] .product-price {
    color: #ea580c;
    text-shadow: none;
}

[data-theme="light"] .btn-add-cart {
    background-color: #0d9488;
    background-image: linear-gradient(90deg, #14b8a6 0%, #2563eb 55%, #6366f1 100%);
    color: #ffffff;
}

[data-theme="light"] .filters-container {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .filters-container--featured {
    background: linear-gradient(165deg, #ffffff 0%, #f4f7fb 100%);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 36px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .filters-container--featured .filters-title {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #0f172a;
}

[data-theme="light"] .filters-live-badge {
    color: #1e3a8a;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.22);
}

[data-theme="light"] .filters-live-dot {
    background: #2563eb;
}

[data-theme="light"] .filters-container--featured .filter-group select,
[data-theme="light"] .filters-container--featured .filter-group input {
    background-color: #ffffff;
    background-image: none;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .filters-container--featured .filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232563eb' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 12px;
}

[data-theme="light"] .modal {
    background: rgba(15, 23, 42, 0.35);
}

[data-theme="light"] .modal-content {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(13, 148, 136, 0.2);
    box-shadow: var(--shadow-form), 0 24px 80px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .close-modal {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
}

[data-theme="light"] .cart-panel,
[data-theme="light"] .checkout-modal-content {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .trust-bar .trust-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero-carousel-wrap::after {
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.15) 100%);
}

[data-theme="light"] .carousel-dot {
    background: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .carousel-dot.active {
    background: var(--accent);
}

[data-theme="light"] .btn-add-cart {
    color: #fff;
}

[data-theme="light"] .modal-content [style*="color:#8aa9ff"],
[data-theme="light"] .modal-content [style*="color:#bbd4ff"],
[data-theme="light"] .modal-content [style*="color:#6c8dcf"],
[data-theme="light"] .account-panel [style*="color:#8aa9ff"],
[data-theme="light"] .account-panel [style*="color:#6c8dcf"] {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .support-chat-float-btn {
    color: #fff;
}

[data-theme="light"] .notification-toast {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo claro Ã¢â‚¬â€ textos, botones y modales legibles Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #0f172a 15%, #0d9488 55%, #4338ca 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .logo-shop {
    color: var(--text-secondary);
}

[data-theme="light"] .filters-header-icon {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    color: #1d4ed8;
}

[data-theme="light"] .filters-title {
    color: #0f172a;
}

[data-theme="light"] .filters-desc {
    color: var(--text-muted);
}

[data-theme="light"] .filters-container .filter-group label {
    color: #1d4ed8;
}

[data-theme="light"] .filters-container .filter-group select,
[data-theme="light"] .filters-container .filter-group input {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--input-border);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .filters-container .filter-group input {
    background-image: none;
}

[data-theme="light"] .filters-container .filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2304846e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 12px;
}

[data-theme="light"] .filters-container .filter-group select:hover,
[data-theme="light"] .filters-container .filter-group input:hover {
    background-color: var(--bg-input-hover);
    border-color: var(--border-focus);
    color: var(--text-primary);
}

[data-theme="light"] .filters-container .filter-group select:focus,
[data-theme="light"] .filters-container .filter-group input:focus {
    background-color: var(--bg-input-hover);
    color: var(--text-primary);
    box-shadow:
        0 0 0 3px rgba(13, 148, 136, 0.15),
        inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .filters-container .filter-group select option {
    background-color: #ffffff;
    color: #0f172a;
}

[data-theme="light"] .filters-container .filter-group input::placeholder {
    color: var(--input-placeholder);
}

[data-theme="light"] .filters-container .input-wrap .input-icon {
    color: var(--text-muted);
}

[data-theme="light"] .filters-container .input-wrap:focus-within .input-icon {
    color: var(--accent);
}

/* Auth modal Ã¢â‚¬â€ modo White */
[data-theme="light"] #authModal.modal-auth-overlay {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] #authModal .modal-auth-glass {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow:
        0 28px 72px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] #authModal .auth-glass-orb {
    opacity: 0.15;
}

[data-theme="light"] #authModal .close-modal-glass,
[data-theme="light"] #paymentModal .close-modal-glass,
[data-theme="light"] #accountModal .close-modal-glass,
[data-theme="light"] #productModal .close-modal-glass,
[data-theme="light"] .cart-sidebar-close,
[data-theme="light"] .checkout-notice-close-btn,
[data-theme="light"] .support-chat-close-btn,
[data-theme="light"] .admin-notice-close-btn,
[data-theme="light"] .modal-content .close-modal-glass {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(15, 23, 42, 0.16);
    color: #0f172a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 14px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] #authModal .close-modal-glass:hover,
[data-theme="light"] #paymentModal .close-modal-glass:hover,
[data-theme="light"] #accountModal .close-modal-glass:hover,
[data-theme="light"] #productModal .close-modal-glass:hover,
[data-theme="light"] .cart-sidebar-close:hover,
[data-theme="light"] .checkout-notice-close-btn:hover,
[data-theme="light"] .support-chat-close-btn:hover,
[data-theme="light"] .admin-notice-close-btn:hover,
[data-theme="light"] .modal-content .close-modal-glass:hover {
    background: linear-gradient(145deg, #f87171 0%, #ef4444 48%, #dc2626 100%);
    border-color: rgba(254, 202, 202, 0.75);
    color: #ffffff;
    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.22),
        0 10px 26px rgba(239, 68, 68, 0.38);
}

[data-theme="light"] .modal-auth-body,
[data-theme="light"] .modal-account-body {
    scrollbar-color: #0d9488 #e2e8f0;
}

[data-theme="light"] .modal-auth-body::-webkit-scrollbar-track,
[data-theme="light"] .modal-account-body::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .modal-auth-body::-webkit-scrollbar-thumb,
[data-theme="light"] .modal-account-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488 0%, #4f46e5 100%);
    border-color: #f1f5f9;
}

[data-theme="light"] .modal-auth-body::-webkit-scrollbar-thumb:hover,
[data-theme="light"] .modal-account-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0f766e 0%, #4338ca 100%);
}

[data-theme="light"] #authModal .auth-glass-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 52%, #faf5ff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-right: 3.85rem;
}

[data-theme="light"] #authModal .auth-glass-header h2 {
    color: #0f172a;
}

[data-theme="light"] #authModal .auth-brand-accent {
    background: linear-gradient(120deg, #0d9488 0%, #2563eb 48%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] #authModal .auth-glass-header p {
    color: #475569;
    font-weight: 500;
}

[data-theme="light"] #authModal .auth-tabs {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] #authModal .auth-tab {
    color: #475569;
    font-weight: 700;
}

[data-theme="light"] #authModal .auth-tab:hover:not(.active) {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] #authModal .auth-tab.active {
    color: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
}

[data-theme="light"] #authModal .auth-form,
[data-theme="light"] #authModal .form-grid {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

[data-theme="light"] #authModal .ui-section-title h3 {
    color: #0f172a;
}

[data-theme="light"] #authModal .filter-group label {
    color: #0f766e;
    font-weight: 800;
}

[data-theme="light"] #authModal .filter-group label i {
    color: #4f46e5;
}

[data-theme="light"] #authModal .field-label-note {
    color: #64748b;
    opacity: 1;
}

[data-theme="light"] #authModal .filter-group input,
[data-theme="light"] #authModal .input-wrap input,
[data-theme="light"] #authModal .form-grid input,
[data-theme="light"] #authModal .form-grid select {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    color: #0f172a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] #authModal .filter-group input::placeholder,
[data-theme="light"] #authModal .form-grid input::placeholder {
    color: #64748b;
}

[data-theme="light"] #authModal .filter-group input:focus,
[data-theme="light"] #authModal .input-wrap input:focus,
[data-theme="light"] #authModal .form-grid input:focus,
[data-theme="light"] #authModal .form-grid select:focus {
    border-color: #0d9488;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

[data-theme="light"] #authModal .btn-primary {
    color: #ffffff;
    background: var(--gradient-auth-btn);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.34);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

[data-theme="light"] #authModal .btn-primary:hover {
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.38);
}

[data-theme="light"] #authModal .auth-glass-trust .auth-trust-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] #authModal .auth-glass-trust .auth-trust-card:hover {
    background: #f8fafc;
    border-color: rgba(13, 148, 136, 0.28);
}

[data-theme="light"] #authModal .auth-trust-title {
    color: #0f172a;
    font-weight: 700;
}

[data-theme="light"] #authModal .auth-trust-desc {
    color: #64748b;
}

[data-theme="light"] .auth-register-badge {
    filter: none;
    opacity: 1;
}

[data-theme="light"] .auth-form-actions {
    border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .auth-cancel-btn {
    color: #334155;
    background: #f1f5f9;
    border: 2px solid rgba(15, 23, 42, 0.18);
    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .auth-cancel-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #f87171 0%, #ef4444 55%, #dc2626 100%);
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.2),
        0 10px 24px rgba(239, 68, 68, 0.32);
}

[data-theme="light"] .auth-verify-pending {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .auth-verify-pending h3 {
    color: #0f172a;
}

[data-theme="light"] .auth-verify-pending p {
    color: #475569;
}

[data-theme="light"] .auth-verify-pending-email {
    color: #0d9488;
}

[data-theme="light"] .auth-verify-pending-note {
    color: #047857;
}

[data-theme="light"] .auth-resend-btn {
    border-color: rgba(13, 148, 136, 0.45);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 0 18px rgba(13, 148, 136, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .auth-resend-btn::after {
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(13, 148, 136, 0.06) 35%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(13, 148, 136, 0.06) 65%,
        transparent 100%
    );
}

[data-theme="light"] .auth-resend-btn:hover {
    border-color: rgba(13, 148, 136, 0.6);
    box-shadow:
        0 0 24px rgba(13, 148, 136, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .auth-forgot-link,
[data-theme="light"] .auth-back-login-link {
    color: #2563eb;
}

[data-theme="light"] .auth-forgot-link:hover,
[data-theme="light"] .auth-back-login-link:hover {
    color: #1d4ed8;
}

[data-theme="light"] .auth-panel-forgot .auth-forgot-intro,
[data-theme="light"] .auth-forgot-success p {
    color: #475569;
}

[data-theme="light"] .auth-forgot-success h3 {
    color: #0f172a;
}

[data-theme="light"] .reset-password-body {
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(79, 70, 229, 0.08), transparent 55%),
        radial-gradient(ellipse 80% 60% at 100% 50%, rgba(13, 148, 136, 0.06), transparent 50%),
        #f1f5f9;
}

[data-theme="light"] .reset-password-glass {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .reset-password-orb {
    opacity: 0.35;
}

[data-theme="light"] .reset-password-header {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .reset-password-header h1,
[data-theme="light"] .reset-password-result h2 {
    color: #0f172a;
}

[data-theme="light"] .reset-password-header p {
    color: #64748b;
}

[data-theme="light"] .reset-password-intro,
[data-theme="light"] .reset-password-result p {
    color: #475569;
}

[data-theme="light"] .reset-password-email {
    color: #0d9488;
}

[data-theme="light"] .reset-password-input-wrap input {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

[data-theme="light"] .reset-password-input-wrap input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .reset-password-trust {
    border-top-color: rgba(15, 23, 42, 0.08);
    color: #64748b;
}

[data-theme="light"] .reset-password-submit-secondary {
    border-color: rgba(15, 23, 42, 0.15);
    color: #334155;
}

/* Checkout modal Ã¢â‚¬â€ modo White */
[data-theme="light"] #paymentModal.modal-checkout-overlay {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] #paymentModal .checkout-modal-glass {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] #paymentModal .auth-glass-orb {
    opacity: 0.12;
}

[data-theme="light"] #paymentModal .checkout-glass-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 52%, #faf5ff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-right: 3.85rem;
}

[data-theme="light"] #paymentModal .checkout-glass-header h2 {
    color: #0f172a;
}

[data-theme="light"] #paymentModal .checkout-glass-header p {
    color: #475569;
}

[data-theme="light"] #paymentModal .checkout-summary-panel {
    background: #f8fafc;
    border-right-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] #paymentModal .checkout-summary-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] #paymentModal .checkout-summary-card h3,
[data-theme="light"] #paymentModal .checkout-section-title h3 {
    color: #0f172a;
}

[data-theme="light"] #paymentModal .checkout-total-amount {
    background: linear-gradient(120deg, #b45309 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] #paymentModal .checkout-trust-seal-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] #paymentModal .checkout-trust-seals-title {
    color: #334155;
}

[data-theme="light"] #paymentModal .checkout-trust-seal-card strong {
    color: #0f172a;
}

[data-theme="light"] #paymentModal .checkout-trust-seal-card span {
    color: #64748b;
}

[data-theme="light"] #paymentModal .checkout-form-grid {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] #paymentModal .filter-group label {
    color: #0f766e;
    font-weight: 800;
}

[data-theme="light"] #paymentModal .filter-group label i {
    color: #4f46e5;
}

[data-theme="light"] #paymentModal .filter-group input {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

[data-theme="light"] #paymentModal .filter-group input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

[data-theme="light"] #paymentModal .payment-provider-tabs {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] #paymentModal .payment-provider-tab {
    color: #475569;
}

[data-theme="light"] #paymentModal .payment-provider-tab.active {
    color: #ffffff;
}

[data-theme="light"] #paymentModal .mp-payment-card,
[data-theme="light"] #paymentModal .paypal-payment-card {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] #paymentModal .checkout-legal,
[data-theme="light"] #paymentModal .checkout-legal-note,
[data-theme="light"] #paymentModal .checkout-login-note {
    color: #475569;
}

[data-theme="light"] #paymentModal .checkout-pay-footer {
    background: transparent;
    border-top-color: #e2e8f0;
}

[data-theme="light"] #paymentModal .checkout-pay-footer .btn-checkout-cancel {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] #paymentModal .checkout-pay-footer .btn-checkout-cancel:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

[data-theme="light"] #paymentModal .checkout-cancel-hint {
    color: #64748b;
}

[data-theme="light"] #paymentModal .checkout-legal-block {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] #paymentModal .checkout-legal-note i {
    color: #0f766e;
}

[data-theme="light"] #paymentModal .checkout-legal a {
    color: #0f766e;
}

[data-theme="light"] #paymentModal .btn-mp-checkout {
    color: #ffffff;
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.34);
}

[data-theme="light"] #paymentModal .checkout-form-scroll,
[data-theme="light"] #paymentModal .checkout-layout {
    scrollbar-color: #0d9488 #e2e8f0;
}

[data-theme="light"] #paymentModal .checkout-form-scroll::-webkit-scrollbar-track,
[data-theme="light"] #paymentModal .checkout-layout::-webkit-scrollbar-track {
    background: #e2e8f0;
}

[data-theme="light"] #paymentModal .checkout-form-scroll::-webkit-scrollbar-thumb,
[data-theme="light"] #paymentModal .checkout-layout::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488 0%, #4f46e5 100%);
}

/* Cuenta, carrito y ubicaciÃƒÂ³n Ã¢â‚¬â€ modo White */
[data-theme="light"] .modal-account .ui-panel-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 100%);
}

[data-theme="light"] .modal .form-grid,
[data-theme="light"] .modal .auth-form {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .modal .form-grid input,
[data-theme="light"] .modal .form-grid select,
[data-theme="light"] .modal .auth-form input {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

[data-theme="light"] .modal .filter-group label {
    color: #0f766e;
}

[data-theme="light"] .stock-coordination-dialog {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .stock-coordination-dialog h3 {
    color: #0f172a;
}

[data-theme="light"] .stock-coordination-message {
    color: #475569;
}

[data-theme="light"] .shipping-state-field label {
    color: #0f766e;
}

[data-theme="light"] .shipping-state-field select,
[data-theme="light"] .shipping-state-field input {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

[data-theme="light"] .cart-sidebar-glass {
    background: #ffffff;
    border-left-color: rgba(15, 23, 42, 0.1);
    box-shadow: -12px 0 48px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .cart-glass-orb {
    opacity: 0.08;
}

[data-theme="light"] .detail-desc,
[data-theme="light"] .spec-item,
[data-theme="light"] .features-list li,
[data-theme="light"] .resource-link,
[data-theme="light"] .related-card {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
    color: var(--text-secondary);
}

[data-theme="light"] .detail-main-img {
    background: #f8fafc;
}

[data-theme="light"] .detail-tab {
    color: #475569;
    border-color: rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

[data-theme="light"] .detail-tab.active {
    color: #ffffff;
}

[data-theme="light"] .detail-tab:hover:not(.active) {
    color: #0f172a;
    border-color: rgba(13, 148, 136, 0.35);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ carrito lateral Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .cart-panel-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 52%, #faf5ff 100%);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .cart-panel-header h3 {
    color: #0f172a;
}

[data-theme="light"] .cart-panel-header p {
    color: #475569;
    font-weight: 500;
}

[data-theme="light"] .cart-panel-badge {
    border-color: #ffffff;
}

[data-theme="light"] .cart-empty {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .cart-empty-icon {
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.12), rgba(167, 139, 250, 0.14));
    border-color: rgba(15, 23, 42, 0.08);
    color: #db2777;
}

[data-theme="light"] .cart-empty h4 {
    color: #0f172a;
}

[data-theme="light"] .cart-empty p {
    color: #64748b;
}

[data-theme="light"] .cart-item-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .cart-item-card:hover {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .cart-item-title {
    color: #0f172a;
}

[data-theme="light"] .cart-item-line-total {
    color: #b45309;
    text-shadow: none;
}

[data-theme="light"] .cart-item-unit {
    color: #64748b;
}

[data-theme="light"] .cart-item-thumb {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .cart-qty-control {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .cart-qty-btn {
    color: #334155;
}

[data-theme="light"] .cart-qty-btn:hover {
    background: rgba(13, 148, 136, 0.12);
    color: #0f172a;
}

[data-theme="light"] .cart-qty-value {
    color: #0f172a;
}

[data-theme="light"] .cart-remove-btn {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.22);
}

[data-theme="light"] .cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.14);
    color: #991b1b;
}

[data-theme="light"] .cart-footer {
    border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .cart-total-breakdown {
    background: #f8fafc;
    border-color: rgba(180, 83, 9, 0.25);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .cart-total-row {
    color: #334155;
}

[data-theme="light"] .cart-total-row.muted {
    color: #64748b;
}

[data-theme="light"] .cart-total-row.final {
    color: #b45309;
    border-top-color: rgba(180, 83, 9, 0.22);
    text-shadow: none;
}

[data-theme="light"] .cart-items {
    scrollbar-color: #0d9488 #e2e8f0;
}

[data-theme="light"] .cart-items::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488 0%, #4f46e5 100%);
    border-color: #f1f5f9;
}

[data-theme="light"] .cart-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0f766e 0%, #4338ca 100%);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ modal cuenta Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] #accountModal .modal-account {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] #accountModal .ui-panel-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-right: 3.85rem;
}

[data-theme="light"] #accountModal .ui-panel-header h2 {
    color: #0f172a;
}

[data-theme="light"] #accountModal .ui-panel-header p {
    color: #475569;
}

[data-theme="light"] .account-section {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .account-section h3,
[data-theme="light"] .account-section .ui-section-title h3 {
    color: #0f172a;
}

[data-theme="light"] .payment-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
}

[data-theme="light"] .payment-card.default {
    border-color: rgba(5, 150, 105, 0.45);
    background: rgba(16, 185, 129, 0.06);
}

[data-theme="light"] .payment-trust-banner {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 100%);
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .payment-trust-heading {
    color: #0f172a;
}

[data-theme="light"] .payment-trust-ssl-badge {
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
}

[data-theme="light"] .order-folio-label {
    color: #2563eb;
}

[data-theme="light"] .order-folio-value {
    color: #1d4ed8;
}

[data-theme="light"] .folio-status-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .folio-status-header {
    color: #0f172a;
}

[data-theme="light"] .folio-status-grid span {
    color: #64748b;
}

[data-theme="light"] .folio-status-grid strong {
    color: #0f172a;
}

[data-theme="light"] .orders-folio-search {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .orders-folio-search input {
    color: #0f172a;
}

[data-theme="light"] .ui-tab-bar .ui-tab {
    color: #475569;
    border-color: rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

[data-theme="light"] .ui-tab-bar .ui-tab:hover:not(.active) {
    color: #0f172a;
    border-color: rgba(13, 148, 136, 0.35);
}

[data-theme="light"] .ui-tab-bar .ui-tab.active {
    color: #ffffff;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ confirmaciÃƒÂ³n perfil Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .profile-confirm-modal {
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .profile-confirm-dialog {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .profile-confirm-dialog h3 {
    color: #0f172a;
}

[data-theme="light"] .profile-confirm-dialog p {
    color: #475569;
}

[data-theme="light"] .profile-confirm-icon {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
    border-color: rgba(13, 148, 136, 0.28);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ aviso checkout Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .checkout-notice-overlay {
    background: rgba(15, 23, 42, 0.42);
}

[data-theme="light"] .checkout-notice-dialog {
    background: #ffffff;
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .checkout-notice-overlay.is-success .checkout-notice-dialog {
    border-color: rgba(5, 150, 105, 0.35);
}

[data-theme="light"] .checkout-notice-title {
    color: #0f172a;
}

[data-theme="light"] .checkout-notice-message {
    color: #475569;
}

[data-theme="light"] .checkout-notice-folio {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .checkout-notice-folio-label {
    color: #2563eb;
}

[data-theme="light"] .checkout-notice-folio-value {
    color: #0f172a;
}

[data-theme="light"] .checkout-notice-folio-hint {
    color: #64748b;
}

[data-theme="light"] .checkout-notice-list {
    border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .checkout-notice-list li {
    color: #334155;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ chat soporte Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .support-chat-panel {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] .support-chat-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 100%);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .support-chat-header h3 {
    color: #0f172a;
}

[data-theme="light"] .support-chat-header p {
    color: #64748b;
}

[data-theme="light"] .support-hours-notice-overlay {
    background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .support-hours-notice-dialog {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(217, 119, 6, 0.28);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .support-hours-notice-title {
    color: #92400e;
}

[data-theme="light"] .support-hours-notice-message {
    color: #475569;
}

[data-theme="light"] .support-hours-notice-icon {
    color: #d97706;
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .support-chat-messages {
    background: #f8fafc;
    scrollbar-color: #0d9488 #e2e8f0;
}

[data-theme="light"] .support-chat-messages::-webkit-scrollbar-track {
    background: #e2e8f0;
}

[data-theme="light"] .support-chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488 0%, #4f46e5 100%);
}

[data-theme="light"] .support-chat-bubble-agent {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .support-chat-bubble-agent.support-chat-bubble-welcome {
    background: #ffffff;
    border-color: rgba(13, 148, 136, 0.22);
}

[data-theme="light"] .support-chat-bubble-user {
    background: #0d9488;
    color: #ffffff;
}

[data-theme="light"] .support-chat-compose {
    background: #ffffff;
    border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .support-chat-user-bar {
    color: #475569;
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .support-chat-compose input[type="text"],
[data-theme="light"] .support-chat-guest-fields input,
[data-theme="light"] .support-chat-compose textarea {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

[data-theme="light"] .support-chat-topic {
    color: #64748b;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .support-chat-topic.active {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.35);
    color: #4338ca;
}

[data-theme="light"] .support-chat-login-prompt {
    background: #f8fafc;
    color: #475569;
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .support-chat-attachment-chip {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
}

[data-theme="light"] .support-chat-attach-btn {
    color: #475569;
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .support-chat-attach-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ menÃƒÂº usuario Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .nav-user-dropdown {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] .nav-user-dropdown-copy strong {
    color: #0f172a;
}

[data-theme="light"] .nav-user-dropdown-copy small {
    color: #64748b;
}

[data-theme="light"] .nav-user-dropdown-item:hover {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.22);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .nav-user-dropdown-icon-profile {
    background: rgba(79, 70, 229, 0.12);
    color: #4338ca;
}

[data-theme="light"] .nav-user-dropdown-icon-orders {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

[data-theme="light"] .nav-user-dropdown-icon-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

[data-theme="light"] .nav-user-dropdown-divider {
    background: rgba(15, 23, 42, 0.08);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Modo White Ã¢â‚¬â€ banners, producto y checkout result Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="light"] .ui-info-banner {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.22);
    color: #334155;
}

[data-theme="light"] .ui-info-banner > i:first-child {
    color: #2563eb;
}

[data-theme="light"] .ui-info-banner.is-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .ui-info-banner.is-warning > i:first-child {
    color: #b45309;
}

[data-theme="light"] #productModal .modal-detail {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .modal-detail .detail-title,
[data-theme="light"] .modal-detail .detail-price-block .price-main {
    color: #0f172a;
}

[data-theme="light"] .checkout-result-card {
    box-shadow: var(--shadow-form), 0 24px 64px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .checkout-result-card .ui-panel-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .checkout-result-card .ui-panel-header h2 {
    color: #0f172a;
}

[data-theme="light"] .checkout-result-card .ui-panel-header p {
    color: #475569;
}

[data-theme="light"] .checkout-result-folio {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .checkout-result-folio span {
    color: #2563eb;
}

[data-theme="light"] .checkout-result-folio strong {
    color: #0f172a;
}

[data-theme="light"] .checkout-result-folio small {
    color: #64748b;
}

[data-theme="light"] .checkout-result-meta {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .mp-payment-card,
[data-theme="light"] .paypal-payment-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .mp-payment-card-header,
[data-theme="light"] .paypal-payment-card {
    color: #0f172a;
}

[data-theme="light"] .stock-coordination-overlay {
    background: rgba(15, 23, 42, 0.42);
}

[data-theme="light"] .loading p {
    color: #64748b;
}

@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }

    .theme-toggle {
        padding: 0.3rem 0.45rem 0.3rem 0.35rem;
    }

    .theme-toggle-label {
        font-size: 0.65rem;
        min-width: 2.2rem;
    }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   Visual polish Ã¢â‚¬â€ storefront clarity (Horizons-inspired)
   CSS-only: no JS / API / checkout changes
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

:root {
    --radius-store: 1.15rem;
    --surface-clean: rgba(15, 23, 42, 0.55);
    --shadow-store: 0 10px 36px rgba(2, 6, 23, 0.28);
    --shadow-store-hover: 0 18px 44px rgba(2, 6, 23, 0.35);
}

[data-theme="light"] {
    --surface-clean: #ffffff;
    --shadow-store: 0 10px 32px rgba(15, 23, 42, 0.07);
    --shadow-store-hover: 0 20px 48px rgba(15, 23, 42, 0.12);
}

/* Hero: fuller bleed, cleaner frame */
.hero-section {
    padding: 0.75rem clamp(0.75rem, 2.5vw, 1.5rem) 0;
}

.hero-carousel-wrap {
    border-radius: clamp(1rem, 2.5vw, 1.6rem);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-store);
}

.carousel-content {
    padding: clamp(1.25rem, 4vw, 3.25rem) clamp(1.1rem, 5vw, 4.5rem);
}

.carousel-cta {
    border-radius: 0.85rem;
    padding: 0.85rem 1.45rem;
}

.hero-seo-title,
.hero-seo-lead {
    padding-left: clamp(0.85rem, 3vw, 1.5rem);
    padding-right: clamp(0.85rem, 3vw, 1.5rem);
}

.hero-seo-title {
    margin-top: clamp(1.15rem, 3vw, 1.75rem);
    letter-spacing: -0.03em;
}

.hero-seo-lead {
    max-width: 52rem;
    color: var(--text-secondary);
}

/* Trust bar: quieter cards, clearer on all devices */
.trust-bar {
    gap: clamp(0.75rem, 2vw, 1.15rem);
    margin-top: clamp(1.1rem, 3vw, 1.65rem);
    padding: 0 clamp(0.75rem, 2.5vw, 0);
}

.trust-item {
    border-radius: var(--radius-store);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow-store);
    min-height: 88px;
}

.trust-item:hover {
    transform: translateY(-3px);
}

/* Shop section spacing */
section.shop-section {
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(0.85rem, 3vw, 1.75rem) clamp(2rem, 5vw, 3.5rem);
}

.section-header {
    margin-bottom: clamp(1.15rem, 3vw, 1.75rem);
    gap: 0.65rem;
}

.section-title {
    letter-spacing: -0.035em;
}

.section-subtitle {
    opacity: 0.92;
}

/* Filters: clean panel like modern storefronts */
.filters-container,
.filters-container--featured {
    border-radius: var(--radius-store);
    box-shadow: var(--shadow-store);
}

.filters-container--featured {
    padding: clamp(1.1rem, 2.8vw, 1.55rem);
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.filters-container--featured::before,
.filters-container--featured::after {
    opacity: 0.45;
}

.filters-grid {
    gap: clamp(0.85rem, 2vw, 1.15rem);
}

.filter-group label {
    letter-spacing: 0.04em;
    font-size: 0.72rem;
}

.filter-group select,
.filter-group input {
    border-radius: 0.85rem;
    min-height: 3rem;
}

/* Product grid: adaptive columns phone Ã¢â€ â€™ tablet Ã¢â€ â€™ laptop */
.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: clamp(0.9rem, 2.2vw, 1.35rem);
}

.product-card {
    border-radius: var(--radius-store);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: var(--shadow-store);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-store-hover);
}

.product-price {
    color: var(--price);
    text-shadow: none;
}

.btn-add-cart {
    background-color: #0d9488;
    background-image: linear-gradient(90deg, #14b8a6 0%, #2563eb 55%, #6366f1 100%);
    color: #ffffff;
}

.product-card-media {
    min-height: clamp(170px, 28vw, 220px);
    padding: clamp(0.85rem, 2vw, 1.2rem) clamp(0.85rem, 2vw, 1.2rem) 0.7rem;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.product-img {
    height: clamp(140px, 24vw, 190px);
}

.product-card-body {
    padding: 0.95rem 1rem 0.55rem;
    gap: 0.4rem;
}

.product-title {
    font-size: clamp(0.88rem, 1.5vw, 0.98rem);
    line-height: 1.35;
}

.product-card-footer {
    padding: 0 1rem 1rem;
    gap: 0.7rem;
}

.product-price-block {
    border-radius: 0.85rem;
    padding: 0.75rem 0.9rem;
    background: rgba(2, 6, 23, 0.35);
    border-color: rgba(148, 163, 184, 0.12);
}

.product-price {
    font-size: clamp(1.15rem, 2.4vw, 1.32rem);
}

.btn-add-cart {
    border-radius: 0.85rem;
    min-height: 2.75rem;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.22);
}

.btn-add-cart:hover:not(:disabled) {
    transform: translateY(-1px);
}

/* Light theme storefront surfaces */
[data-theme="light"] .hero-carousel-wrap {
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .trust-item,
[data-theme="light"] .filters-container,
[data-theme="light"] .filters-container--featured,
[data-theme="light"] .product-card {
    background: var(--surface-clean);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-store);
}

[data-theme="light"] .filters-container--featured {
    background: linear-gradient(165deg, #ffffff 0%, #f4f7fb 100%);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 36px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .product-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] .filters-container,
[data-theme="light"] .filters-container--featured {
    background: linear-gradient(165deg, #ffffff 0%, #f4f7fb 100%);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 36px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .product-price-block {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .product-category-chip {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.22);
}

[data-theme="light"] .carousel-content p {
    color: var(--carousel-text, #ffffff);
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .hero-carousel-wrap {
        min-height: 240px;
        height: clamp(240px, 33vw, 345px);
    }

    .trust-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-group-search {
        grid-column: 1 / -1;
    }
}

/* Phones */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .product-card-body {
        padding: 0.7rem 0.7rem 0.4rem;
    }

    .product-card-footer {
        padding: 0 0.7rem 0.75rem;
    }

    .product-price-block {
        padding: 0.55rem 0.65rem;
    }

    .product-title {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .product-model {
        font-size: 0.68rem;
    }

    .product-price {
        font-size: 1.05rem;
    }

    .product-price-label,
    .price-iva-note {
        font-size: 0.58rem;
    }

    .btn-add-cart {
        min-height: 44px;
        font-size: 0.78rem;
        padding: 0.65rem 0.55rem;
        gap: 0.35rem;
    }

    .product-category-chip {
        font-size: 0.58rem;
        padding: 0.2rem 0.45rem;
    }

    .filters-container--featured {
        padding: 1rem;
    }

    .hero-seo-title {
        font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    }

    .hero-seo-lead {
        font-size: 0.9rem;
    }
}

/* Very small phones: single column for readability */
@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 170px;
    }

    .product-card-media {
        min-height: 190px;
    }
}

/* Large desktops: comfortable max density */
@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        gap: 1.35rem;
    }

    .nav-container,
    .hero-seo-title,
    .hero-seo-lead,
    .trust-bar {
        max-width: 1440px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .trust-item,
    .btn-add-cart,
    .carousel-cta {
        transition: none;
    }

    .product-card:hover,
    .trust-item:hover,
    .btn-add-cart:hover:not(:disabled) {
        transform: none;
    }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   Ficha de producto + Checkout Ã¢â‚¬â€ polish visual (CSS only)
   No cambia JS, pagos, ni embeds de video
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* Product detail modal shell */
.modal-content.modal-detail {
    border-radius: var(--radius-store, 1.15rem);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-store, 0 10px 36px rgba(2, 6, 23, 0.28));
    padding: clamp(1.15rem, 3vw, 2rem);
    max-height: min(94vh, 940px);
}

.modal-content.modal-detail .close-modal {
    top: 0.85rem;
    right: 0.85rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.55);
}

.detail-header {
    gap: clamp(1.1rem, 3vw, 2rem);
    margin-bottom: clamp(1.1rem, 2.5vw, 1.65rem);
    align-items: flex-start;
}

.detail-gallery {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: var(--radius-store, 1.15rem);
    padding: clamp(0.75rem, 2vw, 1.1rem);
}

.detail-main-img {
    max-height: clamp(240px, 42vw, 380px);
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 0.9rem;
    border-color: rgba(148, 163, 184, 0.14);
    padding: 0.65rem;
}

.detail-thumbs {
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.detail-thumb {
    width: 64px;
    height: 64px;
    border-radius: 0.7rem;
    background: #f8fafc;
    border: 2px solid rgba(148, 163, 184, 0.22);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.detail-thumb:hover {
    transform: translateY(-1px);
    border-color: rgba(45, 212, 191, 0.55);
}

.detail-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.detail-info h2,
.detail-info .detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.6vw, 1.65rem);
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0.15rem 0 0.35rem;
}

.detail-brand {
    margin-bottom: 0.25rem;
}

.detail-price {
    margin: 0.75rem 0;
    padding: 0.95rem 1.05rem;
    border-radius: 0.9rem;
    background: rgba(2, 6, 23, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.14);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.detail-tabs {
    gap: 0.45rem;
    margin: 1.25rem 0 0.95rem;
    padding-bottom: 0.65rem;
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

.detail-tab {
    border-radius: 0.75rem;
    padding: 0.55rem 0.95rem;
    min-height: 2.5rem;
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(148, 163, 184, 0.18);
}

.detail-tab:hover:not(.active) {
    border-color: rgba(45, 212, 191, 0.4);
    color: var(--text-primary);
}

.detail-tab.active {
    background: var(--gradient-btn);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.22);
}

.detail-panel.active {
    animation: detailPanelIn 0.28s ease;
}

@keyframes detailPanelIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-desc {
    border-radius: var(--radius-store, 1.15rem);
    padding: clamp(0.9rem, 2.2vw, 1.25rem);
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.28);
}

/* Preserve video playback area Ã¢â‚¬â€ do not hide or zero-size iframes */
.detail-desc iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    width: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0.85rem;
    background: #0f172a;
}

.detail-desc img,
.detail-desc video {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.spec-item,
.features-list li,
.resource-link,
.related-card {
    border-radius: 0.85rem;
    border-color: rgba(148, 163, 184, 0.14);
}

.related-grid {
    gap: 0.95rem;
}

.related-card {
    padding: 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    box-shadow: var(--shadow-store, 0 10px 28px rgba(2, 6, 23, 0.25));
}

/* Checkout polish */
.checkout-modal,
.checkout-modal-glass {
    border-radius: var(--radius-store, 1.15rem) !important;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow-store-hover, 0 18px 44px rgba(2, 6, 23, 0.35));
    overflow: hidden;
}

.checkout-header {
    padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.8vw, 1.75rem);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-bottom-color: rgba(148, 163, 184, 0.14);
}

.checkout-header-icon {
    border-radius: 0.9rem;
    width: 3rem;
    height: 3rem;
}

.checkout-header h2 {
    letter-spacing: -0.02em;
    font-size: clamp(1.15rem, 2.4vw, 1.35rem);
}

.checkout-summary-panel {
    background: rgba(2, 6, 23, 0.32);
    border-right-color: rgba(148, 163, 184, 0.14);
    padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.8vw, 1.75rem);
}

.checkout-form-panel {
    padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.8vw, 1.75rem) 0;
}

.checkout-summary-card,
.checkout-step {
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.35);
    box-shadow: none;
}

.checkout-summary-card {
    padding: 1rem 1.05rem;
}

.checkout-item {
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.checkout-item-info img {
    border-radius: 0.65rem;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.checkout-summary-total-row {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.22);
}

.checkout-total-amount {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.checkout-section-title h3 {
    letter-spacing: -0.02em;
}

.checkout-form-panel input,
.checkout-form-panel select,
.checkout-form-panel textarea,
.checkout-form-panel .form-grid input,
.checkout-form-panel .form-grid select {
    border-radius: 0.8rem;
    min-height: 2.75rem;
}

.checkout-pay-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.28);
    padding: 1rem clamp(1.1rem, 2.8vw, 1.75rem) 1.15rem;
}

.checkout-pay-footer .btn-mp-checkout,
.checkout-pay-footer button[type="submit"],
.checkout-pay-footer .btn-conekta-pay,
#paymentModal button[type="submit"] {
    border-radius: 0.85rem;
    min-height: 2.85rem;
}

.checkout-trust-seal-card {
    border-radius: 0.85rem;
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.28);
}

/* Light theme */
[data-theme="light"] .modal-content.modal-detail {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-store-hover, 0 20px 48px rgba(15, 23, 42, 0.12));
}

[data-theme="light"] .modal-content.modal-detail .close-modal {
    background: #f1f5f9;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .detail-gallery {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .detail-main-img {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .detail-thumb {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .detail-price {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .detail-tab {
    background: #ffffff;
    color: #475569;
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .detail-tab.active {
    color: #ffffff;
}

[data-theme="light"] .detail-desc {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #334155;
}

[data-theme="light"] .checkout-modal,
[data-theme="light"] .checkout-modal-glass {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .checkout-header {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .checkout-summary-panel {
    background: #f8fafc;
    border-right-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .checkout-summary-card,
[data-theme="light"] .checkout-step,
[data-theme="light"] .checkout-trust-seal-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .checkout-pay-footer {
    background: #f8fafc;
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .checkout-item-info img {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}

/* Responsive: tablet + phone */
@media (max-width: 1024px) {
    .modal-content.modal-detail {
        max-width: calc(100% - 1.25rem);
        max-height: 94vh;
    }

    .detail-header {
        flex-direction: column;
    }

    .detail-gallery,
    .detail-info {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .modal-content.modal-detail {
        padding: 1rem 0.9rem 1.15rem;
        border-radius: 1rem;
        max-height: 96dvh;
    }

    .detail-main-img {
        max-height: 260px;
    }

    .detail-thumb {
        width: 56px;
        height: 56px;
    }

    .detail-tabs {
        gap: 0.35rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.55rem;
        scrollbar-width: thin;
    }

    .detail-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .detail-price {
        font-size: 1.35rem;
        padding: 0.8rem 0.9rem;
    }

    .detail-desc iframe {
        min-height: 200px;
    }

    .checkout-modal {
        width: calc(100% - 0.75rem) !important;
        max-height: 96dvh;
        overflow: auto;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-panel {
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    }

    .checkout-header,
    .checkout-summary-panel,
    .checkout-form-panel {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .checkout-pay-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .checkout-form-panel input,
    .checkout-form-panel select {
        font-size: 16px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-panel.active {
        animation: none;
    }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   Cross-browser parity (Edge / Chrome / Firefox)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* fixed backgrounds can desync paints in Chromium/Firefox */
    background-attachment: scroll;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.filter-group select,
.form-grid select,
.filters-container select,
.checkout-form-panel select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
}

.filter-group input,
.form-grid input,
.filters-container input,
.checkout-form-panel input,
.checkout-form-panel textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
}

/* Gradient text: Edge/Chrome/Firefox */
.logo-altaris,
.section-title,
.filters-container--featured .filters-title {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Keep line-clamp consistent */
.product-title,
.carousel-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Firefox: denser header surface when blur paints differently */
@supports (-moz-appearance: none) {
    .header {
        background-color: rgba(6, 8, 15, 0.92);
    }

    [data-theme="light"] .header {
        background-color: rgba(255, 255, 255, 0.94);
    }
}

/* Prefer solid fallbacks if blur unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header {
        background: rgba(6, 8, 15, 0.96);
    }

    [data-theme="light"] .header {
        background: rgba(255, 255, 255, 0.98);
    }

    .product-card,
    .filters-container,
    .modal-content,
    .trust-item {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Chromium autofill flash on dark inputs */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--text-primary);
    caret-color: var(--text-primary);
    transition: background-color 99999s ease-out;
    box-shadow: 0 0 0 1000px var(--bg-input) inset;
}

[data-theme="light"] input:-webkit-autofill,
[data-theme="light"] input:-webkit-autofill:hover,
[data-theme="light"] input:-webkit-autofill:focus,
[data-theme="light"] textarea:-webkit-autofill,
[data-theme="light"] select:-webkit-autofill {
    -webkit-text-fill-color: #0f172a;
    box-shadow: 0 0 0 1000px #f8fafc inset;
}

/* Shipping method (SYSCOM policy) Ã¢â‚¬â€ circular radios */
.shipping-method-options {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.35rem;
}

.shipping-method-option {
    position: relative;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.28);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shipping-method-option:hover {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(15, 23, 42, 0.42);
}

.shipping-method-option.is-disabled,
.shipping-method-option:has(input:disabled) {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.2);
}

.shipping-method-option.is-disabled:hover,
.shipping-method-option:has(input:disabled):hover {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.28);
}

/* Evitar que hereden el estilo de inputs de texto del checkout */
.shipping-method-option input[type="radio"],
#paymentModal .shipping-method-option input[type="radio"],
.filter-group .shipping-method-option input[type="radio"],
.form-grid .shipping-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    box-shadow: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.shipping-method-radio {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.12rem;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.55);
    background: transparent;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shipping-method-radio::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #2dd4bf;
    transform: scale(0);
    transition: transform 0.18s ease;
}

.shipping-method-option:has(input:checked),
.shipping-method-option.is-selected {
    border-color: rgba(45, 212, 191, 0.55);
    background: rgba(45, 212, 191, 0.08);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.18);
}

.shipping-method-option:has(input:checked) .shipping-method-radio,
.shipping-method-option.is-selected .shipping-method-radio {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.shipping-method-option:has(input:checked) .shipping-method-radio::after,
.shipping-method-option.is-selected .shipping-method-radio::after {
    transform: scale(1);
}

.shipping-method-option:focus-within {
    outline: none;
    border-color: rgba(45, 212, 191, 0.65);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}

.shipping-method-copy {
    min-width: 0;
    flex: 1;
}

.shipping-method-option strong {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.shipping-method-option small {
    display: block;
    color: var(--text-muted, #94a3b8);
    font-size: 0.74rem;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.shipping-quote-message {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    color: #9bc5ff;
}

.shipping-quote-message.is-warning {
    color: #fbbf24;
}

.detail-shipping-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0.55rem 0 0.2rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    font-size: 0.82rem;
}

.detail-shipping-badge small {
    color: #bbf7d0;
    opacity: 0.9;
}

.cart-shipping-hint {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    color: var(--text-muted, #8aa9ff);
    line-height: 1.35;
}

.shipping-auto-banner {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

.shipping-auto-banner strong {
    display: block;
    font-size: 0.95rem;
    color: #86efac;
}

.shipping-auto-banner small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #bbf7d0;
    opacity: 0.92;
}

.shipping-choice-intro {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
    color: var(--text-muted, #8aa9ff);
}

.shipping-method-option.is-recommended {
    border-color: rgba(74, 222, 128, 0.4);
}

.shipping-method-option.is-recommended:has(input:checked),
.shipping-method-option.is-recommended.is-selected {
    border-color: rgba(74, 222, 128, 0.6);
    background: rgba(34, 197, 94, 0.1);
}

.shipping-method-option em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.2);
    color: #86efac;
}

[data-theme="light"] .shipping-method-option {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .shipping-method-option:hover,
[data-theme="light"] .shipping-method-option:has(input:checked) {
    background: rgba(240, 253, 250, 0.95);
    border-color: rgba(13, 148, 136, 0.45);
}

[data-theme="light"] .shipping-method-option.is-disabled:hover,
[data-theme="light"] .shipping-method-option:has(input:disabled):hover {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .shipping-method-option strong {
    color: #0f172a;
}

[data-theme="light"] .shipping-method-option small,
[data-theme="light"] .shipping-choice-intro {
    color: #64748b;
}

[data-theme="light"] .shipping-method-radio {
    border-color: rgba(100, 116, 139, 0.55);
}

[data-theme="light"] .shipping-method-option:has(input:checked) .shipping-method-radio {
    border-color: #0d9488;
}

[data-theme="light"] .shipping-method-radio::after {
    background: #0d9488;
}
