/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ===== COPY PROTECTION ===== */
body.no-copy {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
body.no-copy input,
body.no-copy textarea,
body.no-copy select,
body.no-copy [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #0a1628 0%, #0d2147 40%, #152d5a 70%, #0a1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
    overflow: hidden;
}
.preloader::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20,105,217,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: preloaderGlow 2.5s ease-in-out infinite;
}
.preloader-hide { opacity: 0; pointer-events: none; }

/* Частицы */
.preloader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.preloader-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(20,105,217,0.5);
    border-radius: 50%;
    animation: preloaderFloat 4s linear infinite;
}
.preloader-particles span:nth-child(1)  { left: 10%; animation-delay: 0s; animation-duration: 3.5s; }
.preloader-particles span:nth-child(2)  { left: 20%; animation-delay: 0.3s; animation-duration: 4.2s; width: 3px; height: 3px; background: rgba(239,125,45,0.4); }
.preloader-particles span:nth-child(3)  { left: 35%; animation-delay: 0.7s; animation-duration: 3.8s; }
.preloader-particles span:nth-child(4)  { left: 50%; animation-delay: 1s; animation-duration: 4.5s; width: 5px; height: 5px; background: rgba(239,125,45,0.3); }
.preloader-particles span:nth-child(5)  { left: 65%; animation-delay: 0.2s; animation-duration: 3.2s; }
.preloader-particles span:nth-child(6)  { left: 75%; animation-delay: 0.8s; animation-duration: 4s; width: 3px; height: 3px; background: rgba(239,125,45,0.4); }
.preloader-particles span:nth-child(7)  { left: 85%; animation-delay: 0.5s; animation-duration: 3.6s; }
.preloader-particles span:nth-child(8)  { left: 42%; animation-delay: 1.2s; animation-duration: 4.1s; width: 6px; height: 6px; background: rgba(20,105,217,0.3); }
.preloader-particles span:nth-child(9)  { left: 58%; animation-delay: 0.4s; animation-duration: 3.4s; }
.preloader-particles span:nth-child(10) { left: 90%; animation-delay: 0.9s; animation-duration: 4.3s; background: rgba(239,125,45,0.3); }

.preloader-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Светящееся кольцо вокруг огня */
.preloader-logo-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(239,125,45,0.12) 0%, transparent 70%);
    border: 2px solid rgba(239,125,45,0.2);
    position: relative;
    animation: preloaderRingPulse 2s ease-in-out infinite;
}
.preloader-logo-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #ef7d2d;
    border-right-color: #1469d9;
    animation: preloaderSpin 2s linear infinite;
}

