/* =========================================================
   StabHub — PLASMA FLUX Design System
   v1.0 | 2026
   Art Direction: Sci-Fi Energy-Tech
   
   This file overrides screen.css & stabhub-extra.css.
   Load AFTER both existing stylesheets.
   ========================================================= */

/* --- Fonts: Montserrat (display) + Inter (body) + JetBrains Mono (data) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap&subset=cyrillic');

/* =========================================================
   PLASMA FLUX — CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
    /* ── Backgrounds ── */
    --plasma-void: #06070D;
    --plasma-deep: #0A0C18;
    --plasma-surface: #0F1124;
    --plasma-surface-2: #151833;
    --plasma-surface-3: #1C2045;

    /* ── Primary Accent: Electric Cyan ── */
    --plasma-core: #00F0FF;
    --plasma-core-hover: #33F5FF;
    --plasma-core-dark: #00B8C7;

    /* ── Secondary: Arc Violet ── */
    --plasma-arc: #7B61FF;
    --plasma-arc-hover: #9580FF;

    /* ── Tertiary: Hot Pulse ── */
    --plasma-pulse: #FF3D7F;

    /* ── Warm: Ember (legacy nod) ── */
    --plasma-ember: #FFB800;

    /* ── Text ── */
    --plasma-text: #E2E8F4;
    --plasma-text-muted: #7A84A6;
    --plasma-text-dim: #3D4463;

    /* ── Borders ── */
    --plasma-border: rgba(0, 240, 255, 0.08);
    --plasma-border-active: rgba(0, 240, 255, 0.25);
    --plasma-border-violet: rgba(123, 97, 255, 0.15);

    /* ── Glows ── */
    --plasma-glow-cyan: rgba(0, 240, 255, 0.15);
    --plasma-glow-violet: rgba(123, 97, 255, 0.15);
    --plasma-glow-pulse: rgba(255, 61, 127, 0.12);

    /* ── Glassmorphism ── */
    --plasma-glass: rgba(15, 17, 36, 0.72);
    --plasma-glass-border: rgba(0, 240, 255, 0.1);
    --plasma-glass-blur: 20px;

    /* ── Gradients ── */
    --gradient-plasma: linear-gradient(135deg, #00F0FF 0%, #7B61FF 50%, #FF3D7F 100%);
    --gradient-energy: linear-gradient(90deg, #00F0FF, #7B61FF);
    --gradient-surface: linear-gradient(145deg, #0F1124 0%, #151833 50%, #0A0C18 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(123, 97, 255, 0.03) 100%);
    --gradient-scanline: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 240, 255, 0.015) 2px,
        rgba(0, 240, 255, 0.015) 4px
    );
    --gradient-btn: linear-gradient(135deg, #00F0FF 0%, #7B61FF 100%);
    --gradient-btn-hover: linear-gradient(135deg, #33F5FF 0%, #9580FF 100%);

    /* ── Shadows ── */
    --shadow-plasma-sm: 0 2px 12px rgba(0, 240, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-plasma-md: 0 4px 24px rgba(0, 240, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-plasma-lg: 0 8px 48px rgba(0, 240, 255, 0.12), 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-plasma-glow: 0 0 30px rgba(0, 240, 255, 0.2), 0 0 60px rgba(0, 240, 255, 0.08);
    --shadow-violet-glow: 0 0 30px rgba(123, 97, 255, 0.2), 0 0 60px rgba(123, 97, 255, 0.08);

    /* ── Radii ── */
    --radius-plasma-sm: 8px;
    --radius-plasma-md: 14px;
    --radius-plasma-lg: 22px;
    --radius-plasma-xl: 32px;

    /* ── Transitions ── */
    --transition-plasma: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-plasma-fast: all 0.18s ease;
    --transition-plasma-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* ── Fonts ── */
    --font-display: 'Montserrat', 'Inter', 'Arial', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-body: 'Inter', 'Arial', Helvetica, sans-serif;

    /* ── Override legacy tokens for compatibility ── */
    --color-bg: var(--plasma-deep);
    --color-bg-2: var(--plasma-void);
    --color-bg-3: var(--plasma-surface);
    --color-surface: var(--plasma-surface);
    --color-surface-2: var(--plasma-surface-2);
    --color-surface-3: var(--plasma-surface-3);
    --color-border: var(--plasma-border-active);
    --color-border-light: var(--plasma-border);
    --color-accent: var(--plasma-core);
    --color-accent-hover: var(--plasma-core-hover);
    --color-accent-dark: var(--plasma-core-dark);
    --color-accent-glow: var(--plasma-glow-cyan);
    --color-text: var(--plasma-text);
    --color-text-muted: var(--plasma-text-muted);
    --color-text-dim: var(--plasma-text-dim);
    --color-white: #ffffff;
    --color-black: #000000;
    --color-success: #00E68A;
    --color-danger: var(--plasma-pulse);
    --color-info: var(--plasma-arc);
    --gradient-accent: var(--gradient-plasma);
    --gradient-dark: linear-gradient(180deg, var(--plasma-surface) 0%, var(--plasma-void) 100%);
    --gradient-card: var(--gradient-surface);
    --shadow-sm: var(--shadow-plasma-sm);
    --shadow-md: var(--shadow-plasma-md);
    --shadow-lg: var(--shadow-plasma-lg);
    --shadow-accent: var(--shadow-plasma-glow);
    --font-main: var(--font-body);
    --font-heading: var(--font-display);
    --transition: var(--transition-plasma);
    --transition-fast: var(--transition-plasma-fast);
    --transition-slow: var(--transition-plasma-slow);
    --radius-sm: var(--radius-plasma-sm);
    --radius-md: var(--radius-plasma-md);
    --radius-lg: var(--radius-plasma-lg);
    --radius-xl: var(--radius-plasma-xl);
}


/* =========================================================
   ANIMATION KEYFRAMES
   ========================================================= */
@keyframes plasma-breathe {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

@keyframes plasma-scan {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.15); }
    50%      { box-shadow: 0 0 35px rgba(0, 240, 255, 0.3); }
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }
    50%      { text-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.15); }
}

@keyframes border-energy {
    0%   { border-color: rgba(0, 240, 255, 0.15); }
    50%  { border-color: rgba(123, 97, 255, 0.3); }
    100% { border-color: rgba(0, 240, 255, 0.15); }
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes scanline-move {
    0%   { background-position: 0 0; }
    100% { background-position: 0 8px; }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

@keyframes shimmer-plasma {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

@keyframes arc-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50%      { opacity: 0.8; transform: scaleX(1.02); }
}

/* Override existing fadeInUp with plasma version */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}


/* =========================================================
   BODY & GLOBAL OVERRIDES
   ========================================================= */
body {
    background-color: var(--plasma-void) !important;
    background-image:
        /* Scanline overlay */
        var(--gradient-scanline),
        /* Plasma glow — top center */
        radial-gradient(ellipse 70% 35% at 50% -5%, rgba(0, 240, 255, 0.06) 0%, transparent 70%),
        /* Violet glow — bottom right */
        radial-gradient(ellipse 50% 40% at 85% 90%, rgba(123, 97, 255, 0.04) 0%, transparent 60%),
        /* Pulse glow — left */
        radial-gradient(ellipse 40% 50% at 5% 50%, rgba(255, 61, 127, 0.02) 0%, transparent 60%) !important;
    background-attachment: fixed !important;
    color: var(--plasma-text);
    font-family: var(--font-body);
    animation: scanline-move 0.6s linear infinite;
    animation-play-state: running;
}

/* ── Full Screen Layout ── */
.wrapper {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 24px 60px !important;
    box-sizing: border-box !important;
}

/* Selection color */
::selection {
    background: rgba(0, 240, 255, 0.25);
    color: #fff;
}

::-moz-selection {
    background: rgba(0, 240, 255, 0.25);
    color: #fff;
}


/* =========================================================
   GLASSMORPHISM UTILITY
   ========================================================= */
.plasma-glass {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(var(--plasma-glass-blur));
    -webkit-backdrop-filter: blur(var(--plasma-glass-blur));
    border: 1px solid var(--plasma-glass-border) !important;
}


/* =========================================================
   HEADER — Glassmorphic Energy Bar
   ========================================================= */
.header {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--plasma-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header--scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.06) !important;
}

/* ── Header Flex Layout Overrides ── */
.header-top {
    background: transparent !important;
    border-bottom: 1px solid var(--plasma-border) !important;
    position: relative;
    overflow: visible !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 24px !important;
    flex-wrap: nowrap !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    gap: 20px !important;
}

.header-top::after {
    display: none !important;
}

.header-top::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(
        ellipse 50% 120% at 15% 50%,
        rgba(0, 240, 255, 0.04) 0%,
        transparent 70%
    ) !important;
    pointer-events: none !important;
}

