/* ===== CSS Reset \u0026 Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --secondary: #8B4513;
    --accent: #A0522D;
    --success: #10B981;
    --warning: #D2691E;
    --white: #FFFFFF;
    --black: #000000;
    --dark: #1F1F1F;
    --light: #F9FAFB;
    --light-gray: #F3F4F6;
    --border-gray: #E5E7EB;
    --shadow: rgba(0, 0, 0, 0.15);
    --brown: #8B4513;
    --brown-light: #D2691E;
    --gold: #d4af37;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #000000 0%, #2C2C2C 100%);
    --gradient-accent: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

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

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

main {
    flex: 1;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Montserrat', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ===== Notification Bar ===== */
.notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 0;
    z-index: 1100;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.notification-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.notification-close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.15s ease;
    border-bottom: 1px solid var(--border-gray);
}

.header-top {
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-contacts span,
.header-contacts a {
    color: var(--white);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-contacts a:hover {
    color: var(--gold);
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-socials .social-link {
    color: var(--white);
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-socials .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-socials .social-link i {
    transition: all 0.3s ease;
}

.header-socials .social-link:hover i.fa-instagram {
    color: #E4405F;
}

.header-socials .social-link:hover i.fa-telegram {
    color: #0088cc;
}

.header-rates {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.rate-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.rate-label {
    font-weight: 500;
}

.rate-value {
    font-weight: 600;
    color: #ffd700;
}

.rate-currency {
    font-size: 0.85em;
    color: #ccc;
}

#goldRate585 .rate-value,
#goldRate750 .rate-value,
#goldRate999 .rate-value {
    color: #ffd700;
}

#usdRate .rate-value {
    color: #28a745;
}

.header-main {
    padding: 16px 0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.header-center {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 500px;
    margin: 0 auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex: 0 0 auto;
    min-width: 0;
}

.logo:hover {
    opacity: 0.85;
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.2s ease;
}

.logo:hover i {
    transform: scale(1.05) rotate(5deg);
}

.logo-image {
    height: 75px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
}

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

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
}

.logo-text span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    gap: 28px;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.15s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Search */
.search-form {
    display: flex;
    align-items: center;
    background-color: var(--light-gray);
    border-radius: 28px;
    padding: 10px 20px;
    min-width: 240px;
    max-width: 560px;
    width: 100%;
    transition: all 0.15s ease;
    border: 2px solid transparent;
    flex: 1 1 360px;
}

.search-form:focus-within {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: var(--dark);
    flex: 1;
    min-width: 0;
}

.search-input::placeholder {
    color: #999;
    transition: color 0.2s ease;
}

.search-form:focus-within .search-input::placeholder {
    color: #bbb;
}

.search-btn {
    color: var(--primary);
    font-size: 1.1rem;
    padding: 6px 8px;
    cursor: pointer;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.search-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.search-btn:active {
    transform: scale(0.95);
}

/* Cart */
.cart-icon {
    position: relative;
    color: var(--dark);
    font-size: 1.5rem;
    padding: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: all 0.15s ease;
    flex: 0 0 auto;
}

.cart-icon:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px) translateZ(0);
}

.cart-icon:active {
    transform: translateY(0);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 5px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.auth-link {
    font-weight: 500;
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 20px;
    background-color: var(--light-gray);
    border: 1px solid transparent;
}

.auth-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.admin-link {
    font-weight: 600;
    background-color: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--dark);
}

.admin-link:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-user {
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 20px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-user:hover {
    color: var(--gold);
    background-color: rgba(212, 175, 55, 0.08);
}

.auth-user i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.auth-user:hover i {
    transform: scale(1.1);
}

.auth-user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-form {
    display: inline-flex;
}

.logout-button {
    background-color: var(--light-gray);
    color: var(--dark);
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-gray);
    transition: all 0.2s ease;
}

.logout-button:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* ===== Auth Pages ===== */
.auth-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(17, 17, 17, 0.05));
}

.auth-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 40px;
    max-width: 420px;
    width: 100%;
}

.auth-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.auth-alert {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--dark);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.auth-alert ul {
    list-style: disc;
    padding-left: 20px;
}

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

.auth-label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    gap: 6px;
}

.auth-input {
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Убираем синий фон автозаполнения браузера */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px white inset !important;
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 1px solid var(--border-gray) !important;
}

.password-input-wrapper {
    position: relative;
    display: block;
}

