/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* ===== TOP BAR ===== */
.top-bar {
    background: #1a1a2e;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    line-height: 1;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}
.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    white-space: nowrap;
    transition: color 0.2s;
}
a.top-bar-item:hover {
    color: #FFE033;
}
.top-bar-item svg {
    color: #FFD600;
    flex-shrink: 0;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
    max-width: 1440px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #1a1a2e;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFD600, #C9A800);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    transition: transform 0.3s, box-shadow 0.3s;
}
.logo:hover .logo-icon {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 4px 16px rgba(255,214,0,0.3);
}
.logo span { color: #FFD600; }
.nav-desktop { display: flex; gap: 36px; align-items: center; }
.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}
.nav-desktop a:hover { color: #FFD600; }
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD600, #FFE033);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a.active { color: #FFD600; }
.nav-desktop a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a1a2e;
    transition: color 0.2s;
}
.header-phone:hover { color: #FFD600; }
.header-phone svg { width: 20px; height: 20px; color: #FFD600; }
.btn-callback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD600, #C9A800);
    color: #111;
    padding: 11px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255,214,0,0.2);
}
.btn-callback:hover {
    background: linear-gradient(135deg, #FFE033, #FFD600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,214,0,0.35);
}

/* ===== MOBILE MENU ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99;
    padding: 110px 24px 40px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    animation: slideInMenu 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes slideInMenu {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
.mobile-menu a {
    display: flex;
    align-items: center;
    padding: 18px 16px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 12px;
    min-height: 56px;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: #fffde7; color: #FFD600; }
.mobile-menu a.active { color: #FFD600; background: #fffde7; }
.mobile-menu-contacts {
    margin-top: auto;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu-contacts a {
    font-size: 1.2rem;
    border: none;
    padding: 12px 16px;
    min-height: 48px;
    color: #1a1a2e;
}
.mobile-menu-contacts a:hover { color: #FFD600; }
.mobile-menu-hours {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #888;
}
.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD600, #C9A800);
    color: #111 !important;
    padding: 18px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 16px;
    min-height: 56px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255,214,0,0.3);
}
.mobile-cta-btn:hover {
    background: linear-gradient(135deg, #FFE033, #FFD600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,214,0,0.4);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a2e 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,214,0,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,214,0,0.1) 0%, transparent 50%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-sparks {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #FFD600;
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
    box-shadow: 0 0 6px #FFD600, 0 0 12px rgba(255,214,0,0.5);
}
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; transform: translateY(-30px) scale(1); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}
.hero-text {}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,214,0,0.12);
    border: 1px solid rgba(255,214,0,0.25);
    border-radius: 100px;
    color: #FFD600;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #FFD600;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero h1 .accent {
    background: linear-gradient(135deg, #FFD600, #FFE033);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD600, #C9A800);
    color: #111;
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255,214,0,0.25);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255,214,0,0.4);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}
.hero-stat {
    text-align: left;
    position: relative;
    padding-top: 16px;
}
.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #FFD600, transparent);
    border-radius: 2px;
}
.hero-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero-stat-value .orange { color: #FFD600; }
.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}
/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,214,0,0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}
.hero-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 44px;
    width: 100%;
    max-width: 460px;
    transition: border-color 0.4s;
}
.hero-card:hover { border-color: rgba(255,214,0,0.2); }
.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
}
.hero-card-items { display: flex; flex-direction: column; gap: 16px; }
.hero-card-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.hero-card-item:hover {
    background: rgba(255,214,0,0.08);
    border-color: rgba(255,214,0,0.15);
    transform: translateX(6px);
}
.hero-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255,214,0,0.2), rgba(255,214,0,0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.hero-card-item:hover .hero-card-icon { transform: scale(1.08); }
.hero-card-item-text strong { font-size: 0.95rem; font-weight: 600; color: #fff; display: block; }
.hero-card-item-text p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 3px; }

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FFD600;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding: 120px 0;
    background: #fafafa;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.adv-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD600, #FFE033);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.adv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fffde7, #fff9c4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: transform 0.3s;
}
.adv-card:hover .adv-icon { transform: scale(1.1) rotate(-4deg); }
.adv-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}
.adv-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
}

/* ===== CATEGORIES ===== */
.categories { padding: 120px 0; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.cat-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 44px 36px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    will-change: transform;
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 1;
}
.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}
.cat-card-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    opacity: 0.18;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
/* When cat-card-bg contains an img (SVG), opacity is handled on the img itself */
.cat-card-bg:has(img) {
    opacity: 1;
}
.cat-card-bg img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    opacity: 0.35;
    filter: invert(1) brightness(1.5);
    transition: transform 0.4s, opacity 0.4s;
}
.cat-card:hover .cat-card-bg { opacity: 0.32; transform: scale(1.15) rotate(4deg); }
.cat-card-bg:has(img) { transform: none; }
.cat-card:hover .cat-card-bg:has(img) { opacity: 1; transform: scale(1.1); }
.cat-card:hover .cat-card-bg img {
    opacity: 0.5;
    transform: scale(1.1);
}
.cat-card-content { position: relative; z-index: 2; }
.cat-card-count {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255,214,0,0.18);
    border-radius: 100px;
    color: #FFE033;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}