/* Logo — electric glow */
.logo {
    filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.4)) !important;
    margin: 10px 0 !important;
    float: none !important;
}

.logo:hover {
    filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 8px rgba(123, 97, 255, 0.3)) !important;
}

/* Site name / title — plasma accent */
.site-title {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-display) !important;
    float: none !important;
    margin-left: 16px !important;
}

.site-name {
    color: var(--plasma-core) !important;
    font-family: var(--font-display) !important;
    letter-spacing: 0.15em !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
    float: none !important;
    margin-left: 16px !important;
}

.header-wrapper {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-evenly !important;
    flex: 1 !important;
    float: none !important;
    height: auto !important;
    margin-left: 20px !important;
}

.header-item {
    float: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 16px 20px !important;
    border-right: 1px solid var(--plasma-border) !important;
}
.header-item:last-child {
    border-right: none !important;
}

/* Top menu links */
.topmenu ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.topmenu li {
    padding: 0 !important;
}
.topmenu li a {
    color: var(--plasma-text-muted) !important;
    font-family: var(--font-display) !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
}

.topmenu li a::after {
    background: var(--gradient-energy) !important;
    height: 2px !important;
}

.topmenu li a:hover {
    color: var(--plasma-core) !important;
}

/* Top contacts */
.topcontacts .tel,
.footer-item.contacts .tel {
    font-family: var(--font-display) !important;
    color: var(--plasma-text) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
    margin: 4px 0 !important;
}

.topcontacts a,
.footer-item.contacts a {
    color: var(--plasma-core) !important;
}

.topcontacts a:hover,
.footer-item.contacts a:hover {
    color: var(--plasma-core-hover) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* Work time */
.topworktime span {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-display) !important;
}

/* ── Cart Button — Plasma Gradient ── */
.topcart {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 12px !important;
}

.topcart .cart-button {
    margin: 0 !important;
}

.topcart .cart-button a {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
    border-radius: var(--radius-plasma-sm) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 0 40px rgba(0, 240, 255, 0.08) !important;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.topcart .cart-button a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    transform: none !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%) !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    opacity: 1 !important;
}

.topcart .cart-button a:hover {
    background: var(--gradient-btn-hover) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(0, 240, 255, 0.12) !important;
    transform: translateY(-2px) !important;
}

.cart-icon {
    filter: none !important;
    opacity: 1 !important;
    background-blend-mode: screen;
    float: none !important;
    margin: 0 !important;
}