.preloader-flame {
    font-size: 50px;
    filter: drop-shadow(0 0 12px rgba(239,125,45,0.5));
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader-brand {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #1469d9 0%, #1e7ae8 100%);
    display: inline-block;
    padding: 8px 28px 12px;
    border-radius: 14px;
    box-shadow:
        0 4px 24px rgba(20,105,217,0.35),
        0 0 60px rgba(20,105,217,0.1),
        inset 0 1px 0 rgba(255,255,255,0.15);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
}
.preloader-brand::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

.preloader-tagline {
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    font-weight: 500;
    margin-top: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    margin: 28px auto 0;
    overflow: hidden;
    position: relative;
}
.preloader-bar-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1469d9, #1e7ae8, #ef7d2d);
    border-radius: 4px;
    animation: preloaderBar 1.1s ease-out forwards;
    box-shadow: 0 0 10px rgba(20,105,217,0.5);
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
@keyframes preloaderBar {
    0% { width: 0; }
    100% { width: 100%; }
}
@keyframes preloaderGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes preloaderFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes preloaderRingPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,125,45,0.15); }
    50% { box-shadow: 0 0 20px 5px rgba(239,125,45,0.08); }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #eceff3;
}
a { color: #1469d9; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0d4fa6; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 14px;
    cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
    text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, #e65100, #ef7d2d); color: #fff; border-color: #e65100; box-shadow: 0 2px 8px rgba(230,81,0,0.25); }
.btn-primary:hover { background: linear-gradient(135deg, #bf360c, #e65100); border-color: #bf360c; color: #fff; box-shadow: 0 4px 16px rgba(230,81,0,0.35); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #1469d9; border-color: #1469d9; }
.btn-outline:hover { background: #1469d9; color: #fff; }
.btn-danger { background: #dc3545; color: #fff; border-color: #dc3545; }
.btn-danger:hover { background: #c82333; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
    position: sticky; top: 0; z-index: 100;
}
.main-header-bar { background: #fff; }
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 66px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { font-size: 30px; }
.logo-text { font-size: 24px; font-weight: 800; color: #0c67cf; letter-spacing: 0.3px; }
.main-nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.main-nav a { color: #444; font-weight: 600; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #0c67cf; border-bottom-color: #0c67cf; }

.header-phones { display: flex; align-items: center; gap: 24px; }
.header-phones a { color: #111; font-weight: 700; font-size: 16px; }
.header-phones a:hover { color: #0c67cf; }

.header-actions { display: flex; align-items: center; gap: 6px; }

/* Icon buttons */
.ha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #555;
    background: #f4f6fb;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}
.ha-btn:hover { background: #e8ecf4; color: #0c67cf; }
.ha-btn.ha-admin { color: #c2410c; }
.ha-btn.ha-admin:hover { background: #fff7ed; color: #e65100; }
.ha-btn.ha-logout { color: #dc2626; }
.ha-btn.ha-logout:hover { background: #fef2f2; color: #b91c1c; }

/* Text buttons (login/register) */
.ha-btn-text {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: #1469d9;
    color: #fff;
}
.ha-btn-text:hover { background: #1054b0; color: #fff; }
.ha-btn-text.ha-reg {
    background: #f0f4ff;
    color: #1469d9;
    border: 1px solid #d0dffa;
}
.ha-btn-text.ha-reg:hover { background: #dce8ff; color: #1054b0; }

/* Cart button */
.ha-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e65100;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    margin-left: 4px;
}
.ha-cart:hover { background: #bf360c; color: #fff; }
.cart-badge {
    background: #1469d9;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -6px;
    right: -6px;
    border: 2px solid #fff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #f4f6fb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
}
.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s;
}

.header-categories-bar { background: linear-gradient(90deg, #0d2147, #1a3a6c); }
.header-categories-wrap {
    display: flex;
    align-items: center;
    position: relative;
}
.cat-scroll-btn {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.cat-scroll-btn:hover { background: rgba(255,255,255,0.3); }
.cat-scroll-left { margin-right: 6px; }
.cat-scroll-right { margin-left: 6px; }
.header-categories-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}
.header-categories-scroll::-webkit-scrollbar { display: none; }
.header-categories-scroll a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
    flex-shrink: 0;
}
.header-categories-scroll a:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 20px; border-radius: 8px; margin: 16px 0; font-size: 14px; font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }
.alert ul { margin: 4px 0 0 16px; list-style: disc; }

/* ===== HOME V2 ===== */

.home-hero-section { padding: 16px 0 28px; background: #f5f7fa; }
.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 14px;
    align-items: stretch;
}

.home-slider {
    position: relative;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d2147, #1a3a6c);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.home-slides { position: relative; height: 100%; }
.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    background: linear-gradient(120deg, #1a1a1a 15%, #4c2d17 100%);
    background-size: cover;
    background-position: center;
}
.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.home-slide-content {
    position: absolute;
    left: 34px;
    bottom: 34px;
    max-width: 60%;
    color: #fff;
}
.home-slide-caption {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 8px;
}
.home-slide h2 { font-size: 48px; line-height: 1.05; font-weight: 800; margin-bottom: 8px; color: #fff; }
.home-slide p { font-size: 22px; line-height: 1.35; margin-bottom: 16px; color: rgba(255,255,255,0.92); }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: #111;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow-prev { left: 14px; }
.hero-arrow-next { right: 14px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}
.hero-dot.is-active { background: #fff; }

.home-hero-aside {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.hero-side-card {
    border-radius: 16px;
    padding: 24px 22px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.hero-side-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.35) 50%,
        rgba(255,255,255,0) 70%,
        transparent 100%
    );
    transition: none;
    pointer-events: none;
}
.hero-side-card:hover::after {
    animation: shineWave 0.7s ease forwards;
}
@keyframes shineWave {
    0%   { left: -100%; }
    100% { left: 120%; }
}
.hero-side-card:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.hero-side-card-text { display: flex; flex-direction: column; gap: 2px; }
.hero-side-card-text span { font-size: 16px; font-weight: 500; }
.hero-side-card-text strong { font-size: 30px; line-height: 1.1; font-weight: 800; }
.hero-side-card-arrow {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.hero-side-card:hover .hero-side-card-arrow { background: rgba(255,255,255,0.4); }
.hero-side-card.card-orange { background: linear-gradient(135deg, #e65100, #ef7d2d); box-shadow: 0 4px 16px rgba(230,81,0,0.25); }
.hero-side-card.card-blue { background: linear-gradient(135deg, #1054b0, #1469d9); box-shadow: 0 4px 16px rgba(20,105,217,0.25); }

.home-find-section { background: #fff; padding: 10px 0 40px; }
.home-find-title { font-size: 38px; font-weight: 700; color: #222; margin-bottom: 16px; }
.home-find-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.home-find-item {
    background: #f5f7fa;
    border-radius: 14px;
    padding: 22px 16px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    color: #333;
    border: 1px solid #eef1f6;
    transition: all 0.25s;
}
.home-find-item:hover { color: #1469d9; background: #eef3ff; border-color: #c8d8f8; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(20,105,217,0.08); }
.home-find-icon { font-size: 34px; }
.home-find-name { font-size: 17px; font-weight: 600; line-height: 1.25; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; padding: 80px 0;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><circle cx="600" cy="300" r="250" fill="%23e6510020"/><circle cx="700" cy="150" r="120" fill="%23e6510010"/></svg>') no-repeat center;
    background-size: cover; opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero h1 { font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.85; margin-bottom: 28px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn-outline { color: #fff; border-color: #fff; }
.hero-btns .btn-outline:hover { background: #fff; color: #e65100; }

/* ===== ADVANTAGES ===== */
.advantages { padding: 60px 0; background: #fff; }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { text-align: center; padding: 30px 20px; border-radius: 12px; background: #f8f9fb; }
.advantage-icon { font-size: 40px; margin-bottom: 12px; }
.advantage-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.advantage-card p { font-size: 14px; color: #666; }

/* ===== SECTIONS ===== */
.section { padding: 50px 0; }
.section-gray { background: #f0f2f5; }
.section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 36px; color: #1a1a2e; }
.section-more { text-align: center; margin-top: 32px; }
.page-title { font-size: 28px; font-weight: 700; margin-bottom: 24px; }

/* ===== LEGAL PAGES ===== */
.legal-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(30,60,120,0.08);
    padding: 40px 48px;
    margin-bottom: 32px;
    line-height: 1.75;
    color: #333;
}
.legal-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    text-align: center;
}
.legal-card .legal-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 4px;
}
.legal-card .legal-date {
    text-align: center;
    color: #888;
    margin-bottom: 28px;
}
.legal-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e8eef5;
}
.legal-card p {
    margin-bottom: 10px;
}
.legal-card ul {
    margin: 8px 0 16px 24px;
    padding: 0;
}
.legal-card ul li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 8px;
}
.legal-card ul li::before {
    content: '—';
    position: absolute;
    left: -16px;
    color: #2563eb;
    font-weight: 700;
}
.legal-card .legal-sign {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 2px solid #e8eef5;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
}
@media (max-width: 768px) {
    .legal-card { padding: 24px 18px; }
    .legal-card h2 { font-size: 18px; }
}

/* ===== CATEGORIES GRID ===== */
.categories-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: #e65100 #f0f2f5;
}
.categories-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}
.categories-scroll::-webkit-scrollbar { height: 8px; }
.categories-scroll::-webkit-scrollbar-track { background: #f0f2f5; border-radius: 10px; }
.categories-scroll::-webkit-scrollbar-thumb { background: #e65100; border-radius: 10px; }
.categories-scroll .categories-grid {
    display: flex;
    gap: 20px;
    width: max-content;
    min-width: 100%;
    scroll-snap-type: x mandatory;
}
.category-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 28px 16px; border-radius: 12px; background: #fff;
    width: 260px; min-width: 260px; flex: 0 0 260px;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; color: #333;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); color: #1469d9; }
.category-icon { font-size: 36px; margin-bottom: 10px; }
.category-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.category-card p { font-size: 13px; color: #888; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s; border: 1px solid #eef1f6;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: #dde4f0; }
.product-image {
    display: flex; position: relative; height: 200px; overflow: hidden;
    background: #f0f2f5; align-items: center; justify-content: center; flex-shrink: 0;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-placeholder { font-size: 60px; opacity: 0.3; }
.product-placeholder-lg { font-size: 120px; opacity: 0.3; display: flex; align-items: center; justify-content: center; min-height: 350px; background: #f0f2f5; border-radius: 12px; }
.product-badge {
    position: absolute; top: 10px; left: 10px; padding: 4px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 600;
}
.badge-sale { background: #dc3545; color: #fff; }
.product-info { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { display: block; font-weight: 600; font-size: 14px; color: #333; margin: 6px 0; line-height: 1.4; min-height: 40px; }
.product-name:hover { color: #e65100; }
.product-price { display: flex; align-items: center; gap: 10px; margin: 8px 0; flex-wrap: wrap; }
.price-current { font-size: 18px; font-weight: 700; color: #e65100; letter-spacing: -0.3px; }
.price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.product-stock { font-size: 13px; margin-bottom: 10px; }
.product-info form, .product-info .btn-block { margin-top: auto; }
.price-current-lg { font-size: 32px; font-weight: 700; color: #e65100; }
.price-old-lg { font-size: 20px; color: #999; text-decoration: line-through; }
.in-stock { color: #28a745; }
.out-stock { color: #dc3545; }

/* ===== CATALOG LAYOUT ===== */
.catalog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.search-form { display: flex; gap: 10px; }
.search-form .form-control { width: 280px; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.catalog-sidebar { }
.sidebar-block { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.sidebar-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #f0f2f5; }
.category-list li a, .sort-list li a { display: block; padding: 7px 0; font-size: 14px; color: #555; }
.category-list li a:hover, .sort-list li a:hover { color: #1469d9; }
.category-list li a.active, .sort-list li a.active { color: #1469d9; font-weight: 600; }
.subcategory-list { list-style: none; padding: 0 0 0 16px; margin: 0; display: none; }
.cat-parent-item.open > .subcategory-list { display: block; }
.cat-parent-row { display: flex; align-items: center; justify-content: space-between; }
.cat-parent-row a { flex: 1; }
.has-children > .cat-parent-row > a { cursor: pointer; }
.cat-toggle { background: none; border: none; cursor: pointer; font-size: 14px; color: #999; padding: 4px 8px; transition: transform 0.2s; }
.cat-parent-item.open > .cat-parent-row > .cat-toggle { transform: rotate(180deg); }
.subcategory-list li a { font-size: 13px; padding: 4px 0; color: #777; display: block; }
.subcategory-list li a:hover { color: #1469d9; }
.subcategory-list li a.active { color: #1469d9; font-weight: 600; }
.count { color: #999; font-size: 12px; }
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state p { font-size: 18px; margin-bottom: 16px; }

/* ===== PRODUCT DETAIL ===== */
.pd-product-page { padding-top: 20px; }
.breadcrumbs { font-size: 14px; color: #999; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs svg { flex-shrink: 0; }
.breadcrumbs a { color: #666; transition: color .2s; }
.breadcrumbs a:hover { color: #e65100; }
.breadcrumbs span { color: #333; font-weight: 500; }

.pd-main { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 36px; }

/* Gallery */
.pd-gallery-card {
    background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 24px; position: relative; overflow: hidden;
}
.pd-gallery-card img { width: 100%; height: auto; display: block; border-radius: 10px; }
.pd-badge-sale {
    position: absolute; top: 16px; left: 16px; background: linear-gradient(135deg, #dc3545, #e65100);
    color: #fff; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 24px;
    box-shadow: 0 3px 12px rgba(220,53,69,.35); z-index: 2;
}
.pd-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 340px; color: #b0bec5; gap: 12px;
}
.pd-placeholder span { font-size: 14px; }

/* Info card */
.pd-info-card {
    background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); padding: 32px;
}
.pd-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-category-tag {
    font-size: 12px; color: #666; background: #f0f2f5; padding: 5px 14px; border-radius: 24px;
    font-weight: 500; text-transform: uppercase; letter-spacing: .5px;
}
.pd-stock-tag {
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; padding: 5px 14px;
    border-radius: 24px;
}
.pd-stock-tag.in-stock { color: #28a745; background: #e8f5e9; }
.pd-stock-tag.out-stock { color: #dc3545; background: #ffeaea; }

.pd-title { font-size: 28px; font-weight: 800; color: #1a1a2e; margin-bottom: 20px; line-height: 1.3; }

.pd-price-block { margin-bottom: 24px; padding: 20px; background: linear-gradient(135deg, #fff8f0, #fff4e6); border-radius: 14px; border: 1px solid #ffe0c0; }
.pd-price-row { display: flex; align-items: baseline; gap: 14px; }
.pd-price-current { font-size: 34px; font-weight: 800; color: #e65100; letter-spacing: -0.5px; }
.pd-price-old { font-size: 20px; color: #aaa; text-decoration: line-through; font-weight: 500; }

.pd-price-personal {
    display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px;
    background: linear-gradient(135deg, #eef3ff, #e8eeff); border-radius: 10px; border: 1px solid #c8d8f8;
    font-size: 15px; color: #333;
}
.pd-price-personal strong { color: #1469d9; font-size: 18px; }
.pd-discount-pill {
    background: #1469d9; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}

/* Cart form */
.pd-cart-form { margin-bottom: 24px; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pd-qty-label { font-size: 15px; color: #555; font-weight: 500; }
.pd-qty-control {
    display: flex; align-items: center; border: 2px solid #e0e0e0; border-radius: 12px; overflow: hidden;
    transition: border-color .2s;
}
.pd-qty-control:focus-within { border-color: #1469d9; }
.pd-qty-btn {
    width: 44px; height: 44px; background: #f7f8fa; border: none; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: #555; transition: all .2s;
}
.pd-qty-btn:hover { background: #e8eaed; color: #1469d9; }
.pd-qty-input {
    width: 56px; height: 44px; border: none; text-align: center; font-size: 17px; font-weight: 700;
    color: #333; background: #fff;
}
.pd-qty-input::-webkit-inner-spin-button { display: none; }

.pd-add-btn {
    width: 100%; padding: 16px 24px; border: none; border-radius: 14px; font-size: 17px; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, #e65100, #ff6d00); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 6px 20px rgba(230,81,0,.3); transition: all .25s;
}
.pd-add-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(230,81,0,.4); }
.pd-add-btn:active { transform: translateY(0); }

/* Features row */
.pd-features {
    display: flex; gap: 12px; padding-top: 20px; border-top: 1px solid #f0f2f5; flex-wrap: wrap;
}
.pd-feature {
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; padding: 8px 14px;
    background: #f7f8fa; border-radius: 10px; flex: 1; min-width: 140px;
}

/* Description card */
.pd-description-card {
    background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 32px; margin-bottom: 40px;
}
.pd-desc-title {
    font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 2px solid #f0f2f5;
}
.pd-desc-text { color: #555; line-height: 1.9; font-size: 15px; }
.pd-desc-text br + br { display: block; margin-top: 8px; }

/* Related products */
.pd-related { margin-top: 48px; }
.pd-related .section-title { margin-bottom: 24px; }

/* ===== CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 30px; }
.cart-item {
    display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff;
    border-radius: 12px; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.cart-item-image { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f0f2f5; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder-sm { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 30px; opacity: 0.3; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; color: #333; display: block; margin-bottom: 4px; }
.cart-item-name:hover { color: #e65100; }
.cart-item-price { font-size: 13px; color: #888; }
.cart-item-total { font-weight: 700; font-size: 16px; color: #e65100; white-space: nowrap; min-width: 100px; text-align: right; }
.cart-item-remove { background: none; border: none; font-size: 18px; cursor: pointer; color: #ccc; padding: 4px; }
.cart-item-remove:hover { color: #dc3545; }
.cart-summary { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 90px; }
.cart-summary h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.cart-total-row { border-top: 2px solid #eee; margin-top: 10px; padding-top: 14px; }
.cart-total-price { font-size: 22px; font-weight: 700; color: #e65100; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.checkout-form { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.checkout-form h2 { font-size: 20px; margin-bottom: 16px; margin-top: 20px; }
.checkout-form h2:first-child { margin-top: 0; }
.checkout-summary { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 90px; }
.checkout-summary h2 { font-size: 18px; margin-bottom: 16px; }
.checkout-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #f0f2f5; }
.checkout-item-name { flex: 1; color: #555; }
.checkout-item-price { font-weight: 600; margin-left: 10px; }
.checkout-total { display: flex; justify-content: space-between; padding-top: 16px; margin-top: 10px; border-top: 2px solid #eee; }
.checkout-total-price { font-size: 22px; font-weight: 700; color: #e65100; }

/* ===== FORMS ===== */
.form-control {
    width: 100%; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: 8px;
    font-size: 14px; font-family: inherit; transition: border-color 0.2s;
    background: #fff;
}
.form-control:focus { outline: none; border-color: #1469d9; box-shadow: 0 0 0 3px rgba(20,105,217,0.1); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #333; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg fill='%23666' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 36px; }
textarea.form-control { resize: vertical; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; accent-color: #1469d9; }

/* ===== AUTH FORMS ===== */
.auth-form {
    max-width: 450px; margin: 0 auto; background: #fff; padding: 40px;
    border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); border: 1px solid #eef1f6;
}
.auth-title { text-align: center; font-size: 24px; margin-bottom: 24px; }
.auth-link { text-align: center; margin-top: 16px; font-size: 14px; color: #888; }

/* ===== PROFILE ===== */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.profile-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.profile-card h2 { font-size: 20px; margin-bottom: 16px; }
.profile-orders { margin-top: 16px; }
.profile-orders h2 { font-size: 22px; margin-bottom: 16px; }

/* Profile status banner */
.profile-status-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #eef3ff 0%, #f0f4ff 100%);
    border: 1px solid #c8d8f8;
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 28px;
}
.psb-icon {
    width: 54px; height: 54px; border-radius: 14px;
    background: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 2px 8px rgba(20,105,217,0.1); flex-shrink: 0;
}
.psb-info { flex: 1; }
.psb-type { font-size: 18px; font-weight: 700; color: #1469d9; margin-bottom: 2px; }
.psb-desc { font-size: 14px; color: #555; }
.psb-desc strong { color: #e65100; font-size: 16px; }
.psb-badge {
    background: linear-gradient(135deg, #e65100, #ef7d2d);
    color: #fff; font-size: 22px; font-weight: 800;
    padding: 10px 18px; border-radius: 12px;
    box-shadow: 0 4px 16px rgba(230,81,0,0.25);
    white-space: nowrap;
}

/* ===== TABLE ===== */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 14px; text-align: left; background: #f0f2f5; font-weight: 600; color: #555; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid #f0f2f5; }
.table tbody tr:hover { background: #fafafa; }
.info-table { width: 100%; }
.info-table td { padding: 8px 0; vertical-align: top; }
.info-table td:first-child { font-weight: 500; color: #888; width: 140px; }

/* ===== STATUS BADGES ===== */
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-block; }
.status-new { background: #e3f2fd; color: #1565c0; }
.status-processing { background: #fff3e0; color: #e65100; }
.status-shipped { background: #e8f5e9; color: #2e7d32; }
.status-delivered { background: #e0f2f1; color: #00695c; }
.status-cancelled { background: #fce4ec; color: #c62828; }
.role-badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.role-admin { background: #fff3e0; color: #e65100; }
.role-client { background: #e3f2fd; color: #1565c0; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.page-link {
    padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
    background: #fff; color: #333; border: 1px solid #ddd; transition: all 0.2s;
}
.page-link:hover, .page-link.active { background: #1469d9; color: #fff; border-color: #1469d9; }

/* ===== ORDER DETAIL ===== */
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.order-info-card, .order-items-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.order-items-card { grid-column: 1 / -1; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #0d2147 0%, #1a3a6c 50%, #1469d9 100%);
    color: #fff; padding: 70px 0; margin-top: 40px; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(239,125,45,0.15) 0%, transparent 70%);
    right: -100px; top: -100px; border-radius: 50%;
}
.cta-section::after {
    content: ''; position: absolute; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(20,105,217,0.2) 0%, transparent 70%);
    left: -50px; bottom: -80px; border-radius: 50%;
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-content h2 { font-size: 32px; margin-bottom: 14px; font-weight: 800; }
.cta-content p { opacity: 0.9; margin-bottom: 28px; font-size: 17px; }
.cta-content .btn-primary { background: linear-gradient(135deg, #e65100, #ef7d2d); color: #fff; border-color: #e65100; box-shadow: 0 4px 20px rgba(230,81,0,0.4); }
.cta-content .btn-primary:hover { background: linear-gradient(135deg, #ef7d2d, #e65100); box-shadow: 0 6px 28px rgba(230,81,0,0.5); }

/* ===== FOOTER ===== */
.footer { background: linear-gradient(135deg, #0a1225 0%, #1a1a2e 100%); color: #ccc; padding: 50px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: linear-gradient(90deg, #ef7d2d, #e65100); border-radius: 2px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #aaa; font-size: 14px; }
.footer-col a:hover { color: #ef7d2d; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-desc { color: #888; font-size: 13px; margin-top: 12px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.footer-logo .logo-text { color: #ef7d2d; font-size: 22px; }
.footer-contacts { list-style: none; padding: 0; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: #bbb; line-height: 1.6; }
.footer-contacts .fc-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.footer-contacts .fc-phone { color: #fff; font-weight: 700; font-size: 16px; }
.footer-contacts .fc-phone:hover { color: #ef7d2d; }
.footer-contacts strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; text-align: center; color: #555; font-size: 13px; }

/* ===== ABOUT / CONTACTS ===== */
.about-content, .contacts-content { max-width: 800px; }
.about-content h2, .contacts-content h2 { font-size: 22px; margin: 24px 0 12px; }
.about-content p, .contacts-content p { color: #555; line-height: 1.8; margin-bottom: 12px; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.contact-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.contact-card .icon { font-size: 32px; margin-bottom: 10px; }
.contact-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: #666; }

/* ===== HELPERS ===== */
.text-muted { color: #999; }
.text-green { color: #28a745; }
.text-red { color: #dc3545; }
.text-center { text-align: center; }

/* Nav wholesale button */
.nav-wholesale {
    color: #ef7d2d !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #ef7d2d !important;
}
.nav-wholesale:hover { color: #d66a1e !important; }

/* ===== WHOLESALE PAGE ===== */
.wholesale-hero { padding: 24px 0 40px; }
.wholesale-title {
    font-size: 38px; font-weight: 800; line-height: 1.2; color: #1a1a2e;
}
.wholesale-title span { color: #ef7d2d; }
.wholesale-subtitle { font-size: 17px; color: #555; margin-top: 14px; max-width: 650px; line-height: 1.7; }

.wholesale-benefits {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px;
}
.wholesale-benefit {
    background: #fff; border-radius: 14px; padding: 28px 20px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s;
}
.wholesale-benefit:hover { transform: translateY(-4px); }
.wb-icon { font-size: 40px; margin-bottom: 12px; }
.wholesale-benefit h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.wholesale-benefit p { font-size: 14px; color: #666; line-height: 1.6; }

.wholesale-how { text-align: center; margin-bottom: 50px; }
.wholesale-how h2 { font-size: 28px; font-weight: 700; margin-bottom: 30px; color: #1a1a2e; }
.wholesale-steps { display: flex; gap: 30px; justify-content: center; }
.ws-step { flex: 1; max-width: 260px; }
.ws-num {
    width: 48px; height: 48px; border-radius: 50%; background: #1469d9; color: #fff;
    font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.ws-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ws-step p { font-size: 14px; color: #666; }

.wholesale-form-grid {
    display: grid; grid-template-columns: 380px 1fr; gap: 0; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.wholesale-info-card {
    background: linear-gradient(135deg, #1a8fd1, #1469d9); color: #fff; padding: 40px 30px;
    display: flex; flex-direction: column; gap: 24px;
}
.wholesale-info-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.wf-contact { display: flex; gap: 12px; align-items: flex-start; }
.wf-contact span { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.wf-contact p { font-size: 15px; line-height: 1.6; }
.wf-contact a { color: #fff; text-decoration: underline; }

.wholesale-form-card { background: #f0f6ff; padding: 40px 30px; }
.wholesale-form-card h3 { font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 20px; line-height: 1.5; }
.wholesale-form-card .form-control {
    background: #fff; border: 2px solid #d0dffa; border-radius: 10px;
}
.wholesale-form-card .form-control:focus {
    border-color: #1469d9; box-shadow: 0 0 0 3px rgba(20,105,217,.1);
}
.wholesale-form-card .btn-primary {
    background: linear-gradient(135deg, #1469d9, #1a8fd1); border: none;
    box-shadow: 0 4px 16px rgba(20,105,217,.3); border-radius: 12px;
    font-weight: 700; letter-spacing: .3px;
}
.wholesale-form-card .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(20,105,217,.4); transform: translateY(-1px);
}

/* Services pills */
.services-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.service-pill {
    cursor: pointer;
    position: relative;
}
.service-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.sp-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #eef4ff, #e8eeff);
    border: 2px solid #d0dffa;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1a3a6e;
    transition: all .25s;
    white-space: nowrap;
}
.sp-inner svg {
    color: #1469d9;
    flex-shrink: 0;
}
.service-pill input:checked + .sp-inner {
    background: linear-gradient(135deg, #1469d9, #1a8fd1);
    border-color: #1056b8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(20,105,217,.3);
}
.service-pill input:checked + .sp-inner svg {
    color: #fff;
}
.service-pill:hover .sp-inner {
    border-color: #1469d9;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(20,105,217,.15);
}
.form-consent {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 12px 0 18px;
}
.form-consent strong { color: #555; }

/* Discount badge in catalog */
.price-discount-badge {
    display: inline-block; background: #1469d9; color: #fff; font-size: 10px; font-weight: 700;
    padding: 1px 6px; border-radius: 8px; margin-left: 2px; vertical-align: middle; line-height: 1.4;
}
.price-your {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; color: #1469d9;
    background: #eef3ff; padding: 3px 8px; border-radius: 6px;
    border: 1px solid #d0dffa; margin-top: 4px; white-space: nowrap;
}
.price-your-label { display: none; }
.price-your-val { color: #1469d9; font-weight: 700; font-size: 13px; }
.price-your-lg {
    font-size: 20px; font-weight: 700; color: #1469d9; display: flex; align-items: center; gap: 8px;
    margin-top: 8px; background: linear-gradient(135deg, #eef3ff, #f0f4ff); padding: 10px 16px;
    border-radius: 12px; border: 1px solid #c8d8f8; width: fit-content;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-inner { flex-wrap: wrap; padding: 10px 0; }
    .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 16px; flex: none; }
    .header-phones { margin-left: auto; }
    .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-aside { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .home-slider { height: 320px; }
    .home-slide h2 { font-size: 40px; }
    .home-slide p { font-size: 18px; }
    .home-find-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .category-card { width: 240px; min-width: 240px; flex-basis: 240px; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .wholesale-benefits { grid-template-columns: repeat(2, 1fr); }
    .wholesale-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-inner { min-height: 56px; gap: 8px; flex-wrap: nowrap; }
    .logo-text { font-size: 20px; }
    .header-phones { display: none !important; }
    .main-nav {
        display: none !important; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(8px);
        flex-direction: column; padding: 80px 30px 30px;
        z-index: 200; gap: 0; width: 100%;
    }
    .main-nav.active { display: flex !important; }
    .main-nav a {
        font-size: 18px; padding: 14px 0;
        border-bottom: 1px solid #eef1f6;
    }
    .mobile-menu-btn { display: flex; position: relative; z-index: 210; flex-shrink: 0; order: 10; }
    .mobile-menu-btn.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .header-actions { gap: 4px; margin-left: auto; flex-shrink: 0; }
    .ha-btn-text { display: none !important; }
    .ha-btn { width: 36px; height: 36px; }
    .ha-cart { width: 38px; height: 38px; }
    .header-categories-bar { display: none; }
    .home-slider { height: 260px; border-radius: 14px; }
    .home-slide-content { left: 18px; right: 18px; bottom: 18px; max-width: 90%; }
    .home-slide h2 { font-size: 26px; }
    .home-slide p { font-size: 14px; }
    .hero-side-card strong { font-size: 22px; }
    .home-find-title { font-size: 26px; }
    .home-find-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 28px; }
    .hero { padding: 50px 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card { width: 210px; min-width: 210px; flex-basis: 210px; padding: 22px 14px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .pd-main { grid-template-columns: 1fr; }
    .pd-title { font-size: 22px; }
    .pd-price-current { font-size: 28px; }
    .pd-features { flex-direction: column; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .order-detail-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .search-form { width: 100%; }
    .search-form .form-control { width: 100%; flex: 1; }
    .wholesale-title { font-size: 28px; }
    .wholesale-benefits { grid-template-columns: 1fr 1fr; }
    .wholesale-steps { flex-direction: column; align-items: center; }
    .services-pills { grid-template-columns: repeat(2, 1fr); }
    .wholesale-form-card { padding: 24px 18px; }
    .wholesale-info-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .auth-form { padding: 24px 18px; margin: 0 8px; }
    .profile-status-banner { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
    .psb-badge { font-size: 18px; padding: 8px 14px; }
    .cta-section { padding: 50px 0; }
    .cta-content h2 { font-size: 26px; }
}
@media (max-width: 480px) {
    .logo-text { font-size: 18px; }
    .ha-btn { width: 34px; height: 34px; border-radius: 8px; }
    .ha-cart { width: 36px; height: 36px; border-radius: 8px; }
    .cart-badge { min-width: 16px; height: 16px; font-size: 9px; top: -4px; right: -4px; }
    .main-nav a { font-size: 16px; padding: 12px 0; }
    .home-slide h2 { font-size: 22px; }
    .home-slide p { font-size: 13px; }
    .hero-arrow { width: 34px; height: 34px; font-size: 26px; }
    .home-find-grid { grid-template-columns: 1fr 1fr; }
    .home-find-item { min-height: 108px; padding: 16px 10px; }
    .home-find-name { font-size: 14px; }
    .products-grid { grid-template-columns: 1fr; gap: 14px; }
    .pd-info-card { padding: 20px; }
    .pd-gallery-card { padding: 16px; }
    .pd-description-card { padding: 20px; }
    .pd-price-block { padding: 14px; }
    .pd-price-current { font-size: 24px; }
    .pd-add-btn { font-size: 15px; padding: 14px 20px; }
    .pd-feature { min-width: auto; flex: none; width: 100%; }
    .category-card { width: 180px; min-width: 180px; flex-basis: 180px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-total { width: 100%; text-align: right; }
    .catalog-sidebar { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .wholesale-benefits { grid-template-columns: 1fr; }
    .wholesale-title { font-size: 24px; }
    .services-pills { grid-template-columns: 1fr; }
    .sp-inner { font-size: 12px; padding: 10px 12px; }
    .wholesale-form-card { padding: 18px 14px; }
    .wholesale-info-card { padding: 20px 16px; }
    .wholesale-info-card h3 { font-size: 20px; }
    .form-row { grid-template-columns: 1fr; gap: 10px; }
    .section-title { font-size: 24px; margin-bottom: 24px; }
    .page-title { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(135deg, #0d2147 0%, #152d5a 100%);
    border-top: 1px solid rgba(20,105,217,0.3);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.35);
    padding: 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease;
}
.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.cookie-icon {
    font-size: 36px;
    flex-shrink: 0;
    animation: cookieBounce 2s ease infinite;
}
@keyframes cookieBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(-5deg); }
    75% { transform: translateY(-2px) rotate(3deg); }
}
.cookie-consent-text p {
    color: #c5d4e8;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.cookie-consent-text p a {
    color: #5b9cf5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-consent-text p a:hover {
    color: #fff;
}
.cookie-consent-text p strong {
    color: #fff;
}
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}
.cookie-btn:hover {
    transform: translateY(-2px);
}
.cookie-btn-accept {
    background: linear-gradient(135deg, #1469d9, #1b7ff0);
    color: #fff;
    box-shadow: 0 4px 16px rgba(20,105,217,0.35);
}
.cookie-btn-accept:hover {
    box-shadow: 0 6px 24px rgba(20,105,217,0.5);
    background: linear-gradient(135deg, #1b7ff0, #3d9af5);
}
.cookie-btn-decline {
    background: rgba(255,255,255,0.08);
    color: #8ea8c8;
    border: 1px solid rgba(255,255,255,0.12);
}
.cookie-btn-decline:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
@media (max-width: 600px) {
    .cookie-consent-inner { flex-direction: column; text-align: center; gap: 14px; padding: 18px 16px; }
    .cookie-consent-text { flex-direction: column; gap: 8px; }
    .cookie-consent-actions { width: 100%; justify-content: center; }
    .cookie-btn { flex: 1; padding: 12px 16px; }
}