.cat-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.cat-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.cat-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #FFD600;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s;
}
.cat-card:hover .cat-card-arrow { gap: 14px; }

/* ===== BRANDS ===== */
.brands {
    padding: 100px 0;
    background: #fafafa;
}
.brands-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
}
.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 56px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 220px;
}
.brand-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD600, #FFE033);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.brand-item:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(255,214,0,0.12);
    transform: translateY(-4px);
}
.brand-item:hover::after { transform: scaleX(1); }
.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}
.brand-desc { font-size: 0.85rem; color: #888; text-align: center; }

/* ===== ABOUT SECTION ===== */
.about { padding: 120px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-content {}
.about h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}
.about h2 .accent { color: #FFD600; }
.about-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-features { display: flex; flex-direction: column; gap: 20px; }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    transition: background 0.3s;
}
.about-feature:hover { background: #fffde7; }
.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #fffde7, #fff9c4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.about-feature:hover .about-feature-icon { transform: scale(1.1); }
.about-feature-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 3px;
}
.about-feature-text p { font-size: 0.88rem; color: #888; }
.about-clients {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.2);
}
.about-clients h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.client-tag {
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}
.client-tag:hover {
    background: rgba(255,214,0,0.1);
    border-color: rgba(255,214,0,0.2);
    color: #fff;
}

/* ===== CTA ===== */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,214,0,0.12), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(255,214,0,0.06), transparent 60%);
}
.cta-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.cta h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 40px;
    line-height: 1.7;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
    font-size: 2rem;
    font-weight: 800;
    color: #FFD600;
    margin-bottom: 8px;
}
.cta-phone a {
    color: #FFD600;
    transition: color 0.2s, text-shadow 0.2s;
}
.cta-phone a:hover {
    text-shadow: 0 0 24px rgba(255,214,0,0.4);
}
.cta-schedule {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 36px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a14;
    padding: 72px 0 32px;
    color: rgba(255,255,255,0.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 24px;
}
.footer ul li { margin-bottom: 14px; }
.footer ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s, padding-left 0.2s;
}
.footer ul a:hover { color: #FFD600; padding-left: 4px; }
.footer-address {
    font-style: normal;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.footer-contact-item svg { width: 18px; height: 18px; color: #FFD600; flex-shrink: 0; }
.footer-contact-item a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer-contact-item a:hover { color: #FFD600; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-bottom a {
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}
.footer-bottom a:hover { color: #FFD600; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 20px 0; font-size: 0.85rem; color: #888; }
.breadcrumbs a { color: #666; transition: color 0.2s; }
.breadcrumbs a:hover { color: #FFD600; }
.breadcrumbs span { margin: 0 8px; color: #ccc; }

/* ===== WILDBERRIES-STYLE PRODUCT GRID ===== */
.wb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.wb-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.wb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.wb-card-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f7;
}
.wb-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.4s;
}
.wb-card:hover .wb-card-img { transform: scale(1.05); }
.wb-card-img.placeholder { opacity: 0.35; padding: 32px; }
.wb-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    pointer-events: none;
}
.wb-card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.wb-card-price-req {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
}
.wb-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26,26,46,0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}
.wb-card-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(34,197,94,0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.wb-card-info {
    padding: 10px 14px 14px;
}
.wb-card-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== LIST VIEW ===== */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.list-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 12px 20px;
    transition: all 0.25s;
}
.list-card:hover {
    border-color: rgba(255,214,0,0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.list-card-img-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f7;
}
.list-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.list-card-img.placeholder { opacity: 0.35; padding: 14px; }
.list-card-body { flex: 1; min-width: 0; }
.list-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-card-brand { font-size: 0.8rem; color: #888; }
.list-card-desc { font-size: 0.8rem; color: #999; margin-top: 4px; }
.list-card-right {
    text-align: right;
    flex-shrink: 0;
}
.list-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}
.list-card-stock {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
    margin-top: 4px;
}

/* ===== CATALOG TOOLBAR ===== */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
/* Filters button — pill with icon */
.toolbar-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f4f4f6;
    border: 1.5px solid transparent;
    border-radius: 100px;
    padding: 8px 18px 8px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.22s;
    white-space: nowrap;
    flex-shrink: 0;
}
.toolbar-filter-btn:hover {
    border-color: #FFD600;
    background: #fffde7;
    color: #1a1a2e;
}
.toolbar-filter-btn.has-filters {
    background: #fffde7;
    border-color: #FFD600;
}
/* Filter active count badge */
.toolbar-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #FFD600;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #111;
    padding: 0 5px;
    line-height: 1;
}
/* Sort select — custom styled */
.toolbar-sort-wrap {
    position: relative;
    flex-shrink: 0;
}
.toolbar-sort-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #888;
    pointer-events: none;
}
.toolbar-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: #f4f4f6;
    border: 1.5px solid transparent;
    border-radius: 100px;
    padding: 8px 34px 8px 16px;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    color: #1a1a2e;
    cursor: pointer;
    outline: none;
    transition: all 0.22s;
    white-space: nowrap;
}
.toolbar-sort-select:hover {
    border-color: rgba(0,0,0,0.12);
    background: #efefef;
}
.toolbar-sort-select:focus {
    border-color: #FFD600;
    background: #fffde7;
    box-shadow: 0 0 0 3px rgba(255,214,0,0.15);
}
/* Product count */
.toolbar-count {
    font-size: 0.8rem;
    color: #999;
    white-space: nowrap;
    padding-left: 4px;
}
/* View toggle — segmented pill */
.toolbar-view {
    display: inline-flex;
    background: #f4f4f6;
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}
.toolbar-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    color: #aaa;
    transition: all 0.22s;
}
.toolbar-view-btn:hover { color: #555; }
.toolbar-view-btn.active {
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* ===== CATALOG WITH FILTERS LAYOUT ===== */
.catalog-with-filters {
    display: block; /* mobile default: single column */
    gap: 0;
    align-items: flex-start;
}
.catalog-products { flex: 1; min-width: 0; }

/* ===== FILTER PANEL ===== */
.filter-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 320px;
    max-width: 92vw;
    background: #fff;
    z-index: 1000 !important;
    transform: translateX(-100%) !important;
    -webkit-transform: translateX(-100%) !important;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                -webkit-transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 40px rgba(0,0,0,0.14);
    will-change: transform;
    border-right: 1px solid rgba(0,0,0,0.06);
}
.filter-panel.open {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}
.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 999;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: opacity 0.32s;
}
.filter-overlay.open { display: block; }