.cart-line {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.cart-line .cart-count {
    float: none !important;
    padding: 0 12px 0 0 !important;
    margin: 0 !important;
    border-right: 1px solid var(--plasma-border) !important;
}

.cart-line,
.cart-line .cart-count a {
    color: var(--plasma-text-muted) !important;
}

.cart-line .cart-count a {
    color: var(--plasma-core) !important;
}


/* =========================================================
   NAVIGATION — Translucent Energy Strip
   ========================================================= */
.header-nav {
    background: rgba(10, 12, 24, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: none !important;
    border-top: none !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
}

/* Remove global nav line and legacy hover lines */
.header-nav::after,
#nav > li > a::after,
.nav-item > a::after {
    display: none !important;
}

#nav {
    max-width: 1440px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 24px !important;
}

.nav-item > a {
    font-family: var(--font-display) !important;
    color: var(--plasma-text-muted) !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

.nav-item > a:hover {
    color: var(--plasma-core) !important;
    background: rgba(0, 240, 255, 0.04) !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.nav-item > a.hover {
    background: rgba(0, 240, 255, 0.06) !important;
    color: var(--plasma-core) !important;
}

/* ── Dropdown — Glassmorphic Panels ── */
.nav-item .nav-drop {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid var(--plasma-border-active) !important;
    border-top: 2px solid var(--plasma-core) !important;
    box-shadow:
        var(--shadow-plasma-lg),
        0 0 40px rgba(0, 240, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
    border-radius: 0 0 var(--radius-plasma-md) var(--radius-plasma-md) !important;
}

.nav-item ul.nav-drop > li > a {
    color: var(--plasma-text-muted) !important;
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    border-left: 2px solid transparent !important;
    transition: all 0.25s ease !important;
}

.nav-item ul.nav-drop > li > a:hover {
    color: var(--plasma-core) !important;
    background: rgba(0, 240, 255, 0.06) !important;
    border-left-color: var(--plasma-core) !important;
    padding-left: 28px !important;
}


/* =========================================================
   USP TRUST STRIP — Glassmorphic Energy Cards
   ========================================================= */
.usp-strip {
    background: rgba(10, 12, 24, 0.6) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--plasma-border) !important;
    border-bottom: 1px solid var(--plasma-border) !important;
}

.usp-strip__item {
    border-right-color: var(--plasma-border) !important;
    transition: all 0.3s ease !important;
    position: relative;
}

.usp-strip__item:hover {
    background: rgba(0, 240, 255, 0.03) !important;
    color: var(--plasma-text) !important;
}

.usp-strip__icon {
    background: rgba(0, 240, 255, 0.08) !important;
    border-radius: 10px !important;
    color: var(--plasma-core) !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.usp-strip__item:hover .usp-strip__icon {
    background: rgba(0, 240, 255, 0.15) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: scale(1.05);
}

.usp-strip__text strong {
    color: var(--plasma-text) !important;
}


/* =========================================================
   PRODUCT CARDS — Asymmetric Glassmorphic Grid
   ========================================================= */

/* ── Asymmetric CSS Grid Layout ── */
ul.products-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero card - removed asymmetric grid */

/* ── Card Styling — Glassmorphic Panels ── */
ul.products-list > li.product-item {
    width: auto !important;
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-md) !important;
    box-shadow: var(--shadow-plasma-sm) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    animation: card-enter 0.6s ease both !important;
    overflow: hidden;
    position: relative;
}

/* Stagger entrance animations */
ul.products-list > li.product-item:nth-child(1)  { animation-delay: 0.05s !important; }
ul.products-list > li.product-item:nth-child(2)  { animation-delay: 0.1s !important; }
ul.products-list > li.product-item:nth-child(3)  { animation-delay: 0.15s !important; }
ul.products-list > li.product-item:nth-child(4)  { animation-delay: 0.2s !important; }
ul.products-list > li.product-item:nth-child(5)  { animation-delay: 0.25s !important; }
ul.products-list > li.product-item:nth-child(6)  { animation-delay: 0.3s !important; }
ul.products-list > li.product-item:nth-child(7)  { animation-delay: 0.35s !important; }
ul.products-list > li.product-item:nth-child(8)  { animation-delay: 0.4s !important; }
ul.products-list > li.product-item:nth-child(9)  { animation-delay: 0.45s !important; }
ul.products-list > li.product-item:nth-child(10) { animation-delay: 0.5s !important; }

/* Gradient overlay on card — subtle energy tint */
ul.products-list > li.product-item::before {
    background: linear-gradient(
        165deg,
        rgba(0, 240, 255, 0.03) 0%,
        transparent 40%,
        rgba(123, 97, 255, 0.02) 100%
    ) !important;
    border-radius: var(--radius-plasma-md) !important;
    transition: all 0.4s ease !important;
}

/* Plasma accent line on top */
ul.products-list > li.product-item::after {
    height: 2px !important;
    background: var(--gradient-plasma) !important;
    background-size: 200% 100%;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    border-radius: var(--radius-plasma-md) var(--radius-plasma-md) 0 0 !important;
}

/* ── Hover State — Plasma Glow ── */
ul.products-list > li.product-item:hover {
    transform: translateY(-6px) !important;
    border-color: var(--plasma-border-active) !important;
    box-shadow:
        0 12px 48px rgba(0, 240, 255, 0.12),
        0 0 40px rgba(0, 240, 255, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.5) !important;
}

ul.products-list > li.product-item:hover::before {
    background: linear-gradient(
        165deg,
        rgba(0, 240, 255, 0.06) 0%,
        transparent 30%,
        rgba(123, 97, 255, 0.04) 100%
    ) !important;
}

ul.products-list > li.product-item:hover::after {
    opacity: 1 !important;
    animation: gradient-shift 3s ease infinite;
}

/* ── Product Image Area ── */
li.product-item .img-wrapper {
    background: linear-gradient(
        180deg,
        rgba(0, 240, 255, 0.02) 0%,
        transparent 80%
    ) !important;
    position: relative;
}

/* Image scan effect on hover */
li.product-item .img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 240, 255, 0.08) 0%,
        transparent 30%,
        transparent 70%,
        rgba(123, 97, 255, 0.06) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

li.product-item:hover .img-wrapper::after {
    opacity: 1;
}

li.product-item:hover .img-wrapper img {
    transform: scale(1.06) !important;
    filter: brightness(1.05);
}

/* ── Product Name ── */
li.product-item .name {
    font-family: var(--font-display) !important;
}

li.product-item .name a {
    color: var(--plasma-text) !important;
}

li.product-item .name a:hover {
    color: var(--plasma-core) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

li.product-item .name a .name-category {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-body) !important;
}

/* ── Price — Data Readout Style ── */
li.product-item .price {
    font-family: var(--font-mono) !important;
    color: var(--plasma-core) !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    letter-spacing: 0.02em;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    position: relative;
}

/* Price pulse on hover — softer for balanced */
ul.products-list > li.product-item:hover .price {
    animation: none !important;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.15);
}

li.product-item .price .currency {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-mono) !important;
}

