/* ==========================================================================
   VRIL THEME — Unified Design System
   Replaces: site.min.css, shop.css, admin-fixes.css, admin-custom.css,
             vril.notifications.premium.css, all inline layout styles
   ========================================================================== */

/* ─── IMPORT ─────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

/* ─── ANIMATED LASER BORDER @property ───────────────────────────────────── */
@property --vrl-beam-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
    /* brand */
    --vrl-purple:         #7c3aed;
    --vrl-purple-light:   #a78bfa;
    --vrl-cyan:           #06b6d4;
    --vrl-cyan-light:     #67e8f9;
    --vrl-pink:           #ec4899;

    /* semantic – light mode */
    --vrl-primary:        #5b21b6;
    --vrl-primary-rgb:    91, 33, 182;
    --vrl-accent:         #0891b2;
    --vrl-accent-rgb:     8, 145, 178;
    --vrl-success:        #059669;
    --vrl-warning:        #d97706;
    --vrl-danger:         #dc2626;
    --vrl-info:           #2563eb;

    /* surfaces – light */
    --vrl-bg:             #f8fafc;
    --vrl-bg-body:        #f1f5f9;
    --vrl-surface:        #ffffff;
    --vrl-surface-2:      #f8fafc;
    --vrl-border:         #e2e8f0;
    --vrl-border-subtle:  rgba(0,0,0,0.06);
    --vrl-text:           #0f172a;
    --vrl-text-2:         #334155;
    --vrl-text-muted:     #64748b;

    /* glow */
    --vrl-glow:           rgba(91,33,182,0.18);
    --vrl-glow-cyan:      rgba(8,145,178,0.18);
    --vrl-laser-1:        #7c3aed;
    --vrl-laser-2:        #06b6d4;

    /* filled buttons — always dark enough for white label text (do not reuse light laser tokens) */
    --vrl-btn-fill-1:     #6d28d9;
    --vrl-btn-fill-2:     #0e7490;
    --vrl-btn-on-fill:    #ffffff;
    --vrl-btn-fill-hover-1: #5b21b6;
    --vrl-btn-fill-hover-2: #155e75;

    /* nav */
    --vrl-nav-h:          72px;
    --vrl-nav-bg:         linear-gradient(135deg, #4f46e5 0%, #7c3aed 35%, #a855f7 65%, #06b6d4 100%);

    /* card */
    --vrl-card-radius:    1rem;
    --vrl-card-shadow:    0 4px 24px rgba(0,0,0,0.07);
    --vrl-card-hover-shadow: 0 16px 48px rgba(91,33,182,0.14);

    /* misc */
    --vrl-transition:     0.28s cubic-bezier(0.4,0,0.2,1);
    --vrl-font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --vrl-mono:           'JetBrains Mono', 'Fira Code', monospace;

    color-scheme: light;
}

[data-bs-theme="dark"] {
    --vrl-primary:        #a78bfa;
    --vrl-primary-rgb:    167, 139, 250;
    --vrl-accent:         #67e8f9;
    --vrl-accent-rgb:     103, 232, 249;
    --vrl-success:        #34d399;
    --vrl-warning:        #fbbf24;
    --vrl-danger:         #f87171;
    --vrl-info:           #60a5fa;

    --vrl-bg:             #05070f;
    --vrl-bg-body:        #07090f;
    --vrl-surface:        rgba(15,23,42,0.92);
    --vrl-surface-2:      rgba(30,41,59,0.85);
    --vrl-border:         rgba(167,139,250,0.18);
    --vrl-border-subtle:  rgba(255,255,255,0.06);
    --vrl-text:           #f1f5f9;
    --vrl-text-2:         #cbd5e1;
    --vrl-text-muted:     #94a3b8;

    --vrl-glow:           rgba(167,139,250,0.22);
    --vrl-glow-cyan:      rgba(103,232,249,0.18);
    --vrl-laser-1:        #a78bfa;
    --vrl-laser-2:        #67e8f9;

    /* filled buttons stay saturated/dark so white text remains readable */
    --vrl-btn-fill-1:     #7c3aed;
    --vrl-btn-fill-2:     #0e7490;
    --vrl-btn-on-fill:    #ffffff;
    --vrl-btn-fill-hover-1: #6d28d9;
    --vrl-btn-fill-hover-2: #155e75;

    --vrl-nav-bg:         linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #6b21a8 70%, #0e7490 100%);
    --vrl-card-shadow:    0 4px 32px rgba(0,0,0,0.5);
    --vrl-card-hover-shadow: 0 20px 60px rgba(167,139,250,0.2);

    color-scheme: dark;
}