/* Header of filter panel */
.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    background: #fff;
}
.filter-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-close-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    flex-shrink: 0;
}
.filter-close-btn:hover { background: #e8e8ea; color: #1a1a2e; }

.filter-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Filter groups */
.fp-group {
    margin-bottom: 28px;
}
.fp-group:last-of-type { margin-bottom: 0; }
.fp-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #bbb;
    margin-bottom: 14px;
}

/* Brand chips */
.fp-brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.fp-brand-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.fp-brand-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.fp-chip-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f4f4f6;
    border: 1.5px solid transparent;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.3;
}
.fp-chip-label:hover {
    background: #efefef;
    color: #1a1a2e;
}
.fp-brand-chip input:checked + .fp-chip-label {
    background: #FFD600;
    border-color: #FFD600;
    color: #111;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255,214,0,0.25);
}

/* Legacy checkboxes (in_stock) */
.fp-check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 0;
    user-select: none;
}
.fp-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.fp-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 7px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: #fff;
}
.fp-check-icon {
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
    color: #111;
}
.fp-check input:checked + .fp-check-box {
    background: #FFD600;
    border-color: #FFD600;
    box-shadow: 0 2px 8px rgba(255,214,0,0.3);
}
.fp-check input:checked + .fp-check-box .fp-check-icon {
    opacity: 1;
    transform: scale(1);
}
.fp-check-text {
    font-size: 0.92rem;
    color: #333;
    font-weight: 500;
}