/* ── Category / Article ── */
li.product-item .category {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
}

/* ── Buy Button — Plasma Gradient ── */
li.product-item .buttons a {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
    border-radius: var(--radius-plasma-sm) !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

li.product-item .buttons a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    transform: none !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%) !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

li.product-item .buttons a:hover {
    background: var(--gradient-btn-hover) !important;
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    transform: scale(1.05) !important;
}

li.product-item .buttons a.notavalible {
    background: var(--plasma-surface-2) !important;
    color: var(--plasma-text-dim) !important;
    box-shadow: none !important;
}

/* ── Label Badge ── */
li.product-item .label {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.3) !important;
    border-radius: 20px !important;
}

/* ── Stars ── */
li.product-item .stars,
.prod-head-details .stars {
    opacity: 0.6 !important;
}

/* ── Reviews ── */
li.product-item .reviews .reviews-count a {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
}

li.product-item .reviews .reviews-count a:hover {
    color: var(--plasma-core) !important;
}


/* =========================================================
   HERO CARD — Special Styling for Spanned Cards
   ========================================================= */
ul.products-list > li.product-item:nth-child(5n+1) {
    background: linear-gradient(
        135deg,
        rgba(15, 17, 36, 0.85) 0%,
        rgba(21, 24, 51, 0.7) 50%,
        rgba(15, 17, 36, 0.85) 100%
    ) !important;
    border: 1px solid rgba(0, 240, 255, 0.12) !important;
}

ul.products-list > li.product-item:nth-child(5n+1) .img-wrapper {
    height: 200px !important;
}

ul.products-list > li.product-item:nth-child(5n+1) .img-wrapper img {
    max-height: 170px !important;
}

ul.products-list > li.product-item:nth-child(5n+1) .name {
    font-size: 15px !important;
}

ul.products-list > li.product-item:nth-child(5n+1) .price {
    font-size: 24px !important;
}


/* =========================================================
   MEDIA COLUMNS (Home Page) — Editorial Layout
   ========================================================= */
.media-columns {
    border-radius: var(--radius-plasma-lg) !important;
    overflow: hidden !important;
}

.media-columns .head {
    background: var(--plasma-surface-2) !important;
    border-radius: var(--radius-plasma-md) var(--radius-plasma-md) 0 0 !important;
    position: relative;
    overflow: hidden;
}

/* Subtle energy line under head */
.media-columns .head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-energy);
    opacity: 0.4;
}

.media-columns .head .title {
    color: var(--plasma-core) !important;
    font-family: var(--font-display) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.media-columns .head .link-list li a {
    color: var(--plasma-text-muted) !important;
    font-family: var(--font-display) !important;
}

.media-columns .head .link-list li a:hover {
    color: var(--plasma-core) !important;
}

/* Publication list — glassmorphic */
.publication-list {
    background: var(--plasma-glass) !important;
    border: 1px solid var(--plasma-border) !important;
    border-top: none !important;
    border-radius: 0 0 var(--radius-plasma-md) var(--radius-plasma-md) !important;
}

.publication-list::-webkit-scrollbar-track { background: var(--plasma-void) !important; }
.publication-list::-webkit-scrollbar-thumb { background: var(--plasma-surface-3) !important; }

.publication-list .type {
    background: rgba(0, 240, 255, 0.1) !important;
    color: var(--plasma-core) !important;
    border-radius: 6px !important;
    font-family: var(--font-display) !important;
}

.publication-list .title a {
    color: var(--plasma-text) !important;
}

.publication-list .title a:hover {
    color: var(--plasma-core) !important;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.15);
}


/* =========================================================
   CATEGORY PAGE
   ========================================================= */
.cat-title {
    font-family: var(--font-display) !important;
    color: var(--plasma-text) !important;
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    border: 1px solid var(--plasma-border) !important;
    border-left: 4px solid var(--plasma-core) !important;
    border-radius: var(--radius-plasma-md) !important;
    padding: 16px 24px !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

ul.products-list > li.product-item {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--plasma-glass-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
    padding: 24px 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

ul.products-list > li.product-item .name {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Fix broken images looking like links */
ul.products-list > li.product-item .img-wrapper a {
    color: transparent !important;
    text-decoration: none !important;
}
ul.products-list > li.product-item .img-wrapper img {
    color: transparent !important;
    max-height: 100%;
    object-fit: contain;
}

/* =========================================================
   PRODUCT PAGE — Editorial Energy Layout
   ========================================================= */
.prod-info-content {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
    overflow: hidden;
}

.prod-info-content h1.title {
    font-family: var(--font-display) !important;
    color: var(--plasma-text) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.prod-info-content .prod-head {
    background: linear-gradient(
        135deg,
        var(--plasma-surface-2) 0%,
        var(--plasma-surface) 100%
    ) !important;
    border-bottom: 1px solid var(--plasma-border) !important;
    position: relative;
}

/* Plasma accent line under product head */
.prod-info-content .prod-head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-plasma);
    background-size: 200% 100%;
    animation: gradient-shift 6s ease infinite;
}

/* ── Price — Large Data Readout ── */
.prod-price {
    font-family: var(--font-mono) !important;
    color: var(--plasma-core) !important;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1) !important;
    font-weight: 700 !important;
}

.prod-price .currency {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-mono) !important;
}