.password-input-wrapper .auth-input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--gold);
}

.password-toggle:focus {
    outline: none;
    color: var(--gold);
}

.auth-submit {
    margin-top: 10px;
    background: linear-gradient(135deg, #E5C05B, #CDA434);
    color: var(--white);
    padding: 14px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.auth-secondary {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #555;
}

.auth-secondary a {
    color: var(--gold);
    font-weight: 600;
}

.auth-secondary a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 30px 24px;
    }

    .auth-container {
        padding: 40px 16px;
    }

    .auth-links {
        gap: 8px;
    }

    .logout-button {
        padding: 6px 8px;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 100;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.menu-toggle:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.menu-toggle:active {
    background-color: rgba(212, 175, 55, 0.15);
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--dark);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.menu-toggle:hover span {
    background-color: var(--gold);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: var(--gold);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: var(--gold);
}

/* Mobile Navigation User Section */
.nav-mobile-user {
    display: none;
    width: 100%;
    border-top: 2px solid var(--gold);
    padding-top: 12px;
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .nav-mobile-user {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-mobile-user .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        font-weight: 500;
    }
    
    .nav-mobile-user .nav-link i {
        width: 20px;
        text-align: center;
    }
    
    .nav-mobile-user form {
        margin-top: 12px;
        padding: 12px 20px;
    }
    
    .nav-mobile-user .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark);
    border: 1px solid var(--border-gray);
}

.btn-secondary:hover {
    background-color: var(--border-gray);
}

/* ===== Home Feed ===== */
.home-feed {
    padding: 40px 0 80px;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}

.home-heading {
    font-size: 2.4rem;
    margin: 0;
}

.home-subheading {
    margin-top: 10px;
    font-size: 1rem;
    color: #777;
}

.home-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-filter-bar {
    margin: 20px 0 28px;
}

.home-filter-chips {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.home-filter-chips::-webkit-scrollbar {
    height: 0;
}

.home-groups {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.home-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.group-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.group-head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.group-count {
    font-size: 0.9rem;
    color: #999;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 2.5px solid;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.home-card:nth-child(5n+1) {
    border-color: #6366F1;
}

.home-card:nth-child(5n+2) {
    border-color: #EC4899;
}

.home-card:nth-child(5n+3) {
    border-color: #8B5CF6;
}

.home-card:nth-child(5n+4) {
    border-color: #F59E0B;
}

.home-card:nth-child(5n+5) {
    border-color: #10B981;
}

.home-card:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.home-card-image {
    position: relative;
    padding-top: 100%;
    background-color: var(--light-gray);
    display: block;
}

.home-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.compare-toggle {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.compare-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.compare-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.2s ease;
}

.compare-checkbox:checked + .compare-icon {
    background-color: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.home-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.home-card-title {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.35;
    min-height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-card-title a {
    color: var(--dark);
}

.home-card-title a:hover {
    color: var(--gold);
}

.home-card-meta {
    font-size: 0.92rem;
    color: #777;
}

.home-card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.home-card-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.home-card-price .old-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.home-card-price .discount {
    background: #FFD700;
    color: #000;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.home-card-status {
    font-size: 0.9rem;
    color: #999;
}

.home-card.is-exclusive {
    border-color: rgba(212, 175, 55, 0.4);
}

.home-card.is-selected {
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.product-modern-card.is-hidden {
    display: none;
}

.product-modern-card.is-selected {
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

.badge-exclusive {
    background: linear-gradient(135deg, var(--gold), #f5d878);
    color: var(--dark);
}

.home-extra-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.home-extra {
    margin-top: 24px;
}

.show-more-btn {
    min-width: 240px;
}

.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 0;
    box-shadow: 0 -4px 20px rgba(17, 17, 17, 0.3);
    z-index: 1100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 20px;
    min-height: 72px;
}

.compare-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
}

.compare-count {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
    min-width: 24px;
    text-align: center;
}

.compare-text {
    font-weight: 400;
    white-space: nowrap;
}

.compare-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.compare-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    min-width: 100px;
    transition: all 0.25s ease;
}

.compare-btn.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.compare-btn.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.compare-btn.btn-primary {
    background-color: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
}

.compare-btn.btn-primary:hover:not(:disabled) {
    background-color: #C19B2E;
    border-color: #C19B2E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.compare-btn.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Categories Section ===== */
.categories {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 20px auto 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.category-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--light-gray), #E8E8E8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
}

.category-content {
    padding: 25px;
    text-align: center;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.category-description {
    color: #666;
    font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 24px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    margin-bottom: 32px;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-dropdown {
    width: 100%;
}

.footer-dropdown .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.3s ease;
    user-select: none;
}

.footer-dropdown .dropdown-toggle:hover {
    color: var(--gold);
}

.footer-dropdown .dropdown-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 8px;
    font-size: 0.8rem;
}

.footer-dropdown .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease,
                padding-top 0.4s ease,
                margin-top 0.4s ease;
    opacity: 0;
    padding-top: 0;
    margin-top: 0;
}

.footer-dropdown.active .dropdown-content {
    max-height: 1000px;
    opacity: 1;
    padding-top: 16px;
    margin-top: 8px;
}

/* Initially show content on desktop */
@media (min-width: 992px) {
    .footer-dropdown .dropdown-content {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .footer-dropdown .dropdown-toggle {
        cursor: default;
    }
    
    .footer-dropdown .dropdown-toggle i {
        display: none;
    }
}

/* Mobile styles */
@media (max-width: 991px) {
    .footer-dropdown .dropdown-content {
        padding-left: 15px;
    }
    
    .footer-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

.footer-heading {
    color: var(--gold);
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-block;
    padding: 4px 0;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.25s ease;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    color: var(--gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive Styles ===== */

/* Tablet \u0026 Larger Phones */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-center {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 12px 0 0;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 20px var(--shadow);
        padding: 1rem 0;
    }

    .nav.active {
        display: flex;
        z-index: 999;
    }

    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-gray);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Show auth links in mobile menu */
    .nav.active ~ .auth-links {
        display: none;
    }

    .home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .header-top .container {
        justify-content: center;
        text-align: center;
    }

    .header-contacts, .header-rates, .header-socials {
        justify-content: center;
    }
    
    .header-promo {
        display: none;
    }

    .logo-image {
        height: 58px;
        max-width: 250px;
    }

    .auth-user {
        max-width: 160px;
    }

    .auth-user-name {
        max-width: 100px;
        font-size: 0.85rem;
    }

    .auth-links {
        flex-wrap: wrap;
    }

    .home-heading {
        font-size: 2rem;
    }

    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-section {
        align-items: center;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-links {
        align-items: center;
    }
}

/* Smaller Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        gap: 8px;
    }

    .header-right {
        gap: 6px;
    }
    
    .logo {
        gap: 0;
    }
    
    .logo-image {
        height: 48px;
        max-width: 200px;
    }

    .cart-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        padding: 8px;
    }

    .auth-user {
        padding: 6px 10px;
        max-width: 140px;
    }

    .auth-user i {
        font-size: 0.9rem;
    }

    .auth-user-name {
        max-width: 80px;
        font-size: 0.8rem;
    }

    .logout-button {
        padding: 6px 8px;
        font-size: 0.9rem;
    }

    .auth-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .home-card-body {
        padding: 18px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .footer-heading {
        font-size: 1.2rem;
    }
}

/* ===== Modern Product Cards ===== */
.products-modern-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-modern-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2.5px solid;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.product-modern-card:nth-child(5n+1) {
    border-color: #6366F1;
}

.product-modern-card:nth-child(5n+2) {
    border-color: #EC4899;
}

.product-modern-card:nth-child(5n+3) {
    border-color: #8B5CF6;
}

.product-modern-card:nth-child(5n+4) {
    border-color: #F59E0B;
}

.product-modern-card:nth-child(5n+5) {
    border-color: #10B981;
}

.product-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-modern-image {
    position: relative;
    padding-top: 100%;
    background-color: var(--light-gray);
    display: block;
}

.product-modern-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modern-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-modern-title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 400;
}

.product-modern-title a {
    color: #212121;
    text-decoration: none;
}

.product-modern-title a:hover {
    color: #6200EA;
}

.product-modern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-modern-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

.product-modern-price {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--dark);
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.3;
}

.product-modern-price .old-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.product-modern-price .installment-badge {
    background: #FFD700;
    color: #000;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.product-modern-status {
    font-size: 0.9rem;
    color: #999;
}

.product-modern-action {
    display: inline-flex;
}

.product-modern-action button {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7B3FF2, #5B2FC2);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-modern-action button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 63, 242, 0.4);
}

.product-modern-action button i {
    font-size: 1rem;
}

/* ===== Product Card Additional Elements ===== */
.product-wishlist-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-wishlist-btn i {
    font-size: 1.1rem;
    color: #666;
    transition: color 0.3s ease;
}

.product-wishlist-btn:hover i {
    color: #FF4081;
}

.product-wishlist-btn.active i {
    color: #FF4081;
}

.product-badge-original {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #2E7D32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-badge-original i {
    font-size: 0.85rem;
}

.product-badge-top {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #00BCD4;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-badge-top .number {
    font-size: 1.5rem;
    line-height: 1;
}

.product-badge-top .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #616161;
}

.product-rating i {
    color: #FFA726;
    font-size: 0.9rem;
}

.product-rating .rating-value {
    font-weight: 600;
    color: #424242;
}

.product-rating .rating-count {
    color: #9E9E9E;
}

/* ===== Category Chips ===== */
.category-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-chip {
    padding: 10px 20px;
    border-radius: 24px;
    border: 2px solid var(--border-gray);
    background-color: var(--white);
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-chip:hover {
    border-color: var(--primary);
    background-color: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.category-chip.is-active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ===== Meta Chips ===== */
.meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 16px;
    background-color: var(--light-gray);
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 500;
}

.meta-chip-muted {
    background-color: rgba(17, 17, 17, 0.05);
    color: #666;
}

.meta-chip-quantity {
    background-color: rgba(46, 204, 113, 0.1);
    color: #1E7D46;
    display: none !important; /* Скрыть "Omborda mavjud" */
}

/* ===== Chip Button ===== */
.chip-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7B3FF2, #5B2FC2);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.chip-button:hover {
    background: linear-gradient(135deg, #6B2FE2, #4B1FB2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 63, 242, 0.4);
}

.chip-button:active {
    transform: translateY(0);
}

/* ===== Catalog Loading ===== */
.catalog-loading {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1rem;
}

.catalog-loading.is-visible {
    display: block;
}

/* ===== Badge Styles ===== */
.badge-out {
    background-color: rgba(231, 76, 60, 0.15);
    color: #A83221;
}

/* ===== Responsive Modern Cards ===== */
@media (max-width: 1400px) {
    .products-modern-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-modern-body {
        padding: 10px 12px 12px 12px;
    }

    .product-modern-price {
        font-size: 1.2rem;
    }

    .product-modern-price .old-price {
        font-size: 0.8rem;
    }

    .product-modern-price .installment-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .product-modern-title {
        font-size: 0.85rem;
    }

    .product-modern-action button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .product-wishlist-btn {
        width: 32px;
        height: 32px;
        top: 16px;
        right: 16px;
    }

    .product-wishlist-btn i {
        font-size: 1rem;
    }

    .product-badge-original {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .product-rating {
        font-size: 0.8rem;
    }

    .product-modern-image {
        margin: 10px 10px 0 10px;
    }
}

@media (max-width: 480px) {
    .products-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-modern-price {
        font-size: 1.1rem;
    }

    .product-modern-body {
        padding: 8px 10px 10px 10px;
    }

    .product-modern-action button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .product-wishlist-btn {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
    }

    .product-wishlist-btn i {
        font-size: 0.9rem;
    }

    .product-modern-image {
        margin: 8px 8px 0 8px;
    }
}

/* ===== Catalog Page ===== */
.catalog-modern {
    padding: 40px 0 80px;
}

.catalog-top {
    margin-bottom: 32px;
    padding: 40px 0;
}

.catalog-title {
    font-size: 2.4rem;
    margin: 0 0 12px 0;
    color: var(--dark);
}

.catalog-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
}

.catalog-search {
    color: var(--gold);
    font-weight: 500;
}

.catalog-count {
    color: #999;
}

.catalog-filters {
    margin-bottom: 32px;
}

/* ===== Advanced Filters ===== */
.advanced-filters {
    margin-bottom: 32px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid var(--border-gray);
}

.filters-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.filters-toggle:hover {
    color: var(--primary);
}

.filters-toggle .toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.filters-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.filters-clear {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters-clear:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.filters-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.filters-panel.show {
    max-height: 600px;
    padding: 24px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-group-wide {
    grid-column: span 2;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label i {
    color: var(--primary);
    font-size: 1rem;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: all 0.2s ease;
    outline: none;
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-select:hover,
.filter-input:hover {
    border-color: var(--primary);
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-input {
    flex: 1;
    min-width: 0;
}

.price-separator {
    color: #999;
    font-weight: 500;
}

.price-values {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.2s ease;
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-label {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.checkbox-label:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-label:hover {
    background: linear-gradient(135deg, #5b5fd8 0%, #7c3aed 100%);
}

.checkbox-label i {
    font-size: 1rem;
}

.filters-actions {
    display: flex;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-gray);
}

.btn-apply-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-apply-filters:active {
    transform: translateY(0);
}

.btn-apply-filters i {
    font-size: 1.1rem;
}

/* Responsive Filters */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-group-wide {
        grid-column: span 1;
    }
    
    .filters-header {
        padding: 12px 16px;
    }
    
    .filters-panel.show {
        padding: 16px;
    }
}

.catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.catalog-empty i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.catalog-empty h2 {
    margin: 0 0 12px 0;
    font-size: 1.8rem;
    color: var(--dark);
}

.catalog-empty p {
    margin: 0 0 24px 0;
    color: #666;
    max-width: 500px;
    line-height: 1.6;
}

/* Responsive Catalog */
@media (max-width: 768px) {
    .catalog-modern {
        padding: 30px 0 60px;
    }

    .catalog-title {
        font-size: 2rem;
    }

    .catalog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .catalog-title {
        font-size: 1.6rem;
    }

    .catalog-empty {
        padding: 60px 16px;
    }

    .catalog-empty i {
        font-size: 3rem;
    }

    .catalog-empty h2 {
        font-size: 1.4rem;
    }
}

/* ===== Cart Page ===== */
.cart-page {
    padding: 40px 0 80px;
}

.cart-page h1 {
    font-size: 2.4rem;
    margin: 0 0 32px 0;
    color: var(--dark);
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--light-gray);
}

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

.item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-info h3 {
    margin: 0;
    font-size: 1.1rem;
}

.item-info h3 a {
    color: var(--dark);
    transition: color 0.2s ease;
}

.item-info h3 a:hover {
    color: var(--gold);
}

.item-meta {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.item-price {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.item-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-form label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.quantity-form input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.item-subtotal {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.subtotal-label {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.subtotal-value {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.item-remove {
    display: flex;
    align-items: center;
}

.btn-remove {
    padding: 10px;
    background-color: transparent;
    color: #999;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.btn-remove:hover {
    background-color: rgba(231, 76, 60, 0.1);
    color: #E24B4B;
}

.cart-summary {
    position: sticky;
    top: 120px;
    padding: 28px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cart-summary h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: var(--dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 0.95rem;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-total {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 2px solid var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--gold);
    font-size: 1.3rem;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty h2 {
    margin: 0 0 12px 0;
    font-size: 1.8rem;
    color: var(--dark);
}

.cart-empty p {
    margin: 0 0 24px 0;
    color: #666;
    max-width: 400px;
    line-height: 1.6;
}

/* Responsive Cart */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page {
        padding: 30px 0 60px;
    }

    .cart-page h1 {
        font-size: 2rem;
    }

    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

    .item-image {
        width: 100px;
        height: 100px;
    }

    .item-quantity,
    .item-subtotal,
    .item-remove {
        grid-column: 2;
    }

    .item-quantity {
        margin-top: 12px;
    }

    .item-subtotal {
        text-align: left;
    }

    .item-remove {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .cart-page h1 {
        font-size: 1.6rem;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        padding: 16px;
    }

    .item-image {
        width: 80px;
        height: 80px;
    }

    .cart-summary {
        padding: 20px;
    }

    .cart-empty {
        padding: 60px 16px;
    }

    .cart-empty i {
        font-size: 3rem;
    }

    .cart-empty h2 {
        font-size: 1.4rem;
    }
}

/* ===== Checkout Page ===== */
.checkout-page {
    padding: 40px 0 80px;
}

.checkout-page h1 {
    font-size: 2.4rem;
    margin: 0 0 32px 0;
    color: var(--dark);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.checkout-form {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-width: 0;
}

.checkout-form h2 {
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    color: var(--dark);
}

.checkout-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.form-actions .btn {
    flex: 1;
}

.order-summary {
    position: sticky;
    top: 120px;
    background-color: var(--white);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    min-width: 0;
}

.order-summary h2 {
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    color: var(--dark);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-gray);
}

.summary-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background-color: var(--light-gray);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.summary-item:hover {
    background-color: rgba(212, 175, 55, 0.08);
}

.item-image-small {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.item-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.item-quantity {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.item-total {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.summary-total {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 2px solid var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--gold);
}

.checkout-note {
    padding: 16px;
    background-color: rgba(212, 175, 55, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
}

.checkout-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.checkout-note i {
    color: var(--gold);
    margin-right: 8px;
}

/* Responsive Checkout */
@media (max-width: 1200px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .order-summary {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-page {
        padding: 30px 0 60px;
    }

    .checkout-page h1 {
        font-size: 2rem;
    }

    .checkout-form,
    .order-summary {
        padding: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .checkout-page h1 {
        font-size: 1.6rem;
    }

    .checkout-form,
    .order-summary {
        padding: 20px;
    }

    .checkout-form h2,
    .order-summary h2 {
        font-size: 1.3rem;
    }

    .summary-item {
        grid-template-columns: 50px 1fr;
        gap: 10px;
    }

    .item-image-small {
        width: 50px;
        height: 50px;
    }

    .item-total {
        grid-column: 2;
        text-align: left;
        margin-top: 4px;
    }
}

/* ===== Order Success Page ===== */
.order-success {
    padding: 60px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    max-width: 800px;
    width: 100%;
    background-color: var(--white);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    text-align: center;
}

.success-icon {
    margin-bottom: 24px;
}

.success-icon i {
    color: #2ECC71;
    animation: successPulse 1s ease-in-out;
}

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

.success-message h1 {
    font-size: 2.2rem;
    margin: 0 0 16px 0;
    color: var(--dark);
}

.order-number {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
}

.order-number strong {
    color: var(--gold);
    font-size: 1.3rem;
}

.order-info {
    background-color: var(--light-gray);
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
    text-align: left;
}

.order-info h2 {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    color: var(--dark);
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 500;
    color: #666;
}

.info-row .value {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

.total-row {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 2px solid var(--gold) !important;
    font-size: 1.2rem;
}

.total-row .value {
    color: var(--gold);
    font-size: 1.4rem;
}

.order-items {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    text-align: left;
}

.order-items h3 {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    color: var(--dark);
    text-align: center;
}

.order-item {
    display: grid;
    grid-template-columns: 2fr 1.5fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background-color: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 12px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-name {
    font-weight: 600;
    color: var(--dark);
}

.item-details {
    font-size: 0.9rem;
    color: #666;
}

.item-quantity {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

.item-price {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

.next-steps {
    margin-top: 32px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border-radius: 16px;
    text-align: center;
}

.next-steps h3 {
    margin: 0 0 16px 0;
    font-size: 1.3rem;
    color: var(--dark);
}

.next-steps p {
    margin: 0 0 12px 0;
    color: #666;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    min-width: 200px;
}

/* Responsive Order Success */
@media (max-width: 768px) {
    .order-success {
        padding: 40px 0 80px;
    }

    .success-message {
        padding: 32px 24px;
    }

    .success-message h1 {
        font-size: 1.8rem;
    }

    .order-info,
    .order-items,
    .next-steps {
        padding: 20px;
    }

    .order-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .item-quantity,
    .item-price {
        text-align: left;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .success-message {
        padding: 24px 16px;
    }

    .success-message h1 {
        font-size: 1.5rem;
    }

    .success-icon i {
        font-size: 3.5rem !important;
    }

    .order-number {
        font-size: 1rem;
    }

    .order-number strong {
        font-size: 1.1rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .info-row .value {
        text-align: left;
    }
}

/* ===== Profile Page ===== */
.profile-page {
    padding: 40px 0 80px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.profile-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.profile-title {
    font-size: 1.8rem;
    margin: 0 0 24px 0;
    color: var(--dark);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-gray);
}

.profile-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.profile-value {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
}

.profile-note {
    margin-top: 8px;
    padding: 16px;
    background-color: rgba(212, 175, 55, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Profile Orders */
.profile-orders {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.orders-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--dark);
}

.orders-count {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.order-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.order-card-head h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    color: var(--dark);
}

.order-date {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-new {
    background-color: rgba(0, 184, 217, 0.1);
    color: #0088A3;
}

.status-in_progress {
    background-color: rgba(255, 193, 7, 0.15);
    color: #9A6A00;
}

.status-done {
    background-color: rgba(46, 204, 113, 0.15);
    color: #1E7D46;
}

.status-canceled {
    background-color: rgba(231, 76, 60, 0.15);
    color: #A83221;
}

.order-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #666;
}

.order-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-comment {
    margin-bottom: 20px;
    padding: 16px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.order-comment strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.9rem;
}

.order-comment p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 16px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.order-item-name {
    margin: 0 0 6px 0;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.order-item-meta {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.order-item-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    white-space: nowrap;
}

.order-item-pricing span {
    font-size: 0.9rem;
    color: #666;
}

.order-item-pricing strong {
    font-size: 1.05rem;
    color: var(--dark);
}

.orders-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
}

.orders-empty i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.orders-empty h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    color: var(--dark);
}

.orders-empty p {
    margin: 0 0 24px 0;
    color: #666;
    max-width: 400px;
    line-height: 1.6;
}

/* Responsive Profile Page */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .profile-page {
        padding: 30px 0 60px;
    }

    .profile-card {
        padding: 24px;
    }

    .profile-title,
    .orders-header h2 {
        font-size: 1.5rem;
    }

    .order-card {
        padding: 20px;
    }

    .order-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-item {
        flex-direction: column;
        gap: 12px;
    }

    .order-item-pricing {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 20px;
    }

    .profile-title {
        font-size: 1.3rem;
    }

    .orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .orders-header h2 {
        font-size: 1.3rem;
    }

    .order-card {
        padding: 16px;
    }

    .order-card-head h3 {
        font-size: 1.1rem;
    }

    .order-meta {
        flex-direction: column;
        gap: 8px;
    }

    .orders-empty {
        padding: 40px 16px;
    }

    .orders-empty i {
        font-size: 3rem;
    }

    .orders-empty h3 {
        font-size: 1.2rem;
    }
}
/*
 ===== Product Detail Page ===== */
.product-detail {
    padding: 40px 0 80px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    padding: 12px 0;
}

.breadcrumbs a {
    color: var(--gold);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #C19B2E;
    text-decoration: underline;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.product-gallery-main {
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.55);
    color: var(--gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
    z-index: 5;
}

.gallery-arrow-left {
    left: 12px;
}

.gallery-arrow-right {
    right: 12px;
}

.gallery-arrow i {
    font-size: 1rem;
}

.gallery-arrow:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.05);
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--border-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    border-color: var(--gold);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Product Details */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-details h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--dark);
    line-height: 1.3;
}

.product-status {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #1E7D46;
}

.badge-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #9A6A00;
}

.badge-exclusive {
    background: linear-gradient(135deg, var(--gold), #f5d878);
    color: var(--dark);
}

/* Product Specs */
.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Product Price */
.product-price-block {
    padding: 24px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
}

.price-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.price-breakdown {
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-detail {
    margin: 0;
    color: #666;
}

.price-detail small {
    font-size: 0.85rem;
}

/* Product Description */
.product-description {
    padding: 24px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
}

.product-description h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: var(--dark);
}

.product-description p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.product-info-seo {
    margin-top: 20px;
}

.product-info-seo h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

/* Product Actions */
.product-actions-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-selector label {
    font-weight: 600;
    font-size: 0.95rem;
}

.quantity-selector input {
    width: 80px;
    padding: 10px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.out-of-stock-message {
    padding: 16px;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    color: #9A6A00;
    text-align: center;
    font-weight: 500;
}

/* Responsive Product Detail */
@media (max-width: 1024px) {
    .product-layout {
        gap: 40px;
    }
    
    .product-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-details h1 {
        font-size: 1.6rem;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .price-value {
        font-size: 1.6rem;
    }
    
    .thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 20px 0 40px;
    }
    
    .breadcrumbs {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .product-details h1 {
        font-size: 1.4rem;
    }
    
    .price-main {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .price-value {
        font-size: 1.8rem;
    }
    
    .product-price-block,
    .product-description,
    .product-actions-block {
        padding: 16px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}


/* Profile Form Styles */
.profile-form {
    width: 100%;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-control:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}


/* Скрыть статус товара "Omborda mavjud" */
.product-status {
    display: none !important;
}

/* ===== About Page ===== */
.about-page {
    padding: 60px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page h1 {
    font-size: 2.8rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.about-page h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-text h3 {
    color: var(--dark);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-text ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.about-text a {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.about-text a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.feature-card i {
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1) rotateY(360deg);
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== Contacts Page ===== */
.contacts-page {
    padding: 60px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-page h1 {
    font-size: 2.8rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.contacts-page h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
}

.contact-details h3 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-details p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.social-links {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-gray);
}

.social-links h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(188, 24, 136, 0.4);
}

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0099dd 100%);
    color: var(--white);
}

.social-btn.telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
}

.contact-form-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
}

.contact-form-section > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1rem;
}

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

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.contact-form button[type="submit"] {
    margin-top: 10px;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.working-hours {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.working-hours h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 2rem;
}

.working-hours p {
    font-size: 1.1rem;
    margin: 10px 0;
    line-height: 1.8;
}

/* ===== Documents Page ===== */
.documents-page {
    padding: 60px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.documents-page h1 {
    font-size: 2.8rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.documents-page h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.document-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.document-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 16px;
    color: var(--white);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.document-card:hover .document-icon {
    transform: scale(1.1) rotate(5deg);
}

.document-info {
    text-align: center;
}

.document-info h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.document-date {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.document-date i {
    color: var(--primary);
}

.document-actions {
    display: flex;
    justify-content: center;
}

.document-actions .btn {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 28px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.document-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: var(--light-gray);
    border-radius: 20px;
    margin-bottom: 50px;
}

.empty-state i {
    color: var(--primary);
    margin-bottom: 25px;
    opacity: 0.6;
}

.empty-state p {
    color: #666;
    font-size: 1.2rem;
    margin: 0;
}

.documents-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
}

.documents-info h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.documents-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.documents-info a {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.documents-info a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ===== Responsive Styles for Public Pages ===== */
@media (max-width: 1024px) {
    .contacts-layout {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .documents-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page h1,
    .contacts-page h1,
    .documents-page h1 {
        font-size: 2.2rem;
    }
    
    .about-text,
    .contact-info,
    .contact-form-section,
    .documents-info {
        padding: 30px 25px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .working-hours {
        padding: 30px 20px;
    }
    
    .documents-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-page,
    .contacts-page,
    .documents-page {
        padding: 40px 0 60px;
    }
    
    .about-page h1,
    .contacts-page h1,
    .documents-page h1 {
        font-size: 1.8rem;
    }
    
    .about-text,
    .contact-info,
    .contact-form-section,
    .documents-info {
        padding: 25px 20px;
    }
    
    .about-text h2,
    .contact-info h2,
    .contact-form-section h2,
    .documents-info h2,
    .working-hours h2 {
        font-size: 1.6rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p,
    .documents-info p {
        font-size: 1rem;
    }
    
    .contact-form button[type="submit"],
    .document-actions .btn {
        width: 100%;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .document-card {
        padding: 25px 20px;
    }
    
    .empty-state {
        padding: 60px 20px;
    }
}

/* ===== Cart Notifications ===== */
.cart-notifications {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.cart-notification {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    border-left: 4px solid;
}

.cart-notification-show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification-success {
    border-color: #10B981;
}

.cart-notification-success i:first-child {
    color: #10B981;
    font-size: 1.5rem;
}

.cart-notification-error {
    border-color: #EF4444;
}

.cart-notification-error i:first-child {
    color: #EF4444;
    font-size: 1.5rem;
}

.cart-notification-message {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.cart-notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.2rem;
    padding: 4px 8px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-notification-close:hover {
    color: #333;
}

/* Анимация счетчика корзины */
.cart-count {
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =========================================
   RESPONSIVE IMPROVEMENTS (PUBLIC)
   ========================================= */

@media (max-width: 1024px) {
    .home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .header-main {
        padding: 12px 0;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Grid Layouts */
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .home-card {
        border-width: 1px; /* Thinner border on mobile */
    }
    
    .home-card-body {
        padding: 10px;
    }
    
    .home-card-title {
        font-size: 0.8rem;
        height: 2.4em; /* Limit height */
        -webkit-line-clamp: 2;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-image {
        height: 120px;
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .category-content {
        padding: 12px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .container {
        padding: 0 15px;
    }
    
    .home-grid {
        /* Keep 2 columns for products even on small screens, 
           but with smaller gaps */
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .home-card-title {
        font-size: 0.75rem;
    }
    
    .home-card-price {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .home-card-image {
        padding-top: 100%; /* Square image */
    }
    
    .compare-toggle {
        top: 8px;
        right: 8px;
    }
    
    .compare-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* Hide less important elements on very small screens if needed */
    .home-subheading {
        display: none;
    }
    
    .group-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .group-head h2 {
        font-size: 1.4rem;
    }
    
    .home-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .home-actions {
        width: 100%;
        justify-content: space-between;
    }
}
