.product-page {
    padding: 140px 0 50px; 
    min-height: 100vh;
    position: relative;
    z-index: 1;
}


#mainHeader {
    z-index: 1200;
}

/* ===== ROOT VARIABLES ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-accent: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-gold: #d4af37;
    --accent-purple: #8a2be2;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --success: #4CAF50;
    --error: #f44336;
    
    
    --bg-900: #070607;
    --bg-800: #0f0f11;
    --bg-700: #131315;
    --muted: #bdb7b0;
    --gold: #d4af37;
    --purple: #8a2be2;
    --glow: rgba(212,175,55,0.18);
    --card: #151515;
    --accent: linear-gradient(135deg,var(--gold),var(--purple));
    --radius: 14px;
    --trans: 0.35s cubic-bezier(.2,.9,.2,1);
    --glass: rgba(255,255,255,0.03);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #000000;
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Ensure content appears above starfield */
.hero, .categories, .products, .features, .about, .admin-panel, footer {
    position: relative;
    z-index: 1;
}

/* Make sure modals appear above everything */
.cart-modal, .order-modal, .success-modal, .product-modal, .wishlist-modal, .password-modal {
    z-index: 2001;
}

/* Header should be above starfield */
header {
    z-index: 1200;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== LAYOUT & UTILITY ===== */
.has-fixed-banner {
    padding-top: calc(56px + 70px);
    scroll-padding-top: calc(56px + 12px);
}

.modal-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1500;
    pointer-events: none;
}

/* ===== GLASS MORPHISM EFFECTS ===== */
.glass-glow {
    background: rgba(20, 20, 25, 0.25) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.glass-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(138, 43, 226, 0.08) 50%,
        transparent 100%) !important;
    border-radius: inherit;
    z-index: -1;
    opacity: 0.6;
    transition: var(--transition);
}

/* ===== PRODUCT CARDS - ULTRA GLASS ===== */
.product-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(139, 92, 246, 0.2),
        0 15px 30px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ===== FEATURE CARDS - ULTRA GLASS ===== */
.feature-card {
    background: rgba(18, 18, 24, 0.18) !important;
    backdrop-filter: blur(35px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.25) 0%, 
        rgba(138, 43, 226, 0.15) 100%) !important;
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px) !important;
    border-color: var(--accent-purple) !important;
    box-shadow: 
        0 30px 60px rgba(138, 43, 226, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.feature-card:hover::before {
    opacity: 0.6 !important;
}

/* ===== PRODUCT CARDS - ULTRA GLASS ===== */
.product-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(139, 92, 246, 0.2),
        0 15px 30px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Кнопки */
.add-to-cart, .buy-now, .category-btn, .action-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.add-to-cart::before, .buy-now::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;
}

.add-to-cart:hover::before, .buy-now:hover::before {
    left: 100%;
}