/* ── Aside — Glassmorphic Panel ── */
.prod-aside {
    background: rgba(21, 24, 51, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid var(--plasma-border) !important;
}

/* ── Buy Buttons ── */
.prod-buttons a {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
    border-radius: var(--radius-plasma-sm) !important;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.25) !important;
    position: relative;
    overflow: hidden;
}

.prod-buttons a::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%) !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
}

.prod-buttons a:hover {
    background: var(--gradient-btn-hover) !important;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4), 0 6px 24px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-3px) !important;
}

/* Product detail links */
.prod-detail div > p > a {
    color: var(--plasma-core) !important;
    font-family: var(--font-display) !important;
    border-bottom-color: var(--plasma-text-dim) !important;
}

.prod-detail div > p > a:hover {
    color: var(--plasma-core-hover) !important;
    border-bottom-color: var(--plasma-core) !important;
}

/* ── Description Section ── */
.prod-description .justify-block .col h2 {
    font-family: var(--font-display) !important;
    color: var(--plasma-text) !important;
    position: relative;
    padding-bottom: 10px;
}

.prod-description .justify-block .col h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-energy);
}

.prod-description .prod-documents {
    background: rgba(0, 240, 255, 0.04) !important;
    border: 1px solid rgba(0, 240, 255, 0.1) !important;
    border-radius: var(--radius-plasma-md) !important;
}

.prod-description .prod-documents h3 {
    color: var(--plasma-core) !important;
    font-family: var(--font-display) !important;
}

.prod-description .prod-documents a {
    color: var(--plasma-core) !important;
}

/* Characteristics table */
.col.characteristics table tr:nth-child(odd) {
    background: rgba(0, 240, 255, 0.02) !important;
}

.col.characteristics table tr:hover {
    background: rgba(0, 240, 255, 0.04) !important;
}

.col.characteristics table th {
    color: var(--plasma-text) !important;
    font-family: var(--font-display) !important;
}


/* =========================================================
   CONTENT PAGES
   ========================================================= */
.content-page {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
}

.content-page h1 {
    font-family: var(--font-display) !important;
    color: var(--plasma-text) !important;
    border-bottom: 1px solid var(--plasma-border) !important;
    position: relative;
    padding-bottom: 20px !important;
}

.content-page h1::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--gradient-energy);
}

.content-page h2 {
    font-family: var(--font-display) !important;
    color: var(--plasma-core) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}

.content-page a {
    color: var(--plasma-core) !important;
}

.content-page a:hover {
    color: var(--plasma-core-hover) !important;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.2);
}


/* =========================================================
   CART PAGE — Plasma Energy Interface
   ========================================================= */
.cart-title {
    font-family: var(--font-display) !important;
    background: var(--plasma-glass) !important;
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
    color: var(--plasma-text) !important;
    position: relative;
    overflow: hidden;
}

.cart-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-plasma);
    background-size: 200% 100%;
    animation: gradient-shift 6s ease infinite;
}

/* Client info — glassmorphic form */
.client-info {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
}

.client-info .control-header .title {
    color: var(--plasma-text) !important;
    font-family: var(--font-display) !important;
}

/* ── Form Inputs — Plasma Glow Focus ── */
.input-holder input {
    background: rgba(15, 17, 36, 0.8) !important;
    border: 1px solid var(--plasma-border) !important;
    color: var(--plasma-text) !important;
    border-radius: var(--radius-plasma-sm) !important;
    font-family: var(--font-body) !important;
    transition: all 0.3s ease !important;
}

.input-holder input:focus,
.input-holder input:hover {
    border-color: var(--plasma-core) !important;
    background: rgba(15, 17, 36, 0.95) !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1), 0 0 16px rgba(0, 240, 255, 0.08) !important;
}

.comments-input {
    background: rgba(15, 17, 36, 0.8) !important;
    border: 1px solid var(--plasma-border) !important;
    color: var(--plasma-text) !important;
    border-radius: var(--radius-plasma-sm) !important;
}

.comments-input:focus,
.comments-input:hover {
    border-color: var(--plasma-core) !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1), 0 0 16px rgba(0, 240, 255, 0.08) !important;
}

/* Delivery tabs */
.delivery-method .tab-control li a {
    background: var(--plasma-surface) !important;
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-sm) !important;
    color: var(--plasma-text-muted) !important;
    font-family: var(--font-display) !important;
}

.delivery-method .tab-control li.active a {
    border-color: var(--plasma-core) !important;
    background: rgba(0, 240, 255, 0.06) !important;
    color: var(--plasma-core) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.12) !important;
}

/* Total price */
.total-price .price strong {
    font-family: var(--font-mono) !important;
    color: var(--plasma-core) !important;
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

/* Submit button */
#submit_button {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
    border-radius: var(--radius-plasma-sm) !important;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.25) !important;
    position: relative;
    overflow: hidden;
}

#submit_button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

#submit_button:hover {
    background: var(--gradient-btn-hover) !important;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4), 0 6px 24px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* ── Order Sidebar ── */
