* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #faf9f8;
    color: #1a1a1a;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section - Светлый премиум */
.hero-video-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d5 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, rgba(245,240,232,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 69, 19, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 0.875rem;
    letter-spacing: 2px;
    color: #8B4513;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-primary {
    background: #8B4513;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
    background: #A0522D;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #8B4513;
    color: #8B4513;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #8B4513;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.75rem;
    color: #8B4513;
}

.hero-scroll i {
    display: block;
    margin-top: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Навигация - Светлая */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 40px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

.brand-icon {
    color: #8B4513;
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #8B4513;
}

/* Секция продуктов */
.products-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(139, 69, 19, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #8B4513;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-actions button {
    background: rgba(255,255,255,0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #1a1a1a;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-actions button:hover {
    background: #8B4513;
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.product-price {
    margin-bottom: 0.75rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B4513;
}

.old-price {
    font-size: 0.875rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 8px;
}

.product-colors {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.product-sizes {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.size-option {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #4a4a4a;
}

.size-option:hover {
    background: #8B4513;
    color: white;
}

.add-to-cart-btn {
    width: 100%;
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: #8B4513;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* Особенности - Светлая секция */
.features-section {
    padding: 80px 0;
    background: #faf9f8;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* О нас - Светлая секция */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.about-text p {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features div {
    color: #4a4a4a;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-features i {
    color: #8B4513;
    font-size: 1rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Футер - Светлый */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #8B4513;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
}

/* Корзина - Светлая тема */
.cart-floating-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #8B4513;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 1000;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-floating-btn:hover {
    transform: scale(1.1);
    background: #A0522D;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cart-modal-header h3 {
    color: #1a1a1a;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #8B4513;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.cart-item-price {
    color: #8B4513;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    color: #1a1a1a;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #8B4513;
    color: white;
    border-color: #8B4513;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.remove-item:hover {
    transform: scale(1.1);
}

.cart-total {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    color: #8B4513;
}

.cart-buttons {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.clear-cart-btn, .checkout-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.clear-cart-btn {
    background: #f5f5f5;
    color: #666;
}

.clear-cart-btn:hover {
    background: #e0e0e0;
}

.checkout-btn {
    background: #8B4513;
    color: white;
}

.checkout-btn:hover {
    background: #A0522D;
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #999;
}

/* Уведомления */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #8B4513;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    z-index: 2000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cart-floating-btn.pulse {
    animation: pulse 0.5s ease;
}

/* Табы для админки */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .cart-floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .current-price {
        font-size: 1.25rem;
    }
}

/* Анимации загрузки */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Стили для скроллбара */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0522D;
}

.filters-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
}

.filters-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.875rem;
}

.filter-select, .price-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
}

.price-range {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-input {
    width: calc(50% - 4px);
}

.filter-btn, .filter-reset {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn {
    background: #8B4513;
    color: white;
}

.filter-btn:hover {
    background: #A0522D;
}

.filter-reset {
    background: #f5f5f5;
    color: #666;
}

.filter-reset:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-btn, .filter-reset {
        width: 100%;
    }
}