/* Действия товара */
.product-actions {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(10px);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Изображения товаров */
.product-image img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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


.feature-card {
    background: rgba(18, 18, 24, 0.18) !important;
    backdrop-filter: blur(35px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(138, 43, 226, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Кнопки категорий */
.category-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.category-btn:hover::before {
    width: 100%;
}

.category-btn:hover {
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

/* Иконки действий */
.action-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
}

.product-card:hover .action-btn {
    transform: scale(1);
}

.action-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Навигация */
.nav-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    transform: translateY(-2px);
}

/* Иконки корзины и вишлиста */
.cart-icon, .wishlist-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-icon:hover, .wishlist-icon:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Кнопки в админке */
.admin-edit-btn, .admin-delete-btn, .admin-status-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-edit-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.admin-delete-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.admin-status-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Элементы списков */
.admin-product-item, .admin-comment-item, .admin-order-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-product-item:hover, .admin-comment-item:hover, .admin-order-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Социальные иконки */
.social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Статистика */
.stat {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Модальные окна */
.cart-content, .order-content, .success-content, 
.product-content, .wishlist-content, .password-content {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Анимация появления элементов при загрузке */
@keyframes smoothFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card, .feature-card {
    animation: smoothFadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Задержки для анимации появления */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }

/* ===== FEATURE CARDS - ULTRA GLASS ===== */
.feature-card {
    background: rgba(18, 18, 24, 0.18) !important;
    backdrop-filter: blur(35px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.25) 0%, 
        rgba(138, 43, 226, 0.15) 100%) !important;
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px) !important;
    border-color: var(--accent-purple) !important;
    box-shadow: 
        0 30px 60px rgba(138, 43, 226, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.feature-card:hover::before {
    opacity: 0.6 !important;
}

/* ===== HERO SECTION - ULTRA GLASS ===== */
.hero-content {
    background: rgba(25, 25, 35, 0.15) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 32px !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

/* ===== HEADER - ULTRA GLASS ===== */
header {
    background: rgba(10, 10, 15, 0.2) !important;
    backdrop-filter: blur(35px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* ===== ABOUT SECTION - GLASS ===== */
.about-text {
    background: rgba(20, 20, 28, 0.2) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    padding: 2.5rem !important; /* Добавьте эту строку */
}

/* ===== STATS - GLASS ===== */
.stat {
    background: rgba(25, 25, 35, 0.25) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ===== FOOTER - GLASS ===== */
footer {
    background: rgba(8, 8, 12, 0.3) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* ===== MODALS - ULTRA GLASS ===== */
.cart-content, .order-content, .success-content, 
.product-content, .wishlist-content, .password-content {
    background: rgba(20, 20, 28, 0.25) !important;
    backdrop-filter: blur(50px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(50px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* ===== REMOVE OLD BACKGROUNDS ===== */
.categories, .products, .features, .about, .admin-panel {
    background: transparent !important;
}

/* ===== ENHANCED STARFIELD ===== */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0a15 100%);
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

.star.small {
    width: 1px;
    height: 1px;
    opacity: 0.4;
    animation-duration: 4s;
}

.star.medium {
    width: 2px;
    height: 2px;
    opacity: 0.7;
    animation-duration: 6s;
}

.star.large {
    width: 3px;
    height: 3px;
    opacity: 0.9;
    animation-duration: 8s;
}

.star.shooting {
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, transparent, var(--accent-gold), var(--accent-purple), transparent);
    border-radius: 0;
    animation: shooting 2.5s ease-in infinite;
}

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

@keyframes shooting {
    0% {
        transform: translateX(-200px) translateY(-200px) rotate(45deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

.glow-star {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    animation: pulse 6s ease-in-out infinite;
}

.glow-star.gold {
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    box-shadow: 0 0 40px var(--accent-gold);
}

.glow-star.purple {
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    box-shadow: 0 0 40px var(--accent-purple);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    left: 0;
    right: 0;
    top: 56px;
    background: rgba(20, 20, 22, 0.4); 
    backdrop-filter: blur(20px) saturate(180%); 
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    z-index: 1200;
    transition: var(--transition), top 0.28s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.05) 0%, 
        rgba(138, 43, 226, 0.03) 100%);
    z-index: -1;
    opacity: 0.5;
    transition: var(--transition);
}

header.scrolled::before {
    opacity: 0.8;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.08) 0%, 
        rgba(138, 43, 226, 0.04) 100%);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.7); 
    backdrop-filter: blur(25px) saturate(200%); 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    top: 0 !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
    padding: 8px 6px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--accent-gold);
    background: var(--glass);
    box-shadow: 0 6px 18px var(--glow);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon, .wishlist-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.cart-icon:hover, .wishlist-icon:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.cart-count, .wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 36px;
    border-radius: 18px;
    background: rgba(30, 30, 35, 0.3); 
    backdrop-filter: blur(20px) saturate(180%); 
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.08); 
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(138, 43, 226, 0.05) 50%,
        transparent 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.6;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--accent-glow);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.cta-button::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: var(--transition);
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.cta-button.secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: var(--trans);
}

.btn-primary {
    background: var(--accent);
    color: #0b0b09;
    box-shadow: 0 8px 30px var(--glow);
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(212,175,55,0.14);
    color: var(--gold);
}

.btn-small {
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 3rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-gold);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-title-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.section-title.collapsible {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    color: var(--gold);
    font-weight: 800;
    cursor: pointer;
    font-size: 1.125rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transition: transform .28s ease, box-shadow .28s ease;
    border-bottom: none;
    box-shadow: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-title.collapsible:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.section-title.collapsible .chev {
    font-size: 0.9rem;
    margin-left: 8px;
    opacity: 0.9;
    transition: transform .28s ease;
}

.section-title.collapsible.open .chev {
    transform: rotate(180deg);
}

.collapsible-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height .45s cubic-bezier(.2,.9,.2,1);
    margin: 0 auto;
    width: 100%;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 12px 8px;
}

.category-btn {
    padding: 0.7rem 1.5rem;
    background: var(--bg-accent);
    color: var(--text-primary);
    border: 1px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gold);
    transition: var(--transition);
    z-index: -1;
}

.category-btn.active,
.category-btn:hover {
    color: var(--bg-primary);
}

.category-btn.active::before,
.category-btn:hover::before {
    width: 100%;
}

.filter {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.03);
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}

.filter.active {
    background: var(--gold);
    color: #0b0b09;
    box-shadow: 0 8px 30px rgba(212,175,55,0.12);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 3rem 0 5rem;
    background: var(--bg-secondary);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-sort-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    background: var(--bg-accent);
    border: 1px solid transparent;
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    width: 250px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
}

.sort-select {
    padding: 0.7rem 1rem;
    background: var(--bg-accent);
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: rgba(25, 25, 28, 0.25); 
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.06); 
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
    backdrop-filter: blur(15px) saturate(160%); 
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.08) 0%, 
        rgba(138, 43, 226, 0.04) 100%);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.6;
    transition: var(--transition);
}

.product-card:hover::before {
    opacity: 0.9;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.12) 0%, 
        rgba(138, 43, 226, 0.06) 100%);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--success);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.product-badge.sale {
    background: var(--error);
}