.order-info .order-header {
    background: linear-gradient(135deg, var(--plasma-surface-2) 0%, var(--plasma-surface) 100%) !important;
    border: 1px solid var(--plasma-border-active) !important;
    border-bottom: 2px solid var(--plasma-core) !important;
    border-radius: var(--radius-plasma-lg) var(--radius-plasma-lg) 0 0 !important;
    font-family: var(--font-display) !important;
}

.order-price {
    font-family: var(--font-mono) !important;
    color: var(--plasma-core) !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.order-body {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--plasma-border) !important;
    border-top: none !important;
    border-radius: 0 0 var(--radius-plasma-lg) var(--radius-plasma-lg) !important;
}

.order-body .order-table .cart-product:hover {
    background: rgba(0, 240, 255, 0.03) !important;
}

.order-body .order-table .prod-price {
    font-family: var(--font-mono) !important;
    color: var(--plasma-core) !important;
}

/* Fix delete icon in cart */
.prod-delete a img {
    display: none !important;
}

.prod-delete a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: var(--radius-plasma-sm) !important;
    background: rgba(255, 50, 50, 0.1) !important;
    color: #ff4d4d !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(255, 50, 50, 0.2) !important;
    float: right; margin-right: 15px !important;
}

.prod-delete a::before {
    content: "✕" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.prod-delete a:hover {
    background: rgba(255, 50, 50, 0.25) !important;
    color: #ff6666 !important;
    box-shadow: 0 0 12px rgba(255, 50, 50, 0.3) !important;
}

#order_delivery_cost {
    font-family: var(--font-mono) !important;
    color: var(--plasma-core) !important;
}


/* =========================================================
   FOOTER — Deep Void Energy
   ========================================================= */
#footer {
    background: linear-gradient(180deg, var(--plasma-void) 0%, #040510 100%) !important;
    border-top: 1px solid var(--plasma-border) !important;
    position: relative;
}

/* Plasma gradient arc at top */
#footer::before {
    height: 2px !important;
    background: var(--gradient-plasma) !important;
    background-size: 200% 100%;
    animation: gradient-shift 8s ease infinite;
}

#footer .footer-nav {
    border-bottom: 1px solid var(--plasma-border) !important;
}

#footer .footer-nav li {
    font-family: var(--font-display) !important;
    color: var(--plasma-text-muted) !important;
    border-left-color: var(--plasma-border) !important;
}

.footer-nav li a {
    color: var(--plasma-text-muted) !important;
}

.footer-nav li a:hover {
    color: var(--plasma-core) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.2);
}

.footer-bottom .copy {
    color: var(--plasma-text-dim) !important;
    font-family: var(--font-body) !important;
}


/* =========================================================
   SEARCH — Plasma-Styled
   ========================================================= */
#search_form {
    border: 1px solid var(--plasma-border) !important;
    background: var(--plasma-surface) !important;
    border-radius: var(--radius-plasma-sm) !important;
    transition: all 0.3s ease;
}

#search_form:focus-within {
    border-color: var(--plasma-core) !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08), 0 0 16px rgba(0, 240, 255, 0.06);
}

.search-input {
    background: var(--plasma-surface-2) !important;
}

.search-input.focus {
    background: var(--plasma-surface-3) !important;
}

#search_input {
    color: var(--plasma-text-muted) !important;
    font-family: var(--font-display) !important;
}

.search-input.focus #search_input {
    color: var(--plasma-text) !important;
}

#search_result {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--plasma-border-active) !important;
    box-shadow: var(--shadow-plasma-lg) !important;
    border-radius: var(--radius-plasma-sm) !important;
}

#search_result_list li a:hover {
    background-color: rgba(0, 240, 255, 0.06) !important;
    color: var(--plasma-core) !important;
}

.search-highlight {
    color: var(--plasma-core) !important;
}


/* =========================================================
   BACK-TO-TOP BUTTON — Plasma Orb
   ========================================================= */
#back-to-top {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
}

#back-to-top:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5), 0 6px 24px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-3px) scale(1.1) !important;
}


/* =========================================================
   TOAST NOTIFICATIONS — Plasma Themed
   ========================================================= */
.nv-toast {
    background: var(--plasma-glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--plasma-border) !important;
    box-shadow: var(--shadow-plasma-md) !important;
    font-family: var(--font-body) !important;
    color: var(--plasma-text) !important;
}

.nv-toast--success { border-left: 3px solid var(--color-success) !important; }
.nv-toast--error   { border-left: 3px solid var(--plasma-pulse) !important; }
.nv-toast--info    { border-left: 3px solid var(--plasma-arc) !important; }
.nv-toast--warning { border-left: 3px solid var(--plasma-ember) !important; }

.nv-toast--success .nv-toast__icon { color: var(--color-success) !important; }
.nv-toast--error .nv-toast__icon   { color: var(--plasma-pulse) !important; }
.nv-toast--info .nv-toast__icon    { color: var(--plasma-arc) !important; }
.nv-toast--warning .nv-toast__icon { color: var(--plasma-ember) !important; }


/* =========================================================
   BREADCRUMB
   ========================================================= */
.nv-breadcrumb {
    font-family: var(--font-display) !important;
}

.nv-breadcrumb a:hover {
    color: var(--plasma-core) !important;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.15);
}

.nv-breadcrumb__current {
    color: var(--plasma-text-muted) !important;
}


/* =========================================================
   AVAILABILITY BADGE
   ========================================================= */
.availability-badge--in-stock {
    background: rgba(0, 230, 138, 0.1) !important;
    color: var(--color-success) !important;
    border: 1px solid rgba(0, 230, 138, 0.2) !important;
    font-family: var(--font-display) !important;
}

.availability-badge--out-of-stock {
    background: rgba(255, 61, 127, 0.08) !important;
    color: var(--plasma-pulse) !important;
    border: 1px solid rgba(255, 61, 127, 0.15) !important;
    font-family: var(--font-display) !important;
}


