/* ============================================
   IMOFF - Premium Apple Store
   Light Theme with Gradient Stylesheet
   ============================================ */

/* ============================================
   Fonts
   ============================================ */
@font-face {
    font-family: 'X5SANS';
    src: url('../fonts/X5SANS-REGULAR.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'X5SANS';
    src: url('../fonts/X5SANS-BOLD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS Variables - Premium Purple Light Theme
   ============================================ */
:root {
    /* Premium Purple Palette */
    --color-purple-light: #EDE9FE;
    --color-purple-dark: #5B21B6;
    --color-black: #0F0F0F;
    
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #FAFAFC;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #F5F3FF 50%, #FAFAFC 100%);
    
    /* Dark sections (header, footer) */
    --bg-dark: #0F0F0F;
    --bg-dark-secondary: #1A1A1A;
    
    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;
    --text-light: #ffffff;
    
    /* Accent Colors - Purple + Premium Blue */
    --accent-primary: #5B21B6;
    --accent-secondary: #A78BFA;
    --accent-blue: #2563EB;
    --accent-green: #34c759;
    --accent-orange: #ff9500;
    --accent-red: #ff3b30;
    
    /* Gradients - Premium Purple */
    --gradient-metal: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #A78BFA 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #F5F3FF 50%, #FAFAFC 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #F5F3FF 100%);
    --gradient-purple-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
    
    /* Borders */
    --border-color: rgba(91, 33, 182, 0.08);
    --border-color-hover: rgba(91, 33, 182, 0.15);
    --border-color-dark: rgba(255, 255, 255, 0.1);
    
    /* Shadows - Soft purple tint */
    --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06);
    --shadow-md: 0 4px 20px rgba(124, 58, 237, 0.08);
    --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.12);
    --shadow-card: 0 2px 12px rgba(124, 58, 237, 0.08);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.2);
    
    /* Typography */
    --font-primary: 'X5SANS', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --header-height: 140px;
    --container-padding: 20px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-gradient);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    transition: padding-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Preloader (Premium)
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f0a14 0%, #1a1625 50%, #0f0f14 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.preloader-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 3s ease-in-out infinite;
}

.preloader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.1));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.preloader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-duration: 1.5s;
    border-top-color: var(--accent-primary);
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 1.2s;
    animation-direction: reverse;
    border-top-color: var(--accent-secondary);
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-duration: 1s;
    border-top-color: rgba(124, 58, 237, 0.5);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.preloader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loading-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.loading-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   Top Bar (Dark)
   ============================================ */
.top-bar {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color-dark);
    padding: 8px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: #ffffff;
}

.top-bar-left a i {
    font-size: 12px;
    color: var(--accent-secondary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-socials {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-bar-socials .social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.2s ease;
}

.top-bar-socials .social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.phone-link {
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-link i {
    color: var(--accent-green);
}

.header-callback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-callback-btn:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    border-color: rgba(167, 139, 250, 0.5);
    color: #ffffff;
}

.work-hours {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-address-mobile {
    display: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    white-space: nowrap;
    align-items: center;
    gap: 6px;
}

.store-address-mobile i {
    color: var(--accent-secondary);
    font-size: 11px;
}

/* ============================================
   Header (Dark)
   ============================================ */
.main-header {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color-dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease;
    will-change: top, background, box-shadow;
}

.main-header.scrolled {
    background: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Search */
.search-wrapper {
    flex: 1;
    max-width: 500px;
    position: relative;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-wrapper.focused,
.search-wrapper.search-dropdown-visible,
.search-wrapper:focus-within {
    max-width: 800px;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 56px 12px 20px;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    transition: var(--transition-normal);
}

.search-form .search-btn { right: 5px; }
.search-form .search-clear-btn { right: 50px; }

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-metal);
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: var(--transition-normal);
}

.header-action:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    border-color: rgba(167, 139, 250, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.header-action .badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    min-width: 18px !important;
    width: auto !important;
    height: 18px !important;
    padding: 0 5px !important;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%) !important;
    border-radius: 50% !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    cursor: default !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.cart-action {
    width: auto;
    padding: 0 15px;
    gap: 10px;
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.cart-total {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* Menu Close Button */
.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    display: none; /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Navigation (Dark) */
.main-nav {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-color-dark);
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-item:hover .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active .nav-link,
.nav-link.active,
.catalog-dropdown > .nav-link {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
.catalog-dropdown:hover .nav-link {
    color: #ffffff;
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.nav-link i {
    font-size: 16px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

/* Desktop only: show dropdown on hover */
@media (min-width: 993px) {
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    /* Hide mobile-only blocks on desktop */
    .mobile-catalog-dropdown {
        display: none !important;
    }
    .mobile-nav-footer {
        display: none !important;
    }
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding-left: 20px;
}

/* ============================================
   Catalog Mega Menu
   ============================================ */
.catalog-dropdown {
    position: static;
}

.catalog-mega-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: 100%;
    max-width: 1400px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #f8f8fa 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    padding: 50px var(--container-padding);
    margin: 0 auto;
}

.catalog-mega-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.catalog-recommended-column {
    min-width: 0;
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

/* Mega menu visibility controlled by JavaScript */

.catalog-categories-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.recommended-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.recommended-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.view-all-catalog {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.view-all-catalog:hover {
    color: var(--accent-secondary);
    gap: 10px;
}

.catalog-categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-category-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.catalog-category-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-category-link:hover {
    border-color: var(--accent-primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.catalog-category-link:hover::before {
    opacity: 0.08;
}

.category-link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.category-link-icon i {
    font-size: 20px;
    color: #ffffff;
}

.category-link-icon:has(.category-link-image) {
    background: var(--bg-secondary);
    overflow: hidden;
}

.category-link-icon .category-link-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.category-link-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.category-link-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.category-link-count {
    font-size: 12px;
    color: var(--text-muted);
}

.category-link-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.catalog-category-link:hover .category-link-arrow {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.catalog-recommended-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.catalog-recommended-product {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.catalog-recommended-product::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-recommended-product:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.25);
}

.catalog-recommended-product:hover::before {
    opacity: 1;
}

.recommended-product-image {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.recommended-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.catalog-recommended-product:hover .recommended-product-image img {
    transform: scale(1.15);
}

.recommended-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    z-index: 2;
}

.recommended-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.recommended-product-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.recommended-product-specs {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.recommended-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.recommended-product-price.recommended-product-old {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.catalog-recommended-arrow {
    font-size: 14px;
    color: var(--text-muted);
    align-self: center;
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.catalog-recommended-product:hover .catalog-recommended-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .catalog-mega-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .catalog-recommended-column {
        padding-left: 24px;
    }
}

@media (max-width: 992px) {
    .catalog-mega-menu {
        display: none;
    }
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* ============================================
   Hero Section (Dark with brand background)
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
}

.hero-slide {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.hero-text {
    max-width: 550px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-metal);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-features li i {
    color: var(--accent-secondary);
    font-size: 16px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-price .price-from {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-price .price-value {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    color: #ffffff;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: var(--bg-dark);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: var(--transition-normal);
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: var(--accent-secondary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #5B21B6 0%, #4C1D95 100%);
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffffff 0%, #A78BFA 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #1d1d1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: #ffffff;
    color: #1d1d1f;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-cart {
    flex: 1;
    background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 50%, #5B21B6 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.btn-cart:hover {
    background-position: 100% 0%;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.btn-cart i {
    display: none;
}

.btn-cart span {
    display: inline;
}

.btn-buy {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 400;
    box-sizing: border-box;
}

.btn-buy:hover {
    background: var(--accent-primary);
    color: #ffffff;
}

/* ============================================
   Benefits Section (Premium Dark)
   ============================================ */
.benefits-section {
    background: linear-gradient(135deg, #1a1625 0%, #2d2a3d 50%, #252230 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 100% 60% at 0% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(167, 139, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.benefit-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 8px 20px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 
        0 12px 30px rgba(124, 58, 237, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.benefit-item .benefit-icon i {
    font-size: 22px;
    color: #C4B5FD;
}

.benefit-content {
    position: relative;
    z-index: 1;
}

.benefit-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.benefit-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #A78BFA;
    text-decoration: none;
    margin-top: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
    width: 100%;
    position: relative;
    z-index: 1;
}
.benefit-cta-link:hover {
    color: #C4B5FD;
    transform: translateX(4px);
}
.benefit-cta-link i {
    font-size: 12px;
}

.benefit-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ============================================
   Products Section (Light with gradient)
   ============================================ */
.products-section {
    padding: 80px 0;
    background: var(--bg-gradient);
}

.products-section .product-card-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
}

/* New Arrivals Premium Section */
.new-arrivals-section {
    background: linear-gradient(180deg, #e8e8ed 0%, #f2f2f5 30%, #f5f5f7 70%, #eaeaef 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.new-arrivals-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(91, 33, 182, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.new-arrivals-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.6) 50%, transparent 100%);
}

.new-arrivals-section .section-title {
    color: #1d1d1f;
    background: linear-gradient(135deg, #1d1d1f 0%, #4a4a4c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.new-arrivals-section .view-all-link {
    color: #6D28D9;
    border-color: rgba(124, 58, 237, 0.3);
}

.new-arrivals-section .view-all-link:hover {
    color: #7C3AED;
    border-color: rgba(124, 58, 237, 0.6);
    background: rgba(124, 58, 237, 0.1);
}

.new-arrivals-section .swiper-nav-btn {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.25);
    color: #6D28D9;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

.new-arrivals-section .swiper-nav-btn:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    border-color: #7C3AED;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.new-arrivals-header {
    position: relative;
    z-index: 1;
}

.new-arrivals-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.new-arrivals-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(91, 33, 182, 0.08) 100%);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 30px;
    width: fit-content;
    font-size: 12px;
    font-weight: 700;
    color: #5B21B6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.new-arrivals-label i {
    font-size: 14px;
    color: #7C3AED;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.new-arrivals-section .product-card {
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(124, 58, 237, 0.05);
}

.new-arrivals-section .product-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(124, 58, 237, 0.2);
    transform: translateY(-8px);
}

.new-arrivals-section .product-title {
    color: var(--text-primary);
}

.new-arrivals-section .product-specs {
    color: var(--text-muted);
}

.new-arrivals-section .price-current {
    color: #1d1d1f;
    font-weight: 700;
}

.new-arrivals-section .price-old {
    color: var(--text-muted);
}

.new-arrivals-section .info-badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-color: rgba(124, 58, 237, 0.2);
    color: #6D28D9;
}

.new-arrivals-section .color-option {
    border-color: rgba(124, 58, 237, 0.2);
}

.new-arrivals-section .color-option.active {
    box-shadow: 0 0 0 2px #7C3AED;
}

.new-arrivals-section .product-card-icons .product-favorite {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.2);
    color: #6D28D9;
}

.new-arrivals-section .product-card-icons .product-favorite:hover {
    background: rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

.new-arrivals-section .product-card-icons .product-compare {
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.2);
    color: #6D28D9;
}

.new-arrivals-section .product-card-icons .product-compare:hover,
.new-arrivals-section .product-card-icons .product-compare.active {
    background: rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.4);
    color: var(--accent-blue);
}

.new-arrivals-section .btn-buy {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-color: rgba(124, 58, 237, 0.3);
    color: #6D28D9;
}

.new-arrivals-section .btn-buy:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    border-color: #7C3AED;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

@media (max-width: 768px) {
    .new-arrivals-section {
        padding: 70px 0;
    }
    
    .new-arrivals-title-wrapper {
        gap: 10px;
    }
    
    .new-arrivals-label {
        font-size: 10px;
        padding: 6px 12px;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.swiper-nav {
    display: flex;
    gap: 10px;
}

.swiper-nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.swiper-nav-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 500;
}

.view-all-link:hover {
    color: var(--accent-primary);
}

.view-all-link i {
    transition: var(--transition-normal);
}

.view-all-link:hover i {
    transform: translateX(5px);
}

/* Product Card (Light) */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

/* Ensure swiper slides have equal height */
.productsSwiper .swiper-slide,
.bestsellersSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.productsSwiper .swiper-slide > .product-card,
.bestsellersSwiper .swiper-slide > .product-card {
    width: 100%;
}

.product-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Product Link - Make entire card clickable area */
.product-card .product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .product-link:hover {
    text-decoration: none;
}

.product-card .product-link .product-title {
    transition: color 0.3s ease;
}

.product-card .product-link:hover .product-title {
    color: var(--accent-primary);
}

/* Product Badges - Premium Floating Style */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: badgeSlideIn 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.badge.expanded {
    width: auto;
    height: auto;
    padding: 8px 12px;
    border-radius: 12px;
    gap: 6px;
}

.badge:nth-child(1) { animation-delay: 0.1s; }
.badge:nth-child(2) { animation-delay: 0.2s; }
.badge:nth-child(3) { animation-delay: 0.3s; }

@keyframes badgeSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.badge i {
    font-size: 12px;
    flex-shrink: 0;
}

.badge-text {
    display: none;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.badge.expanded .badge-text {
    display: flex;
}

.badge-title {
    font-weight: 700;
    white-space: nowrap;
}

.badge-description {
    font-size: 9px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.badge.expanded .badge-description {
    opacity: 0.9;
    max-height: 20px;
}

/* Badge New - Green */
.badge-new {
    background: rgba(52, 199, 89, 0.9);
    color: white;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.badge-new:hover {
    background: rgba(52, 199, 89, 1);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.3);
}

/* Badge Hit - Orange */
.badge-hit {
    background: rgba(255, 149, 0, 0.9);
    color: white;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.badge-hit:hover {
    background: rgba(255, 149, 0, 1);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.3);
}

/* Badge Gift - Blue */
.badge-gift {
    background: rgba(0, 113, 227, 0.9);
    color: white;
    border: 1px solid rgba(0, 113, 227, 0.3);
}

.badge-gift:hover {
    background: rgba(0, 113, 227, 1);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

/* Badge Exclusive - Purple Gradient */
.badge-exclusive {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.9) 0%, rgba(102, 126, 234, 0.9) 100%);
    color: white;
    border: 1px solid rgba(159, 122, 234, 0.3);
}

.badge-exclusive:hover {
    background: linear-gradient(135deg, rgba(159, 122, 234, 1) 0%, rgba(102, 126, 234, 1) 100%);
    box-shadow: 0 8px 25px rgba(159, 122, 234, 0.3);
}

/* Badge Sale - Red */
.badge-sale {
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.badge-sale:hover {
    background: rgba(255, 59, 48, 1);
    box-shadow: 0 8px 25px rgba(255, 59, 48, 0.3);
}

/* Product Card Icons (Favorite + Compare) */
.product-card-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-favorite,
.product-compare {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    flex-shrink: 0;
}

.product-favorite:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.product-favorite.active {
    background: rgba(255, 59, 48, 0.1);
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.product-favorite.active i {
    font-weight: 900;
}

.product-compare:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.product-compare.active {
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.product-compare.active i {
    font-weight: 900;
}

/* Product Image */
.product-image {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: visible;
    cursor: pointer;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* ============================================
   Product Image Zoom (Premium Magnifier) - Only for product cards in catalog
   ============================================ */

/* Zoom Lens (follows cursor) */
.product-zoom-lens {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    cursor: crosshair;
    pointer-events: none;
    display: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.1s ease;
    opacity: 0;
}

.product-image.zoom-active .product-zoom-lens {
    display: block;
    opacity: 1;
}

/* Zoom Result (magnified image container) */
.product-zoom-result {
    position: fixed;
    width: 133px;
    height: 133px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 250, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
    display: none;
    z-index: 10000;
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.product-image.zoom-active .product-zoom-result,
.product-zoom-result.zoom-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) translateY(0) !important;
}

/* Magnified image inside zoom result */
.product-zoom-result img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Hide zoom on hover for product card (disable default scale) */
.product-image.zoom-active img {
    transform: scale(1) !important;
}

/* Premium glow effect on zoom active */
.product-image.zoom-active::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    animation: zoomGlow 0.3s ease forwards;
}

@keyframes zoomGlow {
    to {
        opacity: 1;
    }
}

/* Стили лупы для страницы продукта */
.product-gallery-wrapper-new .product-image .product-zoom-lens {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.3),
        0 12px 40px rgba(0, 0, 0, 0.35),
        inset 0 0 25px rgba(255, 255, 255, 0.15);
    cursor: crosshair;
    pointer-events: none;
    display: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.1s ease;
    opacity: 0;
}

.product-gallery-wrapper-new .product-image.zoom-active .product-zoom-lens {
    display: block;
    opacity: 1;
}

.product-gallery-wrapper-new .product-image .product-zoom-result {
    position: fixed;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 250, 0.99) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 24px 80px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    display: none;
    z-index: 10000;
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.product-gallery-wrapper-new .product-image.zoom-active .product-zoom-result,
.product-gallery-wrapper-new .product-image .product-zoom-result.zoom-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) translateY(0) !important;
}

.product-gallery-wrapper-new .product-image .product-zoom-result img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Hide zoom on mobile devices */
@media (max-width: 768px) {
    .product-zoom-lens,
    .product-zoom-result,
    .product-gallery-wrapper-new .product-image .product-zoom-lens,
    .product-gallery-wrapper-new .product-image .product-zoom-result {
        display: none !important;
    }
    
    .product-gallery-wrapper-new .product-image {
        padding: 16px;
        border-radius: 20px;
    }
    
    .product-gallery-wrapper-new .product-image img.main-image {
        max-width: 90%;
        max-height: 90%;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons {
        top: 12px;
        right: 12px;
        gap: 6px;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons .product-favorite,
    .product-gallery-wrapper-new .product-image .product-card-icons .product-compare {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Product Perks - Премиальные бейджи преимуществ, всегда в 1 строку */
.product-perks {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    white-space: nowrap;
}

/* В карточке: не растягивать по ширине, контейнер = ширина трёх шильдиков */
.product-card .product-link .product-perks {
    align-self: flex-start;
    flex-shrink: 0;
}

.perk-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    width: fit-content;
    flex: 0 0 auto;
    flex-shrink: 0;
}

.perk-badge i {
    font-size: 9px;
}

/* Рассрочка 0% - зелёный */
.perk-installment {
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.12) 0%, rgba(48, 209, 88, 0.08) 100%);
    border-color: rgba(48, 209, 88, 0.3);
    color: #22863a;
}

.perk-installment i {
    color: #30d158;
}

.perk-installment:hover {
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.18) 0%, rgba(48, 209, 88, 0.12) 100%);
    border-color: rgba(48, 209, 88, 0.4);
    transform: translateY(-1px);
}

/* Без RuStore - серый/графитовый */
.perk-rustore {
    background: linear-gradient(135deg, rgba(142, 142, 147, 0.12) 0%, rgba(142, 142, 147, 0.08) 100%);
    border-color: rgba(142, 142, 147, 0.3);
    color: #636366;
}

.perk-rustore i {
    color: #7C3AED;
}

.perk-rustore:hover {
    background: linear-gradient(135deg, rgba(142, 142, 147, 0.18) 0%, rgba(142, 142, 147, 0.12) 100%);
    border-color: rgba(142, 142, 147, 0.4);
    transform: translateY(-1px);
}

/* Trade-in - синий */
.perk-tradein {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.12) 0%, rgba(0, 122, 255, 0.08) 100%);
    border-color: rgba(0, 122, 255, 0.3);
    color: #0066cc;
    cursor: pointer;
}

.perk-tradein i {
    color: #007aff;
    transition: transform 0.3s ease;
}

.perk-tradein:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.18) 0%, rgba(0, 122, 255, 0.12) 100%);
    border-color: rgba(0, 122, 255, 0.4);
    transform: translateY(-1px);
    text-decoration: none;
    color: #0055b3;
}

.perk-tradein:hover i {
    transform: rotate(180deg);
}

/* Product Colors */
.product-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    box-shadow: 0 0 0 1px var(--border-color);
}

.color-option::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.color-option:hover::after,
.color-option.active::after {
    border-color: var(--accent-primary);
}

.color-option.active {
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    margin-bottom: 12px;
    flex-grow: 1;
}

/* Product Title Row - название + кружок цвета справа */
.product-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

/* Color Indicator - цвет с подписью */
.color-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.color-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Color Dot - кружок цвета справа от названия */
.color-dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 1px var(--border-color);
    flex-shrink: 0;
}

.color-dot-light {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Product Specs Row - память и ОЗУ как бейджи */
.product-specs-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #0066cc;
}

.spec-badge i {
    font-size: 10px;
    color: #007aff;
}

.spec-badge-memory {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
    border-color: rgba(0, 122, 255, 0.2);
    color: #0066cc;
}

.spec-badge-ram {
    background: linear-gradient(135deg, rgba(90, 200, 250, 0.1) 0%, rgba(90, 200, 250, 0.05) 100%);
    border-color: rgba(90, 200, 250, 0.25);
    color: #0891b2;
}

.spec-badge-ram i {
    color: #5ac8fa;
}

.spec-badge-sim {
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.1) 0%, rgba(175, 82, 222, 0.05) 100%);
    border-color: rgba(175, 82, 222, 0.25);
    color: #8e44ad;
}

.spec-badge-sim i {
    color: #af52de;
}

.spec-badge-size {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 149, 0, 0.05) 100%);
    border-color: rgba(255, 149, 0, 0.25);
    color: #d97706;
}

.spec-badge-size i {
    color: #ff9500;
}

.spec-badge-band {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.1) 0%, rgba(255, 45, 85, 0.05) 100%);
    border-color: rgba(255, 45, 85, 0.25);
    color: #c41e3a;
}

.spec-badge-band i {
    color: #ff2d55;
}

.spec-badge-wifi {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(52, 199, 89, 0.05) 100%);
    border-color: rgba(52, 199, 89, 0.25);
    color: #28a745;
}

.spec-badge-wifi i {
    color: #34c759;
}

.spec-badge-bluetooth {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
    border-color: rgba(0, 122, 255, 0.25);
    color: #0066cc;
}

.spec-badge-bluetooth i {
    color: #007aff;
}

.spec-badge-battery {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0.05) 100%);
    border-color: rgba(255, 204, 0, 0.25);
    color: #5B21B6;
}

.spec-badge-battery i {
    color: #ffcc00;
}

.product-specs-text {
    font-size: 12px;
    color: var(--text-muted);
}

.product-specs {
    font-size: 12px;
    color: var(--text-muted);
}

.product-specs-premium {
    letter-spacing: 0.01em;
}

/* Product Description in Cards - Premium Expand on Hover */
.product-card .product-description {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 8px 0 0 0;
    padding: 2px 4px;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease;
    background: transparent;
    border-radius: 4px;
}

.product-card .product-description:hover {
    color: var(--text-primary);
}

/* Premium card expansion on description hover */
.product-card {
    z-index: 1;
    position: relative;
    transition: z-index 0s 0.4s, box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded card - rises above others with absolute positioning */
.product-card.product-card-expanded {
    z-index: 1000;
    position: absolute !important;
    height: auto !important;
    flex: none !important;
    transform: translateY(-8px);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.18),
        0 0 50px rgba(0, 113, 227, 0.12),
        0 0 0 1px rgba(0, 113, 227, 0.25);
    transition: z-index 0s, box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.product-card-expanded .product-link {
    flex: none !important;
}

.product-card.product-card-expanded .product-description {
    color: var(--text-primary);
    font-size: 12px;
    line-height: 1.5;
    background: rgba(0, 113, 227, 0.04);
}

/* Placeholder to maintain grid layout when card is absolute */
.product-card-placeholder {
    visibility: hidden;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.product-price .price-promo {
    margin-left: auto;
}

.price-old {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-regular {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-current {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-red, #ff3b30);
    animation: pricePromoPulse 2.5s ease-in-out infinite;
}

.price-promo-icon {
    display: inline-flex;
    align-items: center;
    color: var(--accent-red, #ff3b30);
}

.price-promo-icon i {
    font-size: 14px;
}

@keyframes pricePromoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    align-items: stretch;
}

.product-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category page - smaller buttons */
.category-filters-section .product-actions .btn-cart,
.products-grid .product-actions .btn-cart {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 38px;
    flex: 1;
}

.category-filters-section .product-actions .btn-buy,
.products-grid .product-actions .btn-buy {
    padding: 10px 12px;
    font-size: 10px;
    min-height: 38px;
    flex: 1;
}

/* ============================================
   Categories Section (Premium Metal Style)
   ============================================ */
.categories-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.categories-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.categories-section .section-title {
    margin-bottom: 0;
}

.categories-swiper {
    overflow: hidden;
    padding: 10px 0 30px;
}

.categories-swiper .swiper-slide {
    height: auto;
}

.category-card {
    display: block;
    width: 100%;
    position: relative;
    height: 300px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #e8e9eb 0%, #d1d3d6 50%, #c0c2c5 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(124, 58, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Metallic shine overlay */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
    z-index: 10;
    pointer-events: none;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: scale(1.03) translateY(-8px);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 25px 60px rgba(124, 58, 237, 0.3),
        0 0 50px rgba(167, 139, 250, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    background: linear-gradient(
        135deg, 
        rgba(167, 139, 250, 0.25) 0%, 
        rgba(124, 58, 237, 0.1) 50%,
        rgba(167, 139, 250, 0.2) 100%
    );
}

.category-image img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.category-card:hover .category-image img {
    transform: scale(1.12) translateY(-5px);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(
        0deg, 
        rgba(29, 29, 31, 0.98) 0%, 
        rgba(29, 29, 31, 0.85) 50%,
        transparent 100%
    );
    z-index: 5;
}

.category-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-info span {
    font-size: 14px;
    color: var(--accent-secondary);
    font-weight: 500;
}

/* ============================================
   Installment Section (Premium)
   ============================================ */
.installment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1f 0%, #252528 50%, #1d1d22 100%);
    position: relative;
    overflow: hidden;
}

.installment-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 100% 80%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.installment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.installment-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.installment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.2) 0%, rgba(48, 209, 88, 0.1) 100%);
    border: 1px solid rgba(48, 209, 88, 0.3);
    border-radius: 30px;
    width: fit-content;
}

.installment-badge i {
    font-size: 16px;
    color: #30d158;
}

.installment-badge span {
    font-size: 18px;
    font-weight: 700;
    color: #30d158;
}

.installment-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.2;
}