.product-badge.new {
    background: var(--accent-purple);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

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

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.7);
    border: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.action-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.action-btn.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.product-category {
    display: inline-block;
    background: var(--bg-primary);
    color: var(--accent-gold);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-gold);
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-price {
    min-height: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: bold;
}

.original-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--error);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-card-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.add-to-cart, .buy-now {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.add-to-cart::before, .buy-now::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: var(--transition);
}

.add-to-cart:hover::before, .buy-now:hover::before {
    left: 100%;
}

.add-to-cart {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.add-to-cart:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.buy-now {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-primary);
}

.buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(18, 18, 24, 0.18) !important;
    backdrop-filter: blur(35px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.25) 0%, 
        rgba(138, 43, 226, 0.15) 100%) !important;
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
    transition: all 0.4s ease-out;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple) !important;
    box-shadow: 
        0 25px 50px rgba(138, 43, 226, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.feature-card:hover::before {
    opacity: 0.6;
}

/* Иконки фич */
.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease-out;
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px);
    color: var(--accent-purple);
}

/* Заголовки фич */
.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease-out;
}

.feature-card:hover .feature-title {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Описание фич */
.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.3s ease-out;
}

.feature-card:hover .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Анимация появления для фич */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    animation: smoothFeatureAppear 0.6s ease-out forwards;
}

@keyframes smoothFeatureAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержки для анимации появления фич */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
    }
    
    .feature-icon {
        font-size: 3rem;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 10px;
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
    display: none;
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.admin-panel.active {
    display: block;
}

.admin-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--bg-accent);
    flex-wrap: wrap;
    gap: 8px;
    overflow: auto;
    padding-bottom: 8px;
}

.admin-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.03);
}