/* Toggle switch for in_stock */
.fp-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}
.fp-toggle-label-text {
    font-size: 0.92rem;
    color: #333;
    font-weight: 500;
}
.fp-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.fp-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.fp-toggle-track {
    width: 44px;
    height: 24px;
    background: #e0e0e0;
    border-radius: 100px;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}
.fp-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.fp-toggle input:checked + .fp-toggle-track {
    background: #FFD600;
}
.fp-toggle input:checked + .fp-toggle-track .fp-toggle-thumb {
    transform: translateX(20px);
    box-shadow: 0 1px 6px rgba(255,214,0,0.4);
}

/* Price inputs */
.fp-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.fp-price-field {
    flex: 1;
    position: relative;
}
.fp-price-label {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 0.68rem;
    color: #aaa;
    background: #fff;
    padding: 0 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fp-price-input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.fp-price-input:focus {
    border-color: #FFD600;
    box-shadow: 0 0 0 3px rgba(255,214,0,0.12);
}
.fp-price-sep {
    width: 14px;
    height: 2px;
    background: #ddd;
    border-radius: 1px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Filter actions */
.fp-actions {
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    background: #fff;
}
.fp-apply-btn {
    width: 100%;
    background: linear-gradient(135deg, #FFD600 0%, #C9A800 100%);
    border: none;
    cursor: pointer;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    color: #111;
    transition: all 0.25s;
    box-shadow: 0 2px 10px rgba(255,214,0,0.25);
    letter-spacing: 0.01em;
}
.fp-apply-btn:hover {
    background: linear-gradient(135deg, #FFE033, #FFD600);
    box-shadow: 0 4px 18px rgba(255,214,0,0.4);
    transform: translateY(-1px);
}
.fp-reset-btn {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none;
}
.fp-reset-btn:hover { color: #1a1a2e; background: #f4f4f6; }

/* Desktop: filters as sticky sidebar */
@media (min-width: 1025px) {
    .catalog-with-filters {
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }
    .filter-panel.desktop-open {
        position: sticky !important;
        top: 88px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        -webkit-transform: none !important;
        width: 272px !important;
        max-width: 272px !important;
        flex-shrink: 0;
        box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
        border: 1px solid rgba(0,0,0,0.07) !important;
        border-radius: 18px !important;
        z-index: auto !important;
        height: fit-content !important;
        max-height: calc(100vh - 108px) !important;
        overflow: hidden;
    }
    .filter-panel.desktop-open .filter-close-btn { display: none; }
    .filter-overlay { display: none !important; }
    .toolbar-filter-btn { display: none !important; }
}

/* Mobile/tablet: always fixed slide-in */
@media (max-width: 1024px) {
    .filter-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        z-index: 1000 !important;
        transform: translateX(-100%) !important;
        -webkit-transform: translateX(-100%) !important;
    }
    .filter-panel.open {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
    }
    .catalog-with-filters {
        display: block !important;
    }
    /* fp-actions moved inside the panel body on mobile */
    .fp-actions {
        position: sticky;
        bottom: 0;
    }
}

/* legacy compat - keep old classes working */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}
.product-card-body { padding: 24px; }
.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-card-brand { font-size: 0.8rem; color: #888; margin-bottom: 8px; }
.product-card-price { font-size: 1.2rem; font-weight: 700; color: #FFD600; }
.product-card-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #fafafa;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* ===== PLACEHOLDER IMAGES ===== */
.product-card-img.placeholder {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 40px;
    border-bottom: 1px solid #f0f0f0;
    opacity: 0.5;
}
/* Detail view placeholder */
.product-detail .product-image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    gap: 12px;
}
.product-detail .product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-detail .product-image-placeholder .placeholder-label {
    font-size: 0.8rem;
    color: #b0b5bc;
    text-align: center;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 48px 0 100px; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.product-detail-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.product-detail-brand { font-size: 0.9rem; color: #888; margin-bottom: 24px; }
.product-detail-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFD600;
    margin-bottom: 28px;
}
.product-specs { margin-top: 36px; }
.product-specs h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; }
.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: #888; font-size: 0.9rem; }
.spec-value { font-weight: 600; font-size: 0.9rem; }

/* ===== PAGE HEADER FOR INNER PAGES ===== */
.page-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 56px 0 48px;
}
.page-header h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}
.page-header .breadcrumbs { color: rgba(255,255,255,0.5); }
.page-header .breadcrumbs a { color: rgba(255,255,255,0.6); }
.page-header .breadcrumbs a:hover { color: #FFD600; }
.page-header .breadcrumbs span { color: rgba(255,255,255,0.3); }

/* ===== INFO PAGES ===== */
.info-page p { color: #475569; line-height: 1.75; }
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: rgba(255,214,0,0.15);
}
.contact-card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}
.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.contact-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}
.privacy-content {
    max-width: 820px;
    margin: 0 auto;
}
.privacy-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 40px;
    margin-bottom: 16px;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}
