﻿@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --bg-titanium: #f1f4f9;
    --surface-white: #ffffff;
    --surface-soft: #f8fafc;
    --ink-main: #0f172a;
    --ink-sec: #475569;
    --ink-muted: #64748b;
    --border-light: rgba(15, 23, 42, 0.06);

    --accent-blue: #0284c7;
    --accent-cyan: #0ea5e9;
    --accent-emerald: #10b981;
    --accent-dark: #090d16;

    --spring-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-titanium);
    background-image: 
        radial-gradient(at 12% 5%, rgba(14, 165, 233, 0.07) 0px, transparent 48%),
        radial-gradient(at 88% 12%, rgba(16, 185, 129, 0.06) 0px, transparent 48%),
        radial-gradient(at 50% 90%, rgba(2, 132, 199, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--ink-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

#appMainContent {
    transition: opacity 0.18s ease, transform 0.22s var(--spring-smooth);
}
#appMainContent.page-transitioning {
    opacity: 0.35;
    transform: translateY(4px);
    pointer-events: none;
}

.container-shell {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
}

.custom-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.16); border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: rgba(2, 132, 199, 0.45); }

/* ОПТИКА ФРЕНЕЛЯ */
.ios-liquid-glass {
    position: relative;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.54) 48%,
        rgba(244, 248, 254, 0.72) 100%
    );
    backdrop-filter: blur(44px) saturate(215%) contrast(103%);
    -webkit-backdrop-filter: blur(44px) saturate(215%) contrast(103%);
    box-shadow: 
        0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
        0 -1px 0 0 rgba(15, 23, 42, 0.04) inset,
        0 24px 48px -12px rgba(15, 23, 42, 0.08),
        0 4px 14px -2px rgba(15, 23, 42, 0.03);
}

.ios-liquid-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        460px circle at var(--gx, 50%) var(--gy, 50%),
        rgba(255, 255, 255, 0.65) 0%,
        rgba(224, 242, 254, 0.25) 35%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.ios-liquid-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.75px;
    background: 
        radial-gradient(
            240px circle at var(--gx, 50%) var(--gy, 0px),
            #ffffff 0%,
            #ffffff 22%,
            rgba(186, 230, 253, 0.92) 45%,
            rgba(167, 243, 208, 0.65) 68%,
            transparent 100%
        ),
        radial-gradient(
            320px circle at calc(100% - var(--gx, 50%)) calc(100% - var(--gy, 0px)),
            rgba(255, 255, 255, 0.85) 0%,
            rgba(224, 242, 254, 0.45) 50%,
            transparent 100%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.35) 55%,
            rgba(148, 163, 184, 0.22) 100%
        );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.ios-liquid-glass > * { position: relative; z-index: 2; }

/* ПОЛЗУНКИ */
.sliding-track {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.048);
    padding: 5px;
    border-radius: 18px;
    box-shadow: 0 1.5px 3px rgba(15, 23, 42, 0.05) inset, 0 1px 0 rgba(255, 255, 255, 0.85);
    list-style: none;
    gap: 2px;
}

.sliding-pill-indicator {
    position: absolute;
    top: 4px; bottom: 4px; left: 0;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 100%);
    border-radius: 13px;
    box-shadow: 0 1.5px 0.5px #ffffff inset, 0 4px 12px -2px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
    transition: transform 0.38s var(--spring-smooth), width 0.38s var(--spring-smooth), opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    will-change: transform, width;
}

.sliding-track-item {
    position: relative; z-index: 2;
    color: var(--ink-sec); text-decoration: none;
    font-size: 13.5px; font-weight: 600;
    padding: 8px 18px; border-radius: 13px; border: none; background: transparent;
    cursor: pointer; white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1;
    gap: 7px; transition: color 0.22s ease;
}
.sliding-track-item:hover, .sliding-track-item.active { color: var(--ink-main); }

.sliding-track.compact-track { padding: 3px; border-radius: 14px; }
.sliding-track.compact-track .sliding-pill-indicator { top: 3px; bottom: 3px; border-radius: 11px; }