/* ─── KEYFRAMES ──────────────────────────────────────────────────────────── */
@keyframes vrl-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes vrl-glow-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.75; transform: scale(1.06); }
}
@keyframes vrl-shimmer {
    0%   { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(250%) rotate(45deg); }
}
@keyframes vrl-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes vrl-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes vrl-beam-spin {
    to { --vrl-beam-angle: 360deg; }
}
@keyframes vrl-sun-rotate {
    to { transform: rotate(360deg); }
}
@keyframes vrl-pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(var(--vrl-primary-rgb),0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(var(--vrl-primary-rgb),0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--vrl-primary-rgb),0); }
}
@keyframes vrl-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes vrl-bounce {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.08); }
}
@keyframes vrl-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ─── BASE ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--vrl-font);
    background-color: var(--vrl-bg);
    color: var(--vrl-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode body gets the mesh canvas layer */
[data-bs-theme="dark"] body {
    background-color: var(--vrl-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--vrl-font);
    font-weight: 700;
    color: var(--vrl-text);
    line-height: 1.25;
    margin-bottom: 0.5em;
}

a { color: var(--vrl-primary); text-decoration: none; transition: color var(--vrl-transition); }
a:hover { color: var(--vrl-accent); }

code, pre { font-family: var(--vrl-mono); }

::selection { background: rgba(var(--vrl-primary-rgb),0.25); }

/* ─── PCB CIRCUIT CANVAS (injected by vril-mesh.js) ─────────────────────── */
#vrl-mesh-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.70;
    transition: opacity 0.6s ease;
}
[data-bs-theme="light"] #vrl-mesh-canvas { opacity: 0.30; }

/* ─── PAGE SHELL ─────────────────────────────────────────────────────────── */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.page-wrapper {
    flex: 1 0 auto;
    padding-top: var(--vrl-nav-h);
}
.page-body {
    padding: 2.5rem 0;
}

/* ─── PREMIUM NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
    height: var(--vrl-nav-h);
    background: var(--vrl-nav-bg);
    background-size: 400% 400%;
    animation: vrl-gradient-shift 18s ease infinite;
    border: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35), 0 0 80px rgba(var(--vrl-primary-rgb),0.1) inset;
    position: fixed;
    top: 0; left: 0; right: 0;
    overflow: visible !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1030;
}
.navbar::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.15) 0%, transparent 55%);
    animation: vrl-glow-pulse 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.7) 60%, transparent 100%);
    animation: vrl-shimmer 4s ease-in-out infinite;
    z-index: 1;
}
.navbar .container-xl {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 1400px) {
    .navbar .container-xl { max-width: 1680px; }
}

/* Brand */
.navbar-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: white !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    padding: 0.45rem 1rem;
    background: rgba(255,255,255,0.14);
    border-radius: 0.75rem;
    border: 1.5px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(12px);
    transition: all var(--vrl-transition);
    position: relative;
    overflow: hidden;
    z-index: 10;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transition: left 0.6s ease;
}
.navbar-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.22);
    color: white !important;
}
.navbar-brand:hover::before { left: 100%; }

/* Nav links */
.navbar-nav {
    position: static !important;
    z-index: 10;
    flex-wrap: nowrap !important;
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600;
    padding: 0.65rem 0.8rem !important;
    border-radius: 0.6rem;
    transition: all var(--vrl-transition);
    position: relative;
    overflow: hidden;
    margin: 0 0.12rem;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; width: 0; height: 2px;
    background: white;
    transform: translateX(-50%);
    transition: width var(--vrl-transition);
    border-radius: 2px 2px 0 0;
}
.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
.navbar-nav .nav-link:hover::before { width: 80%; }
.navbar-nav .nav-link i { font-size: 0.9rem; }
@media (max-width: 1200px) {
    .navbar-nav .nav-link i { display: none; }
}

/* Navbar toggler */
.navbar-toggler {
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 0.4rem 0.65rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile collapse */
.navbar-collapse {
    background: rgba(var(--vrl-primary-rgb),0.08);
    backdrop-filter: blur(24px);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}
@media (max-width: 991px) {
    .navbar {
        height: auto;
        min-height: var(--vrl-nav-h);
        padding: 0.875rem 0;
    }
    .navbar-nav { flex-direction: column; flex-wrap: wrap !important; }
    .navbar-nav .nav-link { margin: 0.2rem 0; padding: 0.75rem 1rem !important; }
    .navbar-nav.order-md-last {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.18);
    }
    .dropdown-menu {
        position: relative !important;
        margin-top: 0.5rem !important;
    }
}
@media (max-width: 576px) {
    .navbar-brand { font-size: 1rem; padding: 0.4rem 0.75rem; }
}