.installment-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.installment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.installment-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.installment-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.installment-feature i {
    font-size: 18px;
    color: #30d158;
}

.installment-feature span {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.installment-banks {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
}

.banks-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.banks-list {
    display: flex;
    gap: 12px;
}

.bank-name {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.btn-installment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #30d158 0%, #28a745 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(48, 209, 88, 0.3);
    width: fit-content;
}

.btn-installment:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(48, 209, 88, 0.4);
    color: #ffffff;
}

.btn-installment i {
    font-size: 18px;
}

.installment-inline-cta {
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.installment-inline-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}
.installment-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #30d158;
    text-decoration: none;
    transition: color 0.2s ease;
}
.installment-cta-link:hover {
    color: #5ac8fa;
}

.installment-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s ease;
}

.installment-visual:hover {
    transform: scale(1.02);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.18),
        0 24px 48px rgba(0, 0, 0, 0.22),
        0 48px 96px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 80px rgba(48, 209, 88, 0.25);
}

.installment-visual-interactive {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.installment-visual-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 90% 90% at 50% 50%, rgba(48, 209, 88, 0.25) 0%, rgba(30, 140, 70, 0.6) 40%, rgba(15, 80, 45, 0.85) 70%, #0a1f12 100%);
    z-index: 0;
}

.installment-visual-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(160deg, rgba(48, 209, 88, 0.1) 0%, transparent 50%),
        linear-gradient(340deg, rgba(40, 180, 90, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.installment-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

.installment-shimmer {
    position: absolute;
    inset: -50%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    animation: installmentShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes installmentShimmer {
    0%, 100% { transform: translateX(-30%) skewX(-15deg); opacity: 0.5; }
    50% { transform: translateX(30%) skewX(-15deg); opacity: 1; }
}

.installment-flow-line {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    z-index: 1;
    pointer-events: none;
}

.installment-flow-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(48, 209, 88, 0.5) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(48, 209, 88, 0.5) 80%, transparent 100%);
    animation: installmentFlowPulse 3s ease-in-out infinite;
}

.installment-label {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.installment-label-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 50%, rgba(48, 209, 88, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
}

.installment-label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(48, 209, 88, 0.9) 0%, transparent 100%);
    transition: width 0.4s ease;
    position: relative;
}

.installment-label-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    animation: installmentLabelShine 3s ease-in-out infinite;
}

@keyframes installmentLabelShine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.installment-visual:hover .installment-label {
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.installment-visual:hover .installment-label-text {
    background: linear-gradient(135deg, #fff 0%, rgba(48, 209, 88, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.installment-visual:hover .installment-label-line {
    width: 60px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(48, 209, 88, 0.6) 100%);
}

.installment-premium-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 22px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.installment-premium-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.installment-premium-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.installment-visual:hover .installment-premium-badge {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(48, 209, 88, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.installment-center-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #ffffff 0%, rgba(248, 255, 250, 0.98) 100%);
    border: 1px solid rgba(48, 209, 88, 0.25);
    border-radius: 50%;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 4px 16px rgba(48, 209, 88, 0.2),
        0 8px 32px rgba(48, 209, 88, 0.15),
        0 0 48px rgba(48, 209, 88, 0.25);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: installmentCenterIconPulse 3s ease-in-out infinite;
}

.installment-center-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(48, 209, 88, 0.15);
    background: radial-gradient(circle, rgba(48, 209, 88, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.installment-visual:hover .installment-center-icon {
    background: linear-gradient(145deg, #ffffff 0%, rgba(245, 255, 248, 0.98) 100%);
    border-color: rgba(48, 209, 88, 0.35);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 6px 24px rgba(48, 209, 88, 0.25),
        0 12px 40px rgba(48, 209, 88, 0.2),
        0 0 64px rgba(48, 209, 88, 0.35);
}

.installment-visual:hover .installment-center-icon::before {
    opacity: 1;
    animation: installmentCenterGlow 1.5s ease-in-out infinite;
}

.installment-center-icon i {
    font-size: 40px;
    color: #30d158;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(48, 209, 88, 0.3));
}

@keyframes installmentCenterIconPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes installmentCenterGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes installmentFlowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.installment-device-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 12px 28px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.installment-device-icon i {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.installment-visual:hover .installment-device-icon {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.installment-visual:hover .installment-icon-top { transform: translateX(-50%) scale(1.1); }
.installment-visual:hover .installment-icon-bottom { transform: translateX(-50%) translateY(0) scale(1.1); }
.installment-visual:hover .installment-icon-left,
.installment-visual:hover .installment-icon-right {
    filter: brightness(1.15);
}

.installment-icon-top {
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    animation: installmentIconPulse 2.5s ease-in-out infinite;
}

.installment-icon-bottom {
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    animation: installmentIconFloat 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.installment-icon-left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: installmentIconSway 2.8s ease-in-out infinite;
    animation-delay: 0.2s;
}

.installment-icon-right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: installmentIconSway 2.8s ease-in-out infinite;
    animation-delay: 0.7s;
}

@keyframes installmentIconPulse {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes installmentIconFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes installmentIconSway {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(6px); }
}

.installment-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: installmentGlowPulse 4s ease-in-out infinite;
}

.installment-glow-1 {
    top: 8%;
    right: 12%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation-delay: 0s;
}

.installment-glow-2 {
    bottom: 12%;
    left: 8%;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation-delay: 1.5s;
}

.installment-glow-3 {
    top: 50%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(48, 209, 88, 0.2) 0%, transparent 70%);
    animation-delay: 0.8s;
}

.installment-glow-4 {
    top: 45%;
    right: 8%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(48, 209, 88, 0.15) 0%, transparent 70%);
    animation-delay: 2s;
}

@keyframes installmentGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.installment-visual-cta {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #30d158 0%, #28a745 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(48, 209, 88, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.installment-visual:hover .installment-visual-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.installment-visual-cta:hover {
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 12px 32px rgba(48, 209, 88, 0.5),
        0 0 40px rgba(48, 209, 88, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    color: #ffffff;
}

@media (hover: none) {
    .installment-visual-cta {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .installment-device-icon,
    .installment-glow,
    .installment-center-icon,
    .installment-shimmer,
    .installment-label-line::after {
        animation: none;
    }
    
    .installment-flow-line::before {
        animation: none;
    }
    
    .installment-visual:hover {
        transform: none;
    }
}

@media (max-width: 992px) {
    .installment-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .installment-visual {
        order: -1;
    }
    
    .installment-title {
        font-size: 32px;
    }
    
    .installment-visual-interactive {
        min-height: 400px;
    }
    
    .installment-label-text {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .installment-premium-badge {
        top: 16px;
        right: 20px;
        padding: 12px 18px;
    }
    
    .installment-premium-value {
        font-size: 18px;
    }
    
    .installment-premium-label {
        font-size: 11px;
    }
    
    .installment-center-icon {
        width: 80px;
        height: 80px;
    }
    
    .installment-center-icon i {
        font-size: 34px;
    }
    
    .installment-device-icon {
        width: 44px;
        height: 44px;
    }
    
    .installment-device-icon i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .installment-section {
        padding: 60px 0;
    }
    
    .installment-features {
        grid-template-columns: 1fr;
    }
    
    .installment-title {
        font-size: 28px;
    }
    
    .installment-visual-interactive {
        min-height: 360px;
    }
    
    .installment-label {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
    }
    
    .installment-label-text {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
    
    .installment-label-line {
        width: 24px;
    }
    
    .installment-premium-badge {
        top: 14px;
        right: 14px;
        padding: 10px 14px;
    }
    
    .installment-premium-value {
        font-size: 16px;
    }
    
    .installment-premium-label {
        font-size: 10px;
    }
    
    .installment-center-icon {
        width: 72px;
        height: 72px;
    }
    
    .installment-center-icon i {
        font-size: 28px;
    }
    
    .installment-icon-top { top: 10%; }
    .installment-icon-bottom { bottom: 10%; }
    .installment-icon-left { left: 6%; }
    .installment-icon-right { right: 6%; }
    
    .installment-device-icon {
        width: 40px;
        height: 40px;
    }
    
    .installment-device-icon i {
        font-size: 16px;
    }
    
    .installment-visual-cta {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .installment-banks {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-installment {
        width: 100%;
    }
}

/* ============================================
   Trade-in Section (Premium)
   ============================================ */
.tradein-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f8fa 0%, #ffffff 50%, #f5f5f7 100%);
    position: relative;
    overflow: hidden;
}

.tradein-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 80% at 100% 50%, rgba(41, 151, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 0% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tradein-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tradein-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s ease;
}

.tradein-visual:hover {
    transform: scale(1.02);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 24px 48px rgba(0, 0, 0, 0.18),
        0 48px 96px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 80px rgba(0, 113, 227, 0.25);
}

.tradein-visual-interactive {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tradein-visual-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0, 71, 227, 0.35) 0%, rgba(0, 50, 160, 0.7) 40%, rgba(0, 35, 110, 0.9) 70%, #001a3d 100%);
    z-index: 0;
}

.tradein-visual-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(160deg, rgba(0, 113, 227, 0.12) 0%, transparent 50%),
        linear-gradient(340deg, rgba(0, 80, 200, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.tradein-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

.tradein-shimmer {
    position: absolute;
    inset: -50%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    animation: tradeinShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes tradeinShimmer {
    0%, 100% { transform: translateX(-30%) skewX(-15deg); opacity: 0.5; }
    50% { transform: translateX(30%) skewX(-15deg); opacity: 1; }
}

.tradein-exchange-flow {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    z-index: 1;
    pointer-events: none;
}

.tradein-exchange-flow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 113, 227, 0.4) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(0, 113, 227, 0.4) 80%, transparent 100%);
    animation: tradeinFlowPulse 3s ease-in-out infinite;
}

.tradein-exchange-flow::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 
        0 0 0 2px rgba(0, 113, 227, 0.4),
        0 0 16px rgba(0, 113, 227, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4);
    animation: tradeinFlowDot 4s ease-in-out infinite;
}

@keyframes tradeinFlowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes tradeinFlowDot {
    0% { left: 0; margin-left: 0; opacity: 0.3; transform: scale(0.8); }
    15% { opacity: 1; transform: scale(1); }
    50% { left: 50%; margin-left: -4px; opacity: 1; transform: scale(1.2); }
    85% { opacity: 1; transform: scale(1); }
    100% { left: 100%; margin-left: -8px; opacity: 0.3; transform: scale(0.8); }
}

.tradein-label {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tradein-label-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 50%, rgba(0, 113, 227, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
}

.tradein-label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 113, 227, 0.9) 0%, transparent 100%);
    transition: width 0.4s ease;
    position: relative;
}

.tradein-label-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    animation: tradeinLabelShine 3s ease-in-out infinite;
}

@keyframes tradeinLabelShine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.tradein-visual:hover .tradein-label {
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tradein-visual:hover .tradein-label-text {
    background: linear-gradient(135deg, #fff 0%, rgba(0, 113, 227, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tradein-visual:hover .tradein-label-line {
    width: 60px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(0, 113, 227, 0.6) 100%);
}

.tradein-premium-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 22px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tradein-premium-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tradein-premium-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.tradein-visual:hover .tradein-premium-badge {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(0, 113, 227, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tradein-center-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #ffffff 0%, rgba(248, 250, 255, 0.98) 100%);
    border: 1px solid rgba(0, 113, 227, 0.25);
    border-radius: 50%;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 4px 16px rgba(0, 113, 227, 0.2),
        0 8px 32px rgba(0, 113, 227, 0.15),
        0 0 48px rgba(0, 113, 227, 0.25);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: tradeinCenterIconRotate 5s ease-in-out infinite;
}

.tradein-center-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(0, 113, 227, 0.15);
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tradein-visual:hover .tradein-center-icon {
    background: linear-gradient(145deg, #ffffff 0%, rgba(245, 250, 255, 0.98) 100%);
    border-color: rgba(0, 113, 227, 0.35);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 6px 24px rgba(0, 113, 227, 0.25),
        0 12px 40px rgba(0, 113, 227, 0.2),
        0 0 64px rgba(0, 113, 227, 0.35);
}

.tradein-visual:hover .tradein-center-icon::before {
    opacity: 1;
    animation: tradeinCenterGlow 1.5s ease-in-out infinite;
}

.tradein-center-icon i {
    font-size: 40px;
    color: #0071e3;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 113, 227, 0.3));
}

@keyframes tradeinCenterIconRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    32% { transform: translate(-50%, -50%) rotate(-360deg); }
    50% { transform: translate(-50%, -50%) rotate(-360deg); }
    82% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes tradeinCenterGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.tradein-device-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 12px 28px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.tradein-device-icon i {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.tradein-visual:hover .tradein-device-icon {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tradein-visual:hover .tradein-icon-top { transform: translateX(-50%) scale(1.1); }
.tradein-visual:hover .tradein-icon-bottom { transform: translateX(-50%) translateY(0) scale(1.1); }
.tradein-visual:hover .tradein-icon-left,
.tradein-visual:hover .tradein-icon-right {
    filter: brightness(1.15);
}

.tradein-icon-top {
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    animation: tradeinIconPulse 2.5s ease-in-out infinite;
}

.tradein-icon-bottom {
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    animation: tradeinIconFloatUp 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.tradein-icon-left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: tradeinDeviceGive 4s ease-in-out infinite;
}

.tradein-icon-right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: tradeinDeviceReceive 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes tradeinDeviceGive {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 1; }
    20% { transform: translateY(-50%) translateX(18px); opacity: 0.75; }
    50% { transform: translateY(-50%) translateX(18px); opacity: 0.75; }
    70% { transform: translateY(-50%) translateX(0); opacity: 1; }
}

@keyframes tradeinDeviceReceive {
    0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.85; }
    20% { transform: translateY(-50%) translateX(-18px); opacity: 1; }
    50% { transform: translateY(-50%) translateX(-18px); opacity: 1; }
    70% { transform: translateY(-50%) translateX(0); opacity: 0.85; }
}

@keyframes tradeinIconPulse {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes tradeinIconFloatUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.tradein-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: tradeinGlowPulse 4s ease-in-out infinite;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tradein-visual:hover .tradein-glow {
    animation-duration: 2.5s;
}

.tradein-glow-1 {
    top: 8%;
    right: 12%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation-delay: 0s;
}

.tradein-glow-2 {
    bottom: 12%;
    left: 8%;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation-delay: 1.5s;
}

.tradein-glow-3 {
    top: 50%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.25) 0%, transparent 70%);
    animation-delay: 0.8s;
    animation: tradeinGlowPulse 3.5s ease-in-out infinite;
}

.tradein-glow-4 {
    top: 45%;
    right: 8%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.2) 0%, transparent 70%);
    animation-delay: 2s;
    animation: tradeinGlowPulse 3.8s ease-in-out infinite;
}

@keyframes tradeinGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.tradein-visual-cta {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #2997ff 0%, #0077ed 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(0, 113, 227, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.tradein-visual:hover .tradein-visual-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tradein-visual-cta:hover {
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 12px 32px rgba(0, 113, 227, 0.5),
        0 0 40px rgba(0, 113, 227, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    color: #ffffff;
}

@media (hover: none) {
    .tradein-visual-cta {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .tradein-visual-cta {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tradein-device-icon,
    .tradein-glow,
    .tradein-center-icon,
    .tradein-shimmer,
    .tradein-exchange-flow::after,
    .tradein-label-line::after {
        animation: none;
    }
    
    .tradein-exchange-flow::before {
        animation: none;
    }
    
    .tradein-visual:hover {
        transform: none;
    }
}

.tradein-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tradein-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.15) 0%, rgba(41, 151, 255, 0.08) 100%);
    border: 1px solid rgba(41, 151, 255, 0.25);
    border-radius: 30px;
    width: fit-content;
}

.tradein-badge i {
    font-size: 16px;
    color: #2997ff;
}

.tradein-badge span {
    font-size: 14px;
    font-weight: 700;
    color: #2997ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tradein-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.tradein-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 450px;
}

.tradein-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tradein-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.tradein-step:hover {
    border-color: #2997ff;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(41, 151, 255, 0.12);
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2997ff 0%, #0077ed 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.tradein-devices {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
}

.devices-label {
    font-size: 13px;
    color: var(--text-muted);
}

.devices-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.device-tag {
    padding: 8px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.device-tag:hover {
    border-color: #2997ff;
    color: #2997ff;
}

.tradein-inline-cta {
    padding: 16px 0 0;
    border-top: 1px solid var(--border-color);
}
.tradein-inline-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.tradein-inline-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.tradein-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}
.tradein-cta-link:hover {
    color: #0077ed;
}

.btn-tradein {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #2997ff 0%, #0077ed 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(41, 151, 255, 0.3);
    width: fit-content;
}

.btn-tradein:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(41, 151, 255, 0.4);
    color: #ffffff;
}

.btn-tradein i {
    font-size: 18px;
}

@media (max-width: 992px) {
    .tradein-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tradein-title {
        font-size: 32px;
    }
    
    .tradein-visual-interactive {
        min-height: 400px;
    }
    
    .tradein-label-text {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .tradein-premium-badge {
        top: 16px;
        right: 20px;
        padding: 12px 18px;
    }
    
    .tradein-premium-value {
        font-size: 18px;
    }
    
    .tradein-premium-label {
        font-size: 11px;
    }
    
    .tradein-center-icon {
        width: 80px;
        height: 80px;
    }
    
    .tradein-center-icon i {
        font-size: 34px;
    }
    
    .tradein-device-icon {
        width: 44px;
        height: 44px;
    }
    
    .tradein-device-icon i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .tradein-section {
        padding: 60px 0;
    }
    
    .tradein-title {
        font-size: 28px;
    }
    
    .tradein-visual-interactive {
        min-height: 360px;
    }
    
    .tradein-label {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
    }
    
    .tradein-label-text {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
    
    .tradein-label-line {
        width: 24px;
    }
    
    .tradein-premium-badge {
        top: 14px;
        right: 14px;
        padding: 10px 14px;
    }
    
    .tradein-premium-value {
        font-size: 16px;
    }
    
    .tradein-premium-label {
        font-size: 10px;
    }
    
    .tradein-center-icon {
        width: 72px;
        height: 72px;
    }
    
    .tradein-center-icon i {
        font-size: 28px;
    }
    
    .tradein-icon-top { top: 10%; }
    .tradein-icon-bottom { bottom: 10%; }
    .tradein-icon-left { left: 6%; }
    .tradein-icon-right { right: 6%; }
    
    .tradein-device-icon {
        width: 40px;
        height: 40px;
    }
    
    .tradein-device-icon i {
        font-size: 16px;
    }
    
    .tradein-visual-cta {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .tradein-devices {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-tradein {
        width: 100%;
    }
}

/* ============================================
   Why Section (Premium Light)
   ============================================ */
.why-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 50%, #f8f8fa 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 10% 50%, rgba(41, 151, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.why-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.why-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    border-color: rgba(124, 58, 237, 0.15);
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(124, 58, 237, 0.05);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8f8fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.06),
        inset 0 -2px 5px rgba(0, 0, 0, 0.02);
}

.why-icon::before {
    content: '';
    position: absolute;
    inset: 6px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 18px;
    z-index: 0;
}

.why-card:hover .why-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 
        0 15px 35px rgba(124, 58, 237, 0.2),
        inset 0 -2px 5px rgba(0, 0, 0, 0.02);
}

.why-icon i {
    font-size: 32px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.why-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.why-cta-wrapper {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.why-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.why-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-why-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-why-cta-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    color: white;
}

.btn-why-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.35);
    color: white;
}

.btn-why-cta-secondary {
    background: var(--bg-dark);
    color: white;
}

.btn-why-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 29, 31, 0.35);
    color: white;
}

.btn-why-cta-outline {
    background: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-why-cta-outline:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   Reviews Section (Premium)
   ============================================ */
.reviews-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f8fa 0%, #ffffff 50%, #f5f5f7 100%);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.6) 50%, transparent 100%);
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-header .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1d1d1f 0%, #5B21B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.reviews-header .section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.reviews-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-widget-card {
    background: #ffffff;
    border: 2px solid rgba(124, 58, 237, 0.15);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(124, 58, 237, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.review-widget-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.review-widget-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(124, 58, 237, 0.2);
}

.review-widget-card:hover::before {
    opacity: 1;
}

.review-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.review-source-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.review-source-logo .logo-text {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.review-source-logo .logo-main {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1d1d1f 0%, #5B21B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.review-source-logo .logo-sub {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.review-source-logo.yandex-logo .logo-main {
    background: linear-gradient(135deg, #fc3f1d 0%, #ff6b4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-source-logo.gis-logo .logo-main {
    background: linear-gradient(135deg, #2c7df7 0%, #5a9fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-source-logo .verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.review-source-logo .verified-badge i {
    font-size: 12px;
    color: #4caf50;
}

.review-widget-card:hover .review-source-logo .logo-main {
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.3));
    transform: scale(1.05);
}

.review-widget-card:hover .review-source-logo .verified-badge {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-rating .stars {
    display: flex;
    gap: 4px;
}

.review-rating .stars i {
    font-size: 18px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(167, 139, 250, 0.3);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.review-rating .rating-value {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-widget-content {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-widget-content > div,
.review-widget-content iframe {
    border-radius: 12px;
    overflow: hidden;
}

.review-widget-content iframe {
    display: block;
    width: 100%;
    height: 800px;
}


/* Responsive */
@media (max-width: 1200px) {
    .reviews-widgets {
        gap: 30px;
    }
    
    .review-widget-content iframe {
        height: 700px;
    }
}

@media (max-width: 992px) {
    .reviews-section {
        padding: 80px 0;
    }
    
    .reviews-widgets {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }
    
    .review-widget-content iframe {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-header .section-title {
        font-size: 32px;
    }
    
    .reviews-header .section-subtitle {
        font-size: 16px;
    }
    
    .review-widget-card {
        padding: 20px;
    }
    
    .review-widget-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .review-source-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .review-widget-content iframe {
        height: 500px;
    }
}

/* ============================================
   Premium Tooltips
   ============================================ */
[data-tooltip] {
    position: relative;
    cursor: help;
}

.tooltip {
    position: fixed;
    z-index: 10000;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(29, 29, 31, 0.98) 0%, rgba(45, 45, 50, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 12px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    max-width: 280px;
    white-space: normal;
    text-align: left;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip.tooltip-has-link.show {
    pointer-events: auto;
}

.tooltip.tooltip-just-opened {
    pointer-events: none !important;
}

.tooltip .tooltip-link {
    color: #ff6b6b;
    text-decoration: underline;
    white-space: nowrap;
}

.tooltip .tooltip-link:hover {
    color: #ff8585;
}

.tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.tooltip.tooltip-top {
    /* Position set by JS */
    transform: translateX(-50%) translateY(-5px) scale(0.95);
}

.tooltip.tooltip-top::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-color: rgba(29, 29, 31, 0.98) transparent transparent transparent;
}

.tooltip.tooltip-bottom {
    /* Position set by JS */
    transform: translateX(-50%) translateY(5px) scale(0.95);
}

.tooltip.tooltip-bottom::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent rgba(29, 29, 31, 0.98) transparent;
}

.tooltip.tooltip-left {
    /* Position set by JS */
    transform: translateY(-50%) translateX(5px) scale(0.95);
}

.tooltip.tooltip-left::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent rgba(29, 29, 31, 0.98);
}

.tooltip.tooltip-right {
    /* Position set by JS */
    transform: translateY(-50%) translateX(-5px) scale(0.95);
}

.tooltip.tooltip-right::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-color: transparent rgba(29, 29, 31, 0.98) transparent transparent;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tooltip.tooltip-top.show {
    transform: translateX(-50%) translateY(0) scale(1);
}

.tooltip.tooltip-bottom.show {
    transform: translateX(-50%) translateY(0) scale(1);
}

.tooltip.tooltip-left.show {
    transform: translateY(-50%) translateX(0) scale(1);
}

.tooltip.tooltip-right.show {
    transform: translateY(-50%) translateX(0) scale(1);
}

/* Premium tooltip for light backgrounds */
.tooltip-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 250, 0.98) 100%);
    color: #1d1d1f;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tooltip-light.tooltip-top::before {
    border-color: rgba(255, 255, 255, 0.98) transparent transparent transparent;
}

.tooltip-light.tooltip-bottom::before {
    border-color: transparent transparent rgba(255, 255, 255, 0.98) transparent;
}

.tooltip-light.tooltip-left::before {
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.98);
}

.tooltip-light.tooltip-right::before {
    border-color: transparent rgba(255, 255, 255, 0.98) transparent transparent;
}


/* ============================================
   Footer (Dark)
   ============================================ */
.main-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color-dark);
    position: relative;
}