.privacy-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}
.privacy-content li {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 6px;
}

/* ===== RESPONSIVE: 1440px ===== */
@media (max-width: 1440px) {
    .container { padding: 0 32px; }
    .header-top { padding: 0 32px; }
    .hero-content { padding: 0 32px; gap: 60px; }
}

/* ===== RESPONSIVE: 1024px ===== */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .header-top { padding: 0 24px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; padding: 0 24px; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-stat { text-align: center; }
    .hero-stat::before { left: 50%; transform: translateX(-50%); }
    .hero-visual { display: none; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages { padding: 80px 0; }
    .categories { padding: 80px 0; }
    .about { padding: 80px 0; }
    .cta { padding: 80px 0; }
    .top-bar-right { display: none; }
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-desktop { display: none; }
    .burger { display: flex; }
    .header-phone { display: none; }
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .hero-stat-value { font-size: 1.6rem; }
    .advantages-grid { grid-template-columns: 1fr; gap: 16px; }
    .adv-card { padding: 28px 24px; }
    .categories-grid { grid-template-columns: 1fr; }
    .cat-card {
        min-height: 220px;
        padding: 32px 28px;
    }
    .brands-row { gap: 16px; }
    .brand-item {
        padding: 28px 36px;
        flex: 1 1 calc(50% - 8px);
        min-width: 160px;
    }
    .clients-grid { grid-template-columns: 1fr; }
    .about-clients { padding: 32px; }
    .cta-phone { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-detail-title { font-size: 1.5rem; }
    .product-detail-price { font-size: 1.8rem; }
    .page-header h1 { font-size: 1.5rem; }
    .page-header { padding: 36px 0 28px; }
    .section-header { margin-bottom: 40px; }
    .info-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 28px 24px; }
}

/* ===== RESPONSIVE: 480px ===== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header-top { padding: 0 16px; height: 64px; }
    .hero-content { padding: 0 16px; }
    .hero h1 { font-size: 1.85rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary, .btn-secondary {
        justify-content: center;
        width: 100%;
        padding: 16px 24px;
        min-height: 52px;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .hero-stat-value { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.75rem; }
    .section-title { font-size: 1.6rem; }
    .cat-card h3 { font-size: 1.2rem; }
    .brand-item {
        flex: 1 1 100%;
        padding: 24px;
    }
    .cta h2 { font-size: 1.6rem; }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }
    .about h2 { font-size: 1.5rem; }
    .about-feature { padding: 12px; }
    .footer { padding: 48px 0 24px; }
}

/* ===== YANDEX MAP ===== */
#map {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* ===== HEADER SEARCH ===== */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}
.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    min-width: 36px;
    min-height: 36px;
    transition: color 0.2s, background 0.2s;
}
.header-search-toggle:hover {
    color: #FFD600;
    background: rgba(255,214,0,0.08);
}
/* Desktop dropdown search */
.header-search-form {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
    border: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
    width: 340px;
    z-index: 200;
}
.header-search-form.open {
    display: block;
    animation: fadeInDown 0.2s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.header-search-form form {
    display: flex;
    align-items: center;
}
.header-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a1a2e;
    background: transparent;
}
.header-search-input::placeholder { color: #bbb; }
.header-search-submit {
    background: #FFD600;
    border: none;
    cursor: pointer;
    padding: 15px 16px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.header-search-submit:hover { background: #FFE033; }

/* ===== MOBILE SEARCH BAR (full-width below header) ===== */
.mobile-search-bar {
    display: none;
    position: fixed;
    top: 64px; /* below 64px header on mobile */
    left: 0;
    right: 0;
    z-index: 98;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 10px 16px;
    animation: slideDown 0.22s ease;
}
.mobile-search-bar.open { display: block; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-search-bar form {
    display: flex;
    align-items: center;
    background: #f4f4f6;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid transparent;
    transition: border-color 0.2s;
}
.mobile-search-bar form:focus-within {
    border-color: #FFD600;
    background: #fff;
}
.mobile-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a1a2e;
    background: transparent;
    min-width: 0;
}
.mobile-search-bar input::placeholder { color: #aaa; }
.mobile-search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 14px;
    color: #888;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    flex-shrink: 0;
}
.mobile-search-bar button[type="submit"] {
    color: #FFD600;
    font-weight: 600;
}
.mobile-search-bar button:hover { color: #1a1a2e; }
.mobile-search-close {
    background: none !important;
    color: #aaa !important;
    padding: 12px 10px !important;
}

/* ===== SEARCH PAGE ===== */
.search-page-form {
    margin-bottom: 40px;
}
.search-page-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    max-width: 720px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-page-input-wrap:focus-within {
    border-color: #FFD600;
    box-shadow: 0 0 0 4px rgba(255,214,0,0.12);
}
.search-page-icon {
    margin-left: 20px;
    color: #aaa;
    flex-shrink: 0;
}
.search-page-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 1.05rem;
    font-family: inherit;
    color: #1a1a2e;
    background: transparent;
}
.search-page-input::placeholder { color: #aaa; }
.search-page-btn {
    background: linear-gradient(135deg, #FFD600, #C9A800);
    border: none;
    cursor: pointer;
    padding: 16px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    color: #111;
    transition: background 0.2s;
    white-space: nowrap;
}
.search-page-btn:hover { background: linear-gradient(135deg, #FFE033, #FFD600); }
.search-results-header { margin-bottom: 24px; }
.search-results-count { color: #555; font-size: 0.95rem; }
.search-empty {
    text-align: center;
    padding: 80px 0;
}
.search-empty-icon {
    color: #ddd;
    margin-bottom: 20px;
}
.search-empty h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.search-empty p {
    color: #888;
    font-size: 0.95rem;
}
.search-empty p a { color: #FFD600; text-decoration: underline; }

.no-products-msg {
    padding: 60px 0;
    color: #888;
    text-align: center;
}
.no-products-msg a { color: #FFD600; text-decoration: underline; }

/* ===== PAGINATION ===== */
.pagination-wrap {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.page-btn:hover {
    border-color: #FFD600;
    color: #1a1a2e;
    background: #fffde7;
}
.page-btn.active {
    background: #FFD600;
    border-color: #FFD600;
    color: #111;
    cursor: default;
}
.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.page-ellipsis {
    background: none;
    border: none;
    cursor: default;
    color: #aaa;
}
.pagination-info {
    font-size: 0.82rem;
    color: #aaa;
}

/* ===== RESPONSIVE: CATALOG ===== */
@media (max-width: 1024px) {
    .wb-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media (max-width: 768px) {
    /* On mobile, search is handled by mobile-search-bar, hide the dropdown form */
    .header-search-form {
        display: none !important;
    }

    .wb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .wb-card { border-radius: 12px; }
    .wb-card-info { padding: 8px 10px 10px; }
    .wb-card-title { font-size: 0.78rem; }
    .wb-card-price { font-size: 0.95rem; }
    .wb-card-badge { font-size: 0.6rem; padding: 3px 7px; border-radius: 6px; }
    .wb-card-stock { font-size: 0.58rem; padding: 2px 6px; }
    .wb-card-overlay { padding: 8px 10px; }

    .list-card { padding: 10px 14px; gap: 12px; }
    .list-card-img-wrap { width: 60px; height: 60px; }
    .list-card-title { font-size: 0.85rem; }
    .list-card-price { font-size: 0.95rem; }

    .catalog-toolbar {
        gap: 8px;
        padding: 8px 12px;
        border-radius: 12px;
    }
    .toolbar-sort-select { padding: 8px 30px 8px 12px; font-size: 0.82rem; }
    .toolbar-count { display: none; }

    .search-page-input-wrap { flex-wrap: wrap; }
    .search-page-btn { width: 100%; padding: 14px; justify-content: center; }
}
@media (max-width: 480px) {
    .wb-grid { gap: 6px; }
    .wb-card-img-wrap { aspect-ratio: 2/3; }
    .wb-card-img { padding: 8px; }

    .catalog-toolbar {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .toolbar-left {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}