/* ─── DROPDOWNS ──────────────────────────────────────────────────────────── */
.nav-item.dropdown { position: relative !important; z-index: 1040; }
.nav-item.dropdown .dropdown-toggle::after {
    margin-left: 0.45rem;
    transition: transform var(--vrl-transition);
}
.nav-item.dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: 0.85rem;
    box-shadow: 0 24px 64px rgba(var(--vrl-primary-rgb),0.22), 0 8px 24px rgba(0,0,0,0.18);
    padding: 0.65rem;
    margin-top: 0.75rem !important;
    animation: vrl-slide-down 0.25s cubic-bezier(0.4,0,0.2,1);
    overflow: visible !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    min-width: 220px;
}
[data-bs-theme="dark"] .dropdown-menu {
    background: rgba(15,23,42,0.97);
    box-shadow: 0 24px 64px rgba(var(--vrl-primary-rgb),0.35), 0 8px 24px rgba(0,0,0,0.6);
    border-color: rgba(var(--vrl-primary-rgb),0.25);
}
.dropdown-menu-end { left: auto !important; right: 0 !important; }

.dropdown-item {
    color: var(--vrl-text);
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--vrl-laser-1), var(--vrl-laser-2));
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 0 2px 2px 0;
}
.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(var(--vrl-primary-rgb),0.1), rgba(var(--vrl-accent-rgb),0.08));
    color: var(--vrl-primary);
    transform: translateX(4px);
    padding-left: 1.2rem;
}
.dropdown-item:hover::before { transform: scaleY(1); }
.dropdown-item i { transition: transform 0.2s ease; }
.dropdown-item:hover i { transform: translateX(3px); }

.dropdown-header {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--vrl-primary);
    border-bottom: 1.5px solid rgba(var(--vrl-primary-rgb),0.2);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    border-radius: 0.5rem;
}
/* Tabler sets pointer-events:none on .dropdown-header (non-interactive labels).
   Our collapsible Client/Admin section headers must receive clicks. */
.dropdown-menu .dropdown-header.vrl-menu-toggle {
    pointer-events: auto;
}
.dropdown-header:hover { background: rgba(var(--vrl-primary-rgb),0.08); }
.dropdown-header .header-text { display: flex; align-items: center; gap: 0.5rem; }
.dropdown-header .chevron-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--vrl-primary);
}
.dropdown-header.collapsed .chevron-icon { transform: rotate(-180deg); }

.dropdown-section {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
    opacity: 1;
    margin-bottom: 0.5rem;
}
.dropdown-section:not(.collapsed) { overflow: visible; }
.dropdown-section.collapsed {
    max-height: 0 !important;
    opacity: 0;
    margin-bottom: 0 !important;
    pointer-events: none;
}

.dropdown-divider { border-color: var(--vrl-border); margin: 0.65rem 0; }

/* Flyout submenu */
.dropdown-item-with-flyout { position: relative; }
.dropdown-item-with-flyout .dropdown-item-main { display: flex; align-items: center; }
.dropdown-item-with-flyout .flyout-indicator { font-size: 0.875rem; opacity: 0.6; pointer-events: none; }
.dropdown-item-with-flyout:hover .flyout-indicator { opacity: 1; }

.dropdown-flyout {
    position: absolute;
    right: 100%; top: 0;
    margin-right: 4px;
    min-width: 200px;
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1051;
    backdrop-filter: blur(16px);
}
[data-bs-theme="dark"] .dropdown-flyout {
    background: rgba(15,23,42,0.97);
    border-color: rgba(var(--vrl-primary-rgb),0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.dropdown-item-with-flyout:hover .dropdown-flyout { opacity: 1; visibility: visible; }
.dropdown-flyout-header {
    padding: 0.4rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--vrl-primary);
    border-bottom: 1px solid rgba(var(--vrl-primary-rgb),0.2);
    margin-bottom: 0.3rem;
}
.dropdown-flyout .dropdown-item { padding: 0.5rem 0.75rem; }

/* Flyout opens to the right (navbar Services → Identity submenu) */
.vrl-flyout-right .dropdown-flyout {
    left: 100%;
    right: auto;
    top: 0;
    margin-left: 4px;
    margin-right: 0;
}
.vrl-flyout-right .flyout-indicator { transform: none; }

/* Main navbar Services dropdown */
.navbar-nav > .nav-item.dropdown > .dropdown-menu.vrl-navbar-services-menu {
    min-width: 240px;
}
.navbar-nav .nav-link.dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: 0.15em;
    border-top-color: rgba(255,255,255,0.85);
}
@media (max-width: 991px) {
    .vrl-flyout-right .dropdown-flyout {
        left: 0;
        right: auto;
        top: 100%;
        margin-left: 0;
        margin-top: 4px;
    }
}