.admin-tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.admin-tab.active {
    color: var(--accent-gold);
    background: var(--gold);
    color: #0b0b09;
}

.admin-tab.active::after {
    width: 100%;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.admin-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-form textarea {
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    min-height: 100px;
    resize: vertical;
    width: 100%;
}

.admin-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.admin-form select {
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.admin-form select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.image-preview {
    width: 100%;
    height: 200px;
    background: var(--bg-secondary);
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.image-preview:hover {
    transform: scale(1.02);
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.admin-products-list, .admin-comments-list, .admin-orders-list {
    margin-top: 2rem;
}

.admin-product-item, .admin-comment-item, .admin-order-item {
    background: rgba(25, 25, 28, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    backdrop-filter: blur(12px) saturate(110%);
    -webkit-backdrop-filter: blur(12px) saturate(110%);
    border: 1px solid rgba(255,255,255,0.05);
}

.admin-product-item:hover, .admin-comment-item:hover, .admin-order-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-product-info, .admin-comment-info, .admin-order-info {
    flex: 1;
}

.admin-product-name, .admin-comment-author, .admin-order-customer {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.admin-product-category, .admin-comment-product, .admin-order-details {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.admin-product-actions, .admin-comment-actions, .admin-order-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-edit-btn, .admin-delete-btn, .admin-status-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
}

.admin-edit-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.admin-edit-btn:hover {
    background: #b8941f;
}

.admin-delete-btn {
    background: var(--error);
    color: white;
}

.admin-delete-btn:hover {
    background: #d32f2f;
}

.admin-status-btn {
    background: var(--success);
    color: white;
}

.admin-status-btn:hover {
    background: #388e3c;
}

/* ===== MODALS ===== */
.password-modal, .cart-modal, .order-modal, .success-modal, .product-modal, .wishlist-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
    pointer-events: auto;
}

.password-content, .cart-content, .order-content, .success-content, .product-content, .wishlist-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    width: 95%;
    max-width: 480px;
    max-height: 85vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    pointer-events: auto;
}

.cart-content, .product-content, .wishlist-content {
    max-height: 80vh;
    overflow-y: auto;
}

.product-content {
    max-width: 800px;
}

.success-content {
    text-align: center;
    padding: 3rem 2rem;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-accent);
    padding-bottom: 1rem;
}

.cart-title {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* Cart Items */
.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-accent);
    transition: var(--transition);
}

.cart-item:hover {
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.item-info h4 {
    margin-bottom: 0.5rem;
}

.item-price {
    color: var(--accent-gold);
    font-weight: bold;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--bg-accent);
    border: none;
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.quantity-input {
    width: 50px;
    text-align: center;
    background: var(--bg-primary);
    border: 1px solid var(--bg-accent);
    border-radius: 5px;
    color: var(--text-primary);
    padding: 0.3rem;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    margin-left: 1rem;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.1);
}

.cart-total {
    text-align: right;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-primary);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.checkout-btn::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: var(--transition);
}

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

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.checkout-btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-btn:disabled::before {
    display: none;
}

/* Order Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    padding: 0.8rem;
    background: var(--bg-accent);
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    min-height: 44px; /* Минимальная высота для удобного касания */
}

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

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.form-buttons button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Минимальная высота для удобного касания */
    min-width: 120px; /* Минимальная ширина для кнопок */
}

.form-buttons button::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: var(--transition);
}

.form-buttons button:hover::before {
    left: 100%;
}

.submit-order {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-primary);
    position: relative;
    z-index: 10;
}

.submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.cancel-order {
    background: var(--bg-accent);
    color: var(--text-primary);
}

.cancel-order:hover {
    background: #3a3a3a;
}

/* Success Modal */
.success-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    animation: bounce 1s ease-out;
}

.success-message {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.4;
}

.continue-shopping {
    padding: 0.7rem 1.2rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-primary);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 40px;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.continue-shopping::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: var(--transition);
}