/* =========================================================
   PRICE HIGHLIGHT
   ========================================================= */
.price-highlight {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(123, 97, 255, 0.05) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.15) !important;
    color: var(--plasma-core) !important;
    font-family: var(--font-mono) !important;
}


/* =========================================================
   PRICE LIST
   ========================================================= */
ul.price-list li {
    background: var(--plasma-glass) !important;
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-sm) !important;
}

ul.price-list li:hover {
    border-color: var(--plasma-border-active) !important;
    background: rgba(0, 240, 255, 0.04) !important;
}

ul.price-list .price-list-value {
    color: var(--plasma-core) !important;
    font-family: var(--font-mono) !important;
}

ul.price-list .price-list-btn {
    background: var(--gradient-btn) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.2) !important;
}

ul.price-list .price-list-btn:hover {
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.35) !important;
}


/* =========================================================
   SKELETON LOADING — Plasma Shimmer
   ========================================================= */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--plasma-surface) 25%,
        var(--plasma-surface-2) 50%,
        var(--plasma-surface) 75%
    ) !important;
    background-size: 800px 100%;
    animation: shimmer-plasma 1.8s infinite linear !important;
}


/* =========================================================
   MODAL — Plasma Glass
   ========================================================= */
#modal-header .pickup-modal-title {
    color: var(--plasma-text) !important;
    font-family: var(--font-display) !important;
    border-bottom: 1px solid var(--plasma-border) !important;
}


/* =========================================================
   COMPLETE PAGE
   ========================================================= */
.complete-content h1 {
    background: var(--plasma-glass) !important;
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
    font-family: var(--font-display) !important;
    color: var(--plasma-text) !important;
}

.complete-content .information {
    background: var(--plasma-glass) !important;
    border: 1px solid var(--plasma-border) !important;
    border-radius: var(--radius-plasma-lg) !important;
}

.complete-content .information h2 {
    font-family: var(--font-display) !important;
    color: var(--plasma-core) !important;
}


/* =========================================================
   SCROLLBAR — Plasma Cyan
   ========================================================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--plasma-void) !important; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--plasma-core), var(--plasma-arc)) !important;
    border-radius: 3px !important;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--plasma-core-hover), var(--plasma-arc-hover)) !important;
}


/* =========================================================
   ACCESSIBILITY — Focus Indicators (Plasma Cyan)
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[data-focus-visible] {
    outline: 2px solid var(--plasma-core) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}

/* Skip link */
.skip-link {
    background: var(--plasma-core) !important;
    color: var(--color-black) !important;
    font-family: var(--font-display) !important;
}


/* =========================================================
   RESPONSIVE OVERRIDES
   ========================================================= */

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {

    /* --- Core Mobile Resets --- */
    body { min-width: 0 !important; overflow-x: hidden !important; }
    .wrapper { width: 100% !important; padding: 0 15px 40px !important; box-sizing: border-box !important; }

    /* --- Header Overrides --- */
    .header-top { padding: 0 !important; }
    .header-wrapper { height: auto !important; float: none !important; display: flex; flex-direction: column; width: 100%; padding: 0; }
    
    /* Hide logo and non-essential top bar items on mobile to save space */
    .logo, .site-name, .site-title, .topmenu, .topworktime { display: none !important; }
    
    /* Center contacts and cart */
    .header-item { float: none !important; width: 100% !important; height: auto !important; padding: 15px 0 !important; border: none !important; border-bottom: 1px solid var(--color-border-light) !important; text-align: center; }
    .topcontacts { display: block; font-size: 15px; }
    .topcontacts .tel { font-size: 24px; margin: 5px 0; }
    
    .topcart { border-bottom: none !important; }
    .topcart .cart-button { margin: 0 0 10px 0 !important; }
    .topcart .cart-button a { margin: 0 auto !important; width: 200px !important; padding: 12px !important; font-size: 15px !important; }
    .cart-line .cart-count { float: none !important; display: inline-block; border-right: none !important; padding: 0 !important; margin: 0 !important; }
    .cart-icon { display: none !important; }

    /* --- Mobile Menu & Burger Overrides --- */
    .header-nav { position: relative; border-top: 2px solid var(--color-accent) !important; padding: 0; display: block; }
    
    #nav-burger { 
        position: static !important; 
        display: flex !important; 
        flex-direction: row; 
        justify-content: center; 
        align-items: center; 
        width: 100%; 
        height: 54px; 
        background: rgba(255, 200, 0, 0.1) !important; 
        cursor: pointer; 
        border: none !important;
        border-bottom: 1px solid var(--color-border-light) !important;
    }
    
    #nav-burger::after { 
        content: "КАТАЛОГ ТОВАРОВ"; 
        color: var(--color-accent); 
        font-size: 15px; 
        font-weight: bold; 
        margin-left: 15px; 
        font-family: var(--font-heading); 
        letter-spacing: 1px;
    }
    
    #nav-burger::before { content: "☰"; font-size: 24px; color: var(--color-accent); }
    .burger-bar { display: none !important; }
    
    #nav { display: none !important; width: 100% !important; position: static !important; flex-direction: column; background: transparent !important; box-shadow: none !important; border: none !important; }
    #nav.nav--open { display: flex !important; }
    
    .nav-item { display: block !important; width: 100% !important; }
    .nav-item > a { text-align: center !important; padding: 15px 20px !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; height: auto !important; line-height: 1.4 !important; font-size: 14px !important; }
    .nav-item > a::after { display: none !important; }
    .nav-item .nav-drop { display: none !important; }

    /* --- Main Layout Overrides --- */
    .media-columns .col { width: 100% !important; float: none !important; margin-left: 0 !important; margin-bottom: 20px; }
    .content-page { padding: 15px !important; }

    /* --- Footer Overrides --- */
    #footer .footer-nav li { display: block !important; padding: 10px 0 !important; border-left: none !important; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .footer-bottom { display: flex !important; flex-direction: column; align-items: center; text-align: center; padding: 20px 0 !important; }
    .footer-bottom .footer-item { display: block !important; width: 100% !important; padding: 0 !important; margin: 0 0 15px 0 !important; }
    
    /* --- Table Overrides for Cart --- */
    .order-table { display: block !important; width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .order-table table { width: 100% !important; min-width: 600px; }


    /* Grid: 2 columns on tablet */
    ul.products-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    /* Responsive layout padding adjustments */

    /* USP strip */
    .usp-strip__item {
        border-right: none !important;
        border-bottom: 1px solid var(--plasma-border) !important;
    }

    /* Mobile nav */
    #nav {
        background: var(--plasma-glass) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border-top: 2px solid var(--plasma-core) !important;
        border-bottom: 1px solid var(--plasma-border) !important;
        box-shadow: var(--shadow-plasma-lg) !important;
    }

    .nav-item > a {
        border-bottom: 1px solid var(--plasma-border) !important;
    }

    .nav-item .nav-drop {
        background: rgba(10, 12, 24, 0.95) !important;
    }

    /* Burger button */
    #nav-burger {
        border: 1px solid var(--plasma-border) !important;
    }

    #nav-burger:hover {
        border-color: var(--plasma-core) !important;
        background: rgba(0, 240, 255, 0.06) !important;
    }

    .burger-bar {
        background: var(--plasma-text-muted) !important;
    }

    #nav-burger.burger--open .burger-bar:nth-child(1),
    #nav-burger.burger--open .burger-bar:nth-child(3) {
        background: var(--plasma-core) !important;
    }

    /* Header items */
    .header-item {
        border-top: 1px solid var(--plasma-border) !important;
    }

    /* Cat title */
    .cat-title {
        font-size: 18px !important;
    }
}