/* ─── CART BADGE & ICON BUTTONS ──────────────────────────────────────────── */
.cart-link-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: rgba(255,255,255,0.14);
    border-radius: 0.6rem;
    border: 1.5px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all var(--vrl-transition);
    cursor: pointer;
    margin: 0 0.25rem;
    z-index: 10;
    text-decoration: none !important;
}
.cart-link-wrapper:hover {
    background: rgba(255,255,255,0.24);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.cart-link-wrapper svg, .vril-nav-icon-svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.22));
    width: 22px !important;
    height: 22px !important;
}
#cartCount {
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    animation: vrl-pulse-ring 2.5s cubic-bezier(0.4,0,0.6,1) infinite;
    font-weight: 700;
    font-size: 0.65rem !important;
    box-shadow: 0 4px 12px rgba(239,68,68,0.55);
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#cartCount.has-items { animation: vrl-bounce 2.2s ease-in-out infinite, vrl-pulse-ring 2s ease infinite; }

/* Theme toggle */
.theme-toggle-wrapper { cursor: pointer; }
.theme-toggle-wrapper svg { transition: transform 0.35s ease; }
.theme-toggle-wrapper:hover svg { transform: scale(1.15); }
#icon-sun { animation: vrl-sun-rotate 12s linear infinite; }

/* User avatar */
.avatar {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    color: var(--vrl-purple) !important;
    border: 2.5px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--vrl-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.avatar:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* Navbar auth buttons */
.navbar .btn-primary {
    background: rgba(255,255,255,0.92);
    color: var(--vrl-purple) !important;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 0.6rem;
    border: none;
    box-shadow: 0 4px 14px rgba(255,255,255,0.25);
    transition: all var(--vrl-transition);
    font-size: 0.875rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.navbar .btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--vrl-primary-rgb),0.25), transparent);
    transition: left 0.5s ease;
}
.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.35);
    background: white;
    color: var(--vrl-purple) !important;
}
.navbar .btn-primary:hover::before { left: 100%; }

.navbar .btn-outline-primary {
    border: 1.5px solid rgba(255,255,255,0.65);
    color: white !important;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    border-radius: 0.6rem;
}
.navbar .btn-outline-primary:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,255,255,0.2);
    color: white !important;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.premium-footer {
    background: var(--vrl-surface);
    border-top: 1px solid var(--vrl-border);
    padding: 3rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}
.premium-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--vrl-laser-1) 0%, var(--vrl-laser-2) 50%, var(--vrl-laser-1) 100%);
    background-size: 200% 100%;
    animation: vrl-gradient-shift 6s ease infinite;
}
.footer-links {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    gap: 0.75rem;
}
.footer-link {
    color: var(--vrl-text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--vrl-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
}
.footer-link:hover { color: var(--vrl-primary); transform: translateY(-2px); }
.footer-sep { color: var(--vrl-text-muted); opacity: 0.5; user-select: none; }
.footer-copyright { font-size: 0.825rem; color: var(--vrl-text-muted); }
@media (max-width: 768px) {
    .footer-links { flex-direction: column; gap: 0.5rem; }
    .footer-sep { display: none; }
}

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: var(--vrl-card-radius);
    box-shadow: var(--vrl-card-shadow);
    transition: box-shadow var(--vrl-transition), transform var(--vrl-transition), border-color var(--vrl-transition);
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--vrl-card-hover-shadow);
    border-color: rgba(var(--vrl-primary-rgb), 0.35);
    transform: translateY(-3px);
}
[data-bs-theme="dark"] .card {
    background: var(--vrl-surface);
    backdrop-filter: blur(16px);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--vrl-border);
    padding: 1rem 1.25rem;
    font-weight: 600;
}
.card-footer {
    background: var(--vrl-surface-2);
    border-top: 1px solid var(--vrl-border);
}

/* ─── LASER GLOW CARD ────────────────────────────────────────────────────── */
.vrl-laser-card {
    position: relative;
    background: var(--vrl-surface);
    border: 1px solid transparent;
    border-radius: var(--vrl-card-radius);
    overflow: hidden;
}
.vrl-laser-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from var(--vrl-beam-angle) at 50% 50%,
        var(--vrl-laser-1) 0deg,
        var(--vrl-laser-2) 90deg,
        transparent 180deg,
        transparent 360deg
    );
    border-radius: inherit;
    animation: vrl-beam-spin 4s linear infinite;
    z-index: 0;
    opacity: 0.7;
}
.vrl-laser-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--vrl-surface);
    border-radius: calc(var(--vrl-card-radius) - 1px);
    z-index: 1;
}
.vrl-laser-card > * { position: relative; z-index: 2; }