.main-footer > * {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-contacts {
    margin-bottom: 25px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-phone i {
    color: var(--accent-green);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 8px 0;
}

.footer-address i {
    color: var(--accent-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-schedule {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-email:hover {
    color: var(--accent-secondary);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-contact-form {
    margin-top: 20px;
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 50%, #8B5CF6 100%);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    color: white;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border-color-dark);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-metal);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Поднять кнопку "Наверх" выше нижнего меню в мобильной версии */
@media (max-width: 992px) {
    .back-to-top {
        bottom: 90px; /* 65px (высота меню) + 25px (отступ) */
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 85px; /* 60px (высота меню) + 25px (отступ) */
    }
}

/* AmoCRM Chat Widget - позиционирование над кнопкой "Поднять вверх" */
#amo_social_button {
    position: fixed !important;
    bottom: 90px !important;
    right: 30px !important;
    z-index: 998 !important; /* Ниже кнопки "Поднять вверх" (999), но выше остального контента */
}

/* На мобильных устройствах виджет должен быть выше нижнего меню и одинакового размера с кнопкой "Поднять вверх" */
@media (max-width: 992px) {
    #amo_social_button {
        bottom: 150px !important; /* Выше кнопки "Поднять вверх" (90px) + высота кнопки (50px) + отступ (10px) */
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
    
    /* Убеждаемся, что внутренние элементы виджета тоже правильного размера */
    #amo_social_button iframe,
    #amo_social_button > div {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
}

@media (max-width: 480px) {
    #amo_social_button {
        bottom: 145px !important; /* Выше кнопки "Поднять вверх" (85px) + высота кнопки (50px) + отступ (10px) */
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
    
    /* Убеждаемся, что внутренние элементы виджета тоже правильного размера */
    #amo_social_button iframe,
    #amo_social_button > div {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 46px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .top-bar-left {
        display: none;
    }
    
    .top-bar-socials {
        display: none;
    }
    
    .work-hours {
        display: none;
    }
    
    .top-bar-content {
        justify-content: space-between;
    }
    
    .top-bar-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .store-address-mobile {
        display: flex !important;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .phone-link {
        white-space: nowrap;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-wrapper {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-header {
        z-index: 1002;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1a1c 100%);
        z-index: 9999;
        padding: 80px 20px 30px;
        padding-bottom: calc(30px + 65px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color-dark);
        transform: translateX(100%);
        display: flex;
        flex-direction: column;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .menu-close {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }
    
    .main-nav .nav-list > .nav-item:not(.catalog-dropdown) {
        display: none;
    }
    
    /* Catalog button - premium purple */
    .main-nav .catalog-dropdown > .nav-link {
        background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
        font-weight: 600;
    }
    .main-nav .catalog-dropdown > .nav-link:hover {
        background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
        color: #ffffff;
        box-shadow: 0 6px 16px rgba(124, 58, 237, 0.45);
    }
    .main-nav .catalog-dropdown.active > .nav-link {
        background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 6px 16px rgba(124, 58, 237, 0.45);
    }
    .main-nav .catalog-dropdown > .nav-link::after {
        border-right-color: rgba(255, 255, 255, 0.9);
        border-bottom-color: rgba(255, 255, 255, 0.9);
    }
    
    .nav-item {
        width: 100%;
        position: relative;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
        border-radius: 12px;
        width: calc(100% - 20px);
        margin: 4px 10px;
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }
    
    /* Active main menu item - Premium Style */
    .main-nav .nav-item.active > .nav-link {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    /* Dropdown indicator arrow for mobile */
    .nav-item.dropdown > .nav-link::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid rgba(255, 255, 255, 0.5);
        border-bottom: 2px solid rgba(255, 255, 255, 0.5);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .nav-item.dropdown.active > .nav-link::after {
        transform: rotate(-135deg);
    }
    
    /* Mobile dropdown - completely reset and rebuild */
    .main-nav .dropdown-menu {
        all: unset;
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 8px 10px;
        margin: 8px 0;
        background: transparent;
        border-left: none;
        margin-left: 0;
    }
    
    /* Show dropdown when parent has active class */
    .main-nav .nav-item.active > .dropdown-menu {
        display: flex;
    }
    
    /* Dropdown items - Premium Style */
    .main-nav .dropdown-menu .dropdown-item {
        all: unset;
        display: flex;
        align-items: center;
        padding: 14px 20px;
        margin: 6px 0;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .main-nav .dropdown-menu .dropdown-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 0 3px 3px 0;
    }
    
    .main-nav .dropdown-menu .dropdown-item:hover {
        color: #ffffff;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav .dropdown-menu .dropdown-item:hover::before {
        opacity: 1;
    }
    
    .main-nav .dropdown-menu .dropdown-item:active {
        transform: translateX(2px);
    }
    
    /* Active dropdown item */
    .main-nav .dropdown-menu .dropdown-item.active {
        color: #ffffff;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav .dropdown-menu .dropdown-item.active::before {
        opacity: 1;
    }
    
    /* Dropdown divider - Premium Style */
    .main-nav .dropdown-menu .dropdown-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
        margin: 12px 20px;
        border: none;
    }
    
    /* Mobile catalog: expandable parent categories with subcategories (premium) */
    .mobile-catalog-parent {
        margin: 6px 0;
        border-radius: 12px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
    .mobile-catalog-parent-toggle {
        all: unset;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 20px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        box-sizing: border-box;
    }
    .mobile-catalog-parent-toggle:hover {
        color: #ffffff;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    }
    .mobile-catalog-parent-toggle:active {
        background: rgba(255, 255, 255, 0.06);
    }
    .mobile-catalog-chevron {
        font-size: 12px;
        opacity: 0.8;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-catalog-parent.expanded .mobile-catalog-chevron {
        transform: rotate(180deg);
    }
    .mobile-catalog-children {
        display: none;
        flex-direction: column;
        padding: 6px 12px 12px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
    }
    .mobile-catalog-parent.expanded .mobile-catalog-children {
        display: flex;
    }
    .main-nav .mobile-catalog-children .dropdown-item.mobile-catalog-child-item {
        padding: 12px 16px 12px 24px;
        margin: 4px 0;
        border-radius: 10px;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.75);
        background: rgba(255, 255, 255, 0.04);
        border-left: 3px solid transparent;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .main-nav .mobile-catalog-children .dropdown-item.mobile-catalog-child-item:hover {
        color: #ffffff;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-left-color: rgba(255, 255, 255, 0.4);
        transform: translateX(4px);
    }
    .main-nav .mobile-catalog-children .dropdown-item.mobile-catalog-child-item.active {
        color: #ffffff;
        background: linear-gradient(90deg, rgba(0, 113, 227, 0.25) 0%, rgba(0, 113, 227, 0.1) 100%);
        border-left-color: var(--accent-blue);
    }
    
    /* Mobile nav footer: static links + socials (no margin-top: auto to avoid huge gap when catalog closed) */
    .mobile-nav-footer {
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .mobile-nav-links a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        color: rgba(255, 255, 255, 0.75);
        font-size: 14px;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-nav-links a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }
    .mobile-nav-links a i {
        width: 20px;
        text-align: center;
        opacity: 0.9;
    }
    .mobile-nav-socials {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0 20px;
    }
    .mobile-nav-socials .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-nav-socials .social-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }
    .mobile-nav-socials .social-link i {
        font-size: 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-price {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .category-card {
        height: 220px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
    }
    
    .hero-slide {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-price .price-value {
        font-size: 32px;
    }
    
    .hero-image img {
        max-height: 280px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    
    .benefit-icon {
        margin-bottom: 5px;
    }
    
    .category-card {
        height: 200px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-logo {
        display: inline-block;
        margin: 0 auto;
    }
    
    .footer-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-phone,
    .footer-email,
    .footer-schedule,
    .footer-address {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-info {
        display: none;
    }
    
    .cart-action {
        width: 44px;
        padding: 0;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .store-address-mobile {
        font-size: 10px;
    }
    
    .store-address-mobile i {
        font-size: 9px;
    }
    
    .phone-link {
        font-size: 11px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .product-actions {
        flex-direction: row;
    }
    
    .btn-cart {
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .btn-cart i {
        display: block !important;
        font-size: 18px !important;
        color: white !important;
    }
    
    .btn-cart span {
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
    }
    
    .btn-buy {
        flex: 1;
        font-size: 11px;
        padding: 12px 10px;
    }
    
    .btn-order {
        flex: 1;
        font-size: 11px;
        padding: 12px 10px;
        min-height: 48px;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .header-action {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   Selection Styling
   ============================================ */
::selection {
    background: var(--accent-primary);
    color: #ffffff;
}

/* ============================================
   Mobile Bottom Navigation
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 65px;
    background: rgba(29, 29, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10050;
    grid-template-columns: repeat(5, 1fr);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    margin: 0;
    box-sizing: border-box;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    padding: 8px 0;
    box-sizing: border-box;
    position: relative;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-item span:not(.nav-badge) {
    font-weight: 500;
    letter-spacing: 0.3px;
    font-size: 10px;
}

.bottom-nav-item:hover,
.bottom-nav-item:active {
    color: rgba(255, 255, 255, 0.9);
}

.bottom-nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.bottom-nav-item.active i {
    color: var(--accent-primary);
}

/* Navigation badges */
.bottom-nav-item .nav-badge {
    position: absolute;
    top: 3px;
    left: 50%;
    margin-left: 8px;
    min-width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b6b 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
}

.bottom-nav-item .nav-badge.show {
    display: flex;
}

/* Show bottom nav only on mobile */
@media (max-width: 992px) {
    .mobile-bottom-nav {
        display: grid;
    }
    
    /* Add padding to body so content doesn't hide behind bottom nav */
    body {
        padding-bottom: 65px;
    }
    
    /* Adjust footer margin */
    .main-footer {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .mobile-bottom-nav {
        height: 60px;
    }
    
    .bottom-nav-item i {
        font-size: 18px;
    }
    
    .bottom-nav-item span:not(.nav-badge) {
        font-size: 9px;
    }
    
    body {
        padding-bottom: 60px;
    }
}

/* ============================================
   Mobile Search Overlay
   ============================================ */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-search-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-input-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 15px;
    height: 44px;
    gap: 10px;
}

.mobile-search-input-wrapper i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.mobile-search-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
}

.mobile-search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    display: none;
}

.search-clear.visible {
    display: block;
}

.mobile-search-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.mobile-search-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.search-suggestions {
    flex: 1;
    overflow-y: auto;
    padding: 20px 15px;
    padding-bottom: 100px;
}

.search-section {
    margin-bottom: 30px;
}

.search-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.search-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-product-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-product-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.search-product-image {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-product-image i {
    font-size: 20px;
    color: var(--accent-primary);
}

.search-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-product-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.search-product-price {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   Mobile Catalog Overlay
   ============================================ */
.mobile-catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-catalog-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-catalog-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-catalog-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.mobile-catalog-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-catalog-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.catalog-categories {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    align-content: start;
}

.catalog-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.catalog-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.catalog-category-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

.catalog-category-card:hover::before {
    opacity: 0.15;
}

.catalog-category-card:active {
    transform: scale(0.98);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

.category-icon i {
    font-size: 24px;
    color: #ffffff;
}

.category-icon:has(.category-card-image) {
    background: var(--bg-secondary);
    overflow: hidden;
}

.category-icon .category-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

.catalog-category-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a1f 50%, #0f0f14 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #0a0a0f;
    font-size: 16px;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(255, 255, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #0a0a0f;
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.btn-cta-primary i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover i {
    transform: scale(1.15);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.btn-cta-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-cta-secondary:hover::before {
    opacity: 1;
}

.btn-cta-secondary i {
    font-size: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-cta-secondary span {
    position: relative;
    z-index: 1;
}

.btn-cta-secondary:hover i {
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .cta-text h2 {
        font-size: 32px;
    }
    
    .cta-text p {
        font-size: 16px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-tertiary {
        justify-content: center;
        width: 100%;
        padding: 16px 30px;
    }
}

/* ============================================
   Modal Windows (Cart & Favorites)
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-container {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    height: auto; /* Позволяем контенту определять высоту */
}

/* На мобильных устройствах ограничиваем высоту модального окна для обеспечения скролла */
@media (max-width: 992px) {
    .modal-container {
        max-height: calc(100vh - 40px);
        height: calc(100vh - 40px);
        min-height: 0; /* Важно для flexbox скролла */
    }
    
    .modal-premium-body {
        flex: 1 1 auto; /* Позволяет скролл */
        min-height: 0; /* Важно для flexbox скролла */
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    z-index: 1;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    z-index: 1; /* Ниже чем modal-close-corner (z-index: 1000) */
}

.modal-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

/* ============================================
   Modal Premium (Cart, Favorites — в стиле Compare)
   ============================================ */
.modal-container.modal-premium {
    max-width: 650px;
}

.modal-premium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 28px;
    padding-right: 60px; /* Отступ справа для крестика */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    z-index: 1; /* Ниже чем modal-close-corner (z-index: 1000) */
}

.modal-premium-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-premium-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cart-modal-icon {
    background: linear-gradient(135deg, var(--accent-green) 0%, #30d158 100%);
    box-shadow: 0 4px 14px rgba(52, 199, 89, 0.35);
}

.favorites-modal-icon {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b6b 100%);
    box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
}

.modal-premium-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.modal-premium-count {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ============================================
   Cart Added Tooltip — премиальный тултип под брендбук
   ============================================ */
.cart-added-tooltip {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10003;
    max-width: calc(100vw - 48px);
    width: 340px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cart-added-tooltip.cart-added-tooltip-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.cart-added-tooltip-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.cart-added-tooltip-image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.cart-added-tooltip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-added-tooltip-body {
    flex: 1;
    min-width: 0;
}

.cart-added-tooltip-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-added-tooltip-price {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cart-added-tooltip-oldprice {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-right: 6px;
}

.cart-added-tooltip-current {
    font-weight: 600;
    color: var(--text-primary);
}

.cart-added-tooltip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
}

.cart-added-tooltip-badge i {
    font-size: 14px;
}

.cart-added-tooltip-link {
    display: block;
    margin-top: 10px;
    padding: 10px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: var(--gradient-metal);
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.05s ease;
    box-shadow: var(--shadow-sm);
}

.cart-added-tooltip-link:hover {
    color: var(--text-light);
    opacity: 0.95;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .cart-added-tooltip {
        bottom: 85px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .cart-added-tooltip {
        bottom: 80px;
    }
}

/* Notification positioning for mobile devices */
@media (max-width: 992px) {
    .notification {
        bottom: 100px !important;
    }
}

@media (max-width: 480px) {
    .notification {
        bottom: 95px !important;
    }
}

/* Оптимизация заголовков для мобильных устройств */
@media (max-width: 768px) {
    .modal-premium-header {
        padding: 20px 20px;
        padding-right: 50px; /* Отступ справа для крестика */
        gap: 12px;
    }
    
    .modal-premium-title-wrap {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    
    .modal-premium-header h3 {
        font-size: 18px;
        letter-spacing: -0.2px;
    }
    
    .modal-premium-count {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .modal-premium-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .modal-close-corner {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .compare-modal-header {
        padding: 20px 20px;
        padding-right: 50px; /* Отступ справа для крестика */
        gap: 12px;
    }
    
    .compare-modal-title-wrap {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    
    .compare-modal-header h3 {
        font-size: 18px;
        letter-spacing: -0.2px;
    }
    
    .compare-modal-count {
        font-size: 11px;
        padding: 3px 10px;
        white-space: nowrap;
    }
    
    .compare-modal-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .compare-modal-actions {
        gap: 8px;
    }
    
    .btn-compare-clear {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .btn-compare-clear i {
        font-size: 12px;
    }
}

.cart-modal-header .modal-premium-count {
    background: rgba(52, 199, 89, 0.12);
    color: var(--accent-green);
}

.favorites-modal-header .modal-premium-count {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.modal-premium-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Скрываем actions, так как крестик теперь в углу */
.modal-premium-header .modal-premium-actions {
    display: none;
}

.modal-premium-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 28px;
    min-height: 0; /* Важно для flexbox скролла */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.modal-premium-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
    text-align: center;
}

.modal-premium-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cart-empty-icon {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.15) 0%, rgba(48, 209, 88, 0.08) 100%);
    color: var(--accent-green);
}

.favorites-empty-icon {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.12) 0%, rgba(255, 107, 107, 0.08) 100%);
    color: #ff3b30;
}

.modal-premium-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.modal-premium-empty-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    max-width: 360px;
    line-height: 1.5;
}

.modal-premium-empty-cta-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 16px 0 0;
}

.empty-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.btn-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

.btn-empty-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-empty-cta-outline {
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
}

.btn-empty-cta-outline:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

.modal-premium-footer {
    padding: 24px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
}

/* Contact Form Modal styles */
.contact-form-modal .contact-form-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.contact-form-modal .contact-form-modal-icon {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

.contact-form-modal-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-fields .contact-form-group {
    margin-bottom: 0;
}

.contact-form-fields .contact-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form-fields .contact-form-group label i {
    color: #7C3AED;
    font-size: 14px;
}

.contact-form-fields .contact-form-group label .required {
    color: var(--accent-red);
}

.contact-form-fields input[type="text"],
.contact-form-fields input[type="tel"],
.contact-form-fields input[type="email"],
.contact-form-fields textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.contact-form-fields textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-fields .contact-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.contact-form-fields .contact-form-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #7C3AED;
}

.contact-form-fields .contact-form-checkbox-label a {
    color: #7C3AED;
    text-decoration: none;
}

.contact-form-fields .contact-form-checkbox-label a:hover {
    text-decoration: underline;
}

.contact-form-fields .contact-form-error {
    display: block;
    font-size: 13px;
    color: var(--accent-red);
    margin-top: 4px;
}

.contact-form-fields .contact-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-fields .contact-form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.contact-form-fields .contact-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form-modal-footer .contact-form-alt {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.contact-form-modal-footer .contact-form-alt-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-form-modal-footer .contact-form-alt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-form-modal-footer .contact-form-alt-link:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Крестик в углу модального окна */
.modal-close-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close i {
    pointer-events: none;
}

.modal-close:hover {
    background: rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.3);
    transform: rotate(90deg) scale(1.1);
    color: #ff3b30;
}

.modal-close-corner:hover {
    background: rgba(255, 59, 48, 0.15);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
    min-height: 200px;
}

/* ============================================
   Cart & Favorites — премиальные карточки под брендбук, полная адаптивность
   ============================================ */
.cart-items-list,
.favorites-items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.cart-item.modal-premium-item,
.favorite-item.modal-premium-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
    position: relative;
    overflow: hidden;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами через карточки */
}

.cart-item.modal-premium-item::before,
.favorite-item.modal-premium-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-metal);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.cart-item.modal-premium-item:hover,
.favorite-item.modal-premium-item:hover {
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124, 58, 237, 0.06);
}

.cart-item.modal-premium-item:hover::before,
.favorite-item.modal-premium-item:hover::before {
    opacity: 1;
}

/* Обёртка изображения — фиксированное соотношение сторон, отступы сверху/снизу для иконки */
.modal-premium-item__image-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.cart-item-image,
.favorite-item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
    transform-origin: center center;
}

.cart-item.modal-premium-item:hover .cart-item-image,
.favorite-item.modal-premium-item:hover .favorite-item-image {
    transform: scale(1.04);
    transform-origin: center center;
}

.modal-premium-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.modal-premium-item__title,
.cart-item-title.modal-premium-item__title,
.favorite-item-title.modal-premium-item__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.modal-premium-item__specs,
.cart-item-specs.modal-premium-item__specs,
.favorite-item-specs.modal-premium-item__specs {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.modal-premium-item__price-row,
.cart-item-price-wrapper.modal-premium-item__price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
}

.cart-item-price.modal-premium-item__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-item-price-old {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Действия: количество и кнопки */
.modal-premium-item__actions,
.cart-item-actions.modal-premium-item__actions,
.favorite-item-actions.modal-premium-item__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.cart-item-quantity.modal-premium-item__qty {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.cart-item-quantity.modal-premium-item__qty button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cart-item-quantity.modal-premium-item__qty button:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.modal-premium-item__qty-num,
.cart-item-quantity .modal-premium-item__qty-num {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.cart-item-remove.modal-premium-item__remove,
.favorite-item-remove.modal-premium-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.15);
    color: #e53935;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.cart-item-remove.modal-premium-item__remove:hover,
.favorite-item-remove.modal-premium-item__remove:hover {
    background: rgba(255, 59, 48, 0.12);
    border-color: rgba(255, 59, 48, 0.25);
}

.favorite-item-add-cart.modal-premium-item__add-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gradient-metal);
    border: none;
    color: var(--text-light);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.favorite-item-add-cart.modal-premium-item__add-cart:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.favorite-item-onrequest {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
}

.favorite-item-order.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    min-height: auto;
    width: auto;
}

/* Планшеты */
@media (max-width: 768px) {
    .cart-item.modal-premium-item,
    .favorite-item.modal-premium-item {
        padding: 16px;
        gap: 14px;
    }
    .modal-premium-item__image-wrap {
        width: 88px;
        height: 88px;
        border-radius: 12px;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .modal-premium-item__title,
    .cart-item-title.modal-premium-item__title,
    .favorite-item-title.modal-premium-item__title {
        font-size: 14px;
    }
    .cart-item-price.modal-premium-item__price {
        font-size: 17px;
    }
    .cart-item-quantity.modal-premium-item__qty button {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }
}

/* Мобильные — карточка столбиком, крупные зоны нажатия */
@media (max-width: 576px) {
    .cart-item.modal-premium-item,
    .favorite-item.modal-premium-item {
        flex-direction: column;
        padding: 16px;
        gap: 14px;
    }
    .modal-premium-item__image-wrap {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
        border-radius: 14px;
    }
    .modal-premium-item__image-wrap .cart-item-image,
    .modal-premium-item__image-wrap .favorite-item-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transform-origin: center center;
        width: auto;
        height: auto;
        max-width: calc(100% - 20px);
        max-height: calc(100% - 20px);
        object-fit: contain;
        transition: transform var(--transition-normal);
    }
    
    .cart-item.modal-premium-item:hover .cart-item-image,
    .favorite-item.modal-premium-item:hover .favorite-item-image {
        transform: translate(-50%, -50%) scale(1.04);
    }
    .modal-premium-item__actions,
    .cart-item-actions.modal-premium-item__actions,
    .favorite-item-actions.modal-premium-item__actions {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        align-items: stretch;
    }
    .cart-item-quantity.modal-premium-item__qty {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    .cart-item-quantity.modal-premium-item__qty button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 16px;
    }
    .cart-item-remove.modal-premium-item__remove,
    .favorite-item-remove.modal-premium-item__remove,
    .favorite-item-add-cart.modal-premium-item__add-cart,
    .favorite-item-order.btn-order {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 12px 16px;
        min-height: 44px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .modal-premium-item__actions {
        flex-direction: column;
    }
    .cart-item-quantity.modal-premium-item__qty {
        width: 100%;
    }
    .cart-item-remove.modal-premium-item__remove,
    .favorite-item-add-cart.modal-premium-item__add-cart,
    .favorite-item-order.btn-order {
        width: 100%;
    }
    
    /* Разрешаем скролл даже при касании карточек товаров */
    .cart-item.modal-premium-item,
    .favorite-item.modal-premium-item {
        touch-action: pan-y !important;
    }
    
    .cart-item.modal-premium-item *,
    .favorite-item.modal-premium-item * {
        touch-action: pan-y;
    }
    
    /* Но кнопки должны оставаться кликабельными */
    .cart-item.modal-premium-item button,
    .favorite-item.modal-premium-item button {
        touch-action: manipulation; /* Оптимизация для кнопок */
    }
}

/* ============================================
   Compare Modal (Premium)
   ============================================ */
.compare-modal {
    max-width: 960px;
    width: 100%;
}

.compare-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 28px;
    padding-right: 60px; /* Отступ справа для крестика */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    z-index: 1; /* Ниже чем modal-close-corner (z-index: 1000) */
}

.compare-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.compare-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
}

.compare-modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.compare-modal-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 20px;
    color: #7C3AED;
}

.compare-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-compare-clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 12px;
    color: #ff3b30;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-compare-clear:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: rgba(255, 59, 48, 0.4);
    transform: translateY(-1px);
}

.compare-modal-body {
    touch-action: pan-y; /* Разрешаем вертикальный скролл touch-жестами */
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.compare-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
    text-align: center;
}

.compare-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(90, 202, 250, 0.08) 100%);
    color: var(--accent-blue);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.compare-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.compare-empty-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    max-width: 360px;
    line-height: 1.5;
}

.compare-table-wrapper {
    display: none;
    overflow: auto;
    flex: 1;
    padding: 0;
}

.compare-table-wrapper.visible {
    display: block;
}

.compare-table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x; /* Разрешаем скролл в обе стороны */
}

@media (max-width: 992px) {
    .compare-table-scroll {
        touch-action: pan-y pan-x !important;
    }
    
    .compare-table-scroll * {
        touch-action: pan-y pan-x;
    }
    
    /* Но кнопки должны оставаться кликабельными */
    .compare-table-scroll button {
        touch-action: manipulation;
    }
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
}

.compare-param-col {
    width: 160px;
    min-width: 140px;
    font-weight: 600;
    color: var(--text-secondary);
    background: linear-gradient(90deg, #f8f9fb 0%, #ffffff 100%);
}

.compare-product-col {
    min-width: 200px;
    background: #fff;
}

.compare-table .compare-row-photo td {
    padding: 20px;
    border-bottom-width: 2px;
    border-color: rgba(0, 0, 0, 0.08);
}

.compare-table .compare-row-actions td {
    border-bottom: none;
    padding-top: 20px;
}

.compare-product-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* Обёртка фото товара в сравнении — отступы сверху/снизу */
.compare-product-photo-wrap {
    padding: 12px 10px;
    background: var(--bg-secondary);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compare-product-photo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.compare-product-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compare-product-name:hover {
    color: #7C3AED;
}

.compare-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.compare-product-price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.compare-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.compare-btn-link,
.compare-btn-cart,
.compare-btn-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.compare-btn-link {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: #fff;
}

.compare-btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    color: #fff;
}

.compare-btn-cart {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.compare-btn-cart:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.compare-btn-remove {
    background: rgba(255, 59, 48, 0.08);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.compare-btn-remove:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: rgba(255, 59, 48, 0.4);
}

@media (max-width: 768px) {
    .compare-modal {
        max-width: 100%;
        margin: 12px;
    }
    .compare-modal-header {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .compare-modal-title-wrap {
        justify-content: center;
    }
    .compare-param-col {
        width: 120px;
        min-width: 100px;
    }
    .compare-product-col {
        min-width: 160px;
    }
    .modal-container.modal-premium {
        max-width: 100%;
        margin: 12px;
    }
    .modal-premium-header {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    .modal-premium-title-wrap {
        justify-content: center;
    }
    .modal-premium-body {
        padding: 20px;
        flex: 1 1 auto; /* Позволяет скролл */
        min-height: 0; /* Важно для flexbox скролла */
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y !important; /* Разрешаем вертикальный скролл touch-жестами */
    }
    .modal-premium-footer {
        padding: 20px;
    }
    .modal-premium-empty {
        padding: 40px 20px;
    }
    .contact-form-modal-footer .contact-form-alt-links {
        flex-direction: column;
    }
    .contact-form-modal-footer .contact-form-alt-link {
        width: 100%;
        justify-content: center;
    }

    /* Contact form modal — компактнее на мобильном */
    .contact-form-modal .contact-form-modal-header {
        padding: 14px 16px !important;
        gap: 4px;
    }
    .contact-form-modal .contact-form-modal-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .contact-form-modal .contact-form-modal-header h3 {
        font-size: 18px;
    }
    .contact-form-modal-subtitle {
        font-size: 13px;
    }
    .contact-form-modal .modal-premium-body {
        padding: 14px 16px !important;
    }
    .contact-form-fields {
        gap: 12px;
    }
    .contact-form-fields .contact-form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .contact-form-fields input[type="text"],
    .contact-form-fields input[type="tel"],
    .contact-form-fields input[type="email"],
    .contact-form-fields textarea {
        padding: 10px 14px;
        font-size: 16px; /* 16px предотвращает зум iOS при фокусе */
    }
    .contact-form-fields textarea {
        min-height: 60px;
    }
    .contact-form-fields .contact-form-checkbox-label {
        font-size: 13px;
    }
    .contact-form-fields .contact-form-checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    .contact-form-fields .contact-form-submit {
        padding: 12px 20px;
        font-size: 15px;
    }
    .contact-form-modal .modal-premium-footer {
        padding: 14px 16px !important;
    }
    .contact-form-modal-footer .contact-form-alt {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .contact-form-modal-footer .contact-form-alt-links {
        gap: 8px;
    }
    .contact-form-modal-footer .contact-form-alt-link {
        padding: 8px 14px;
        font-size: 13px;
    }
}

.modal-footer {
    padding: 24px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
}

.cart-total-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8fa 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.cart-total-section span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.cart-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-checkout {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-checkout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.btn-checkout:hover::before {
    left: 100%;
}

.btn-checkout i {
    font-size: 18px;
}

/* Cart Actions Row - Two buttons side by side */
.cart-actions-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.cart-actions-row .btn-continue-shopping {
    flex: 1;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-actions-row .btn-continue-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

.cart-actions-row .btn-continue-shopping i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cart-actions-row .btn-continue-shopping:hover i {
    transform: translateX(-3px);
}

.cart-actions-row .btn-checkout {
    flex: 1.2;
    width: auto;
}

@media (max-width: 480px) {
    .cart-actions-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-actions-row {
        flex-direction: row;
        gap: 10px;
    }
    
    .cart-actions-row .btn-continue-shopping {
        order: 2;
        padding: 14px;
        font-size: 14px;
        flex: none;
        width: auto;
        min-width: 48px;
        justify-content: center;
    }
    
    .cart-actions-row .btn-continue-shopping span {
        display: none !important;
    }
    
    .cart-actions-row .btn-continue-shopping i {
        margin: 0 !important;
    }
    
    .cart-actions-row .btn-checkout {
        flex: 1;
        width: auto;
    }
    
    .cart-actions-row .btn-checkout {
        order: 1;
        padding: 16px;
    }
}

/* Order on Request Modal Styles */
.order-request-modal {
    max-width: 520px;
    width: 100%;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.modal-subtitle {
    font-size: 14px;
    color: #6e6e73;
    margin-top: 4px;
}

.order-request-modal .form-group {
    margin-bottom: 20px;
}

.order-request-modal .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.order-request-modal .form-label i {
    color: #7C3AED;
    font-size: 16px;
}

.order-request-modal .form-label .required {
    color: #ff3b30;
}

.order-request-modal .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    font-size: 15px;
    color: #1d1d1f;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.order-request-modal .form-control:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.order-request-modal .form-control::placeholder {
    color: #86868b;
}

.order-request-modal select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.order-request-modal textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 24px;
}

.btn-submit-order {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-submit-order:active {
    transform: translateY(0);
}

/* ============================================
   Address Info Tooltip - Premium Large Tooltip (Brandbook)
   ============================================ */
.address-info-tooltip {
    position: fixed;
    z-index: 10004;
    max-width: 90%;
    width: 90%;
    height: 80vh;
    max-height: 80vh;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 50%, #f5f5f7 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 28px;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 8px 32px rgba(124, 58, 237, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    top: var(--tooltip-top, 50%);
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --arrow-position: 50%;
}

.address-info-tooltip.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.address-info-tooltip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    z-index: 1;
}

/* Arrow pointing to address */
.address-info-tooltip::after {
    content: '';
    position: absolute;
    top: -12px;
    left: var(--arrow-position);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #ffffff;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
    z-index: 2;
}


.address-info-tooltip-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.address-info-tooltip-close:hover {
    background: rgba(255, 59, 48, 0.15);
    transform: rotate(90deg) scale(1.1);
    color: #ff3b30;
}

.address-info-tooltip-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.address-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: linear-gradient(145deg, #f5f5f7 0%, #ffffff 50%, #fafafa 100%);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    min-width: 0;
}

.address-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.address-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(124, 58, 237, 0.2);
}

.address-info-item:hover::before {
    opacity: 1;
}

.address-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.address-info-address .address-info-icon,
.address-info-hours .address-info-icon,
.address-info-phone .address-info-icon,
.address-info-socials .address-info-icon {
    background: var(--gradient-metal);
}

.address-info-text {
    flex: 1;
    min-width: 0;
}

.address-info-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.address-info-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.address-info-link:hover {
    color: var(--accent-primary);
}

.address-info-map {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(124, 58, 237, 0.1) inset;
    border: 1px solid rgba(124, 58, 237, 0.12);
    background: #f5f5f7;
    min-height: 300px;
    height: 300px;
    display: block;
    flex-shrink: 0;
}

.address-info-map-iframe {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    border: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.address-info-socials-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.address-info-social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.address-info-social-link:nth-child(1) {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.address-info-social-link:nth-child(2) {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.address-info-social-link:nth-child(3) {
    background: linear-gradient(135deg, #0077FF 0%, #4680C2 100%);
}

.address-info-social-link:nth-child(4) {
    background: linear-gradient(135deg, #E4405F 0%, #F56040 50%, #FCAF45 100%);
}

.address-info-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .address-info-tooltip {
        max-width: 90%;
        width: 90%;
        height: 75vh;
        max-height: 75vh;
    }
    
    .address-info-tooltip-content {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .address-info-item {
        padding: 16px;
        gap: 12px;
    }
    
    .address-info-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .address-info-title {
        font-size: 12px;
    }
    
    .address-info-value {
        font-size: 15px;
    }
    
    .address-info-map-iframe {
        height: 250px;
    }
    
    .address-info-social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Button styles for "Доступно под заказ" - компактно */
.btn-order-detail {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(29, 29, 31, 0.2);
    white-space: nowrap;
}

.btn-order-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-order {
    flex: 1;
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    color: white;
    border: none;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    min-height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(29, 29, 31, 0.2);
    box-sizing: border-box;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    color: white;
}

/* Category/main page - btn-order same as btn-cart */
.category-filters-section .product-actions .btn-order,
.products-grid .product-actions .btn-order,
.productsSwiper .product-actions .btn-order {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 38px;
    flex: 1;
}

@media (max-width: 768px) {
    .order-request-modal {
        max-width: 100%;
        margin: 20px;
    }
    
    .modal-header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .modal-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .modal-overlay {
        z-index: 10003;
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    }
    
    .modal-container {
        max-width: 100%;
        max-height: calc(100vh - 80px - env(safe-area-inset-bottom, 0));
        border-radius: 20px 20px 0 0;
        margin-top: auto;
        margin-bottom: calc(60px + env(safe-area-inset-bottom, 0));
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 16px 20px;
    }
    
    .modal-footer {
        padding: 16px 20px;
    }
}

/* ============================================
   Category Page Styles
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-primary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    flex: 1;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
    color: var(--accent-primary);
}

.breadcrumb-link i {
    font-size: 12px;
    color: var(--text-muted);
}

.breadcrumb-item.active {
    font-weight: 700;
    color: var(--text-primary);
}

.breadcrumb-item.active span {
    color: var(--text-primary);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 11px;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.breadcrumb-separator i {
    opacity: 0.4;
}


/* Responsive */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 16px 0;
    }
    
    .breadcrumbs-list {
        gap: 8px;
    }
    
    .breadcrumb-link {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Category Hero Section */
.category-hero-section {
    background: linear-gradient(135deg, 
        #1d1d1f 0%, 
        #2d2d2f 25%,
        #1d1d1f 50%,
        #2d2d2f 75%,
        #1d1d1f 100%);
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.hero-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulse 8s ease-in-out infinite;
}

.hero-bg-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-bg-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    animation-delay: 2s;
}

.hero-bg-circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    animation-delay: 4s;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.category-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse 100% 80% at 90% 50%, 
        rgba(124, 58, 237, 0.15) 0%, 
        rgba(167, 139, 250, 0.1) 30%,
        transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.category-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%);
    z-index: 1;
}

.category-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.category-hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.category-hero-badge i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.category-hero-title {
    font-size: 64px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    position: relative;
    letter-spacing: -1px;
}

.title-gradient {
    background: linear-gradient(135deg, 
        #ffffff 0%,
        #f0f0f0 20%,
        #ffffff 40%,
        #e8e8e8 60%,
        #ffffff 80%,
        #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.title-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.3) 0%,
        rgba(167, 139, 250, 0.3) 100%);
    filter: blur(30px);
    opacity: 0.5;
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

.category-hero-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.category-hero-stats {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 18px 24px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-hero-stats .stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    position: relative;
    flex: 1;
}

.category-hero-stats .stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    position: relative;
    min-height: 34px;
    flex: 1;
}

.stat-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 10px;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.stat-icon i {
    font-size: 15px;
    color: #ffffff;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, 
        #ffffff 0%,
        #e0e0e0 50%,
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-divider {
    width: 1px;
    min-height: 50px;
    align-self: stretch;
    flex-shrink: 0;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
}

.category-hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-width: 180px;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}
.category-hero-image-link {
    display: block;
    max-width: 100%;
}
.category-hero-image-img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
    border-radius: 16px;
}

.category-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-item i {
    color: var(--accent-secondary);
    font-size: 15px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.category-hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}
.category-hero-image-link {
    display: block;
    max-width: 100%;
}
.category-hero-image-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
    border-radius: 16px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, 
        rgba(124, 58, 237, 0.25) 0%,
        rgba(167, 139, 250, 0.15) 40%,
        transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glowRotate 8s ease-in-out infinite;
}

@keyframes glowRotate {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
}

.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-image-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%);
    animation: shineRotate 6s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes shineRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(1deg);
    }
    66% {
        transform: translateY(-25px) rotate(-1deg);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .category-hero-title {
        font-size: 52px;
    }
    
    .category-hero-content {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .category-hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .category-hero-text {
        align-items: center;
    }
    
    .category-hero-subtitle {
        max-width: 100%;
    }
    
    .category-hero-stats {
        justify-content: center;
    }
    
    .category-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .category-hero-image {
        order: -1;
        justify-content: center;
    }
    
    .category-hero-image-img {
        max-height: 220px;
    }
    
    .category-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .category-hero-section {
        padding: 40px 0 60px;
        min-height: auto;
    }
    
    .category-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .category-hero-text {
        align-items: center;
        gap: 24px;
    }
    
    .category-hero-image {
        order: -1;
    }
    
    .category-hero-image-img {
        max-height: 180px;
    }
    
    .category-hero-badge {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .category-hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .category-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .category-hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        width: 100%;
    }
    
    .stat-item {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    
    .category-hero-features {
        justify-content: center;
        gap: 12px;
    }
    
    .hero-feature-item {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-image-wrapper img {
        max-width: 100%;
        height: auto;
    }
}

/* ============================================
   Category Subcategories (Premium Block)
   ============================================ */
.category-subcategories-premium {
    position: relative;
    padding: 56px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1d1d1f 0%, #252528 30%, #2d2d2f 60%, #1d1d1f 100%);
}

.category-subcategories-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.category-subcategories-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
}

.category-subcategories-premium-inner {
    position: relative;
    z-index: 1;
}

.category-subcategories-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 28px 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.category-subcategories-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.category-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.category-subcategory-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-subcategory-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(167, 139, 250, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.category-subcategory-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.category-subcategory-card:hover::before {
    opacity: 1;
}

.category-subcategory-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
}

.category-subcategory-card:hover .category-subcategory-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    transform: translateX(4px);
}

.category-subcategory-name {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .category-subcategories-premium {
        padding: 36px 0;
    }
    
    .category-subcategories-title {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .category-subcategories-title-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .category-subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-subcategory-card {
        padding: 12px 14px;
        font-size: 12px;
    }
    
    .category-subcategory-name {
        line-height: 1.35;
    }
    
    .category-subcategory-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 10px;
    }
}

/* Filters and Sort Section */
.category-filters-section {
    padding: 40px 0;
    background: var(--bg-primary);
}

.filters-sort-wrapper {
    display: block;
}

/* Filters Panel */
.filters-panel {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 160px;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: transform var(--transition-fast);
}

.filters-content {
    padding: 20px;
}

.filter-group {
    margin-bottom: 32px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.filter-checkbox:hover {
    background: var(--bg-secondary);
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

.filter-checkbox .checkbox-custom {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition-fast);
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-color: #1a1a1a;
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: translate(-50%, -55%) rotate(45deg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 1;
}

.filter-checkbox span {
    font-size: 14px;
    color: var(--text-primary);
    user-select: none;
}

/* Для раздела "Цвет" - скрываем обычный чекбокс и делаем кружочек с цветом чекбоксом */
.filter-section-color .filter-checkbox-color input[type="checkbox"] + .checkbox-custom {
    display: none;
}

/* Делаем кружочек с цветом интерактивным и большего размера */
.filter-color-swatch {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* Активное состояние для цветового кружочка */
.filter-checkbox-color input[type="checkbox"]:checked ~ .filter-color-swatch {
    border-color: var(--accent-primary);
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}

/* Белая галочка на активном цветовом кружочке */
.filter-checkbox-color input[type="checkbox"]:checked ~ .filter-color-swatch::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.filter-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-filter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.color-filter-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.color-filter-btn.active {
    border-color: var(--accent-primary);
    transform: scale(1.15);
}

.color-filter-btn.active i {
    display: block;
}

.color-filter-btn i {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-inputs input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.price-inputs input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.price-inputs span {
    color: var(--text-muted);
    font-weight: 600;
}

.price-range-slider {
    position: relative;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-md);
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-reset-filters {
    width: 100%;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reset-filters:hover {
    background: var(--accent-primary);
    color: var(--text-light);
    border-color: var(--accent-primary);
}

/* Sort and Results */
.sort-results-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sort-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                0 4px 16px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.04),
                0 0 0 1px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    overflow: visible;
}

.sort-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.btn-filters-open {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    height: 48px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 
                0 2px 6px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-filters-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-filters-open:hover::before {
    left: 100%;
}

.btn-filters-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 
                0 4px 10px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.btn-filters-open:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-filters-open i {
    font-size: 15px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.filters-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 7px;
    background: #ffffff;
    color: var(--accent-primary);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.filters-badge:empty {
    display: none;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 22px;
    height: 48px;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.results-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.results-count i {
    color: var(--accent-primary);
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(124, 58, 237, 0.3));
}

.results-count strong {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(124, 58, 237, 0.1);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    min-width: 240px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    height: 48px;
    box-sizing: border-box;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    justify-content: space-between;
}

.custom-select-trigger:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    transform: translateY(-1px);
    background: var(--bg-card);
}

.custom-select-trigger i:first-child {
    color: var(--accent-primary);
    font-size: 16px;
}

.select-text {
    flex: 1;
    text-align: left;
}

.select-arrow {
    color: var(--text-muted);
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.custom-select-wrapper.active .select-arrow {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    overflow: hidden;
    max-height: 0;
}

.custom-select-wrapper.active .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
}

.select-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover {
    background: var(--bg-secondary);
    padding-left: 24px;
}

.select-option i:first-child {
    color: var(--accent-primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.select-option span {
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.check-icon {
    color: var(--accent-primary);
    font-size: 14px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.select-option.selected .check-icon {
    opacity: 1;
}

.select-option.selected {
    background: rgba(124, 58, 237, 0.08);
    font-weight: 600;
    color: var(--accent-primary);
}

.sort-select-hidden {
    display: none;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Category Empty State - Premium */
.category-empty-premium {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 60px 24px;
}

.category-empty-inner {
    text-align: center;
    max-width: 420px;
}

.category-empty-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--bg-secondary) 0%, #e8e8ec 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.category-empty-icon i {
    font-size: 36px;
    color: var(--accent-primary);
}

.category-empty-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.category-empty-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 28px;
}

.category-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.category-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.3);
    color: #ffffff;
}

.category-empty-btn i {
    font-size: 16px;
}

/* Ensure favorite/compare icons on the right in category */
.category-filters-section .product-card-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
}

/* Filters Modal - Desktop */
.filters-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10004;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filters-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filters-modal-container {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: var(--bg-card);
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-right: 1px solid var(--border-color);
    overflow: hidden;
}

.filters-modal-overlay.active .filters-modal-container {
    transform: translateX(0);
}

/* Mobile Fullscreen Style (like mobile search overlay) */
@media (max-width: 768px) {
    .filters-modal-overlay {
        background: var(--bg-primary);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .filters-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Контейнер на всю ширину экрана (перекрываем базовые width/max-width) */
    .filters-modal-overlay .filters-modal-container {
        position: fixed !important;
        inset: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: none;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .filters-modal-overlay.active .filters-modal-container {
        transform: none;
    }

    /* Header: тёмная шапка на всю ширину */
    .filters-modal-overlay .filters-modal-header {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-shrink: 0;
    }

    .filters-modal-overlay .filters-modal-header .filters-modal-title {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 15px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #ffffff;
    }

    .filters-modal-overlay .filters-modal-header .filters-modal-title i {
        color: rgba(255, 255, 255, 0.7);
        font-size: 16px;
    }

    .filters-modal-overlay .filters-modal-header .filters-modal-title h3 {
        color: #ffffff !important;
        font-size: 16px;
        font-weight: 500;
        margin: 0;
    }

    .filters-modal-overlay .filters-modal-close {
        background: none !important;
        border: none;
        color: #ffffff !important;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        padding: 10px;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    .filters-modal-overlay .filters-modal-close:hover {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    /* Body: на всю ширину */
    .filters-modal-overlay .filters-modal-body {
        flex: 1;
        width: 100%;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 20px 15px;
        padding-bottom: 100px;
        background: var(--bg-primary);
        -webkit-overflow-scrolling: touch;
    }

    .filters-modal-overlay .filters-modal-body .filter-section {
        margin-bottom: 30px;
    }

    .filters-modal-overlay .filters-modal-body .filter-section h4 {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }

    /* Фильтры — чекбоксы как на десктопе (колонка, галочки) */
    .filters-modal-overlay .filters-modal-body .filter-section .filter-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .filter-checkbox {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .filters-modal-overlay .filters-modal-body .filter-section .filter-checkbox:hover {
        background: var(--bg-secondary);
        border-color: var(--accent-primary);
    }

    .filters-modal-overlay .filters-modal-body .filter-section .filter-checkbox .checkbox-custom {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        border: 2px solid var(--border-color);
        background: var(--bg-primary);
        flex-shrink: 0;
        position: relative;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .filter-checkbox input[type="checkbox"]:checked + .checkbox-custom {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border-color: #1a1a1a;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .filter-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 6px;
        height: 10px;
        border: solid #ffffff;
        border-width: 0 2.5px 2.5px 0;
        transform: translate(-50%, -55%) rotate(45deg);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        z-index: 1;
        opacity: 1;
    }

    /* Для раздела "Цвет" в мобильной версии - скрываем обычный чекбокс */
    .filters-modal-overlay .filters-modal-body .filter-section-color .filter-checkbox-color input[type="checkbox"] + .checkbox-custom {
        display: none;
    }

    /* Цветовой кружочек в мобильной версии */
    .filters-modal-overlay .filters-modal-body .filter-section-color .filter-color-swatch {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    /* Активное состояние для цветового кружочка в мобильной версии */
    .filters-modal-overlay .filters-modal-body .filter-section-color .filter-checkbox-color input[type="checkbox"]:checked ~ .filter-color-swatch {
        border-color: var(--accent-primary);
        border-width: 3px;
        box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
    }

    /* Белая галочка на активном цветовом кружочке в мобильной версии */
    .filters-modal-overlay .filters-modal-body .filter-section-color .filter-checkbox-color input[type="checkbox"]:checked ~ .filter-color-swatch::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #ffffff;
        font-size: 16px;
        font-weight: bold;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        line-height: 1;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .filter-checkbox .checkbox-label {
        font-size: 15px;
        color: var(--text-primary);
        font-weight: 500;
    }

    /* Блок цены */
    .filters-modal-overlay .filters-modal-body .filter-section .price-inputs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .price-inputs input {
        flex: 1;
        min-width: 120px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--bg-card);
        font-size: 15px;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .price-inputs .price-separator {
        display: none;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .price-range-container {
        gap: 16px;
    }

    .filters-modal-overlay .filters-modal-body .filter-section .price-display {
        padding: 14px 16px;
        border-radius: 12px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        font-size: 15px;
    }

    /* Футер: на всю ширину, отступ снизу под нижнее меню (65px) */
    .filters-modal-overlay .filters-modal-footer {
        display: flex;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
        padding-bottom: calc(15px + 65px + env(safe-area-inset-bottom));
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
        flex-shrink: 0;
    }

    .filters-modal-overlay .filters-modal-footer .btn-reset-filters {
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 12px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
    }

    .filters-modal-overlay .filters-modal-footer .btn-apply-filters {
        flex: 1;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border: none;
        color: #ffffff;
    }

    .filters-modal-overlay .filters-modal-footer .btn-apply-filters:hover {
        opacity: 0.95;
    }
}

.filters-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 28px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.filters-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.filters-modal-title i {
    font-size: 20px;
    color: var(--accent-primary);
}

.filters-modal-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.filters-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.filters-modal-close:hover {
    color: var(--accent-primary);
    background: var(--bg-secondary);
}

.filters-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    padding-bottom: 120px;
    background: var(--bg-primary);
}

.filters-modal-body::-webkit-scrollbar {
    width: 4px;
}

.filters-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.filters-modal-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.filters-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Filter Section (new style like search) */
.filter-section {
    margin-bottom: 30px;
}

.filter-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.filter-group:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.filter-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group-header i {
    font-size: 20px;
    color: var(--accent-primary);
    width: 24px;
    text-align: center;
}

.filter-group .filter-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.filter-section .filter-options,
.filter-group .filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-section .filter-checkbox,
.filter-group .filter-checkbox {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all var(--transition-fast);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.filter-section .filter-checkbox:hover,
.filter-group .filter-checkbox:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.filter-section .filter-checkbox input[type="checkbox"],
.filter-group .filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    opacity: 1;
}

.checkbox-label {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    user-select: none;
    flex: 1;
}

.filter-section .filter-color-options,
.filter-group .filter-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}

.filter-section .color-filter-btn,
.filter-group .color-filter-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 
                0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateZ(0);
}

.filter-section .color-filter-btn:hover,
.filter-group .color-filter-btn:hover {
    transform: scale(1.1) translateY(-3px) translateZ(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 
                0 4px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.filter-section .color-filter-btn.active,
.filter-group .color-filter-btn.active {
    border-color: var(--accent-primary);
    transform: scale(1.2) translateY(-4px) translateZ(0);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25), 
                0 8px 24px rgba(0, 0, 0, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.filter-section .color-filter-btn.active i,
.filter-group .color-filter-btn.active i {
    display: block;
}

.filter-section .color-filter-btn i,
.filter-group .color-filter-btn i {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 1;
    font-weight: 600;
}

.filter-group .price-filter {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group .price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.filter-section .price-inputs,
.filter-group .price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.filter-section .price-inputs input,
.filter-group .price-inputs input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all var(--transition-fast);
    font-weight: 600;
    box-sizing: border-box;
    text-align: center;
}

.filter-section .price-inputs input:hover,
.filter-group .price-inputs input:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.filter-section .price-inputs input::placeholder,
.filter-group .price-inputs input::placeholder {
    color: var(--text-muted);
}

.filter-section .price-inputs input:focus,
.filter-group .price-inputs input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

.price-separator {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    padding: 0 4px;
}

.filter-group .price-range-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.filter-section .price-range-slider,
.filter-group .price-range-slider {
    position: relative;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-section .price-range-slider input[type="range"],
.filter-group .price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    left: 0;
    right: 0;
    top: 0;
}

.filter-section .price-range-slider input[type="range"]::-webkit-slider-thumb,
.filter-group .price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #667eea 100%);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3), 0 0 0 3px rgba(124, 58, 237, 0.1);
    transition: all var(--transition-fast);
    border: 3px solid #ffffff;
}

.filter-section .price-range-slider input[type="range"]::-webkit-slider-thumb:hover,
.filter-group .price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4), 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.filter-section .price-range-slider input[type="range"]::-webkit-slider-thumb:active,
.filter-group .price-range-slider input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.3);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.5), 0 0 0 5px rgba(124, 58, 237, 0.2);
}

.filter-section .price-display,
.filter-group .price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 12px;
}

.filter-section .price-display span:first-child,
.filter-section .price-display span:last-child,
.filter-group .price-display span:first-child,
.filter-group .price-display span:last-child {
    color: var(--accent-primary);
    font-size: 16px;
}

.filters-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.btn-reset-filters,
.btn-apply-filters {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.btn-reset-filters {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-reset-filters:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-apply-filters {
    background: var(--accent-primary);
    color: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.btn-apply-filters:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-primary);
    opacity: 0.9;
}

/* Pagination */
/* Load More Button */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    min-height: 80px;
    width: 100%;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    min-width: 200px;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.btn-load-more:hover::before {
    left: 100%;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.btn-load-more:active {
    transform: translateY(-1px);
    box-shadow: 
        0 3px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.load-more-text {
    position: relative;
    z-index: 1;
}

.load-more-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.load-more-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-load-more:hover .load-more-icon {
    transform: translateY(3px);
}

.load-more-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    animation: loadMoreShine 3s infinite;
}

@keyframes loadMoreShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .filters-modal {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 16px 0;
    }
    
    .breadcrumbs-list {
        gap: 8px;
    }
    
    .breadcrumb-link {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .category-hero-section {
        padding: 40px 0;
    }
    
    .category-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sort-header {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .sort-header-left {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .btn-filters-open {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        height: 48px;
        font-size: 16px;
        border-radius: 16px;
    }
    
    .results-count {
        height: 48px;
    }
    
    .custom-select-trigger {
        height: 48px;
    }
    
    .custom-select-wrapper {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .btn-load-more {
        padding: 14px 32px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .load-more-count {
        font-size: 11px;
        min-width: 28px;
        height: 22px;
    }
}

/* Дополнительная оптимизация для узких экранов (iPhone и подобные) */
@media (max-width: 600px) {
    :root {
        --container-padding: 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        padding: 12px;
        border-radius: 16px;
    }
    
    .product-image {
        margin-bottom: 10px;
    }
    
    .product-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .product-perks {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .perk-badge {
        font-size: 9px;
        padding: 4px 8px;
        height: 24px;
    }
    
    .perk-badge i {
        font-size: 10px;
    }
    
    .product-specs-row {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .spec-badge {
        font-size: 9px;
        padding: 4px 6px;
        height: 22px;
    }
    
    .spec-badge i {
        font-size: 10px;
    }
    
    .product-price {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .price-promo {
        font-size: 16px;
    }
    
    .price-regular {
        font-size: 13px;
    }
    
    .price-old {
        font-size: 12px;
    }
    
    .product-actions {
        gap: 8px;
    }
    
    .product-actions .btn {
        font-size: 11px;
        padding: 10px 8px;
        min-height: 40px;
    }
    
    .product-actions .btn-cart {
        padding: 10px 8px;
    }
    
    .product-actions .btn-buy {
        padding: 10px 8px;
    }
    
    .product-actions .btn-order {
        padding: 10px 8px;
    }
    
    .color-dot {
        width: 18px;
        height: 18px;
    }
    
    .product-card-icons {
        gap: 6px;
        top: 8px;
        right: 8px;
    }
    
    .product-favorite,
    .product-compare {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-hero-section {
        padding: 30px 0 50px;
    }
    
    .category-hero-content {
        gap: 24px;
    }
    
    .category-hero-text {
        gap: 20px;
    }
    
    .category-hero-badge {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .category-hero-title {
        font-size: 26px;
    }
    
    .category-hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .category-hero-stats {
        padding: 16px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
    }
    
    .stat-icon i {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .category-hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero-feature-item {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .hero-image-wrapper {
        max-width: 240px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-empty-premium {
        min-height: 300px;
        padding: 40px 20px;
    }
    
    .category-empty-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }
    
    .category-empty-icon i {
        font-size: 28px;
    }
    
    .category-empty-title {
        font-size: 18px;
    }
    
    .category-empty-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .category-empty-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .pagination-link {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ============================================
   Product Detail Page Styles
   ============================================ */

/* Product Detail Hero Section - компактная верстка */
.product-detail-hero {
    padding: 24px 0 9px;
    background: var(--bg-primary);
    min-height: auto;
    position: relative;
    z-index: 1;
}

/* Product Hero Premium - Super Premium Design */
.product-hero-premium {
    padding: 50px 0 70px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Разделение блоков кнопок - компактно */
.product-action-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.product-buttons-cart,
.product-buttons-order {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.product-buttons-cart .btn-cart-detail {
    flex: 0 1 auto;
}

.product-buttons-cart .btn-buy-detail {
    flex: 1;
    min-width: 0;
}

.sticky-buttons-cart,
.sticky-buttons-order {
    display: flex;
    gap: 8px;
}

.product-action-secondary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.product-action-secondary .btn-favorite-detail,
.product-action-secondary .btn-compare-detail {
    flex: 1;
    min-width: 140px;
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.product-action-secondary .btn-favorite-detail span,
.product-action-secondary .btn-compare-detail span {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Badge Без RuStore на странице товара */
.product-badges-top .perk-rustore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* Variant Options - каждая группа отдельным блоком */
.product-variant-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.product-variant-options .variant-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 50%, #f5f5f7 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: fit-content;
}

.product-variant-options .variant-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-variant-options .variant-group:hover {
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transform: translateY(-2px);
}

.product-variant-options .variant-group:hover::before {
    opacity: 1;
}

.product-variant-options .variant-group:first-child {
    background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%);
    border-color: rgba(0, 0, 0, 0.06);
}

.product-variant-options .variant-group:nth-child(2) {
    background: linear-gradient(180deg, #fafbfc 0%, #f2f3f5 100%);
    border-color: rgba(0, 0, 0, 0.05);
}

.product-variant-options .variant-group:nth-child(3) {
    background: linear-gradient(180deg, #f8f9fa 0%, #eef0f2 100%);
    border-color: rgba(0, 0, 0, 0.05);
}

.variant-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.variant-label i {
    font-size: 11px;
    color: rgba(124, 58, 237, 0.7);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.variant-options.variant-colors {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

.variant-option.color-option-detail {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    font-size: 9px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.variant-option.color-option-detail:hover {
    transform: scale(1.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(255, 255, 255, 0.9) inset;
}

.variant-option.color-option-detail.active {
    border-color: var(--accent-primary);
    box-shadow: 
        0 0 0 2px #fff,
        0 0 0 4px var(--accent-primary),
        0 4px 16px rgba(124, 58, 237, 0.3);
    transform: scale(1.1);
}

.variant-option.memory-option-detail,
.variant-option.sim-option-detail {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.variant-option.memory-option-detail:hover,
.variant-option.sim-option-detail:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transform: translateY(-2px);
}

.variant-option.memory-option-detail.active,
.variant-option.sim-option-detail.active {
    background: linear-gradient(135deg, #5B21B6 0%, #1d1d1f 100%);
    color: #fff;
    border-color: #5B21B6;
    box-shadow: 
        0 4px 20px rgba(124, 58, 237, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateY(-2px);
}

.variant-option.unavailable,
.variant-option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.product-hero-premium-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.product-hero-premium-bg .product-hero-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 113, 227, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 0%, rgba(167, 139, 250, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0b 100%);
}

.product-hero-premium .container {
    position: relative;
    z-index: 1;
}

.product-hero-premium .product-detail-title {
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.product-hero-premium .product-price-block {
    border-color: rgba(255, 255, 255, 0.15);
}

.product-hero-premium .price-old {
    color: rgba(255, 255, 255, 0.5);
}

.product-hero-premium .price-current {
    color: #fff;
}

.product-hero-premium .product-gallery-main {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-hero-premium .product-gallery-main .swiper-slide {
    background: transparent;
}

.product-hero-premium .product-gallery-main .swiper-button-next,
.product-hero-premium .product-gallery-main .swiper-button-prev {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-hero-premium .product-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-hero-premium .btn-cart-detail {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.product-hero-premium .btn-cart-detail:hover {
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
    box-shadow: 0 6px 32px rgba(124, 58, 237, 0.5);
}

.product-hero-premium .btn-buy-detail {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.product-hero-premium .btn-buy-detail:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.product-hero-premium .btn-favorite-detail,
.product-hero-premium .btn-compare-detail {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.product-hero-premium .btn-favorite-detail:hover,
.product-hero-premium .btn-compare-detail:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.product-hero-premium .info-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-hero-premium .info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-hero-premium .info-card-title {
    color: #fff;
}

.product-hero-premium .info-card-desc {
    color: rgba(255, 255, 255, 0.65);
}

.product-hero-premium .info-card-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.product-hero-premium .info-card-icon-green {
    background: linear-gradient(135deg, #2a9d4a 0%, #34c759 100%);
}

.product-hero-premium .info-card-icon-blue {
    background: linear-gradient(135deg, #0066cc 0%, var(--accent-blue) 100%);
}

.product-hero-premium .info-card-link {
    text-decoration: none;
    position: relative;
}

.product-hero-premium .info-card-link .info-card-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    transition: all 0.3s ease;
}

.product-hero-premium .info-card-link:hover .info-card-arrow {
    color: #fff;
    right: 12px;
}

.product-hero-premium .info-card-link .info-card-content {
    position: relative;
    padding-right: 36px;
}

/* Product Hero Light - суперпремиальная светлая тема */
.product-hero-light {
    padding: 48px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #F8F8FA 50%, #F0F0F2 100%) !important;
    color: #1d1d1f !important;
    position: relative;
    overflow: hidden;
}

.product-hero-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 60% at 10% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 90% 80%, rgba(0, 113, 227, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.product-hero-light .container {
    position: relative;
    z-index: 1;
}

/* Базовый цвет для всего контента hero — наследуется дочерними элементами */
.product-hero-light .container,
.product-hero-light .product-detail-content,
.product-hero-light .product-info-wrapper {
    color: #1d1d1f !important;
}

.product-hero-light .product-detail-title,
.product-hero-light .product-detail-title * {
    color: #1d1d1f !important;
}

.product-hero-light .btn-buy-detail,
.product-hero-light .btn-buy-detail i,
.product-hero-light .btn-buy-detail span {
    color: #1d1d1f !important;
}

.product-hero-light .btn-buy-detail:hover,
.product-hero-light .btn-buy-detail:hover i,
.product-hero-light .btn-buy-detail:hover span {
    color: #ffffff !important;
}

.product-hero-light .btn-cart-detail,
.product-hero-light .btn-cart-detail i,
.product-hero-light .btn-cart-detail span {
    color: #ffffff !important;
}

.product-hero-light .variant-label {
    color: #1d1d1f !important;
}

.product-hero-light .info-card-icon,
.product-hero-light .info-card-icon i {
    color: #ffffff !important;
}

.product-hero-light .product-hero-premium-bg .product-hero-gradient {
    background: 
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 113, 227, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,248,250,0.6) 100%) !important;
}

.product-hero-light .product-detail-title {
    color: #1d1d1f !important;
    font-weight: 900;
    font-size: 32px !important;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 32px !important;
    text-shadow: none;
}

.product-hero-light .product-price-block {
    border-color: rgba(0, 122, 255, 0.2) !important;
    box-shadow: 
        0 12px 48px rgba(0, 122, 255, 0.12),
        0 6px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 -2px 0 rgba(0, 122, 255, 0.06) inset !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 25%, #f0f4ff 50%, #e8f0ff 100%) !important;
}

.product-hero-light .product-price-block:hover {
    border-color: rgba(0, 122, 255, 0.35) !important;
    box-shadow: 
        0 16px 64px rgba(0, 122, 255, 0.18),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.98) inset,
        0 -2px 0 rgba(0, 122, 255, 0.1) inset !important;
}

.product-hero-light .product-price-block .price-badge-wrapper {
    border-left-color: rgba(0, 122, 255, 0.15) !important;
}

/* Стили для новой структуры цен в светлой теме */
.product-hero-light .product-price-block .price-stack::before {
    background: linear-gradient(180deg, 
        rgba(142, 142, 147, 0.25) 0%,
        rgba(142, 142, 147, 0.15) 30%,
        rgba(0, 122, 255, 0.15) 70%,
        rgba(0, 122, 255, 0.3) 100%) !important;
}

.product-hero-light .product-price-block:hover .price-stack::before {
    background: linear-gradient(180deg, 
        rgba(142, 142, 147, 0.35) 0%,
        rgba(142, 142, 147, 0.25) 30%,
        rgba(0, 122, 255, 0.25) 70%,
        rgba(0, 122, 255, 0.5) 100%) !important;
}

.product-hero-light .product-price-block .price-tier-old .price-tier-label {
    color: #6e6e73 !important;
}

.product-hero-light .product-price-block .price-tier-old .price-tier-value {
    color: #6e6e73 !important;
}

/* Стили для светлой темы - главная цена */
.product-hero-light .product-price-block .price-tier-main .price-tier-label {
    color: rgba(0, 122, 255, 0.95) !important;
}

.product-hero-light .product-price-block .price-tier-main .price-tier-label i {
    color: rgba(0, 122, 255, 0.9) !important;
}

.product-hero-light .product-price-block .price-tier-main .price-tier-value-main {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.5) 0%, rgba(0, 81, 213, 0.4) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.product-hero-light .product-price-block .price-tier-main::after {
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 122, 255, 0.2) 20%,
        rgba(0, 122, 255, 0.4) 50%,
        rgba(0, 122, 255, 0.2) 80%,
        transparent 100%) !important;
}

.product-hero-light .product-price-block .price-payment-note {
    background: rgba(0, 122, 255, 0.08) !important;
    border-color: rgba(0, 122, 255, 0.15) !important;
    color: rgba(124, 58, 237, 0.9) !important;
}

.product-hero-light .product-price-block .price-payment-note i {
    color: rgba(0, 122, 255, 0.8) !important;
}

/* Стили для светлой темы - акционная цена (для справки) */
.product-hero-light .product-price-block .price-tier-reference .price-tier-label {
    color: #ff3b30 !important;
}

.product-hero-light .product-price-block .price-tier-reference .price-tier-label .price-promo-icon {
    color: #ff3b30 !important;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.25) 0%, rgba(255, 45, 85, 0.2) 100%) !important;
}

.product-hero-light .product-price-block .price-tier-reference .price-tier-value-reference {
    background: linear-gradient(135deg, #ff3b30 0%, #ff2d55 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Старые стили для обратной совместимости */
.product-hero-light .price-old {
    color: #6e6e73 !important;
}

.product-hero-light .price-current {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
}

.product-hero-light .product-gallery-main {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
}

.product-hero-light .product-gallery-main .swiper-slide {
    background: #F5F5F7 !important;
}

.product-hero-light .product-gallery-main .swiper-button-next,
.product-hero-light .product-gallery-main .swiper-button-prev {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #1d1d1f !important;
}

.product-hero-light .btn-cart-detail {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #5B21B6 100%) !important;
    background-size: 200% 100% !important;
    color: #ffffff !important;
    box-shadow: 
        0 8px 32px rgba(124, 58, 237, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    padding: 16px 28px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-hero-light .btn-cart-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.product-hero-light .btn-cart-detail:hover {
    background-position: 100% 50% !important;
    box-shadow: 
        0 12px 48px rgba(124, 58, 237, 0.5),
        0 6px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

.product-hero-light .btn-cart-detail:hover::before {
    left: 100%;
}

.product-hero-light .btn-buy-detail {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%) !important;
    color: #1d1d1f !important;
    border: 2px solid rgba(124, 58, 237, 0.2) !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    padding: 16px 28px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-hero-light .btn-buy-detail:hover {
    background: linear-gradient(135deg, #5B21B6 0%, #1d1d1f 100%) !important;
    color: #ffffff !important;
    border-color: #5B21B6 !important;
    box-shadow: 
        0 8px 32px rgba(124, 58, 237, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.product-hero-light .btn-credit-detail {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%) !important;
    color: #667eea !important;
    border: 2px solid rgba(102, 126, 234, 0.3) !important;
    box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    padding: 16px 28px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-hero-light .btn-credit-detail:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border-color: #667eea !important;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.4),
        0 4px 16px rgba(118, 75, 162, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Кнопки: «Купить в 1 клик» растянута по ширине */
.product-hero-light .product-buttons-cart {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}
.product-hero-light .product-buttons-cart .btn-cart-detail {
    flex: 0 1 auto !important;
}
.product-hero-light .product-buttons-cart .btn-buy-detail {
    flex: 1 1 0% !important;
    min-width: 0 !important;
}
.product-hero-light .product-buttons-cart .btn-credit-detail {
    flex: 1 1 0% !important;
    min-width: 0 !important;
}

/* Галерея: картинка прижата к верху, sticky в пределах контейнера */
.product-hero-light .product-gallery-wrapper {
    align-self: start;
    margin-top: 0;
}
.product-hero-light .product-gallery-main .swiper-slide {
    align-items: flex-start !important;
}
.product-hero-light .product-image-container img {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    object-position: top center !important;
}

.product-hero-light .btn-favorite-detail,
.product-hero-light .btn-compare-detail {
    background: #ffffff !important;
    border: 2px solid #2d2d2f !important;
    color: #1d1d1f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.product-hero-light .btn-favorite-detail:hover,
.product-hero-light .btn-compare-detail:hover {
    border-color: #1d1d1f !important;
    color: #1d1d1f !important;
    background: #f5f5f7 !important;
}

.product-hero-light .info-card {
    background: linear-gradient(145deg, #f5f5f7 0%, #ffffff 50%, #fafafa 100%) !important;
    border: 1px solid rgba(124, 58, 237, 0.12) !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
    border-radius: 20px !important;
    padding: 20px 24px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-hero-light .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-hero-light .info-card:hover {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 50%, #f5f5f7 100%) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
    transform: translateY(-3px) !important;
}

.product-hero-light .info-card:hover::before {
    opacity: 1;
}

/* Рассрочка и Trade-in — лёгкое выделение относительно нижних блоков */
.product-hero-light .info-card-link {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 50%, #f5f5f7 100%) !important;
    border-color: rgba(124, 58, 237, 0.15) !important;
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}

.product-hero-light .info-card-link:hover {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%) !important;
    border-color: rgba(124, 58, 237, 0.25) !important;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 1) inset !important;
    transform: translateY(-4px) !important;
}

.product-hero-light .info-card-title {
    color: #1d1d1f !important;
    font-weight: 700;
}

.product-hero-light .info-card-desc {
    color: #6e6e73 !important;
}

/* Цветные иконки — всегда яркие по умолчанию */
.product-hero-light .info-card-icon-green {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

.product-hero-light .info-card-icon-blue {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.product-hero-light .info-card-icon-orange {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.product-hero-light .info-card-icon-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

/* Серая иконка только для карточек без цветного класса */
.product-hero-light .info-card-icon:not(.info-card-icon-green):not(.info-card-icon-blue):not(.info-card-icon-orange):not(.info-card-icon-purple) {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%) !important;
    color: #ffffff !important;
}

.product-hero-light .info-card .info-card-content {
    position: relative;
    padding-right: 36px;
}

.product-hero-light .info-card .info-card-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #1d1d1f;
    font-size: 12px;
    transition: all 0.25s ease;
}

.product-hero-light .info-card-link {
    cursor: pointer !important;
}

.product-hero-light .info-card-link .info-card-arrow {
    color: #1d1d1f !important;
}

.product-hero-light .info-card-link:hover .info-card-arrow {
    color: #0071e3 !important;
}

.product-hero-light .info-card-static:hover .info-card-arrow {
    color: #5B21B6 !important;
}

/* Badge Без RuStore в светлой теме (в product-badges-top и справа от цены) */
.product-hero-light .product-badges-top .perk-rustore,
.product-hero-light .product-badge-price-right.perk-rustore,
.product-hero-light .product-price-block .price-badge-wrapper .product-badge-price-inline.perk-rustore {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(124, 58, 237, 0.12) 100%) !important;
    border: 1.5px solid rgba(124, 58, 237, 0.3) !important;
    color: #1d1d1f !important;
    box-shadow: 
        0 2px 8px rgba(124, 58, 237, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
}

.product-hero-light .product-badges-top .perk-rustore i,
.product-hero-light .product-badge-price-right.perk-rustore i,
.product-hero-light .product-price-block .price-badge-wrapper .product-badge-price-inline.perk-rustore i {
    color: #5B21B6 !important;
}

.product-hero-light .product-badges-top .badge {
    color: #1d1d1f !important;
}

.product-hero-light .product-badges-top .badge .badge-text,
.product-hero-light .product-badge-price-right .badge-text,
.product-hero-light .product-price-block .price-badge-wrapper .product-badge-price-inline .badge-text {
    display: inline-flex !important;
    color: #1d1d1f !important;
}

.product-hero-light .product-badges-top .badge .badge-title,
.product-hero-light .product-badge-price-right .badge-title,
.product-hero-light .product-price-block .price-badge-wrapper .product-badge-price-inline .badge-title {
    color: #1d1d1f !important;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Заголовок на всю ширину контейнера */
.product-detail-content > .product-header-section {
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 6px;
    padding-left: 0;
}

@media (max-width: 1200px) {
    .product-detail-content {
        grid-template-columns: 380px 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .product-gallery-wrapper-new {
        position: static;
        max-height: none;
    }
    
    .product-gallery-wrapper-new .product-image {
        min-height: 350px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .product-gallery-wrapper-new .product-image img.main-image {
        max-width: 90%;
        max-height: 90%;
    }
    
    .product-price-block {
        padding: 20px 24px;
        gap: 20px;
        border-radius: 20px;
    }
    
    .product-price-block .price-main-content {
        gap: 20px;
    }
    
    .product-price-block .price-badge-wrapper {
        padding-left: 20px;
    }
    
    .product-header-section {
        margin-bottom: 20px;
    }
    
    .product-detail-title {
        font-size: 26px;
    }
}

/* Новый блок галереи - крупный, прижатый к верху, sticky */
.product-gallery-wrapper-new {
    position: sticky;
    top: 0;
    width: 100%;
    align-self: start;
    margin-top: 0;
    padding-top: 0;
    transition: position 0.1s ease;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    z-index: 10;
}

/* Премиальная структура картинки продукта */
.product-gallery-wrapper-new .product-image {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 30%, #f5f5f7 60%, #f0f0f2 100%);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 
        0 12px 48px rgba(124, 58, 237, 0.1),
        0 6px 24px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 -2px 0 rgba(124, 58, 237, 0.04) inset;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(124, 58, 237, 0.08);
    cursor: zoom-in;
}

/* Иконки избранного и сравнения в блоке с картинкой */
.product-gallery-wrapper-new .product-image .product-card-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-favorite,
.product-gallery-wrapper-new .product-image .product-card-icons .product-compare {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 50%;
    color: rgba(124, 58, 237, 0.8);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    cursor: pointer;
    flex-shrink: 0;
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-favorite:hover {
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.4);
    background: rgba(255, 59, 48, 0.1);
    transform: scale(1.1);
    box-shadow: 
        0 6px 16px rgba(255, 59, 48, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-favorite.active {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.5);
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-favorite.active i {
    font-weight: 900;
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-compare:hover {
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.4);
    background: rgba(0, 113, 227, 0.1);
    transform: scale(1.1);
    box-shadow: 
        0 6px 16px rgba(0, 113, 227, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-compare.active {
    background: rgba(0, 113, 227, 0.15);
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.5);
}

.product-gallery-wrapper-new .product-image .product-card-icons .product-compare.active i {
    font-weight: 900;
}

.product-gallery-wrapper-new .product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(0, 122, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-gallery-wrapper-new .product-image:hover {
    box-shadow: 
        0 16px 64px rgba(124, 58, 237, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 -2px 0 rgba(0, 122, 255, 0.08) inset;
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.15);
}

.product-gallery-wrapper-new .product-image:hover::before {
    opacity: 1;
}

.product-gallery-wrapper-new .product-image img.main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.3s ease;
    z-index: 1;
}

.product-gallery-wrapper-new .product-image.zoom-active img.main-image {
    transform: translate(-50%, -50%) scale(1) !important;
}

/* Убираем тени при активной лупе */
.product-gallery-wrapper-new .product-image.zoom-active {
    box-shadow: none !important;
}

.product-gallery-wrapper-new .product-image.zoom-active:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Premium glow effect on zoom active */
.product-gallery-wrapper-new .product-image.zoom-active::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    animation: zoomGlowDetail 0.3s ease forwards;
}

@keyframes zoomGlowDetail {
    to {
        opacity: 1;
    }
}

/* Product Gallery - премиальный вывод картинки */
.product-gallery-wrapper {
    position: sticky;
    top: 140px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.product-gallery-main {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    background: var(--bg-card);
    padding: 24px;
}

.product-gallery-main.swiper {
    width: 100%;
    max-width: 100%;
}

.product-gallery-main .swiper-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: transparent;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8f8fa 0%, #f0f0f2 100%);
    margin: 0;
}

/* Суперпремиальный блок картинки на странице товара + лупа */
.product-detail-image-premium {
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 12px 48px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #fafafa 0%, #f2f2f4 50%, #eeeef0 100%);
    cursor: crosshair;
}
.product-detail-image-premium:hover {
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
.product-detail-zoom-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #1d1d1f;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
    pointer-events: none;
    z-index: 5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-detail-image-premium:hover .product-detail-zoom-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
/* Product Image Zoom - REMOVED (zoom functionality disabled) */

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
    transition: transform 0.3s ease;
}

.product-gallery-main .swiper-button-next,
.product-gallery-main .swiper-button-prev {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.95);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
}

.product-gallery-main .swiper-button-next::after,
.product-gallery-main .swiper-button-prev::after {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary) !important;
}

.product-gallery-main .swiper-button-next:hover,
.product-gallery-main .swiper-button-prev:hover {
    background: #ffffff;
    transform: scale(1.1);
    border-color: var(--accent-primary);
}

.product-gallery-main .swiper-button-next:hover::after,
.product-gallery-main .swiper-button-prev:hover::after {
    color: var(--text-primary) !important;
}

.product-gallery-thumbs {
    width: 100%;
    max-width: 100%;
}

.product-gallery-thumbs.swiper {
    width: 100%;
    max-width: 100%;
}

.product-gallery-thumbs .swiper-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
}

.product-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--accent-primary);
}

.product-gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Info Wrapper - компактно */
.product-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.product-badges-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-detail-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* Заголовок над двумя колонками (картинка + описание) — мало отступа, блок с картинкой прижат к верху */
/* Новая структура - заголовок и бейджи */
.product-header-section {
    width: 100%;
    margin-bottom: 6px;
    padding-left: 0;
}

.product-header-section .product-detail-title {
    margin-bottom: 0;
}

.product-header-section .product-badges-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    width: 100%;
}

/* Product Options */
.product-option-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-option-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-memory-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.memory-option {
    padding: 14px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.memory-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s;
}

.memory-option:hover::before {
    left: 100%;
}

.memory-option:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.memory-option.active {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.product-color-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.color-option-detail {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-option-detail:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-option-detail.active {
    border-color: var(--accent-primary);
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.color-option-detail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.color-option-detail.active i {
    opacity: 1;
}

/* Price Block — премиальное оформление */
.product-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 24px;
    width: 100%;
}

.product-badge-price-right {
    margin-left: auto;
}

/* Премиальный бейдж внутри блока с ценой */
.product-price-block .price-badge-wrapper .product-badge-price-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-price-block .price-badge-wrapper .product-badge-price-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-price-block .price-badge-wrapper .product-badge-price-inline:hover::before {
    opacity: 1;
}

.product-price-block .price-badge-wrapper .product-badge-price-inline.perk-rustore {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1.5px solid rgba(124, 58, 237, 0.25);
    color: #1d1d1f;
    box-shadow: 
        0 2px 8px rgba(124, 58, 237, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.product-price-block .price-badge-wrapper .product-badge-price-inline.perk-rustore:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22) 0%, rgba(124, 58, 237, 0.12) 100%);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 
        0 4px 12px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform: translateY(-1px);
}

.product-price-block .price-badge-wrapper .product-badge-price-inline.perk-rustore i {
    font-size: 10px;
    color: #5B21B6;
}

.product-price-block .price-badge-wrapper .product-badge-price-inline .badge-text {
    display: inline-flex;
    align-items: center;
}

.product-price-block .price-badge-wrapper .product-badge-price-inline .badge-title {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.product-price-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    padding: 24px 32px;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 20%, #f5f5f7 50%, #f0f0f2 100%);
    border: 2px solid rgba(124, 58, 237, 0.12);
    border-radius: 24px;
    box-shadow: 
        0 12px 48px rgba(124, 58, 237, 0.1),
        0 6px 24px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 -2px 0 rgba(124, 58, 237, 0.04) inset;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.product-price-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.06) 0%, rgba(0, 113, 227, 0.03) 50%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-price-block::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: priceGlow 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes priceGlow {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.1) rotate(5deg); }
}

.product-price-block:hover {
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 
        0 16px 64px rgba(124, 58, 237, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 -2px 0 rgba(0, 122, 255, 0.1) inset;
    transform: translateY(-3px);
}

.product-price-block:hover::before {
    opacity: 1;
}

.product-price-block:hover::after {
    opacity: 0.8;
}

/* Основной контент с ценой */
.product-price-block .price-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Обертка для бейджа справа */
.product-price-block .price-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    padding-left: 24px;
    border-left: 1px solid rgba(124, 58, 237, 0.15);
}

.product-price-block .price-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 122, 255, 0.9);
    position: relative;
    z-index: 1;
    white-space: nowrap;
}
.product-price-block .price-label i {
    font-size: 12px;
    color: rgba(0, 122, 255, 0.8);
}

.product-price-block .price-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

/* Стек цен - вертикальная иерархия */
.product-price-block .price-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    position: relative;
    padding-left: 16px;
}

.product-price-block .price-stack::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(142, 142, 147, 0.3) 0%,
        rgba(142, 142, 147, 0.2) 20%,
        rgba(0, 122, 255, 0.3) 50%,
        rgba(0, 122, 255, 0.5) 80%,
        rgba(142, 142, 147, 0.2) 100%);
    border-radius: 2px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product-price-block:hover .price-stack::before {
    opacity: 1;
    background: linear-gradient(180deg, 
        rgba(142, 142, 147, 0.4) 0%,
        rgba(142, 142, 147, 0.3) 20%,
        rgba(0, 122, 255, 0.4) 50%,
        rgba(0, 122, 255, 0.7) 80%,
        rgba(142, 142, 147, 0.3) 100%);
}

/* Уровень цены */
.product-price-block .price-tier {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
    position: relative;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-price-block .price-tier:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(124, 58, 237, 0.1) 20%,
        rgba(124, 58, 237, 0.1) 80%,
        transparent 100%);
}

/* Старая цена - верхний уровень */
.product-price-block .price-tier-old {
    opacity: 0.7;
    padding-top: 0;
}

.product-price-block .price-tier-old .price-tier-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7C3AED;
    margin-bottom: 2px;
}

.product-price-block .price-tier-old .price-tier-value {
    font-size: 14px;
    font-weight: 500;
    color: #7C3AED;
    text-decoration: line-through;
    text-decoration-color: rgba(142, 142, 147, 0.5);
    text-decoration-thickness: 2px;
    letter-spacing: 0.01em;
    position: relative;
}

/* Главная цена - Обычная (самая заметная) */
.product-price-block .price-tier-main {
    padding-bottom: 8px;
    margin-top: 4px;
    margin-bottom: 8px;
    position: relative;
}

.product-price-block .price-tier-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 122, 255, 0.2) 20%,
        rgba(0, 122, 255, 0.4) 50%,
        rgba(0, 122, 255, 0.2) 80%,
        transparent 100%);
    border-radius: 2px;
}

.product-price-block .price-tier-main .price-tier-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 122, 255, 0.95);
    margin-bottom: 6px;
}

.product-price-block .price-tier-main .price-tier-label i {
    font-size: 11px;
    color: rgba(0, 122, 255, 0.9);
}

.product-price-block .price-tier-main .price-tier-value-main {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.5) 0%, rgba(0, 81, 213, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: 0.01em;
    position: relative;
    margin-bottom: 0;
    display: inline-block;
}

@keyframes priceShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Информация про оплату наличными */
.product-price-block .price-payment-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    color: rgba(124, 58, 237, 0.8);
    margin-top: 0;
    padding: 4px 8px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 122, 255, 0.1);
    margin-left: auto;
    align-self: flex-start;
    transform: translateY(-2px);
}

/* Контейнер для цены и заметки в одной строке */
.product-price-block .price-tier-main .price-tier-value-main-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 0;
}

.product-price-block .price-payment-note i {
    font-size: 9px;
    color: rgba(0, 122, 255, 0.7);
}

.product-price-block .price-payment-note span {
    letter-spacing: 0.02em;
}

/* Акционная цена - яркий акцент, привлекает внимание */
.product-price-block .price-tier-reference {
    padding-top: 8px;
    padding-bottom: 0;
    margin-top: 0;
}

.product-price-block .price-tier-reference .price-tier-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ff3b30;
    margin-bottom: 3px;
    cursor: help;
}

.product-price-block .price-tier-reference .price-tier-label .price-promo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.25) 0%, rgba(255, 45, 85, 0.2) 100%);
    border-radius: 50%;
    font-size: 8px;
    color: #ff3b30;
    transition: all 0.3s ease;
}

.product-price-block .price-tier-reference:hover .price-tier-label .price-promo-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.18) 0%, rgba(255, 59, 48, 0.12) 100%);
}

.product-price-block .price-tier-reference .price-tier-value-reference {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff3b30 0%, #ff2d55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.05em;
    position: relative;
    margin-bottom: 0;
    display: inline-block;
    cursor: help;
}

/* Бейдж экономии */
.product-price-block .price-savings-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #ff3b30 0%, #ff2d55 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
    transform: scale(0.9);
    animation: savingsPulse 2s ease-in-out infinite;
}

@keyframes savingsPulse {
    0%, 100% { transform: scale(0.9); box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4); }
    50% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 59, 48, 0.6); }
}

/* Адаптивность для мобильных - цены */
@media (max-width: 768px) {
    .product-price-block .price-tier-main .price-tier-value-main {
        font-size: 18px;
        font-weight: 700;
    }
    
    .product-price-block .price-tier-reference .price-tier-value-reference {
        font-size: 32px;
    }
    
    .product-price-block .price-tier-old .price-tier-value {
        font-size: 12px;
    }
    
    .product-price-block .price-payment-note {
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* Полная адаптивность для product-detail-hero */
@media (max-width: 1200px) {
    .product-detail-content {
        gap: 40px;
    }
    
    .product-price-block {
        padding: 22px 28px;
    }
}

@media (max-width: 992px) {
    .product-detail-content {
        gap: 28px;
    }
    
    .product-gallery-wrapper-new {
        position: static;
        max-height: none;
    }
    
    .product-gallery-wrapper-new .product-image {
        min-height: 350px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .product-gallery-wrapper-new .product-image img.main-image {
        max-width: 90%;
        max-height: 90%;
    }
    
    .product-price-block {
        padding: 20px 24px;
        gap: 20px;
        border-radius: 20px;
    }
    
    .product-price-block .price-main-content {
        gap: 20px;
    }
    
    .product-price-block .price-badge-wrapper {
        padding-left: 20px;
    }
    
    .product-header-section {
        margin-bottom: 20px;
    }
    
    .product-detail-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .product-detail-content {
        gap: 24px;
    }
    
    .product-header-section {
        margin-bottom: 16px;
    }
    
    .product-detail-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .product-badges-top {
        gap: 6px;
    }
    
    .product-gallery-wrapper-new .product-image {
        min-height: 300px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .product-gallery-wrapper-new .product-image img.main-image {
        max-width: 85%;
        max-height: 85%;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons {
        top: 12px;
        right: 12px;
        gap: 6px;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons .product-favorite,
    .product-gallery-wrapper-new .product-image .product-card-icons .product-compare {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .product-price-block {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
        border-radius: 16px;
    }
    
    .product-price-block .price-main-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .product-price-block .price-badge-wrapper {
        padding-left: 0;
        padding-top: 16px;
        border-left: none;
        border-top: 1px solid rgba(124, 58, 237, 0.15);
        width: 100%;
        justify-content: flex-start;
    }
    
    .product-price-block .price-tier-main .price-tier-value-main {
        font-size: 28px;
        font-weight: 700;
    }
    
    .product-price-block .price-tier-reference .price-tier-value-reference {
        font-size: 14px;
    }
    
    .product-price-block .price-tier-old .price-tier-value {
        font-size: 11px;
    }
    
    .product-price-block .price-payment-note {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .product-variant-options {
        gap: 10px;
    }
    
    .product-variant-options .variant-group {
        padding: 10px 14px;
        border-radius: 12px;
        gap: 6px;
    }
    
    .variant-label {
        font-size: 13px;
    }
    
    .memory-options,
    .color-options,
    .sim-options {
        gap: 8px;
    }
    
    .memory-option {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .color-option-detail {
        width: 44px;
        height: 44px;
    }
    
    .product-action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-buttons-cart {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }
    
    .product-buttons-cart .btn-cart-detail {
        flex: 0 0 60px;
        width: 60px;
        min-width: 60px;
        padding: 14px;
        justify-content: center;
    }
    
    .product-buttons-cart .btn-cart-detail span {
        display: none;
    }
    
    .product-buttons-cart .btn-buy-detail,
    .product-buttons-cart .btn-credit-detail {
        flex: 1;
        min-width: 0;
    }
    
    .btn-cart-detail,
    .btn-buy-detail,
    .btn-credit-detail,
    .btn-order-detail {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 14px;
    }
    
    .btn-order-detail {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-detail-content {
        gap: 20px;
    }
    
    .product-header-section {
        margin-bottom: 12px;
    }
    
    .product-detail-title {
        font-size: 22px;
    }
    
    .product-gallery-wrapper-new .product-image {
        min-height: 280px;
        padding: 12px;
        border-radius: 14px;
    }
    
    .product-gallery-wrapper-new .product-image img.main-image {
        max-width: 80%;
        max-height: 80%;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons {
        top: 10px;
        right: 10px;
        gap: 5px;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons .product-favorite,
    .product-gallery-wrapper-new .product-image .product-card-icons .product-compare {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .product-price-block {
        padding: 16px;
        gap: 12px;
        border-radius: 14px;
    }
    
    .product-price-block .price-tier-main .price-tier-value-main {
        font-size: 18px;
        font-weight: 700;
    }
    
    .product-price-block .price-tier-main .price-tier-label {
        font-size: 9px;
    }
    
    .product-price-block .price-tier-reference .price-tier-value-reference {
        font-size: 28px;
    }
    
    .product-price-block .price-payment-note {
        font-size: 8px;
        padding: 2px 4px;
    }
    
    .product-variant-options {
        gap: 8px;
    }
    
    .product-variant-options .variant-group {
        padding: 8px 12px;
        border-radius: 10px;
        gap: 5px;
    }
    
    .variant-label {
        font-size: 9px;
    }
    
    .variant-options {
        gap: 5px;
    }
    
    .memory-option {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .color-option-detail {
        width: 32px;
        height: 32px;
    }
    
    .btn-cart-detail,
    .btn-buy-detail,
    .btn-order-detail {
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-detail-title {
        font-size: 20px;
    }
    
    .product-gallery-wrapper-new .product-image {
        min-height: 250px;
        padding: 10px;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons {
        top: 8px;
        right: 8px;
        gap: 5px;
    }
    
    .product-gallery-wrapper-new .product-image .product-card-icons .product-favorite,
    .product-gallery-wrapper-new .product-image .product-card-icons .product-compare {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    
    .product-price-block {
        padding: 14px;
        border-radius: 12px;
    }
    
    .product-price-block .price-tier-main .price-tier-value-main {
        font-size: 18px;
        font-weight: 700;
    }
    
    .product-price-block .price-tier-reference .price-tier-value-reference {
        font-size: 26px;
    }
    
    .product-variant-options .variant-group {
        padding: 12px 14px;
    }
    
    .memory-option {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .color-option-detail {
        width: 36px;
        height: 36px;
    }
    
    .btn-cart-detail,
    .btn-buy-detail,
    .btn-order-detail {
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .product-detail-title {
        font-size: 18px;
    }
    
    .product-gallery-wrapper-new .product-image {
        min-height: 220px;
        padding: 8px;
    }
    
    .product-price-block {
        padding: 12px;
    }
    
    .product-price-block .price-tier-main .price-tier-value-main {
        font-size: 16px;
        font-weight: 700;
    }
    
    .product-price-block .price-tier-reference .price-tier-value-reference {
        font-size: 24px;
    }
    
    .memory-option {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .color-option-detail {
        width: 32px;
        height: 32px;
    }
}

.product-price-block .price-current {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #5B21B6 0%, #1d1d1f 50%, #5B21B6 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.04em;
    white-space: nowrap;
    position: relative;
    animation: priceShine 3s ease-in-out infinite;
}

@keyframes priceShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Action Buttons */
.product-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: stretch;
}

.btn-cart-detail {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #5B21B6 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-cart-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.btn-cart-detail:hover::before {
    left: 100%;
}

.btn-cart-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.45);
    background: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 50%, #6D28D9 100%);
}

.btn-buy-detail {
    flex: 1;
    min-width: 160px;
    padding: 12px 24px;
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy-detail:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-credit-detail {
    flex: 1;
    min-width: 160px;
    padding: 12px 24px;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-credit-detail:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-favorite-detail {
    width: 56px;
    height: 56px;
    padding: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite-detail:hover,
.btn-favorite-detail.active {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(255, 59, 48, 0.05);
}

.btn-compare-detail {
    width: 56px;
    height: 56px;
    padding: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-compare-detail:hover,
.btn-compare-detail.active {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(0, 113, 227, 0.05);
}

/* Info Cards - компактно на странице товара */
.product-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.product-hero-light .product-info-cards {
    gap: 16px;
}

/* Info cards в блоке с картинкой - по одной в ряд */
.product-gallery-wrapper-new .product-info-cards {
    grid-template-columns: 1fr;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .product-info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-gallery-wrapper-new .product-info-cards {
        margin-top: 20px;
    }
}

.info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.product-hero-light .info-card {
    padding: 10px 12px !important;
}

.info-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.08);
    transform: translateY(-1px);
}

.info-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}

.product-hero-light .info-card-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.product-hero-light .info-card-title {
    font-size: 12px !important;
}

.info-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-hero-light .info-card-desc {
    font-size: 11px !important;
}

/* Sticky Product Bar */
.sticky-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-top: 2px solid rgba(124, 58, 237, 0.15);
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.12),
        0 -2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sticky-product-bar.visible {
    transform: translateY(0);
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sticky-product-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.sticky-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-product-info {
    flex: 1;
    min-width: 0;
}

.sticky-product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sticky-price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.sticky-price-regular {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.sticky-price-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-red, #ff3b30);
}

.sticky-price-promo .price-promo-icon {
    font-size: 18px;
}

.sticky-product-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cart-sticky,
.btn-buy-sticky {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-cart-sticky {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    color: #ffffff;
    border: none;
}

.btn-cart-sticky:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.btn-buy-sticky {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-buy-sticky:hover {
    background: var(--accent-primary);
    color: #ffffff;
}

.btn-order-sticky {
    background: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-order-sticky:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

/* Мобильная оптимизация sticky-product-bar */
@media (max-width: 992px) {
    .sticky-product-bar {
        bottom: 65px; /* Высота нижнего меню */
        padding: 12px 0;
    }
    
    .sticky-bar-content {
        gap: 12px;
        padding: 0 16px;
    }
    
    .sticky-product-image {
        width: 50px;
        height: 50px;
    }
    
    .sticky-product-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .sticky-product-title {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }
    
    .sticky-product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .sticky-price-promo,
    .sticky-price-current {
        font-size: 18px;
    }
    
    .sticky-product-actions {
        flex-direction: row;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .btn-cart-sticky,
    .btn-buy-sticky,
    .btn-order-sticky {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-cart-sticky span,
    .btn-order-sticky span {
        display: none;
    }
    
    .btn-buy-sticky span {
        display: inline;
        margin-left: 6px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sticky-product-bar {
        bottom: 60px; /* Высота нижнего меню на маленьких экранах */
        padding: 10px 0;
    }
    
    .sticky-bar-content {
        gap: 10px;
        padding: 0 12px;
        flex-wrap: nowrap;
    }
    
    .sticky-product-image {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .sticky-product-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        margin-right: 8px;
    }
    
    .sticky-product-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }
    
    .sticky-price-promo,
    .sticky-price-current {
        font-size: 16px;
    }
    
    .sticky-product-actions {
        flex-shrink: 0;
        width: auto;
    }
    
    .btn-cart-sticky,
    .btn-buy-sticky,
    .btn-order-sticky {
        padding: 8px 12px;
        min-width: auto;
        height: 40px;
        border-radius: 10px;
        font-size: 11px;
        gap: 4px;
    }
    
    .btn-cart-sticky i,
    .btn-buy-sticky i,
    .btn-order-sticky i {
        margin: 0;
        font-size: 12px;
    }
    
    .btn-buy-sticky span {
        display: inline;
        margin-left: 4px;
        font-size: 10px;
    }
}

/* Product Tabs Section */
.product-tabs-section {
    padding: 25px 0;
    background: linear-gradient(180deg, #F5F5F7 0%, #ffffff 50%, #F8F8FA 100%);
    position: relative;
}

.product-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
}

.product-tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.product-tabs-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    padding: 18px 28px;
    background: linear-gradient(145deg, transparent 0%, rgba(124, 58, 237, 0.02) 100%);
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    position: relative;
    margin-bottom: -2px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.03) 100%);
    transform: translateY(-2px);
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-primary);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

.tab-btn i {
    font-size: 16px;
}

.reviews-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.product-tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Specs Table */
.product-specs-table {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.spec-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.spec-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Product Description */
.product-description {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.product-description h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.product-description h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.product-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Product Reviews */
.product-reviews {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.reviews-summary {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    color: #ffc107;
    font-size: 24px;
}

.rating-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.rating-count {
    font-size: 14px;
    color: var(--text-muted);
}

.review-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.review-author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.review-date {
    font-size: 13px;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 14px;
}

.review-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Delivery Info */
.product-delivery-info {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.product-delivery-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    margin-top: 32px;
}

.product-delivery-info h3:first-child {
    margin-top: 0;
}

/* Product tab CTA inline */
.product-cta-inline {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.product-cta-inline-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.product-cta-inline-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
    border: none;
}

.btn-product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-product-cta-outline {
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
}

.btn-product-cta-outline:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: white;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
}

.delivery-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.delivery-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.delivery-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

.payment-option i {
    font-size: 18px;
    color: var(--accent-primary);
}

/* Warranty Info */
.product-warranty-info {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.product-warranty-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.product-warranty-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.warranty-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.warranty-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.warranty-feature:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
}

.warranty-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.warranty-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.warranty-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Similar Products Section */
.similar-products-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-detail-content {
        grid-template-columns: 340px 1fr;
        gap: 40px;
        max-width: 1000px;
    }
    
    .product-gallery-wrapper {
        max-width: 100%;
    }
    
    .product-gallery-wrapper-new {
        position: sticky;
        top: 0;
    }
}

@media (max-width: 992px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-gallery-wrapper {
        position: static;
        max-width: 100%;
    }
    
    .product-gallery-wrapper-new {
        position: static;
    }

    .product-gallery-main {
        padding: 20px;
    }
    
    .product-image-wrapper-new {
        padding: 20px;
    }
    
    .product-detail-title-fullwidth {
        padding-left: 16px;
    }

    .product-detail-title {
        font-size: 24px;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sticky-bar-content {
        flex-wrap: wrap;
    }

    .sticky-product-actions {
        width: 100%;
    }

    .btn-cart-sticky,
    .btn-buy-sticky {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .product-detail-hero {
        padding: 20px 0 9px;
    }

    .product-hero-premium {
        padding: 20px 0 36px;
    }

    .product-gallery-main {
        padding: 16px;
    }

    .product-info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-info-cards .info-card:nth-child(3),
    .product-info-cards .info-card:nth-child(4) {
        grid-column: span 1;
    }

    .product-tabs-nav {
        gap: 4px;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .product-specs-table,
    .product-description,
    .product-reviews,
    .product-delivery-info,
    .product-warranty-info {
        padding: 24px;
    }

    .sticky-bar-content {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .product-hero-premium {
        padding: 16px 0 28px;
    }

    .product-gallery-main {
        padding: 12px;
    }

    .product-info-cards {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .tab-btn span {
        display: none;
    }

    .tab-btn i {
        font-size: 18px;
    }
}

/* ============================================
   Search Page
   ============================================ */
.search-page-hero {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 50%, #1d1d1f 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.search-page-hero .hero-bg-decoration { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.search-page-hero .hero-bg-circle { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(90,92,100,.15) 0%, transparent 70%); filter: blur(60px); }
.search-page-hero .hero-bg-circle-1 { width: 400px; height: 400px; top: -100px; right: -80px; }
.search-page-hero .hero-bg-circle-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(90,92,100,.12) 0%, transparent 70%); }
.search-page-hero .hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 40px 40px; opacity: .3; }

.search-page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.search-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    margin-bottom: 20px;
}

.search-page-badge i { opacity: .9; }

.search-page-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px 0;
    line-height: 1.2;
}

.search-page-title .title-gradient { background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.85) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.search-page-form { margin-bottom: 16px; }

.search-page-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px 0 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.search-page-input-wrap:focus-within {
    background: rgba(255,255,255,.1);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0,113,227,.25);
}

.search-page-input-wrap i:first-of-type { color: rgba(255,255,255,.5); font-size: 18px; }

.search-page-input {
    flex: 1;
    padding: 18px 0;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
}

.search-page-input::placeholder { color: rgba(255,255,255,.4); }

.search-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-metal);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-page-btn:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

.search-page-count {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    margin: 0;
}

.search-page-count strong { color: #fff; }

.search-page-results { padding: 48px 0 80px; }

.search-page-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-secondary);
}

.search-page-empty i {
    font-size: 48px;
    color: var(--accent-secondary);
    margin-bottom: 20px;
    display: block;
}

.search-page-empty p { font-size: 18px; margin: 0 0 24px 0; }

.search-page-empty .btn { text-decoration: none; }

.search-page-empty-prompt { padding: 60px 24px; }

/* ============================================
   Search Dropdown (Desktop) & Premium Autocomplete
   ============================================ */
.search-wrapper { position: relative; }

.search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    min-width: 100%;
    max-height: min(85vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: linear-gradient(180deg, #1d1d1f 0%, #252527 100%);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08) inset;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.search-dropdown::-webkit-scrollbar {
    display: none;
}

.search-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-dropdown-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    color: rgba(255,255,255,.6);
    font-size: 15px;
}

.search-dropdown-loading .spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: searchSpinner 0.8s linear infinite;
}

@keyframes searchSpinner { to { transform: rotate(360deg); } }

.search-dropdown-section {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.search-dropdown-section:last-child { border-bottom: none; }

.search-dropdown-section h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,.5);
    margin: 0 0 12px 0;
}

.search-dropdown-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-dropdown-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255,255,255,.9);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-dropdown-tag:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.search-dropdown-products {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.search-dropdown-products::-webkit-scrollbar {
    display: none;
}

.search-dropdown-product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.search-dropdown-product:hover,
.search-dropdown-product.focused {
    background: rgba(255,255,255,.1);
    transform: translateX(4px);
}

.search-dropdown-product-img {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-dropdown-product-info { flex: 1; min-width: 0; }

.search-dropdown-product-name {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-product-meta {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-top: 2px;
}

.search-dropdown-product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    flex-shrink: 0;
}

.search-dropdown-product-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.search-dropdown-price-old {
    text-decoration: line-through;
    color: rgba(255,255,255,.5);
    font-size: 13px;
    font-weight: 400;
}

.search-dropdown-product-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
}

.search-dropdown-product-img-placeholder i {
    color: rgba(255,255,255,.4);
    font-size: 20px;
}

.search-dropdown-empty {
    padding: 32px 24px;
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 15px;
}

.search-dropdown-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin: 12px 16px;
    background: rgba(0,113,227,.15);
    border: 1px solid rgba(0,113,227,.35);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.search-dropdown-view-all:hover {
    background: rgba(0,113,227,.25);
    border-color: var(--accent-blue);
    color: #fff;
}

.search-clear-btn {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.search-clear-btn.visible { display: flex; }

.search-clear-btn:hover { background: rgba(255,255,255,.25); color: #fff; }

@media (max-width: 991px) {
    .search-dropdown { max-height: min(70vh, 400px); }
}

/* Mobile overlay search products */
.mobile-search-overlay .search-dropdown-product {
    margin: 0 4px;
    border-radius: 14px;
    padding: 10px 12px;
    gap: 12px;
}

.mobile-search-overlay .search-dropdown-product-img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
}

.mobile-search-overlay .search-dropdown-product-info {
    flex: 1;
    min-width: 0;
}

.mobile-search-overlay .search-dropdown-product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-search-overlay .search-dropdown-product-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.mobile-search-overlay .search-dropdown-product-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.mobile-search-overlay .search-dropdown-product-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-green);
    white-space: nowrap;
}

.mobile-search-overlay .search-dropdown-price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.7;
}

.mobile-search-overlay .search-dropdown-view-all {
    margin: 16px 12px 0;
    background: rgba(0,113,227,.2);
    border: 1px solid rgba(0,113,227,.4);
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.mobile-search-overlay .search-dropdown-view-all:hover,
.mobile-search-overlay .search-dropdown-view-all:active {
    background: rgba(0,113,227,.3);
    border-color: var(--accent-blue);
    color: #fff;
}

/* ============================================
   Trade-in Calculator Page - Premium Styles
   ============================================ */

/* Hero Section */
.tradein-page {
    background: var(--bg-secondary);
}

.tradein-hero {
    position: relative;
    padding: 100px 0 80px;
    background: var(--bg-dark);
    overflow: hidden;
}

.tradein-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tradein-hero-bg .hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 113, 227, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0b 100%);
}

.tradein-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tradein-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.tradein-hero-badge i {
    font-size: 14px;
}

.tradein-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.tradein-hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #fff 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tradein-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.tradein-hero-subtitle strong {
    color: #fff;
    font-weight: 600;
}

.tradein-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tradein-hero-stats .stat-item {
    text-align: center;
}

.tradein-hero-stats .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.tradein-hero-stats .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Calculator Section */
.tradein-calculator-section {
    padding: 60px 0 80px;
    margin-top: -40px;
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.calculator-header {
    padding: 40px 40px 30px;
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid var(--border-color);
}

.calculator-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.calculator-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Step Indicator */
.calculator-steps {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}

.step-indicator .step.active,
.step-indicator .step.completed {
    opacity: 1;
}

.step-indicator .step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.step-indicator .step.active .step-num {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

.step-indicator .step.completed .step-num {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

.step-indicator .step-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.step-indicator .step.active .step-text {
    color: var(--text-primary);
}

.step-indicator .step-line {
    flex: 0 0 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 12px;
    margin-bottom: 24px;
}

/* Calculator Form */
.calculator-form {
    padding: 40px;
}

.calculator-step-content {
    display: none;
}

.calculator-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

/* Brand Selection */
.brand-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 32px;
}

.brand-card {
    cursor: pointer;
}

.brand-card input {
    display: none;
}

.brand-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.3s;
}

.brand-card-inner i {
    font-size: 48px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.brand-card-inner span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.brand-card input:checked + .brand-card-inner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-color: var(--accent-primary);
}

.brand-card input:checked + .brand-card-inner i {
    color: var(--accent-primary);
}

.brand-card:hover .brand-card-inner {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Model Selection */
.model-selection {
    display: grid;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto 32px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Condition Selection */
.condition-selection {
    max-width: 600px;
    margin: 0 auto 32px;
}

.condition-group {
    margin-bottom: 28px;
}

.condition-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.battery-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
}

.option-card-inner i {
    font-size: 28px;
    color: var(--text-secondary);
}

.option-card-inner .option-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.option-card-inner .option-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.option-card input:checked + .option-card-inner {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-primary);
}

.option-card input:checked + .option-card-inner i {
    color: var(--accent-green);
}

/* Condition Checkboxes */
.condition-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.condition-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.condition-checkbox:hover {
    background: var(--bg-card-hover);
}

.condition-checkbox input {
    display: none;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.condition-checkbox input:checked + .checkbox-custom {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.condition-checkbox input:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-content {
    flex: 1;
}

.checkbox-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.checkbox-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.btn-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-prev:hover {
    background: var(--bg-card-hover);
}

.btn-next,
.btn-calculate {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #fff;
}

.btn-next:hover,
.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.btn-step:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Result Container */
.result-container {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-loading {
    text-align: center;
}

.result-loading .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.result-loading p {
    color: var(--text-secondary);
    font-size: 16px;
}

.result-content {
    width: 100%;
}

.result-success {
    text-align: center;
    margin-bottom: 32px;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.15) 0%, rgba(52, 199, 89, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    font-size: 40px;
    color: var(--accent-green);
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.result-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.result-details {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.detail-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
    color: var(--text-primary);
}

.detail-row.base-price .detail-value {
    color: var(--accent-primary);
}

.detail-row.deduction .detail-value {
    color: var(--accent-red);
}

/* Result Actions */
.result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.35);
}

.btn-restart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-restart:hover {
    color: var(--text-primary);
}

/* Error State */
.result-error {
    text-align: center;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15) 0%, rgba(255, 59, 48, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 40px;
    color: var(--accent-red);
}

.result-error h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-error p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* How It Works Section */
.tradein-how-section {
    padding: 80px 0;
    background: #fff;
}

.tradein-how-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.how-step {
    text-align: center;
}

.how-step-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-step-icon i {
    font-size: 40px;
    color: #fff;
}

.how-step-icon .step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.how-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.how-step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Devices Section */
.tradein-devices-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tradein-devices-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.device-category {
    background: #fff;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}

.device-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.device-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-icon i {
    font-size: 28px;
    color: #fff;
}

.device-category h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.device-category p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Modal */
.tradein-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tradein-modal.active {
    opacity: 1;
    visibility: visible;
}

.tradein-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
/* Переопределяем глобальные opacity/visibility у .modal-overlay, чтобы затемнение было видно */
.tradein-modal.active .modal-overlay,
.tradein-feedback-wrapper.active .modal-overlay {
    opacity: 1;
    visibility: visible;
}

.tradein-modal .modal-content {
    position: relative;
    z-index: 10004;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    transform: translateY(20px);
    transition: transform 0.3s;
    box-sizing: border-box;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.tradein-modal.active .modal-content {
    transform: translateY(0);
}

.tradein-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.tradein-modal .modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.tradein-modal .modal-header {
    text-align: center;
    margin-bottom: 16px;
    padding-right: 44px;
}

.tradein-modal .modal-header i {
    display: block;
    font-size: 40px;
    color: #7C3AED;
    margin-bottom: 12px;
}

.tradein-modal .modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.tradein-modal .modal-desc {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 24px;
    line-height: 1.5;
}

.tradein-modal .contact-form .form-group {
    margin-bottom: 18px;
}

.tradein-modal .contact-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tradein-modal .contact-form input[type="text"],
.tradein-modal .contact-form input[type="tel"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}

.tradein-modal .contact-form input:focus {
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.tradein-modal .contact-form .form-group-checkbox {
    margin-bottom: 20px;
}

.tradein-modal .contact-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.tradein-modal .contact-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #7C3AED;
}

.tradein-modal .contact-form .checkbox-label a {
    color: #7C3AED;
    text-decoration: none;
}

.tradein-modal .contact-form .checkbox-label a:hover {
    text-decoration: underline;
}

.tradein-modal .btn-submit {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    font-family: inherit;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tradein-modal .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

.tradein-modal .modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.tradein-modal .modal-footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

.tradein-modal .modal-footer a {
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
}

.tradein-modal .modal-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .tradein-hero {
        padding: 80px 0 60px;
    }

    .tradein-hero-stats {
        gap: 24px;
    }

    .how-steps {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }

    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-indicator {
        flex-wrap: wrap;
        gap: 8px;
    }

    .step-indicator .step-line {
        display: none;
    }

    .step-indicator .step {
        flex: 0 0 auto;
    }
}

@media (max-width: 600px) {
    .tradein-hero-title {
        font-size: 32px;
    }

    .tradein-hero-subtitle {
        font-size: 16px;
    }

    .calculator-header,
    .calculator-form {
        padding: 24px;
    }

    .calculator-steps {
        padding: 16px 24px;
    }

    .brand-selection {
        grid-template-columns: 1fr;
    }

    .battery-options {
        grid-template-columns: 1fr;
    }

    .result-price {
        font-size: 36px;
    }

    .devices-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tradein-modal .modal-content {
        padding: 24px 20px;
        margin: 0 16px;
    }
}

/* ============================================
   Installment Calculator Page - Premium Styles
   ============================================ */

/* Hero Section */
.installment-page {
    background: var(--bg-secondary);
}

.installment-hero {
    position: relative;
    padding: 100px 0 80px;
    background: var(--bg-dark);
    overflow: hidden;
}

.installment-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.installment-hero-bg .hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 113, 227, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0b 100%);
}

.installment-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.installment-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.installment-hero-badge i {
    font-size: 14px;
}

.installment-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.installment-hero-title .gradient-text {
    background: linear-gradient(135deg, #5ac8fa 0%, #fff 50%, #5ac8fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.installment-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.installment-hero-subtitle strong {
    color: #fff;
    font-weight: 600;
}

.installment-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.installment-hero-stats .stat-item {
    text-align: center;
}

.installment-hero-stats .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.installment-hero-stats .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Particles */
.installment-hero-bg .hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.installment-hero-bg .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 113, 227, 0.4);
    border-radius: 50%;
    animation: floatParticle 10s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Calculator Section */
.installment-calculator-section {
    padding: 60px 0 80px;
    margin-top: -40px;
}

.installment-calculator-section .calculator-wrapper {
    max-width: 700px;
}

.installment-calculator {
    padding: 40px;
}

.calculator-form-group {
    margin-bottom: 28px;
}

.calculator-form-group > label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Installment product search (premium search like site header) */
.installment-search-wrapper {
    position: relative;
}

.installment-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.installment-search-input-wrap:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.installment-search-input-wrap i.fa-search {
    position: absolute;
    left: 18px;
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
}

.installment-search-input {
    flex: 1;
    width: 100%;
    padding: 16px 48px 16px 48px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
}

.installment-search-input::placeholder {
    color: var(--text-muted);
}

.installment-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--border-color);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.installment-search-clear.visible {
    display: flex;
}

.installment-search-clear:hover {
    background: var(--text-muted);
    color: #fff;
}

.installment-search-wrapper .installment-search-dropdown {
    top: calc(100% + 8px);
}

.installment-search-wrapper .search-dropdown-product {
    width: 100%;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 16px 48px 16px 20px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    cursor: pointer;
}

.select-wrapper select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.select-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 12px;
}

/* Term Selection */
.term-selection {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.term-option {
    flex: 1;
    min-width: 80px;
    cursor: pointer;
}

.term-option input {
    display: none;
}

.term-btn {
    display: block;
    padding: 16px 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.term-option input:checked + .term-btn {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    border-color: var(--accent-blue);
    color: #fff;
}

.term-option:hover .term-btn {
    border-color: var(--accent-blue);
}

/* Calculator Result */
.calculator-result {
    animation: fadeIn 0.4s ease;
}

.result-card {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08) 0%, rgba(90, 172, 250, 0.05) 100%);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 20px;
}

.result-main {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 113, 227, 0.15);
}

.result-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.result-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-detail .detail-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.result-detail .detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.result-detail.highlight .detail-value {
    color: var(--accent-green);
}

.result-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 20px;
}

.result-note i {
    color: var(--accent-orange);
    font-size: 18px;
    margin-top: 2px;
}

.result-note span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.result-actions {
    display: flex;
    justify-content: center;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.35);
}

/* Calculator Placeholder */
.calculator-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.placeholder-icon i {
    font-size: 32px;
    color: var(--text-muted);
}

.calculator-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* How It Works Section */
.installment-how-section {
    padding: 80px 0;
    background: #fff;
}

.installment-how-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.installment-how-section .how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.installment-how-section .how-step {
    text-align: center;
}

.installment-how-section .how-step-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.installment-how-section .how-step-icon i {
    font-size: 40px;
    color: #fff;
}

.installment-how-section .how-step-icon .step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.installment-how-section .how-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.installment-how-section .how-step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits Section */
.installment-benefits-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.installment-benefits-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 28px;
    color: #7C3AED;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.installment-faq-section {
    padding: 80px 0;
    background: #fff;
}

.installment-faq-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Installment Modal */
.installment-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.installment-modal.active {
    opacity: 1;
    visibility: visible;
}

.installment-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.installment-modal .modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.installment-modal.active .modal-content {
    transform: translateY(0);
}

.installment-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.installment-modal .modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.installment-modal .modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.installment-modal .modal-header i {
    font-size: 48px;
    color: #7C3AED;
    margin-bottom: 16px;
}

.installment-modal .modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-product-info {
    margin-bottom: 16px;
}

.product-summary {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.product-summary .product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-summary .product-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.product-summary .separator {
    color: var(--text-muted);
}

.product-summary .monthly {
    color: var(--accent-blue);
    font-weight: 600;
}

.installment-modal .modal-desc {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.installment-modal .apply-form .form-group {
    margin-bottom: 16px;
}

.installment-modal .apply-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.installment-modal .apply-form input[type="text"],
.installment-modal .apply-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s;
}

.installment-modal .apply-form input:focus {
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.installment-modal .btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.installment-modal .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.installment-modal .modal-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.installment-modal .modal-footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

.installment-modal .modal-footer a {
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none;
}

.installment-modal .modal-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .installment-hero {
        padding: 80px 0 60px;
    }

    .installment-hero-stats {
        gap: 24px;
    }

    .installment-how-section .how-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .installment-hero-title {
        font-size: 32px;
    }

    .installment-hero-subtitle {
        font-size: 16px;
    }

    .installment-calculator {
        padding: 24px;
    }

    .term-selection {
        flex-direction: column;
    }

    .term-option {
        min-width: 100%;
    }

    .result-value {
        font-size: 36px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .installment-modal .modal-content {
        padding: 28px;
    }
}

/* ============================================
   CHECKOUT PAGE - Premium Adaptive Styles
   ============================================ */

.checkout-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.checkout-title-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-metal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.checkout-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Layout - Two columns */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}

/* Card styles */
.checkout-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.checkout-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.checkout-card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-card-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.checkout-card-header h2 i {
    color: var(--accent-primary);
    font-size: 20px;
}

.checkout-card-body {
    padding: 24px;
}

/* Cart Column */
.checkout-cart-column {
    position: sticky;
    top: 100px;
}

.checkout-cart-card {
    max-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
}

.checkout-cart-card .checkout-card-body {
    padding: 0;
}

.checkout-cart-count {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.checkout-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    max-height: 500px;
}

.checkout-cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.checkout-cart-item:last-child {
    margin-bottom: 0;
}

.checkout-cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkout-cart-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-cart-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkout-cart-item-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.checkout-cart-item-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-cart-item-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkout-cart-item-current.checkout-cart-item-onrequest {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkout-cart-item-oldprice {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.checkout-cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.checkout-cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 59, 48, 0.1);
    color: var(--accent-red);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkout-cart-item-remove:hover {
    background: var(--accent-red);
    color: #fff;
}

.checkout-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-cart-item-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}

.checkout-cart-item-qty button:hover {
    background: var(--bg-secondary);
}

.checkout-cart-item-qty span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.checkout-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.checkout-cart-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}

.checkout-cart-empty p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.checkout-cart-empty-cta {
    font-weight: 600;
    color: var(--text-primary) !important;
}

.checkout-empty-cta-buttons {
    justify-content: center;
}

.category-empty-buttons {
    margin-top: 24px;
    gap: 16px;
}

.btn-back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-metal);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-back-to-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    color: #fff;
}

/* Form Styles */
.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.checkout-form-group {
    position: relative;
}

.checkout-form-group-full {
    grid-column: 1 / -1;
}

.checkout-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.checkout-label .required {
    color: var(--accent-red);
}

.checkout-label .optional {
    font-weight: 400;
    color: var(--text-muted);
}

.checkout-input,
.checkout-select,
.checkout-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
    background: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.checkout-input.error,
.checkout-textarea.error {
    border-color: var(--accent-red);
    background: rgba(255, 59, 48, 0.05);
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
    color: var(--text-muted);
}

.checkout-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkout-textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-error {
    display: block;
    font-size: 12px;
    color: var(--accent-red);
    margin-top: 6px;
    min-height: 18px;
}

/* Payment & Delivery Options */
.checkout-payment-options,
.checkout-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-option {
    position: relative;
    cursor: pointer;
}

.checkout-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.checkout-option:hover .checkout-option-content {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

.checkout-option-selected .checkout-option-content,
.checkout-option input:checked + .checkout-option-content {
    background: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.15);
}

.checkout-option-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-metal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.checkout-option input:checked + .checkout-option-content .checkout-option-icon {
    transform: scale(1.05);
}

.checkout-option-info {
    flex: 1;
    min-width: 0;
}

.checkout-option-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.checkout-option-desc {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkout-option-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.checkout-option-badge-success {
    background: rgba(52, 199, 89, 0.1);
    color: var(--accent-green);
}

.checkout-option-badge-warning {
    background: rgba(255, 149, 0, 0.1);
    color: var(--accent-orange);
}

.checkout-option-badge-installment {
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 600;
}

.checkout-option-badge-credit {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 600;
}

.checkout-option-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.checkout-option-price-free {
    color: var(--accent-green);
}

.checkout-payment-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 149, 0, 0.08);
    border-radius: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--accent-orange);
    line-height: 1.5;
}

.checkout-payment-warning i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Блок рассрочки на checkout */
.checkout-installment-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-installment-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.checkout-installment-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.checkout-term-option {
    cursor: pointer;
    margin: 0;
}

.checkout-term-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-term-btn {
    display: inline-block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.checkout-term-option:hover .checkout-term-btn {
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent-blue);
}

.checkout-term-option input:checked + .checkout-term-btn,
.checkout-term-option-selected .checkout-term-btn {
    background: rgba(0, 113, 227, 0.12);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.checkout-installment-calc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.checkout-installment-calc strong {
    color: var(--accent-blue);
}

.checkout-installment-zero {
    font-size: 14px;
    color: var(--accent-green);
}

.checkout-installment-min-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkout-installment-min-note i {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Блок кредита на checkout */
.checkout-credit-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-credit-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.checkout-credit-block .checkout-form-row {
    margin-bottom: 16px;
}

.checkout-credit-block .checkout-form-group {
    flex: 1;
    min-width: 0;
}

/* Модалка успеха кредита */
.checkout-credit-success-modal .checkout-success-actions {
    flex-wrap: wrap;
    gap: 12px;
}

.checkout-credit-success-modal .btn-success-home {
    cursor: pointer;
    border: none;
    font: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Store Info */
.checkout-store-info {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.checkout-store-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.checkout-store-header i {
    color: var(--accent-blue);
}

.checkout-store-details {
    margin-bottom: 16px;
}

.checkout-store-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.checkout-store-row:last-child {
    border-bottom: none;
}

.checkout-store-row i {
    width: 20px;
    color: var(--text-muted);
    text-align: center;
}

.checkout-store-row a {
    color: var(--accent-blue);
    text-decoration: none;
}

.checkout-store-row a:hover {
    text-decoration: underline;
}

.checkout-store-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-store-map iframe {
    display: block;
}

/* Courier Info */
.checkout-courier-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Summary */
.checkout-summary-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f8fa 100%);
}

.checkout-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--text-primary);
    gap: 12px;
    flex-wrap: nowrap;
    min-height: 24px;
}

.checkout-row-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.checkout-row-value {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 600;
}

.checkout-label-icon {
    font-size: 14px;
    color: #6c757d;
    flex-shrink: 0;
}

.checkout-price-icon {
    font-size: 0.85em;
    opacity: 0.7;
    flex-shrink: 0;
    color: inherit;
}

.checkout-row-value .checkout-price-icon {
    margin-right: 2px;
}

.checkout-summary-discount {
    color: var(--accent-green);
}

.checkout-discount-value {
    font-weight: 600;
}

.checkout-summary-surcharge {
    color: var(--accent-orange);
}

.checkout-surcharge-value {
    font-weight: 600;
    color: var(--accent-orange);
}

.checkout-surcharge-value .checkout-price-icon {
    color: var(--accent-orange);
    opacity: 1;
}

/* Сообщение об отсутствии скидки при оплате картой */
.checkout-summary-no-discount {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 149, 0, 0.08);
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-radius: 8px;
    font-size: 13px;
    color: #ff9500;
    margin-top: 8px;
}

.checkout-summary-no-discount i {
    font-size: 16px;
    flex-shrink: 0;
}

.checkout-summary-no-discount span {
    line-height: 1.4;
}

/* Старая цена (зачеркнутая) */
.checkout-summary-old-price {
    opacity: 0.6;
    margin-bottom: 4px;
}

.checkout-old-price-value {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-price-strikethrough {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(0, 0, 0, 0.4);
    color: #6c757d;
    font-size: 0.95em;
}

.checkout-summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 8px 0;
}

.checkout-summary-total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 8px;
}

.checkout-total-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.checkout-total-old {
    font-size: 16px;
    font-weight: 500;
}

.checkout-total-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    background: var(--gradient-metal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.checkout-total-value .checkout-price-icon {
    font-size: 0.7em;
    opacity: 0.8;
}

.checkout-total-old {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-total-old .checkout-price-icon {
    font-size: 0.75em;
    opacity: 0.6;
}

.checkout-summary-savings {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.12) 0%, rgba(48, 209, 88, 0.08) 100%);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.1);
}

.checkout-savings-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.checkout-summary-savings i {
    font-size: 20px;
    color: var(--accent-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.checkout-savings-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-savings-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    line-height: 1.4;
}

.checkout-savings-main strong {
    font-size: 16px;
    font-weight: 700;
    color: #34c759;
}

.checkout-savings-details {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
    margin-top: 2px;
}

.checkout-savings-separator {
    margin: 0 4px;
    color: #adb5bd;
}

/* Consent & Submit */
.checkout-submit-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f2 100%);
    border: 2px solid rgba(124, 58, 237, 0.1);
}

.checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    user-select: none;
}

.checkout-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-consent-checkmark {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkout-consent-checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkout-consent input:checked + .checkout-consent-checkmark {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkout-consent input:checked + .checkout-consent-checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.checkout-consent-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-top: 2px;
}

.checkout-consent-text a {
    color: var(--accent-blue);
    text-decoration: none;
}

.checkout-consent-text a:hover {
    text-decoration: underline;
}

.checkout-error-consent {
    margin-bottom: 16px;
    margin-top: -12px;
}

.btn-checkout-submit {
    width: 100%;
    padding: 20px 24px;
    background: var(--gradient-metal);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-checkout-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-checkout-submit:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.4);
}

.btn-checkout-submit:not(:disabled):hover::before {
    left: 100%;
}

.btn-checkout-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkout-submit-total {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 16px;
}

.checkout-secure-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.checkout-secure-info i {
    color: var(--accent-green);
}

/* Recommendations */
.checkout-recommendations {
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.checkout-recommendations-header {
    text-align: center;
    margin-bottom: 32px;
}

.checkout-recommendations-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.checkout-recommendations-header h2 i {
    color: var(--accent-orange);
}

.checkout-recommendations-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.checkout-recommendations-slider {
    position: relative;
    overflow: hidden;
}

.checkout-recommendations-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.checkout-recommendations-track::-webkit-scrollbar {
    display: none;
}

.checkout-recommendation-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.checkout-recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.checkout-rec-image {
    width: 100%;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.checkout-rec-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.checkout-rec-info {
    flex: 1;
    margin-bottom: 12px;
}

.checkout-rec-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Новая структура цен в рекомендациях */
.checkout-rec-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkout-rec-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.3;
}

.checkout-rec-price-old .checkout-rec-price-value {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.checkout-rec-price-regular .checkout-rec-price-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.checkout-rec-price-promo {
    margin-top: 2px;
}

.checkout-rec-price-promo i {
    font-size: 12px;
    color: var(--accent-red, #ff3b30);
}

.checkout-rec-price-promo .checkout-rec-price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-red, #ff3b30);
}

/* Старые стили (для совместимости) */
.checkout-rec-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    line-height: 1.3;
}

.checkout-rec-oldprice {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

.checkout-rec-regular {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.checkout-rec-current,
.checkout-rec-promo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    order: 3;
    flex-basis: 100%;
    font-weight: 700;
}

.checkout-rec-current {
    color: var(--text-primary);
}

.checkout-rec-promo {
    color: var(--accent-red, #ff3b30);
}

.checkout-rec-gift-icon {
    font-size: 14px;
    color: var(--accent-red, #ff3b30);
}

.btn-add-to-order {
    width: 100%;
    padding: 12px;
    background: var(--gradient-metal);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-add-to-order:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-add-to-order.added {
    background: var(--accent-green);
}

.checkout-rec-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-primary);
    z-index: 10;
    transition: all 0.3s ease;
}

.checkout-rec-nav:hover {
    background: var(--gradient-metal);
    color: #fff;
}

.checkout-rec-prev {
    left: -10px;
}

.checkout-rec-next {
    right: -10px;
}

/* Success Modal */
.checkout-success-modal {
    max-width: 480px;
    text-align: center;
}

.checkout-success-content {
    padding: 40px 32px;
}

.checkout-success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #30d158 100%);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    box-shadow: 0 12px 36px rgba(52, 199, 89, 0.35);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.checkout-success-modal h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.checkout-success-order-id {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.checkout-success-order-id strong {
    color: var(--accent-blue);
}

.checkout-success-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.checkout-success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-success-home,
.btn-success-continue {
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-success-home {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-success-home:hover {
    background: var(--gradient-metal);
    color: #fff;
}

.btn-success-continue {
    background: var(--gradient-metal);
    color: #fff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
}

.btn-success-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
    color: #fff;
}

/* Trade-in feedback modal (success/error after AmoCRM submit) — тёмный оверлей как у .tradein-modal */
.tradein-feedback-wrapper .modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.tradein-feedback-wrapper .modal-container {
    position: relative;
    z-index: 10004;
}
.tradein-feedback-modal .checkout-success-content {
    padding: 40px 32px;
}
.tradein-feedback-modal .tradein-feedback-success .checkout-success-text,
.tradein-feedback-modal .tradein-feedback-error .checkout-success-text {
    margin-bottom: 24px;
}
.tradein-feedback-icon-error {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff6b6b 100%) !important;
    box-shadow: 0 12px 36px rgba(255, 59, 48, 0.35) !important;
}
.tradein-feedback-modal .btn-success-continue {
    cursor: pointer;
    border: none;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile toggle for cart */
.checkout-cart-toggle {
    display: none;
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-cart-toggle i {
    transition: transform 0.3s ease;
}

.checkout-cart-toggle.expanded i {
    transform: rotate(180deg);
}

/* ============================================
   CHECKOUT - RESPONSIVE STYLES
   ============================================ */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .checkout-layout {
        grid-template-columns: 1fr 1.1fr;
        gap: 24px;
    }
    
    .checkout-title {
        font-size: 30px;
    }
    
    .checkout-title-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .checkout-card-body {
        padding: 20px;
    }
    
    .checkout-option-content {
        padding: 14px 16px;
    }
    
    .checkout-option-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .checkout-option-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .checkout-recommendations {
        padding: 32px;
    }
    
    .checkout-recommendation-card {
        flex: 0 0 200px;
    }
}

/* Mobile (до 767px) */
@media (max-width: 767px) {
    .checkout-section {
        padding: 24px 0 60px;
    }
    
    .checkout-header {
        margin-bottom: 24px;
    }
    
    .checkout-title {
        font-size: 24px;
        flex-direction: column;
        gap: 12px;
    }
    
    .checkout-title-icon {
        width: 56px;
        height: 56px;
    }
    
    .checkout-subtitle {
        font-size: 15px;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-cart-column {
        position: relative;
        top: 0;
    }
    
    .checkout-cart-card {
        max-height: none;
    }
    
    .checkout-cart-items {
        max-height: 300px;
        padding: 12px 16px;
    }
    
    .checkout-cart-items.collapsed {
        max-height: 0;
        padding: 0 16px;
        overflow: hidden;
    }
    
    .checkout-cart-toggle {
        display: flex;
    }
    
    .checkout-card {
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .checkout-card-header {
        padding: 16px 20px;
    }
    
    .checkout-card-header h2 {
        font-size: 16px;
    }
    
    .checkout-card-body {
        padding: 16px 20px;
    }
    
    .checkout-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .checkout-input,
    .checkout-select,
    .checkout-textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .checkout-option-content {
        flex-wrap: wrap;
        padding: 14px;
        gap: 12px;
    }
    
    .checkout-option-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .checkout-option-info {
        flex: 1;
        min-width: calc(100% - 60px);
    }
    
    .checkout-option-badge,
    .checkout-option-price {
        margin-left: 56px;
        margin-top: -4px;
    }
    
    .checkout-store-info {
        padding: 16px;
    }
    
    .checkout-store-map iframe {
        height: 200px;
    }
    
    .checkout-summary-total {
        font-size: 16px;
    }
    
    .checkout-total-value {
        font-size: 20px;
    }
    
    .btn-checkout-submit {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 14px;
    }
    
    .checkout-submit-total {
        font-size: 14px;
        padding: 5px 12px;
    }
    
    .checkout-recommendations {
        margin-top: 40px;
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .checkout-recommendations-header h2 {
        font-size: 20px;
    }
    
    .checkout-recommendation-card {
        flex: 0 0 180px;
    }
    
    .checkout-rec-image {
        height: 120px;
    }
    
    .checkout-rec-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .checkout-rec-prev {
        left: 4px;
    }
    
    .checkout-rec-next {
        right: 4px;
    }
    
    .checkout-success-modal {
        margin: 16px;
    }
    
    .checkout-success-content {
        padding: 32px 24px;
    }
    
    .checkout-success-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .checkout-success-modal h2 {
        font-size: 22px;
    }
    
    .checkout-success-actions {
        flex-direction: column;
    }
    
    .btn-success-home,
    .btn-success-continue {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (до 480px) */
@media (max-width: 480px) {
    .checkout-section {
        padding: 16px 0 50px;
    }
    
    .checkout-title {
        font-size: 20px;
    }
    
    .checkout-title-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        border-radius: 12px;
    }
    
    .checkout-cart-item {
        padding: 12px;
        gap: 12px;
    }
    
    .checkout-cart-item-image {
        width: 64px;
        height: 64px;
    }
    
    .checkout-cart-item-title {
        font-size: 14px;
    }
    
    .checkout-cart-item-current {
        font-size: 15px;
    }
    
    .checkout-option-title {
        font-size: 15px;
    }
    
    .checkout-option-desc {
        font-size: 12px;
    }
    
    .checkout-summary-row {
        font-size: 14px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .checkout-row-label {
        gap: 6px;
        font-size: 13px;
    }
    
    .checkout-row-value {
        gap: 4px;
        font-size: 14px;
    }
    
    .checkout-label-icon {
        font-size: 12px;
    }
    
    .checkout-price-icon {
        font-size: 0.8em;
    }
    
    .checkout-total-wrapper {
        gap: 3px;
        align-items: flex-end;
    }
    
    .checkout-total-old {
        font-size: 14px;
        gap: 4px;
    }
    
    .checkout-total-value {
        font-size: 20px;
        gap: 4px;
    }
    
    .checkout-total-value .checkout-price-icon {
        font-size: 0.65em;
    }
    
    .checkout-total-old .checkout-price-icon {
        font-size: 0.7em;
    }
    
    .checkout-summary-savings {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .checkout-savings-main {
        font-size: 13px;
    }
    
    .checkout-savings-main strong {
        font-size: 15px;
    }
    
    .checkout-savings-details {
        font-size: 11px;
    }
    
    .checkout-summary-savings i {
        font-size: 18px;
    }
    
    .checkout-summary-no-discount {
        padding: 8px 12px;
        gap: 8px;
        font-size: 12px;
    }
    
    .checkout-summary-no-discount i {
        font-size: 14px;
    }
    
    .checkout-recommendation-card {
        flex: 0 0 160px;
        padding: 12px;
    }
    
    .checkout-rec-image {
        height: 100px;
    }
    
    .checkout-rec-title {
        font-size: 13px;
    }
    
    .checkout-rec-current {
        font-size: 14px;
    }
    
    .checkout-rec-price-promo .checkout-rec-price-value {
        font-size: 14px;
    }
    
    .checkout-rec-price-old .checkout-rec-price-value {
        font-size: 11px;
    }
    
    .checkout-rec-price-regular .checkout-rec-price-value {
        font-size: 12px;
    }
    
    .btn-add-to-order {
        padding: 10px;
        font-size: 13px;
    }
}

/* ============================================
   Contacts Page (Premium)
   ============================================ */
.contacts-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.contacts-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contacts-hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: contacts-shimmer 3s ease-in-out infinite;
}

@keyframes contacts-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.contacts-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contacts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.contacts-hero-badge i {
    font-size: 16px;
}

.contacts-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.contacts-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contacts-map-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.contacts-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.contacts-section-title-social {
    margin-top: 48px;
}

.contacts-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    max-width: 100%;
    height: 400px;
    transition: box-shadow var(--transition-normal);
}

.contacts-map-wrap:hover {
    box-shadow: var(--shadow-lg);
}

.contacts-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contacts-cards-section {
    padding: 60px 20px 80px;
    background: var(--bg-gradient);
}

.contacts-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.contacts-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all var(--transition-normal);
}

.contacts-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.contacts-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 16px;
    color: var(--accent-blue);
    font-size: 28px;
    transition: all var(--transition-normal);
}

.contacts-card:hover .contacts-card-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-light);
}

.contacts-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contacts-card-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.contacts-card-text a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contacts-card-text a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.contacts-card-note {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.contacts-social-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contacts-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.contacts-social-link:hover {
    background: var(--accent-blue);
    color: var(--text-light);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contacts-social-link i {
    font-size: 22px;
}

.contacts-requisites-wrap {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.contacts-requisites-block {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contacts-requisites-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .contacts-hero-title {
        font-size: 42px;
    }

    .contacts-hero-subtitle {
        font-size: 18px;
    }

    .contacts-map-wrap {
        height: 320px;
    }

    .contacts-map-wrap iframe {
        height: 320px;
    }

    .contacts-cards-grid {
        grid-template-columns: 1fr;
    }

    .contacts-social-wrap {
        flex-direction: column;
    }

    .contacts-social-link {
        justify-content: center;
    }
}

/* Contacts Form Section */
.contacts-form-section {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.contacts-form-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contacts-form {
    max-width: 600px;
}

.contacts-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contacts-form .contact-form-group {
    margin-bottom: 0;
}

.contacts-form .contact-form-group-full {
    margin-bottom: 20px;
}

.contacts-form .contact-form-input,
.contacts-form .contact-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contacts-form .contact-form-input:focus,
.contacts-form .contact-form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.contacts-form .contact-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.contacts-form .contact-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contacts-form .contact-form-group label i {
    color: var(--accent-blue);
}

.contacts-form .contact-form-error {
    display: block;
    font-size: 13px;
    color: var(--accent-red);
    margin-top: 4px;
}

.contacts-form .contact-form-consent {
    margin-bottom: 24px;
}

.contacts-form .contact-form-submit {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5ac8fa 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contacts-form .contact-form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.35);
}

.contacts-form .contact-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contacts-form-success {
    text-align: center;
    padding: 40px 20px;
}

.contacts-form-success-icon {
    font-size: 64px;
    color: var(--accent-green);
    margin-bottom: 16px;
}

.contacts-form-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contacts-form-success p {
    font-size: 16px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .contacts-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Warranty Page (Premium)
   ============================================ */
.warranty-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.warranty-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.warranty-hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: warranty-shimmer 3s ease-in-out infinite;
}

@keyframes warranty-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.warranty-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.warranty-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.warranty-hero-badge i {
    font-size: 16px;
}

.warranty-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.warranty-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.warranty-info-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.warranty-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.warranty-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.warranty-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all var(--transition-normal);
}

.warranty-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.warranty-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 16px;
    color: var(--accent-blue);
    font-size: 28px;
    transition: all var(--transition-normal);
}

.warranty-card:hover .warranty-card-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-light);
}

.warranty-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.warranty-card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.warranty-terms-section {
    padding: 60px 20px;
    background: var(--bg-gradient);
}

.warranty-terms-content {
    max-width: 700px;
    margin: 0 auto;
}

.warranty-terms-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.warranty-terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.warranty-terms-list li i {
    color: var(--accent-green);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.warranty-terms-note {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.warranty-cta-section {
    padding: 60px 20px 80px;
    background: var(--bg-primary);
}

.warranty-cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.warranty-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.warranty-cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.warranty-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.warranty-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.warranty-cta-actions .btn-outline {
    color: var(--accent-blue);
    background: transparent;
    border: 2px solid var(--accent-blue);
}

.warranty-cta-actions .btn-outline:hover {
    background: var(--accent-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .warranty-hero-title {
        font-size: 42px;
    }

    .warranty-hero-subtitle {
        font-size: 18px;
    }

    .warranty-cards-grid {
        grid-template-columns: 1fr;
    }

    .warranty-cta-title {
        font-size: 26px;
    }

    .warranty-cta-actions {
        flex-direction: column;
    }

    .warranty-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Delivery Page (Premium)
   ============================================ */
.delivery-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.delivery-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.delivery-hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: delivery-shimmer 3s ease-in-out infinite;
}

@keyframes delivery-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.delivery-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.delivery-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.delivery-hero-badge i {
    font-size: 16px;
}

.delivery-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.delivery-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.delivery-options-section,
.delivery-payment-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.delivery-payment-section {
    background: var(--bg-gradient);
}

.delivery-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.delivery-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.delivery-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all var(--transition-normal);
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.delivery-card-highlight {
    border-color: var(--accent-green);
}

.delivery-card-highlight:hover {
    border-color: var(--accent-green);
}

.delivery-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 16px;
    color: var(--accent-blue);
    font-size: 28px;
    transition: all var(--transition-normal);
}

.delivery-card:hover .delivery-card-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-light);
}

.delivery-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.delivery-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.delivery-card-price-free {
    color: var(--accent-green);
}

.delivery-card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.delivery-card-note {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.delivery-card-note:last-child {
    margin-bottom: 0;
}

.delivery-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.delivery-card-badge-success {
    background: rgba(52, 199, 89, 0.15);
    color: var(--accent-green);
}

.delivery-card-badge-warning {
    background: rgba(255, 149, 0, 0.15);
    color: var(--accent-orange);
}

.delivery-card-badge-neutral {
    background: rgba(110, 110, 115, 0.12);
    color: var(--text-secondary);
}

.delivery-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 700px;
    margin: 24px auto 0;
    padding: 16px 20px;
    background: rgba(255, 149, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.delivery-payment-note i {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.delivery-installment-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.delivery-installment-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.delivery-installment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 20px;
    color: var(--accent-blue);
    font-size: 36px;
}

.delivery-installment-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.delivery-installment-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.delivery-installment-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.delivery-cta-section {
    padding: 60px 20px 80px;
    background: var(--bg-gradient);
}

.delivery-cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.delivery-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.delivery-cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.delivery-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.delivery-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.delivery-cta-actions .btn-outline {
    color: var(--accent-blue);
    background: transparent;
    border: 2px solid var(--accent-blue);
}

.delivery-cta-actions .btn-outline:hover {
    background: var(--accent-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .delivery-hero-title {
        font-size: 42px;
    }

    .delivery-hero-subtitle {
        font-size: 18px;
    }

    .delivery-cards-grid {
        grid-template-columns: 1fr;
    }

    .delivery-cta-title {
        font-size: 26px;
    }

    .delivery-cta-actions {
        flex-direction: column;
    }

    .delivery-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Service Page (Premium)
   ============================================ */
.service-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.service-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.service-hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: service-shimmer 3s ease-in-out infinite;
}

@keyframes service-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.service-hero-badge i {
    font-size: 16px;
}

.service-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.service-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.service-info-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.service-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 16px;
    color: var(--accent-blue);
    font-size: 28px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-light);
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.service-advantages-section {
    padding: 60px 20px;
    background: var(--bg-gradient);
}

.service-terms-content {
    max-width: 600px;
    margin: 0 auto;
}

.service-terms-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.service-terms-list li i {
    color: var(--accent-green);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-cta-section {
    padding: 60px 20px 80px;
    background: var(--bg-primary);
}

.service-cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.service-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.service-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.service-cta-actions .btn-outline {
    color: var(--accent-blue);
    background: transparent;
    border: 2px solid var(--accent-blue);
}

.service-cta-actions .btn-outline:hover {
    background: var(--accent-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .service-hero-title {
        font-size: 42px;
    }

    .service-hero-subtitle {
        font-size: 18px;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-title {
        font-size: 26px;
    }

    .service-cta-actions {
        flex-direction: column;
    }

    .service-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Documents Page (Premium)
   ============================================ */
.documents-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.documents-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.documents-hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: documents-shimmer 3s ease-in-out infinite;
}

@keyframes documents-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.documents-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.documents-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.documents-hero-badge i {
    font-size: 16px;
}

.documents-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.documents-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.documents-tabs-section {
    padding: 60px 20px 80px;
    background: var(--bg-primary);
}

.documents-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.documents-tab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
}

.documents-tab:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.documents-tab-active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.documents-tab i {
    font-size: 20px;
}

.documents-content {
    max-width: 820px;
    margin: 0 auto;
}

.documents-content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.documents-panel {
    padding-bottom: 40px;
}

.documents-section {
    margin-bottom: 40px;
    padding: 28px 32px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.documents-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.02em;
}

.documents-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.documents-clause {
    margin-bottom: 14px;
    padding-left: 0;
    text-indent: 0;
}

.documents-clause:last-child {
    margin-bottom: 0;
}

.documents-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.documents-list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.documents-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.documents-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.documents-list li:last-child {
    margin-bottom: 0;
}

.documents-list li strong {
    color: var(--text-primary);
}

.documents-requisites {
    padding: 24px 28px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.documents-requisites p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.documents-requisites p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .documents-hero-title {
        font-size: 42px;
    }

    .documents-hero-subtitle {
        font-size: 18px;
    }

    .documents-tabs {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .documents-tab {
        justify-content: center;
    }
}

/* ============================================
   Corporate Page (Premium)
   ============================================ */
.corporate-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.corporate-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.corporate-hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: corporate-shimmer 3s ease-in-out infinite;
}

@keyframes corporate-shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.corporate-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.corporate-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(167, 139, 250, 0.2) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.corporate-hero-badge i {
    font-size: 16px;
}

.corporate-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.corporate-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.corporate-info-section {
    padding: 60px 20px;
    background: var(--bg-primary);
}

.corporate-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.corporate-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.corporate-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all var(--transition-normal);
}

.corporate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.corporate-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 16px;
    color: var(--accent-blue);
    font-size: 28px;
    transition: all var(--transition-normal);
}

.corporate-card:hover .corporate-card-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--text-light);
}

.corporate-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.corporate-card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.corporate-how-section {
    padding: 60px 20px;
    background: var(--bg-gradient);
}

.corporate-terms-content {
    max-width: 600px;
    margin: 0 auto;
}

.corporate-terms-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.corporate-terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.corporate-terms-list li i {
    color: var(--accent-green);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.corporate-cta-section {
    padding: 60px 20px 80px;
    background: var(--bg-primary);
}

.corporate-cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.corporate-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.corporate-cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.corporate-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.corporate-cta-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.corporate-cta-actions .btn-outline {
    color: var(--accent-blue);
    background: transparent;
    border: 2px solid var(--accent-blue);
}

.corporate-cta-actions .btn-outline:hover {
    background: var(--accent-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .corporate-hero-title {
        font-size: 42px;
    }

    .corporate-hero-subtitle {
        font-size: 18px;
    }

    .corporate-cards-grid {
        grid-template-columns: 1fr;
    }

    .corporate-cta-title {
        font-size: 26px;
    }

    .corporate-cta-actions {
        flex-direction: column;
    }

    .corporate-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Promo Page - Кольцо выгоды
   ============================================ */

.promo-page {
    background: var(--bg-secondary);
}

/* Promo Hero */
.promo-hero {
    position: relative;
    padding: 100px 0 80px;
    background: #1a0a0a;
    overflow: hidden;
}

.promo-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.promo-hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 59, 48, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 59, 48, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #1a0a0a 0%, #0d0505 100%);
}

.promo-hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 59, 48, 0.2), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200px 200px;
    animation: promoParticlesFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes promoParticlesFloat {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.promo-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.promo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #cc2f26 100%);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4);
}

.promo-hero-badge i {
    font-size: 14px;
}

.promo-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.promo-hero-title .promo-gradient-text {
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff6b62 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.promo-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.promo-stat-item {
    text-align: center;
}

.promo-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 4px;
}

.promo-stat-value i {
    font-size: 28px;
}

.promo-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Promo Ring Section */
.promo-ring-section {
    padding: 60px 0 80px;
    margin-top: -40px;
}

.promo-ring {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    transform: translateY(var(--promo-parallax-y, 0));
    overflow: hidden;
    background: 
        radial-gradient(ellipse 90% 90% at 50% 50%, rgba(255, 59, 48, 0.15) 0%, rgba(139, 0, 0, 0.35) 35%, rgba(45, 15, 15, 0.98) 65%, #0f0505 100%);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(255, 59, 48, 0.08);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
}

.promo-ring:hover {
    transform: translateY(var(--promo-parallax-y, 0)) scale(1.015);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 56px 112px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 80px rgba(255, 59, 48, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 59, 48, 0.15);
}

.promo-ring-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.promo-ring-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.promo-ring-shimmer {
    position: absolute;
    inset: -50%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%);
    animation: promoShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes promoShimmer {
    0%, 100% { transform: translateX(-30%) skewX(-15deg); opacity: 0.5; }
    50% { transform: translateX(30%) skewX(-15deg); opacity: 1; }
}

.promo-ring-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 15% 25%, rgba(255, 59, 48, 0.3), transparent),
        radial-gradient(2px 2px at 85% 75%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 150px 150px;
    animation: promoParticlesFloat 25s linear infinite reverse;
    pointer-events: none;
}

/* Center */
.promo-ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Декоративное кольцо вокруг центра */
.promo-ring-decorative {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(255, 59, 48, 0.25);
    box-shadow: 
        0 0 50px rgba(255, 59, 48, 0.15),
        inset 0 0 40px rgba(255, 59, 48, 0.04);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s, box-shadow 0.5s ease, border-color 0.5s ease;
}

.promo-ring.revealed .promo-ring-decorative {
    opacity: 1;
    transform: scale(1);
}

.promo-ring:hover .promo-ring-decorative {
    border-color: rgba(255, 59, 48, 0.4);
    box-shadow: 
        0 0 70px rgba(255, 59, 48, 0.2),
        inset 0 0 50px rgba(255, 59, 48, 0.06);
}

.promo-ring-pulse {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(255, 59, 48, 0.35);
    animation: promoRingPulse 3s ease-in-out infinite;
}

.promo-ring:hover .promo-ring-pulse {
    animation-duration: 1.8s;
    border-color: rgba(255, 59, 48, 0.5);
}

@keyframes promoRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.12); opacity: 0.9; }
}

.promo-ring-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--accent-red);
    font-size: 36px;
    box-shadow: 
        0 0 40px rgba(255, 59, 48, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-ring:hover .promo-ring-icon {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: #fff;
    box-shadow: 
        0 0 60px rgba(255, 59, 48, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Orbit - без вращения, карточки на месте */
.promo-ring-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    margin: -180px 0 0 -180px;
    z-index: 3;
}

.promo-ring-card {
    position: absolute;
    width: 140px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.promo-ring.revealed .promo-ring-card {
    opacity: 1;
    transform: translateY(0);
}

.promo-ring-card-1 {
    top: 11%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition-delay: 0.1s;
}

.promo-ring.revealed .promo-ring-card-1 {
    transform: translate(-50%, -50%);
}

.promo-ring-card-2 {
    top: 69%;
    left: 84%;
    transform: translate(-50%, -50%);
    transition-delay: 0.25s;
}

.promo-ring.revealed .promo-ring-card-2 {
    transform: translate(-50%, -50%);
}

.promo-ring-card-3 {
    top: 69%;
    left: 16%;
    transform: translate(-50%, -50%);
    transition-delay: 0.4s;
}

.promo-ring.revealed .promo-ring-card-3 {
    transform: translate(-50%, -50%);
}

/* Плавные полёты почти на месте */
.promo-ring.revealed .promo-ring-card-1 {
    animation: promoFloat1 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.promo-ring.revealed .promo-ring-card-2 {
    animation: promoFloat2 5s ease-in-out infinite;
    animation-delay: 0.6s;
}

.promo-ring.revealed .promo-ring-card-3 {
    animation: promoFloat3 4.5s ease-in-out infinite;
    animation-delay: 0.55s;
}

@keyframes promoFloat1 {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-6px); }
}

@keyframes promoFloat2 {
    0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
    33% { transform: translate(-50%, -50%) translate(3px, -3px); }
    66% { transform: translate(-50%, -50%) translate(-2px, 4px); }
}

@keyframes promoFloat3 {
    0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
    33% { transform: translate(-50%, -50%) translate(-3px, -3px); }
    66% { transform: translate(-50%, -50%) translate(2px, 4px); }
}

.promo-ring-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 59, 48, 0.35);
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(255, 59, 48, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: none;
}

.promo-ring-card-icon {
    font-size: 26px;
    color: var(--accent-red);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(255, 59, 48, 0.4));
    transition: filter 0.3s ease;
}

.promo-ring-card:hover .promo-ring-card-icon {
    filter: drop-shadow(0 0 12px rgba(255, 59, 48, 0.6));
}

.promo-ring-card-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    display: block;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

/* Lines */
.promo-ring-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    margin: -180px 0 0 -180px;
    z-index: 2;
    pointer-events: none;
}

.promo-line {
    stroke: rgba(255, 59, 48, 0.3);
    stroke-width: 1.5;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-ring.revealed .promo-line {
    stroke-dashoffset: 0;
}

.promo-ring:hover .promo-line {
    stroke: rgba(255, 59, 48, 0.45);
}

.promo-line-1 { transition-delay: 0.5s; }
.promo-line-2 { transition-delay: 0.6s; }
.promo-line-3 { transition-delay: 0.7s; }

/* CTA */
.promo-ring-cta {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #ff4d42 0%, var(--accent-red) 50%, #c92a22 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    box-shadow: 
        0 4px 24px rgba(255, 59, 48, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(10px);
}

.promo-ring.revealed .promo-ring-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.promo-ring-cta:hover {
    background: linear-gradient(135deg, #ff5c52 0%, #ff4d42 50%, var(--accent-red) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(255, 59, 48, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Content */
.promo-content-section {
    padding: 60px 0 40px;
}

.promo-content-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.promo-content-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.promo-content-text-2 {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Screenshot - Где показана красная цена */
.promo-screen-section {
    padding: 40px 0 60px;
}

.promo-screen-block {
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
}

.promo-screen-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.promo-screen-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.promo-screen-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.promo-screen-image {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

/* CTA Section */
.promo-cta-section {
    padding: 60px 0 100px;
}

.promo-cta-content {
    text-align: center;
}

.promo-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.promo-cta-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.promo-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-promo-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #cc2f26 100%);
    color: #fff;
    border: none;
}

.btn-promo-primary:hover {
    background: linear-gradient(135deg, #ff4d42 0%, var(--accent-red) 100%);
    color: #fff;
    transform: translateY(-2px);
}

.btn-promo-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--border-color);
}

.btn-promo-outline:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Promo responsive */
@media (max-width: 992px) {
    .promo-ring {
        min-height: 460px;
    }
    
    .promo-ring-orbit {
        width: 300px;
        height: 300px;
        margin: -150px 0 0 -150px;
    }
    
    .promo-ring-card {
        width: 120px;
        padding: 12px;
    }
    
    .promo-ring-card-text {
        font-size: 12px;
    }
    
    .promo-ring-lines {
        width: 300px;
        height: 300px;
        margin: -150px 0 0 -150px;
    }
}

@media (max-width: 768px) {
    .promo-hero {
        padding: 80px 0 60px;
    }
    
    .promo-hero-stats {
        gap: 24px;
    }
    
    .promo-ring-section {
        padding: 40px 0 60px;
    }
    
    .promo-ring {
        min-height: 420px;
        border-radius: 20px;
    }
    
    .promo-ring-decorative {
        width: 120px;
        height: 120px;
    }
    
    .promo-ring-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .promo-ring-pulse {
        width: 80px;
        height: 80px;
    }
    
    .promo-ring-orbit {
        width: 260px;
        height: 260px;
        margin: -130px 0 0 -130px;
    }
    
    .promo-ring-card {
        width: 100px;
        padding: 12px;
    }
    
    .promo-ring-card-text {
        font-size: 11px;
    }
    
    .promo-ring-lines {
        width: 260px;
        height: 260px;
        margin: -130px 0 0 -130px;
    }
    
    .promo-ring-cta {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .promo-screen-section {
        padding: 32px 0 48px;
    }
    
    .promo-screen-title {
        font-size: 20px;
    }
    
    .promo-screen-desc {
        font-size: 14px;
    }
    
    .promo-screen-block {
        max-width: 220px;
    }
    
    .promo-screen-image-wrap {
        border-radius: 12px;
    }
    
    .promo-cta-actions {
        flex-direction: column;
    }
    
    .btn-promo {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-hero-particles,
    .promo-ring-shimmer,
    .promo-ring-particles,
    .promo-ring-decorative,
    .promo-ring-card-1,
    .promo-ring-card-2,
    .promo-ring-card-3 {
        animation: none;
    }
}