/* ── Phone (≤ 480px) ── */
@media (max-width: 480px) {

    /* Grid: single column on phone */
    ul.products-list {
        grid-template-columns: 1fr !important;
    }

    /* Hero cards: single column */
    ul.products-list > li.product-item:nth-child(5n+1) {
        grid-column: span 1 !important;
    }

    .cat-title {
        font-size: 16px !important;
    }

    .prod-info-content h1.title {
        font-size: 18px !important;
    }
}

/* ── Wide Desktop (≥ 1400px) ── */
@media (min-width: 1400px) {
    .wrapper {
        max-width: 1200px;
    }
}


/* =========================================================
   PRINT STYLES — Override
   ========================================================= */
@media print {
    body {
        background: #fff !important;
        background-image: none !important;
        animation: none !important;
        color: #000 !important;
    }

    .header,
    .header-nav,
    #back-to-top,
    #nv-toast-container,
    .usp-strip,
    .cart-button,
    .buttons {
        display: none !important;
    }

    .prod-info-content,
    .cart-content,
    .content-page,
    .client-info,
    .order-body {
        background: #fff !important;
        backdrop-filter: none !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        color: #000 !important;
    }

    a { color: #000 !important; }
}


/* =========================================================
   REDUCED MOTION — Respect User Preference
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body {
        animation: none !important;
    }

    ul.products-list > li.product-item {
        animation: none !important;
    }

    .header-nav::after,
    #footer::before,
    .cart-title::after,
    .prod-info-content .prod-head::after {
        animation: none !important;
    }
}


/* =========================================================
   HIGH CONTRAST MODE
   ========================================================= */
@media (forced-colors: active) {
    :root {
        --plasma-core: Highlight;
        --plasma-text: ButtonText;
        --plasma-surface: Canvas;
        --plasma-border: ButtonBorder;
    }
}


/* =========================================================
   DECORATIVE ELEMENTS — Arc Lines & Section Dividers
   ========================================================= */

/* Arc divider between sections */
.plasma-arc-divider {
    width: 100%;
    height: 40px;
    position: relative;
    margin: 20px 0;
}

.plasma-arc-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--gradient-energy);
    opacity: 0.3;
    animation: arc-pulse 4s ease infinite;
}

.plasma-arc-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--plasma-core);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
    animation: plasma-breathe 3s ease infinite;
}

/* Energy node markers */
.plasma-node {
    width: 6px;
    height: 6px;
    background: var(--plasma-core);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
    display: inline-block;
}

/* Floating glow orb — positioned absolutely */
.plasma-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: float-gentle 8s ease infinite;
}

.plasma-orb--violet {
    background: radial-gradient(circle, rgba(123, 97, 255, 0.03) 0%, transparent 70%);
    animation-delay: -4s;
}


/* =========================================================
   ONE-CLICK BUY BUTTON
   ========================================================= */
.one-click-row {
    text-align: center !important;
    margin: 0 20px 16px !important;
    width: auto !important;
    display: block !important;
}

#one-click_buy,
a#one-click_buy {
    font-family: var(--font-display) !important;
    color: #FFD700 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.5) !important;
    padding-bottom: 2px !important;
    cursor: pointer !important;
}

#one-click_buy:hover,
a#one-click_buy:hover {
    color: #fff !important;
    border-bottom-color: transparent !important;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8) !important;
}

/* Center the media columns on the main page */
.media-columns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 30px;
}
.media-columns::after {
    display: none !important;
}
.media-columns .col {
    float: none !important;
    margin-left: 0 !important;
}


/* Footer Contacts Alignment Override */
.footer-bottom { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
}
.footer-bottom::before,
.footer-bottom::after {
    display: none !important;
}
.footer-bottom .copy { 
    width: auto !important; 
    margin: 0 !important; 
}
.footer-bottom .contacts { 
    padding: 0 !important; 
    text-align: right !important;
}