/* ─── GLOW CONTAINER ─────────────────────────────────────────────────────── */
.mz-3 {
    position: relative;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(var(--vrl-primary-rgb),0.04), rgba(var(--vrl-accent-rgb),0.04));
    border: 1px solid rgba(var(--vrl-primary-rgb),0.12);
    border-radius: 0.85rem;
    transition: all var(--vrl-transition);
    overflow: hidden;
}
[data-bs-theme="dark"] .mz-3 {
    background: linear-gradient(135deg, rgba(var(--vrl-primary-rgb),0.07), rgba(var(--vrl-accent-rgb),0.07));
    border-color: rgba(var(--vrl-primary-rgb),0.22);
}

/* ─── HERO SECTIONS ──────────────────────────────────────────────────────── */
.vrl-hero {
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
}
.vrl-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--vrl-text) 30%, var(--vrl-primary) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-bs-theme="dark"] .vrl-hero-title {
    background: linear-gradient(135deg, #f1f5f9 30%, var(--vrl-primary) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vrl-hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--vrl-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}
.vrl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(var(--vrl-primary-rgb),0.1);
    border: 1px solid rgba(var(--vrl-primary-rgb),0.25);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--vrl-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: vrl-fade-up 0.6s ease;
}

/* Store page hero */
.store-page-hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
    position: relative;
    margin-bottom: 2.5rem;
}
.store-page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--vrl-text) 20%, var(--vrl-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}
[data-bs-theme="dark"] .store-page-hero h1 {
    background: linear-gradient(135deg, #f1f5f9 20%, var(--vrl-primary) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.store-hero-sub {
    font-size: 1.05rem;
    color: var(--vrl-text-muted);
    margin: 0;
}

/* ─── STORE LISTING CARDS ────────────────────────────────────────────────── */
.store-listing-card {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: var(--vrl-card-radius);
    box-shadow: var(--vrl-card-shadow);
    transition: all var(--vrl-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.store-listing-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from var(--vrl-beam-angle) at 80% 80%,
        var(--vrl-laser-1) 0deg,
        var(--vrl-laser-2) 60deg,
        transparent 120deg,
        transparent 360deg
    );
    border-radius: inherit;
    animation: vrl-beam-spin 6s linear infinite;
    z-index: 0;
    opacity: 0;
    transition: opacity var(--vrl-transition);
}
.store-listing-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--vrl-surface);
    border-radius: calc(var(--vrl-card-radius) - 1px);
    z-index: 1;
    transition: background var(--vrl-transition);
}
.store-listing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vrl-card-hover-shadow);
    border-color: transparent;
}
.store-listing-card:hover::before { opacity: 0.75; }
.store-listing-card > * { position: relative; z-index: 2; }

.store-card-img {
    width: 100%; height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.store-listing-card:hover .store-card-img { transform: scale(1.04); }
.store-card-img-placeholder {
    width: 100%; height: 220px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(var(--vrl-primary-rgb),0.08), rgba(var(--vrl-accent-rgb),0.08));
    font-size: 3.5rem;
    color: rgba(var(--vrl-primary-rgb),0.35);
}
.store-card-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.store-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vrl-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color var(--vrl-transition);
}
.store-listing-card:hover .store-card-title { color: var(--vrl-primary); }
.store-card-summary {
    font-size: 0.875rem;
    color: var(--vrl-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}
.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--vrl-border);
}
.store-card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--vrl-primary);
    letter-spacing: -0.02em;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
/*
 * Filled CTAs use --vrl-btn-fill-* (always contrast-safe), not --vrl-laser-*
 * (those go light in dark mode and make white labels disappear).
 * No ::before hover overlay — it covered bare text nodes (Add to cart, etc.).
 */
.btn {
    border-radius: 0.6rem;
    font-weight: 600;
    transition: background var(--vrl-transition), border-color var(--vrl-transition),
                color var(--vrl-transition), box-shadow var(--vrl-transition),
                transform var(--vrl-transition), opacity var(--vrl-transition);
}

.btn-store-primary,
.btn-primary:not(.navbar .btn-primary),
.btn-vrl-cta {
    background: linear-gradient(135deg, var(--vrl-btn-fill-1), var(--vrl-btn-fill-2));
    border: none;
    color: var(--vrl-btn-on-fill) !important;
    box-shadow: 0 4px 16px rgba(var(--vrl-primary-rgb), 0.35);
    position: relative;
    overflow: hidden;
}