/* ШАПКА */
.header-sticky-shell {
    position: sticky; top: 14px; z-index: 1000;
    max-width: 1380px; width: 100%; margin: 14px auto 26px auto; padding: 0 28px;
}
.header-capsule { border-radius: 26px; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo-link { position: relative; overflow: hidden; border-radius: 14px; padding: 4px 8px; display: flex; align-items: center; text-decoration: none; flex-shrink: 0; transition: transform 0.35s var(--spring-smooth); }
.logo-link img { height: 38px; width: auto; object-fit: contain; animation: logoBreath 6s ease-in-out infinite; transition: transform 0.35s var(--spring-bounce), filter 0.35s ease; }
.logo-link::after {
    content: ""; position: absolute; top: -20%; left: -120%; width: 65%; height: 140%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.75) 45%, rgba(56, 189, 248, 0.35) 55%, transparent 100%);
    transform: skewX(-22deg); animation: logoShimmerSweep 7s cubic-bezier(0.22, 1, 0.36, 1) infinite; pointer-events: none;
}
.logo-link:hover img { transform: scale(1.04) translateY(-1px); filter: drop-shadow(0 6px 14px rgba(16, 185, 129, 0.25)); }

@keyframes logoBreath { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-1.5px); } }
@keyframes logoShimmerSweep { 0%, 72% { left: -120%; opacity: 0; } 76% { opacity: 1; } 92% { left: 160%; opacity: 1; } 100% { left: 160%; opacity: 0; } }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-search-clean {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 0 #fff inset, 0 2px 6px rgba(15, 23, 42, 0.04);
    padding: 10px 18px; border-radius: 16px; color: var(--ink-main); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all 0.25s var(--spring-smooth);
}
.btn-search-clean:hover { background: #ffffff; color: var(--accent-blue); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12); }

.btn-cart-main {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%); color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -4px rgba(9, 13, 22, 0.22);
    padding: 10px 20px; border-radius: 16px; font-size: 13.5px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: all 0.25s var(--spring-smooth);
}
.btn-cart-main:hover { transform: translateY(-1px); background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%); box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.35); }
.cart-badge-num { background: rgba(255, 255, 255, 0.22); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 20px; transition: transform 0.3s var(--spring-bounce), background 0.3s ease; }
.cart-badge-num.pulse-bump { transform: scale(1.32); background: var(--accent-emerald); }

.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, 0.08); background: rgba(255, 255, 255, 0.85); align-items: center; justify-content: center; cursor: pointer; color: var(--ink-main); }

/* ПЕРВЫЙ ЭКРАН */
.hero-titanium-scene {
    position: relative; border-radius: 34px; padding: 54px 52px; margin-bottom: 38px;
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 55%, #e6eff8 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 0 0 #ffffff inset, 0 24px 50px -15px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}
.hero-titanium-scene::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.028) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
    background-size: 36px 36px; mask-image: radial-gradient(ellipse at 60% 50%, black 35%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 35%, transparent 90%); pointer-events: none;
}
.hero-ambient-orb-1 { position: absolute; width: 520px; height: 520px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(16, 185, 129, 0.12) 45%, transparent 72%); filter: blur(50px); pointer-events: none; }
.hero-ambient-orb-2 { position: absolute; width: 440px; height: 440px; bottom: -160px; left: 25%; background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(2, 132, 199, 0.08) 55%, transparent 75%); filter: blur(55px); pointer-events: none; }
.hero-layout-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }

.hero-eyebrow-pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(2, 132, 199, 0.18); box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06); padding: 7px 15px; border-radius: 30px; font-size: 12px; font-weight: 700; color: var(--accent-blue); margin-bottom: 20px; }
.hero-eyebrow-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }

.hero-display-title { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -1.2px; color: var(--ink-main); margin-bottom: 18px; }
.hero-display-title span { background: linear-gradient(135deg, #0284c7 0%, #0d9488 60%, #10b981 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead-paragraph { font-size: 16px; color: var(--ink-sec); line-height: 1.65; margin-bottom: 28px; max-width: 590px; }

.hero-search-container { position: relative; max-width: 610px; margin-bottom: 20px; z-index: 30; }
.hero-glass-searchbar {
    border-radius: 22px; padding: 7px 7px 7px 18px; display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.88); box-shadow: 0 1.5px 0 #fff inset, 0 16px 36px -8px rgba(2, 132, 199, 0.14), 0 0 0 1px rgba(2, 132, 199, 0.18); transition: all 0.25s var(--spring-smooth);
}
.hero-glass-searchbar:focus-within { background: #ffffff; box-shadow: 0 20px 44px -8px rgba(2, 132, 199, 0.22), 0 0 0 2px var(--accent-blue); transform: translateY(-1px); }
.hero-glass-searchbar input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; font-weight: 500; color: var(--ink-main); padding: 10px 4px; min-width: 0; }
.hero-glass-searchbar input::placeholder { color: #94a3b8; }
.hero-glass-searchbar button { background: linear-gradient(135deg, #090d16 0%, #1e293b 100%); color: #fff; border: none; padding: 13px 24px; border-radius: 16px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all 0.2s var(--spring-smooth); }
.hero-glass-searchbar button:hover { background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%); box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3); }

.hero-inline-dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; border-radius: 22px; padding: 10px; display: none; max-height: 360px; overflow-y: auto; z-index: 100;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(36px); box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.inline-hit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background 0.15s; }
.inline-hit-row:hover { background: rgba(2, 132, 199, 0.06); }

.hero-quick-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-quick-tags span { font-size: 12.5px; color: var(--ink-muted); font-weight: 600; margin-right: 4px; }
.quick-chip { background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(15, 23, 42, 0.08); color: var(--ink-sec); padding: 6px 13px; border-radius: 14px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: all 0.2s var(--spring-smooth); }
.quick-chip:hover { background: #ffffff; color: var(--accent-blue); border-color: rgba(2, 132, 199, 0.3); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08); }

.hero-floating-deck { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.floating-metric-card { border-radius: 24px; padding: 22px; transition: transform 0.35s var(--spring-smooth); }
.floating-metric-card:hover { transform: translateY(-4px); }
.metric-icon-badge { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%); color: var(--accent-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.floating-metric-card strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--ink-main); letter-spacing: -0.6px; margin-bottom: 4px; }
.floating-metric-card strong.phone-single-line { font-size: clamp(16.5px, 1.45vw, 20.5px); white-space: nowrap; letter-spacing: -0.5px; line-height: 1.25; }
.floating-metric-card span { font-size: 12.5px; color: var(--ink-sec); line-height: 1.4; display: block; }

/* КРОШКИ И ПАГИНАЦИЯ */
.breadcrumb-bar-wrap { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.breadcrumb-track { padding: 4px; border-radius: 16px; max-width: 100%; overflow-x: auto; }
.breadcrumb-track .sliding-track-item { font-family: var(--font-display); font-size: 13px; font-weight: 700; padding: 7px 15px; }
.crumb-chevron { display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; padding: 0 2px; z-index: 2; pointer-events: none; }

.pagination-slider-wrap { display: flex; justify-content: center; margin: 36px 0 60px; }
.pagination-track { padding: 5px; border-radius: 20px; gap: 4px; }
.pagination-track .sliding-track-item { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; padding: 9px 16px; min-width: 42px; justify-content: center; }
.page-dots { color: var(--ink-muted); padding: 0 6px; font-weight: 700; z-index: 2; user-select: none; }

/* КАТАЛОГ И КАРТОЧКИ ТОВАРОВ */
.catalog-master-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.catalog-sidebar-card { background: var(--surface-white); border: 1px solid var(--border-light); box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03); border-radius: 26px; padding: 20px; position: sticky; top: 92px; }
.sidebar-filter-input { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(15, 23, 42, 0.1); background: var(--surface-soft); font-size: 13px; margin-bottom: 12px; outline: none; }
.sidebar-filter-input:focus { border-color: var(--accent-blue); background: #fff; }

.sidebar-cats-list { list-style: none; max-height: calc(100vh - 230px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.sidebar-cats-list li { margin-bottom: 3px; }
.sidebar-cats-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 11px; text-decoration: none; color: var(--ink-sec); font-size: 13.5px; font-weight: 500; transition: all 0.15s ease; }
.sidebar-cats-list a:hover, .sidebar-cats-list a.active-cat { background: rgba(2, 132, 199, 0.09); color: var(--accent-blue); font-weight: 700; }

.sidebar-subtree { list-style: none; margin: 4px 0 8px 14px; padding-left: 10px; border-left: 2px solid rgba(2, 132, 199, 0.25); }
.sidebar-subtree a { font-size: 12.5px; padding: 6px 10px; color: var(--ink-muted); }
.sidebar-subtree a:hover { color: var(--accent-blue); background: rgba(2, 132, 199, 0.05); }

.catalog-Filter-bar { border-radius: 22px; padding: 14px 20px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.subcategories-drawer-box { background: var(--surface-white); border: 1px solid var(--border-light); box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025); border-radius: 24px; padding: 20px 24px; margin-bottom: 22px; }
.subcats-top-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.subcats-grid-clean { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.subcat-node-link {
    display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--surface-soft);
    border: 1px solid rgba(15, 23, 42, 0.05); border-radius: 13px; text-decoration: none; color: var(--ink-main); font-size: 13px; font-weight: 600; transition: all 0.2s var(--spring-smooth);
}
.subcat-node-link:hover { background: #ffffff; border-color: var(--accent-blue); color: var(--accent-blue); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(2, 132, 199, 0.08); }
.subcat-hidden { display: none; }

/* КАРТОЧКА ТОВАРА */
.products-matte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; margin-bottom: 44px; }
.product-matte-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #ffffff 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 1px 0 0 #ffffff inset, 0 10px 25px -8px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.02);
    border-radius: 26px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
    transition: transform 0.35s var(--spring-smooth), box-shadow 0.35s var(--spring-smooth), border-color 0.25s ease; position: relative; overflow: hidden;
}
.product-matte-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 0 0 #ffffff inset, 0 24px 48px -12px rgba(2, 132, 199, 0.12), 0 6px 16px rgba(15, 23, 42, 0.04);
    border-color: rgba(2, 132, 199, 0.25);
}

.sku-visual-stage {
    position: relative; background: linear-gradient(135deg, #f1f5f9 0%, #e6eff8 100%);
    border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) inset;
    border-radius: 18px; padding: 14px 16px; margin-bottom: 16px; overflow: hidden;
}
.sku-visual-stage::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 18px 18px; pointer-events: none;
}
.stage-watermark-svg { position: absolute; right: -12px; bottom: -18px; width: 110px; height: 110px; color: rgba(2, 132, 199, 0.1); pointer-events: none; transition: transform 0.45s var(--spring-smooth), color 0.35s ease; }
.product-matte-card:hover .stage-watermark-svg { transform: scale(1.1) rotate(-5deg); color: rgba(2, 132, 199, 0.18); }

.stage-top-row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.brand-glass-badge { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 1); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05); color: var(--ink-main); font-family: var(--font-display); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; padding: 4px 11px; border-radius: 10px; }
.status-glass-pill { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.22); color: #059669; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.status-glass-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px #10b981; }