.continue-shopping:hover::before {
    left: 100%;
}

.continue-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Мобильные исправления для формы заказа */
@media (max-width: 480px) {
    .order-form {
        gap: 0.6rem;
    }
    
    .form-group {
        gap: 0.3rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input, .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .form-buttons button {
        min-width: 100%;
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .success-icon {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .success-message {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .continue-shopping {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-height: 38px;
        max-width: 160px;
    }
}

/* Исправления для очень маленьких экранов */
@media (max-width: 360px) {
    .form-group input, .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .form-buttons button {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .success-icon {
        font-size: 1.8rem;
    }
    
    .success-message {
        font-size: 0.85rem;
        margin-bottom: 0.7rem;
    }
    
    .continue-shopping {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-height: 36px;
        max-width: 140px;
    }
}

/* Product Details Modal */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-details-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.product-details-image:hover {
    transform: scale(1.02);
}

.product-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-comments {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-accent);
}

.comments-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.comment-item {
    background: var(--bg-accent);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.comment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: bold;
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.comment-order {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.comment-text {
    color: var(--text-primary);
}

.add-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Wishlist Modal */
.wishlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.wishlist-item {
    background: var(--bg-accent);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wishlist-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.wishlist-item-info {
    padding: 0.8rem;
}

.wishlist-item-name {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wishlist-item-price {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 0.9rem;
}

.wishlist-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.wishlist-add-to-cart {
    flex: 1;
    padding: 0.5rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    transition: var(--transition);
}

.wishlist-add-to-cart:hover {
    background: #b8941f;
    transform: scale(1.05);
}

.remove-wishlist {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(10, 10, 10, 0.7);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.remove-wishlist:hover {
    background: var(--error);
    transform: scale(1.1);
}

/* Password Modal */
.password-input {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-accent);
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    margin: 1rem 0;
    text-align: center;
    transition: var(--transition);
}

.password-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transform: translateX(400px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--bg-accent);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-accent);
    color: var(--text-secondary);
}

/* ===== DISCOUNT BANNER ===== */
.discount-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-gold));
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    z-index: 1500;
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.discount-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

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

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 4000;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s linear infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

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

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

.floating {
    animation: float 6s ease-in-out infinite;
}

/* ===== ACCESSIBILITY ===== */
a:focus, button:focus, input:focus, select:focus {
    outline: 3px solid rgba(138,43,226,0.18);
    outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid var(--bg-accent);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .item-quantity {
        align-self: flex-end;
    }

    .category-filters {
        flex-direction: column;
        align-items: center;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-sort-container {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .product-card-buttons {
        flex-direction: column;
    }

    .admin-tabs {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-bar {
        flex-wrap: wrap;
        align-items: center;
    }
    
    header.wrap .nav-links {
        flex-basis: 100%;
        order: 3;
        padding-top: 8px;
    }
}

@media (max-width: 640px) {
    .discount-banner { 
        padding: 10px; 
    }
    
    header { 
        top: 48px; 
    }
    
    body.has-fixed-banner { 
        padding-top: calc(48px + 64px); 
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .product-media {
        height: 180px;
    }
    
    .hero-inner {
        padding: 18px;
    }
    
    .section-title.collapsible {
        font-size: 1rem;
        padding: 8px 12px;
    }
    
    .collapsible-content {
        padding: 0 6px;
    }
}

@media (min-width: 980px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero {
        min-height: 72vh;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Page Layout ===== */
.page-header {
  text-align: center;
  padding: 60px 20px 20px;
  animation: fadeInDown 1s ease;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #3b2d1f;
  margin-top: 10px;
}

.back-button {
  position: absolute;
  left: 20px;
  top: 20px;
  text-decoration: none;
  color: #a38b6f;
  font-weight: 500;
  transition: color 0.3s;
}

.back-button:hover {
  color: #7e674f;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.7;
  color: #2e2e2e;
  animation: fadeInUp 1s ease;
}

.page-content ul {
  padding-left: 20px;
}

.page-footer {
  text-align: center;
  padding: 40px 0 20px;
  color: #b6a68d;
  font-size: 0.9rem;
}

.faq-item {
  margin-bottom: 20px;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
    .mobile-menu-btn.open {
        color: var(--accent-gold);
        transform: rotate(90deg);
    }

    .mobile-menu-btn.open i::before {
        content: "\f00d"; /* Иконка крестика */
    }
}

/* Success Modal Buttons */
.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.success-modal .telegram-button {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #0088cc, #00acee);
    border: 1px solid transparent;
    text-align: center;
}

.success-modal .continue-shopping {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.success-modal .continue-shopping::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: var(--transition);
}

.success-modal .continue-shopping:hover::before {
    left: 100%;
}

.success-modal .continue-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .success-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .success-modal .telegram-button,
    .success-modal .continue-shopping {
        min-width: 200px;
        max-width: 250px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .success-buttons {
        gap: 0.6rem;
    }
    
    .success-modal .telegram-button,
    .success-modal .continue-shopping {
        min-width: 180px;
        max-width: 220px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .success-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .success-modal .telegram-button,
    .success-modal .continue-shopping {
        min-width: 200px;
        max-width: 250px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .success-buttons {
        gap: 0.6rem;
    }
    
    .success-modal .telegram-button,
    .success-modal .continue-shopping {
        min-width: 180px;
        max-width: 220px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}


/* ===== COPYRIGHT MODAL - GLASS EFFECT ===== */
.copyright-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 4000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.copyright-modal.active {
    display: flex;
}

.copyright-content {
    background: rgba(20, 20, 28, 0.25);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.35s ease-out forwards;
    position: relative;
}

.copyright-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(138, 43, 226, 0.08) 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.4;
}

/* Заголовок и крестик */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin: 0;
    line-height: 1;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    margin: 0;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--accent-gold);
    transform: scale(1.15);
    text-shadow: 0 0 8px var(--accent-gold);
}

/* Текст */
.copyright-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    margin-top: 1rem;
}

/* Ховер по копирайту в футере */
.copyright:hover {
    color: var(--accent-gold);
    cursor: pointer;
    transition: var(--transition);
}

/* Анимации */
@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

.features-grid, .products-grid {
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    z-index: 1;
}

/* ===== STARFIELD BACKGROUND ===== */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

.star.small {
    width: 1px;
    height: 1px;
    opacity: 0.3;
}

.star.medium {
    width: 2px;
    height: 2px;
    opacity: 0.5;
}

.star.large {
    width: 3px;
    height: 3px;
    opacity: 0.7;
}

.star.shooting {
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, transparent, var(--accent-gold), transparent);
    border-radius: 0;
    animation: shooting 3s ease-in infinite;
}

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

@keyframes shooting {
    0% {
        transform: translateX(-100px) translateY(-100px) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(100vh) rotate(45deg);
        opacity: 0;
    }
}

/* ===== ENHANCED GLOW EFFECTS ===== */
.glow-star {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    animation: pulse 4s ease-in-out infinite;
}

.glow-star.gold {
    background: radial-gradient(circle, var(--accent-gold), transparent);
    box-shadow: 0 0 20px var(--accent-gold);
}

.glow-star.purple {
    background: radial-gradient(circle, var(--accent-purple), transparent);
    box-shadow: 0 0 20px var(--accent-purple);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

.error-message {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.form-group input:invalid, 
.form-group textarea:invalid {
    border-color: #ff6b6b;
}

.form-group input:valid, 
.form-group textarea:valid {
    border-color: #51cf66;
}

.product-image img {
    transition: opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.8;
}

.product-image img.loaded {
    opacity: 1;
}

.product-image img.loading {
    filter: blur(5px);
}

.product-image img.error {
    filter: grayscale(1);
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap; /* ключевой момент */
    src: url('./fonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/fa-brands-400.woff2') format('woff2');
}