.btn-store-primary:hover,
.btn-store-primary:focus-visible,
.btn-store-primary:active,
.btn-primary:not(.navbar .btn-primary):hover,
.btn-primary:not(.navbar .btn-primary):focus-visible,
.btn-primary:not(.navbar .btn-primary):active,
.btn-check:checked + .btn-primary:not(.navbar .btn-primary),
.btn-vrl-cta:hover,
.btn-vrl-cta:focus-visible {
    background: linear-gradient(135deg, var(--vrl-btn-fill-hover-1), var(--vrl-btn-fill-hover-2));
    border-color: transparent;
    color: var(--vrl-btn-on-fill) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--vrl-primary-rgb), 0.45);
}

.btn-store-primary:disabled,
.btn-primary:not(.navbar .btn-primary):disabled,
.btn-primary:not(.navbar .btn-primary).disabled {
    color: var(--vrl-btn-on-fill) !important;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
}

.btn-outline-primary {
    border: 1.5px solid var(--vrl-primary);
    color: var(--vrl-primary) !important;
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active {
    background: linear-gradient(135deg, var(--vrl-btn-fill-1), var(--vrl-btn-fill-2));
    border-color: var(--vrl-btn-fill-1);
    color: var(--vrl-btn-on-fill) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--vrl-primary-rgb), 0.3);
}

.btn-outline-secondary {
    border: 1.5px solid var(--vrl-border);
    color: var(--vrl-text-2) !important;
    background: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible,
.btn-outline-secondary:active {
    background: color-mix(in srgb, var(--vrl-primary) 14%, var(--vrl-surface));
    border-color: var(--vrl-primary);
    color: var(--vrl-primary) !important;
    transform: none;
    box-shadow: none;
}

.btn-outline-danger {
    border: 1.5px solid var(--vrl-danger);
    color: var(--vrl-danger) !important;
    background: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus-visible,
.btn-outline-danger:active {
    background: var(--vrl-danger);
    border-color: var(--vrl-danger);
    color: #fff !important;
}

.btn-secondary {
    background: var(--vrl-surface-2);
    border: 1px solid var(--vrl-border);
    color: var(--vrl-text) !important;
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-secondary:active {
    background: color-mix(in srgb, var(--vrl-primary) 12%, var(--vrl-surface-2));
    border-color: var(--vrl-primary);
    color: var(--vrl-text) !important;
}

.btn-success {
    background: var(--vrl-success);
    border-color: var(--vrl-success);
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus-visible {
    filter: brightness(0.92);
    color: #fff !important;
}

.btn-danger {
    background: var(--vrl-danger);
    border-color: var(--vrl-danger);
    color: #fff !important;
}

.btn-danger:hover,
.btn-danger:focus-visible {
    filter: brightness(0.92);
    color: #fff !important;
}

.btn-link {
    color: var(--vrl-primary) !important;
}

.btn-link:hover,
.btn-link:focus-visible {
    color: var(--vrl-accent) !important;
}

/* Premium CTA sizing (inherits fill colors above) */
.btn-vrl-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    animation: vrl-fade-up 0.6s ease 0.2s both;
}

.btn-vrl-cta:hover,
.btn-vrl-cta:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(var(--vrl-primary-rgb), 0.5);
}

/* ─── FORMS ──────────────────────────────────────────────────────────────── */
.form-control, .form-select {
    background-color: var(--vrl-surface);
    color: var(--vrl-text);
    border: 1.5px solid var(--vrl-border);
    border-radius: 0.65rem;
    padding: 0.6rem 0.875rem;
    transition: all var(--vrl-transition);
    font-family: var(--vrl-font);
    font-size: 0.9rem;
}
.form-control:focus, .form-select:focus {
    background-color: var(--vrl-surface);
    color: var(--vrl-text);
    border-color: var(--vrl-primary);
    box-shadow: 0 0 0 3px rgba(var(--vrl-primary-rgb),0.12);
    outline: none;
}
.form-control::placeholder { color: var(--vrl-text-muted); opacity: 0.8; }
.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--vrl-text-2);
    margin-bottom: 0.4rem;
}
.form-select option { background: var(--vrl-surface); color: var(--vrl-text); }
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: rgba(15,23,42,0.8);
    color: var(--vrl-text);
    border-color: var(--vrl-border);
}
[data-bs-theme="dark"] .form-select option {
    background: #1e293b;
    color: #f1f5f9;
}
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(var(--vrl-primary-rgb),0.15); }
.input-group-text {
    background: var(--vrl-surface-2);
    border: 1.5px solid var(--vrl-border);
    color: var(--vrl-text-muted);
}