.sku-interactive-pill {
    position: relative; z-index: 2; width: 100%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04); border-radius: 14px;
    padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: all 0.2s var(--spring-smooth); text-align: left;
}
.sku-interactive-pill:hover { background: #ffffff; border-color: var(--accent-blue); box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12); }
.sku-interactive-pill .sku-prefix { font-size: 11px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.sku-interactive-pill code { font-family: var(--font-mono); font-size: 14px; font-weight: 800; color: var(--accent-blue); word-break: break-all; line-height: 1.3; }
.sku-copy-icon { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--ink-muted); background: rgba(15, 23, 42, 0.04); padding: 3px 8px; border-radius: 7px; transition: all 0.2s; flex-shrink: 0; }
.sku-interactive-pill:hover .sku-copy-icon { background: var(--accent-blue); color: #ffffff; }

.card-body-content { padding: 0 4px; }
.product-card-name { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--ink-main); text-decoration: none; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px; margin-bottom: 12px; transition: color 0.2s; }
.product-card-name:hover { color: var(--accent-blue); }

.card-feature-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.feature-micro-chip { background: #f8fafc; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 9px; padding: 5px 10px; font-size: 11.5px; font-weight: 600; color: var(--ink-sec); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.feature-micro-chip svg { color: var(--accent-blue); flex-shrink: 0; }

.card-purchase-dock { background: #f8fafc; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 18px; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.card-price-line { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; }
.card-price-line span { font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }
.card-price-line strong { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--ink-main); }

.card-controls-row { display: flex; align-items: center; gap: 10px; }
.liquid-qty-slider { display: inline-flex; align-items: center; background: rgba(15, 23, 42, 0.048); padding: 4px; border-radius: 14px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) inset; }
.liquid-qty-slider button { width: 28px; height: 28px; border-radius: 10px; border: none; background: #ffffff; box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08); color: var(--ink-main); font-size: 15px; font-weight: 700; cursor: pointer; transition: transform 0.15s ease; }
.liquid-qty-slider button:hover { color: var(--accent-blue); transform: scale(1.06); }
.liquid-qty-slider input { width: 34px; text-align: center; border: none; background: transparent; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink-main); outline: none; }

.btn-cart-add { flex: 1; height: 36px; border-radius: 13px; border: none; background: var(--ink-main); color: #ffffff; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: all 0.25s var(--spring-smooth); }
.btn-cart-add:hover { background: var(--accent-blue); box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28); }
.btn-cart-add.added-state { background: var(--accent-emerald) !important; box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35); transform: scale(0.98); }