/* ─── TABLES ─────────────────────────────────────────────────────────────── */
.table {
    color: var(--vrl-text);
    --tblr-table-striped-bg: rgba(var(--vrl-primary-rgb),0.04);
}
.table thead th {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vrl-text-muted);
    border-bottom: 1.5px solid var(--vrl-border);
    padding: 0.85rem 1rem;
}
.table td { padding: 0.85rem 1rem; vertical-align: middle; }
.table-nowrap td, .table-nowrap th { white-space: nowrap; }
.card-table th { font-weight: 700; }
.card-table td, .card-table th { vertical-align: middle; }

/* ─── ALERTS / BADGES ────────────────────────────────────────────────────── */
.alert { border-radius: 0.75rem; border: 1px solid; }
.alert-success { background: rgba(5,150,105,0.1); border-color: rgba(5,150,105,0.2); color: var(--vrl-success); }
.alert-danger  { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.2); color: var(--vrl-danger); }
.alert-warning { background: rgba(217,119,6,0.1); border-color: rgba(217,119,6,0.2); color: var(--vrl-warning); }
.alert-info    { background: rgba(37,99,235,0.1); border-color: rgba(37,99,235,0.2); color: var(--vrl-info); }

.badge {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    padding: 0.35em 0.6em;
    border-radius: 0.35rem;
}
.badge-soft {
    background: rgba(var(--vrl-primary-rgb),0.1);
    color: var(--vrl-primary);
    border: 1px solid rgba(var(--vrl-primary-rgb),0.2);
}
.badge-soft-success {
    background: rgba(5,150,105,0.1);
    color: var(--vrl-success);
    border: 1px solid rgba(5,150,105,0.2);
}
.badge-soft-danger {
    background: rgba(220,38,38,0.1);
    color: var(--vrl-danger);
    border: 1px solid rgba(220,38,38,0.2);
}

/* ─── SECTION HEADERS ────────────────────────────────────────────────────── */
.vrl-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}
.vrl-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--vrl-text), var(--vrl-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
[data-bs-theme="dark"] .vrl-section-title {
    background: linear-gradient(135deg, #f1f5f9, var(--vrl-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vrl-section-sub {
    font-size: 1rem;
    color: var(--vrl-text-muted);
    max-width: 500px;
    margin: 0 auto;
}
.vrl-section-line {
    display: block;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--vrl-laser-1), var(--vrl-laser-2));
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ─── PREMIUM PLAN / PRICING ─────────────────────────────────────────────── */
.pricing .card { transition: all var(--vrl-transition); }
.pricing .card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--vrl-card-hover-shadow);
}
.pricing .price {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--vrl-laser-1), var(--vrl-laser-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing .unit { font-size: 0.9rem; color: var(--vrl-text-muted); }

/* ─── NOTIFICATIONS BELL ─────────────────────────────────────────────────── */
.vril-notify-toggle { color: rgba(255,255,255,0.92); }
.vril-notify-toggle svg { display: block; }
.vril-notify-badge {
    background: rgba(10,10,20,0.88);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    border-radius: 0.75rem;
    min-width: 340px;
    padding: 0;
    overflow: hidden;
}
[data-bs-theme="light"] .vril-notify-badge {
    background: rgba(0,0,0,0.6);
    border-color: rgba(0,0,0,0.12);
}

/* ─── STORE PANEL (empty states, etc.) ───────────────────────────────────── */
.store-panel {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: var(--vrl-card-radius);
    overflow: hidden;
}
.store-panel-body { padding: 2.5rem 1.5rem; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.vrl-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.vrl-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MODALS (must sit above navbar, cart drawer, mesh) ──────────────────── */
.modal {
    z-index: 1060 !important;
}
.modal-backdrop {
    z-index: 1055 !important;
}
.modal .btn-close:focus {
    box-shadow: 0 0 0 3px rgba(var(--vrl-primary-rgb), 0.25);
}
[data-bs-theme="dark"] .modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.modal-content {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: var(--vrl-card-radius);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .modal-content {
    backdrop-filter: blur(16px);
}
.modal-header {
    border-bottom: 1px solid var(--vrl-border);
}
.modal-footer {
    border-top: 1px solid var(--vrl-border);
    background: var(--vrl-surface-2);
}

/* ─── UTILITY ────────────────────────────────────────────────────────────── */
.text-gradient {
    background: linear-gradient(135deg, var(--vrl-laser-1), var(--vrl-laser-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.border-gradient {
    border-image: linear-gradient(135deg, var(--vrl-laser-1), var(--vrl-laser-2)) 1;
}
.glow-text { text-shadow: 0 0 20px rgba(var(--vrl-primary-rgb),0.5); }
.rounded-2xl { border-radius: 1rem; }
.opacity-70 { opacity: 0.7; }
.text-muted-70 { color: var(--vrl-text-muted) !important; opacity: 0.7; }

/* ─── PUBLICATION / PAGE BUILDER PREMIUM COMPATIBILITY ───────────────────── */
.pp-observe {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pp-observe.pp-visible {
    opacity: 1;
    transform: translateY(0);
}
.pp-observe-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pp-observe-right.pp-visible { opacity: 1; transform: translateX(0); }
.pp-observe-zoom {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.pp-observe-zoom.pp-visible { opacity: 1; transform: scale(1); }

/* ─── ADMIN / CLIENT DASHBOARD ───────────────────────────────────────────── */
.stat-card {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: var(--vrl-card-radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--vrl-transition);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--vrl-laser-1), var(--vrl-laser-2));
    border-radius: 0 2px 2px 0;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vrl-card-hover-shadow);
    border-color: rgba(var(--vrl-primary-rgb),0.3);
}
.stat-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--vrl-text);
}
.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vrl-text-muted);
}

/* ─── LOGIN PAGE ─────────────────────────────────────────────────────────── */
.vrl-auth-card {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: 1.25rem;
    box-shadow: var(--vrl-card-hover-shadow);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    animation: vrl-fade-up 0.5s ease;
    position: relative;
    overflow: hidden;
}
[data-bs-theme="dark"] .vrl-auth-card { backdrop-filter: blur(24px); }
.vrl-auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--vrl-laser-1), var(--vrl-laser-2));
}

/* ─── CONTACT FORM ───────────────────────────────────────────────────────── */
.vrl-contact-card {
    background: var(--vrl-surface);
    border: 1px solid var(--vrl-border);
    border-radius: var(--vrl-card-radius);
    padding: 2rem 2.5rem;
    box-shadow: var(--vrl-card-shadow);
    animation: vrl-fade-up 0.5s ease;
}

/* .row.g-3 > .col-* uses display:flex (row) — stack label above control */
.vrl-contact-card .row.g-3 > [class^="col-"],
.vrl-contact-card .row.g-3 > .col {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.vrl-contact-card .row.g-3 > [class^="col-"] > label.form-label,
.vrl-contact-card .row.g-3 > .col > label.form-label {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.4rem;
    white-space: normal;
    line-height: 1.35;
}

.vrl-contact-card .row.g-3 > [class^="col-"] > .form-control,
.vrl-contact-card .row.g-3 > [class^="col-"] > .form-select,
.vrl-contact-card .row.g-3 > [class^="col-"] > textarea.form-control,
.vrl-contact-card .row.g-3 > [class^="col-"] > span.text-danger {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
}

/* ─── CHECKOUT ───────────────────────────────────────────────────────────── */
.checkout-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vrl-border);
}
.checkout-step-num {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--vrl-laser-1), var(--vrl-laser-2));
    color: white;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ─── SECTION DIVIDERS ───────────────────────────────────────────────────── */
.home-section + .home-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--vrl-border);
}

/* ─── RESPONSIVE GRID HELPERS ────────────────────────────────────────────── */
.row.row-cards > .col,
.row.g-3 > .col,
.row.g-3 > [class^="col-"] { display: flex; }
.row.row-cards > .col > .card,
.row.g-3 > [class^="col-"] > .card { width: 100%; }

/* ─── DASHBOARD HERO SHELLS ─────────────────────────────────────────────── */
.vrl-dash-hero {
    background: linear-gradient(135deg, var(--vrl-laser-1), var(--vrl-laser-2));
    border-radius: 1.25rem;
    padding: 2rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.vrl-dash-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -5%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%);
    pointer-events: none;
}
.vrl-dash-hero h2,
.vrl-dash-hero-title {
    color: white !important;
    -webkit-text-fill-color: white !important;
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
}
.vrl-dash-hero-badge {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2rem;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    color: white;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.vrl-admin-hero {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95, #0e7490);
    border-radius: 1.25rem;
    padding: 2rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}
[data-bs-theme="light"] .vrl-admin-hero {
    background: linear-gradient(135deg, #5b21b6, #7c3aed, #0891b2);
}
.vrl-admin-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -5%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── TABLER DARK TOKEN OVERRIDES ────────────────────────────────────────── */
[data-bs-theme="dark"] {
    --tblr-bg-surface: var(--vrl-surface);
    --tblr-bg-surface-secondary: var(--vrl-surface-2);
    --tblr-card-bg: var(--vrl-surface);
    --tblr-border-color: var(--vrl-border);
    --tblr-body-color: var(--vrl-text);
    --tblr-muted: var(--vrl-text-muted);
    --tblr-secondary: var(--vrl-text-2);
}

/* Fix Tabler component conflicts */
.tblr-cursor-pointer { cursor: pointer; }
.navbar .badge { position: absolute; top: 2px; right: -10px; }