.compact-list-view { display: none; background: var(--surface-white); border-radius: 24px; border: 1px solid var(--border-light); overflow-x: auto; margin-bottom: 40px; }
.compact-list-view table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compact-list-view th { background: #f8fafc; padding: 14px 20px; text-align: left; font-size: 12px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; border-bottom: 1px solid var(--border-light); }
.compact-list-view td { padding: 13px 20px; border-bottom: 1px solid var(--border-light); font-size: 13.5px; }
.compact-list-view tr:hover { background: #f8fafc; }

.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
.timeline-step-card { background: var(--surface-white); border: 1px solid var(--border-light); border-radius: 24px; padding: 24px; position: relative; transition: transform 0.25s var(--spring-smooth), box-shadow 0.25s ease; }
.timeline-step-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.07); }
.step-num-pill { display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border-radius: 20px; background: rgba(2, 132, 199, 0.09); color: var(--accent-blue); font-family: var(--font-mono); font-size: 12px; font-weight: 800; margin-bottom: 14px; }

.floating-cart-dock {
    position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(120px); z-index: 1800;
    border-radius: 24px; padding: 10px 14px 10px 22px; display: flex; align-items: center; gap: 20px;
    transition: transform 0.45s var(--spring-smooth), opacity 0.35s ease; opacity: 0; pointer-events: none; white-space: nowrap;
}
.floating-cart-dock.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }

.footer-shell-wrap { max-width: 1380px; width: 100%; margin: 64px auto 36px auto; padding: 0 28px; position: relative; }
.footer-capsule { border-radius: 32px; padding: 44px 48px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 32px; }
.footer-grid h4 { color: var(--ink-main); font-family: var(--font-display); font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; font-size: 13.5px; }
.footer-grid a { color: var(--ink-sec); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent-blue); }
.footer-bottom { border-top: 1px solid rgba(15, 23, 42, 0.07); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-muted); flex-wrap: wrap; gap: 10px; }

/* МОДАЛЬНЫЕ ОКНА И COOKIE */
.liquid-overlay-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 2500; display: none; justify-content: flex-end; }
.spotlight-search-modal { width: 92%; max-width: 660px; border-radius: 26px; padding: 22px; margin-top: 80px; height: fit-content; }
.liquid-cart-sheet {
    width: 100%; max-width: 480px; height: 100%; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%); border-left: 1px solid #fff; box-shadow: -20px 0 50px rgba(15, 23, 42, 0.15);
    padding: 24px 28px; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px;
}
.liquid-cart-sheet > div:first-child { flex: 1; display: flex; flex-direction: column; min-height: 0; }
#cartSheetItems { flex: 1; overflow-y: auto; max-height: none !important; }

.cart-glass-item { background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.07); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.clean-form-input { width: 100%; padding: 12px 15px; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.12); border-radius: 13px; font-size: 14px; color: var(--ink-main); margin-bottom: 10px; outline: none; }
.clean-form-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12); }

.search-popover-item { padding: 11px 14px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--ink-main); border-radius: 12px; }
.search-popover-item:hover { background: rgba(2, 132, 199, 0.08); }

.toast-holder { position: fixed; bottom: 84px; right: 24px; z-index: 3500; display: flex; flex-direction: column; gap: 8px; }
.liquid-toast { background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(20px); color: #fff; padding: 12px 20px; border-radius: 16px; font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22); }

.legal-micro-note { font-size: 11.5px; color: var(--ink-muted); line-height: 1.45; margin-bottom: 12px; }
.legal-micro-note a { color: var(--accent-blue); text-decoration: underline; }
.hp-trap-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* ПАРЯЩИЙ НИЖНИЙ ДОК COOKIE (В СТИЛЕ ВЕРХНЕЙ ШАПКИ) */
.cookie-sticky-shell {
    position: fixed !important; bottom: 18px !important; left: 0 !important; right: 0 !important; z-index: 3200 !important;
    max-width: 960px; width: 100%; margin: 0 auto !important; padding: 0 28px; pointer-events: none;
    transform: translate3d(0, 130px, 0); opacity: 0; transition: transform 0.5s var(--spring-smooth), opacity 0.35s ease;
}
.cookie-sticky-shell.show { transform: translate3d(0, 0, 0); opacity: 1; }
.cookie-capsule-bar { pointer-events: auto; border-radius: 26px !important; padding: 12px 22px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 20px !important; }
.cookie-left-content { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cookie-shield-badge { width: 38px; height: 38px; border-radius: 13px; background: linear-gradient(135deg, rgba(2, 132, 199, 0.14) 0%, rgba(16, 185, 129, 0.14) 100%); color: var(--accent-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* BENTO И ДЕТАЛИ */
.product-detail-bento { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-bottom: 52px; align-items: start; }
.passport-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.passport-spec-tile { background: #f8fafc; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 16px; padding: 14px 18px; }
.passport-spec-tile span { display: block; font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.passport-spec-tile strong { font-size: 14.5px; font-weight: 700; color: var(--ink-main); }

.info-bento-hero { border-radius: 32px; padding: 46px 48px; margin-bottom: 24px; background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 65%, #e6eff8 100%); border: 1px solid #ffffff; box-shadow: 0 20px 44px -15px rgba(15, 23, 42, 0.06); position: relative; overflow: hidden; }
.info-cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.info-cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.info-bento-tile { background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.06); box-shadow: 0 4px 18px rgba(15, 23, 42, 0.025); border-radius: 26px; padding: 30px; transition: transform 0.3s var(--spring-smooth), box-shadow 0.3s ease; }
.info-bento-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.07); }
.tile-icon-box { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%); color: var(--accent-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }

/* КАПСУЛА ПОДРАЗДЕЛОВ */
.subcats-expand-bar { position: relative; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(15, 23, 42, 0.05); display: flex; justify-content: center; }
.btn-subcats-toggle-pill {
    display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: 0 1.5px 0 #ffffff inset, 0 6px 16px -4px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.03);
    padding: 7px 8px 7px 18px; border-radius: 30px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-main); cursor: pointer; transition: all 0.3s var(--spring-smooth);
}
.btn-subcats-toggle-pill:hover { transform: translateY(-2px); border-color: rgba(2, 132, 199, 0.35); color: var(--accent-blue); box-shadow: 0 1.5px 0 #ffffff inset, 0 12px 24px -6px rgba(2, 132, 199, 0.16); }
.subcats-count-chip { background: rgba(2, 132, 199, 0.1); color: var(--accent-blue); font-family: var(--font-mono); font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 20px; }
.subcats-chevron-orb { width: 26px; height: 26px; border-radius: 50%; background: var(--ink-main); color: #ffffff; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.35s var(--spring-smooth), background 0.25s ease; }
.btn-subcats-toggle-pill:hover .subcats-chevron-orb { background: var(--accent-blue); }
.btn-subcats-toggle-pill.expanded .subcats-chevron-orb { transform: rotate(180deg); background: var(--accent-emerald); }

.subcats-search-pill { display: flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 14px; padding: 6px 12px; width: 260px; transition: all 0.2s ease; }
.subcats-search-pill:focus-within { background: #ffffff; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1); }
.subcats-search-pill input { border: none; outline: none; background: transparent; font-size: 12.5px; color: var(--ink-main); width: 100%; }

/* ПРЕЛОАДЕР */
#sitePreloader {
    position: fixed; inset: 0; z-index: 99999;
    background: radial-gradient(circle at 50% 35%, rgba(14, 165, 233, 0.12) 0%, rgba(16, 185, 129, 0.08) 45%, #f1f4f9 85%);
    background-color: #f1f4f9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s ease;
}
#sitePreloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo-wrap {
    position: relative; padding: 12px 22px; border-radius: 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 1); box-shadow: 0 1.5px 0.5px #ffffff inset, 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    animation: preloaderLogoPulse 2s ease-in-out infinite;
}
.preloader-logo-wrap img { height: 42px; width: auto; display: block; object-fit: contain; }
.preloader-spinner-bar { width: 130px; height: 3px; background: rgba(15, 23, 42, 0.08); border-radius: 10px; overflow: hidden; position: relative; }
.preloader-spinner-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -100%; width: 60%; background: linear-gradient(90deg, transparent, #0284c7, #10b981, transparent); animation: preloaderBarRun 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }

@keyframes preloaderLogoPulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 12px rgba(2, 132, 199, 0.08)); } 50% { transform: scale(1.02); filter: drop-shadow(0 8px 20px rgba(16, 185, 129, 0.15)); } }
@keyframes preloaderBarRun { 0% { left: -100%; } 100% { left: 140%; } }

@media (max-width: 1080px) {
    .hero-layout-grid, .catalog-master-grid, .product-detail-bento, .info-cards-grid-3, .info-cards-grid-2 { grid-template-columns: 1fr; }
    .catalog-sidebar-card { position: static; }
    .sidebar-cats-list { max-height: 260px; }
    .timeline-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .container-shell, .header-sticky-shell, .footer-shell-wrap { padding: 0 16px; }
    .mobile-menu-btn { display: inline-flex; }
    #mainNavTrack {
        display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
        flex-direction: column; align-items: stretch; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(30px); padding: 10px; border-radius: 20px; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    }
    #mainNavTrack.mobile-open { display: flex; }
    #mainNavTrack .sliding-pill-indicator { display: none; }
    .hero-titanium-scene { padding: 34px 22px; border-radius: 26px; }
    .hero-glass-searchbar { flex-direction: column; align-items: stretch; padding: 10px; }
    .hero-floating-deck, .timeline-grid, .footer-grid, .passport-spec-grid { grid-template-columns: 1fr; }
    .footer-capsule { padding: 32px 24px; }
    .floating-cart-dock { width: calc(100% - 32px); justify-content: space-between; }
}


/* Стиль кнопки копирования для страницы Контакты */
.btn-copy-article {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.22);
    border-radius: 11px;
    padding: 7px 14px !important;
    font-family: var(--font-sans);
    font-size: 12.5px !important;
    font-weight: 700;
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-copy-article:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.22);
}
.btn-copy-article:active {
    transform: scale(0.97);
}
