* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #ff6b6b;
    --accent-hover: #ff5252;
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновый градиент */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 107, 255, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    z-index: -1;
    pointer-events: none;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.cart-icon-wrapper {
    position: relative;
}

.cart-icon {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: scale(1.05);
}

.cart-icon-text {
    font-size: 20px;
}

.cart-count {
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
}

.cart-count:empty {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Блок акций */
.promotions-section {
    position: relative;
    margin-top: 100px;
    padding: 20px 10px;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.promotions-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.promotions-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    min-height: 140px;
    display: flex;
    align-items: center;
}

.promotions-carousel-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.promotion-slide {
    min-width: 100%;
    width: 100%;
    padding: 35px 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promotion-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.promotion-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.promotion-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: block;
    transition: transform 0.3s ease;
}

.promotion-image:not([src]),
.promotion-image[src=""] {
    display: none;
}

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

.promotion-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Новая кнопка покупки акции - яркая и привлекательная */
/* НОВАЯ КНОПКА АКЦИИ - ЯРКАЯ И РАБОТАЮЩАЯ */
.promotion-buy-btn-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #ffffff;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-width: 140px;
}

.promotion-buy-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.promotion-buy-btn-new:hover::before {
    left: 100%;
}

.promotion-buy-btn-new:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.7);
    background: linear-gradient(135deg, #ff3838, #ff4757);
}

.promotion-buy-btn-new:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.6);
}

.promotion-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-glass);
}

.promotion-arrow:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.promotion-arrow-prev {
    left: 15px;
}

.promotion-arrow-next {
    right: 15px;
}

.promotion-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.promotion-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Главная секция */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 140px 20px 50px;
    text-align: center;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent), #ff8e8e, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
    z-index: 1;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.85;
    z-index: 1;
    position: relative;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0;
        top: 20px;
    }
}

/* Секции */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Меню */
.menu-section {
    background: var(--bg-secondary);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.menu-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 15, 0.3) 100%);
    pointer-events: none;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.menu-item-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.btn-add {
    padding: 10px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}

/* О нас */
.about-section {
    background: var(--bg-primary);
}

.about-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-glass);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.feature {
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Контакты */
.contacts-section {
    background: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.contact-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Футер */
.footer {
    background: var(--bg-primary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Overlay для мобильного меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        top: 10px;
        width: calc(100% - 20px);
    }

    .nav-container {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 20px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        order: 3;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
        order: 2 !important;
    }

    .cart-icon {
        padding: 8px 12px;
    }

    .cart-icon-text {
        font-size: 18px;
    }

    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 40px) !important;
        max-width: 500px !important;
        flex-direction: column !important;
        background: rgba(10, 10, 15, 0.95) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid var(--border-glass) !important;
        border-radius: 20px !important;
        padding: 25px 20px !important;
        gap: 12px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .nav-link {
        font-size: 18px !important;
        padding: 15px 0 !important;
        color: var(--text-primary) !important;
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }

    .nav-link:hover {
        color: var(--accent) !important;
    }

    .hero {
        min-height: auto;
        padding: 100px 15px 40px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 35px 25px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
        display: inline-block;
        margin-top: 10px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-image {
        height: 180px;
    }

    .about-content {
        padding: 40px 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 15px;
    }

    .promotions-section {
        margin-top: 80px;
        padding: 15px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 8px;
    }

    .promotion-slide {
        padding: 30px 35px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 200px;
        margin-bottom: 12px;
    }

    .promotion-title {
        font-size: 22px;
    }

    .promotion-description {
        font-size: 14px;
    }

    .promotion-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .promotion-arrow-prev {
        left: 10px;
    }

    .promotion-arrow-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 90px 10px 30px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .hero-content {
        padding: 30px 20px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
        display: inline-block;
        margin-top: 8px;
    }

    .promotions-section {
        margin-top: 70px;
        padding: 10px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 5px;
    }

    .promotion-slide {
        padding: 25px 20px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 150px;
        margin-bottom: 10px;
    }

    .promotion-title {
        font-size: 18px;
    }

    .promotion-description {
        font-size: 13px;
    }

    .promotion-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .promotion-arrow-prev {
        left: 5px;
    }

    .promotion-arrow-next {
        right: 5px;
    }

    .section-title {
        font-size: 28px;
    }

    .navbar {
        padding: 10px 15px !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .nav-container {
        gap: 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo {
        font-size: 18px !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
        flex-shrink: 0 !important;
        min-width: fit-content !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: block !important;
        line-height: 1.2 !important;
    }

    .nav-container {
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .cart-icon {
        padding: 6px 10px;
    }

    .cart-icon-text {
        font-size: 16px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -6px;
        right: -6px;
    }

    .hamburger span {
        width: 22px;
    }

    .menu-item-image {
        height: 150px;
    }

    .menu-item-content {
        padding: 20px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Корзина */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    overflow: hidden;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.cart-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    gap: 20px;
}

.cart-empty span {
    font-size: 64px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 18px;
}

.cart-item {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

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

.cart-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 16px;
    color: var(--accent);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-quantity:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.cart-item-quantity button {
    background: var(--bg-glass-hover);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.cart-item-quantity button.cart-decrease {
    border-radius: 12px 0 0 12px;
    border-right: 1px solid var(--border-glass);
}

.cart-item-quantity button.cart-increase {
    border-radius: 0 12px 12px 0;
    border-left: 1px solid var(--border-glass);
}

.cart-item-quantity button:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.cart-item-quantity button:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-quantity-input {
    width: 60px;
    min-width: 50px;
    max-width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 5px;
    -moz-appearance: textfield;
    appearance: textfield;
    border-left: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    transition: all 0.2s ease;
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-quantity-input:focus {
    background: var(--bg-glass-hover);
    color: var(--accent);
}

.cart-quantity-input:hover {
    background: var(--bg-glass-hover);
}

.cart-item-remove {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--accent);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.cart-item-remove:active {
    transform: scale(0.95) rotate(90deg);
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-glass);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.cart-total-price {
    color: var(--accent);
    font-size: 28px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-checkout:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

}

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

    .cart-header h2 {
        font-size: 24px;
    }

    .cart-items {
        padding: 15px;
    }

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

    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }

    .cart-footer {
        padding: 20px;
    }
}

/* Модальное окно оформления заказа */
.order-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.order-modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.order-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.order-form {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.order-form::-webkit-scrollbar {
    width: 6px;
}

.order-form::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Способ оплаты */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.payment-option:hover .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.payment-icon {
    font-size: 24px;
}

.payment-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.order-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.order-summary h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

#orderItemsList {
    margin-bottom: 15px;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 14px;
}

.order-item-summary:last-child {
    border-bottom: none;
}

.order-item-summary strong {
    color: var(--text-primary);
}

.order-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--border-glass);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-total-amount {
    color: var(--accent);
    font-size: 24px;
}

.btn-submit-order {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-order:hover:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-submit-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность формы заказа */
@media (max-width: 768px) {
    .order-modal {
        width: 95%;
        max-height: 95vh;
    }

    .order-modal-header {
        padding: 20px;
    }

    .order-modal-header h2 {
        font-size: 24px;
    }

    .order-form {
        padding: 20px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .order-modal-header {
        padding: 15px;
    }

    .order-form {
        padding: 15px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Админ-панель стили */

/* Форма авторизации */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-modal {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    width: 90%;
    max-width: 450px;
    animation: fadeInUp 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.login-error {
    color: var(--accent);
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    display: none;
}

.login-error.show {
    display: block;
}

.btn-login {
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Форма подтверждения кода */
.code-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
}

.code-info p {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.code-info p:first-child {
    font-weight: 600;
    font-size: 18px;
}

.code-hint {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
}

.code-timer {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.code-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.code-buttons .btn-login {
    flex: 1;
    margin-top: 0;
}

.btn-cancel {
    flex: 1;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Админ-панель */
.admin-panel {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-bottom: 50px;
}

.admin-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-logout {
    padding: 12px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.admin-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-refresh {
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: rotate(180deg);
}

/* Статистические карточки */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.stat-icon {
    font-size: 48px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

/* Диаграммы */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.chart-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Статистика по товарам */
.products-stats {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 40px;
}

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

.products-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.period-tabs {
    display: flex;
    gap: 10px;
}

.period-tab {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-tab:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.period-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.products-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.products-list-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
}

.products-list-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.product-item-info {
    flex: 1;
}

.product-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.product-item-stats {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-item-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    min-width: 50px;
    text-align: right;
}

.product-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-right: 10px;
}

/* Таблица заказов */
.orders-section {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.orders-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.orders-table-container {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: var(--bg-glass);
    border-bottom: 2px solid var(--border-glass);
}

.orders-table th {
    padding: 15px;
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table td {
    padding: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.orders-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.no-orders {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px !important;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-modal {
        padding: 40px 30px;
    }

    .admin-nav {
        padding: 15px 20px;
    }

    .admin-logo h1 {
        font-size: 22px;
    }

    .admin-container {
        padding: 20px 15px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .chart-container {
        height: 250px;
    }

    .orders-table-container {
        overflow-x: scroll;
    }

    .orders-table {
        min-width: 600px;
    }
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #ff6b6b;
    --accent-hover: #ff5252;
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновый градиент */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 107, 255, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    z-index: -1;
    pointer-events: none;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.cart-icon-wrapper {
    position: relative;
}

.cart-icon {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: scale(1.05);
}

.cart-icon-text {
    font-size: 20px;
}

.cart-count {
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
}

.cart-count:empty {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Блок акций */
.promotions-section {
    position: relative;
    margin-top: 100px;
    padding: 20px 10px;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.promotions-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.promotions-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    min-height: 140px;
    display: flex;
    align-items: center;
}

.promotions-carousel-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.promotion-slide {
    min-width: 100%;
    width: 100%;
    padding: 35px 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promotion-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.promotion-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.promotion-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: block;
    transition: transform 0.3s ease;
}

.promotion-image:not([src]),
.promotion-image[src=""] {
    display: none;
}

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

.promotion-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Новая кнопка покупки акции - яркая и привлекательная */
/* НОВАЯ КНОПКА АКЦИИ - ЯРКАЯ И РАБОТАЮЩАЯ */
.promotion-buy-btn-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #ffffff;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-width: 140px;
}

.promotion-buy-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.promotion-buy-btn-new:hover::before {
    left: 100%;
}

.promotion-buy-btn-new:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.7);
    background: linear-gradient(135deg, #ff3838, #ff4757);
}

.promotion-buy-btn-new:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.6);
}

.promotion-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-glass);
}

.promotion-arrow:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.promotion-arrow-prev {
    left: 15px;
}

.promotion-arrow-next {
    right: 15px;
}

.promotion-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.promotion-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Главная секция */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 140px 20px 50px;
    text-align: center;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent), #ff8e8e, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
    z-index: 1;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.85;
    z-index: 1;
    position: relative;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0;
        top: 20px;
    }
}

/* Секции */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Меню */
.menu-section {
    background: var(--bg-secondary);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.menu-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 15, 0.3) 100%);
    pointer-events: none;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.menu-item-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.btn-add {
    padding: 10px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}

/* О нас */
.about-section {
    background: var(--bg-primary);
}

.about-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-glass);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.feature {
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Контакты */
.contacts-section {
    background: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.contact-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Футер */
.footer {
    background: var(--bg-primary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Overlay для мобильного меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        top: 10px;
        width: calc(100% - 20px);
    }

    .nav-container {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 20px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        order: 3;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
        order: 2 !important;
    }

    .cart-icon {
        padding: 8px 12px;
    }

    .cart-icon-text {
        font-size: 18px;
    }

    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 40px) !important;
        max-width: 500px !important;
        flex-direction: column !important;
        background: rgba(10, 10, 15, 0.95) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid var(--border-glass) !important;
        border-radius: 20px !important;
        padding: 25px 20px !important;
        gap: 12px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .nav-link {
        font-size: 18px !important;
        padding: 15px 0 !important;
        color: var(--text-primary) !important;
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }

    .nav-link:hover {
        color: var(--accent) !important;
    }

    .hero {
        min-height: auto;
        padding: 100px 15px 40px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 35px 25px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
        display: inline-block;
        margin-top: 10px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-image {
        height: 180px;
    }

    .about-content {
        padding: 40px 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 15px;
    }

    .promotions-section {
        margin-top: 80px;
        padding: 15px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 8px;
    }

    .promotion-slide {
        padding: 30px 35px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 200px;
        margin-bottom: 12px;
    }

    .promotion-title {
        font-size: 22px;
    }

    .promotion-description {
        font-size: 14px;
    }

    .promotion-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .promotion-arrow-prev {
        left: 10px;
    }

    .promotion-arrow-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 90px 10px 30px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .hero-content {
        padding: 30px 20px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
        display: inline-block;
        margin-top: 8px;
    }

    .promotions-section {
        margin-top: 70px;
        padding: 10px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 5px;
    }

    .promotion-slide {
        padding: 25px 20px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 150px;
        margin-bottom: 10px;
    }

    .promotion-title {
        font-size: 18px;
    }

    .promotion-description {
        font-size: 13px;
    }

    .promotion-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .promotion-arrow-prev {
        left: 5px;
    }

    .promotion-arrow-next {
        right: 5px;
    }

    .section-title {
        font-size: 28px;
    }

    .navbar {
        padding: 10px 15px !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .nav-container {
        gap: 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo {
        font-size: 18px !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
        flex-shrink: 0 !important;
        min-width: fit-content !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: block !important;
        line-height: 1.2 !important;
    }

    .nav-container {
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .cart-icon {
        padding: 6px 10px;
    }

    .cart-icon-text {
        font-size: 16px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -6px;
        right: -6px;
    }

    .hamburger span {
        width: 22px;
    }

    .menu-item-image {
        height: 150px;
    }

    .menu-item-content {
        padding: 20px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Корзина */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    overflow: hidden;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.cart-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    gap: 20px;
}

.cart-empty span {
    font-size: 64px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 18px;
}

.cart-item {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

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

.cart-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 16px;
    color: var(--accent);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-quantity:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.cart-item-quantity button {
    background: var(--bg-glass-hover);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.cart-item-quantity button.cart-decrease {
    border-radius: 12px 0 0 12px;
    border-right: 1px solid var(--border-glass);
}

.cart-item-quantity button.cart-increase {
    border-radius: 0 12px 12px 0;
    border-left: 1px solid var(--border-glass);
}

.cart-item-quantity button:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.cart-item-quantity button:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-quantity-input {
    width: 60px;
    min-width: 50px;
    max-width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 5px;
    -moz-appearance: textfield;
    appearance: textfield;
    border-left: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    transition: all 0.2s ease;
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-quantity-input:focus {
    background: var(--bg-glass-hover);
    color: var(--accent);
}

.cart-quantity-input:hover {
    background: var(--bg-glass-hover);
}

.cart-item-remove {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--accent);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.cart-item-remove:active {
    transform: scale(0.95) rotate(90deg);
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-glass);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.cart-total-price {
    color: var(--accent);
    font-size: 28px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-checkout:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

}

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

    .cart-header h2 {
        font-size: 24px;
    }

    .cart-items {
        padding: 15px;
    }

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

    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }

    .cart-footer {
        padding: 20px;
    }
}

/* Модальное окно оформления заказа */
.order-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.order-modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.order-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.order-form {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.order-form::-webkit-scrollbar {
    width: 6px;
}

.order-form::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Способ оплаты */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.payment-option:hover .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.payment-icon {
    font-size: 24px;
}

.payment-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.order-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.order-summary h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

#orderItemsList {
    margin-bottom: 15px;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 14px;
}

.order-item-summary:last-child {
    border-bottom: none;
}

.order-item-summary strong {
    color: var(--text-primary);
}

.order-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--border-glass);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-total-amount {
    color: var(--accent);
    font-size: 24px;
}

.btn-submit-order {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-order:hover:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-submit-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность формы заказа */
@media (max-width: 768px) {
    .order-modal {
        width: 95%;
        max-height: 95vh;
    }

    .order-modal-header {
        padding: 20px;
    }

    .order-modal-header h2 {
        font-size: 24px;
    }

    .order-form {
        padding: 20px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .order-modal-header {
        padding: 15px;
    }

    .order-form {
        padding: 15px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Админ-панель стили */

/* Форма авторизации */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-modal {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    width: 90%;
    max-width: 450px;
    animation: fadeInUp 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.login-error {
    color: var(--accent);
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    display: none;
}

.login-error.show {
    display: block;
}

.btn-login {
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Форма подтверждения кода */
.code-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
}

.code-info p {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.code-info p:first-child {
    font-weight: 600;
    font-size: 18px;
}

.code-hint {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
}

.code-timer {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.code-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.code-buttons .btn-login {
    flex: 1;
    margin-top: 0;
}

.btn-cancel {
    flex: 1;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Админ-панель */
.admin-panel {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-bottom: 50px;
}

.admin-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-logout {
    padding: 12px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.admin-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-refresh {
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: rotate(180deg);
}

/* Статистические карточки */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.stat-icon {
    font-size: 48px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

/* Диаграммы */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.chart-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Статистика по товарам */
.products-stats {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 40px;
}

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

.products-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.period-tabs {
    display: flex;
    gap: 10px;
}

.period-tab {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-tab:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.period-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.products-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.products-list-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
}

.products-list-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.product-item-info {
    flex: 1;
}

.product-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.product-item-stats {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-item-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    min-width: 50px;
    text-align: right;
}

.product-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-right: 10px;
}

/* Таблица заказов */
.orders-section {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.orders-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.orders-table-container {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: var(--bg-glass);
    border-bottom: 2px solid var(--border-glass);
}

.orders-table th {
    padding: 15px;
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table td {
    padding: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.orders-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.no-orders {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px !important;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-modal {
        padding: 40px 30px;
    }

    .admin-nav {
        padding: 15px 20px;
    }

    .admin-logo h1 {
        font-size: 22px;
    }

    .admin-container {
        padding: 20px 15px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .chart-container {
        height: 250px;
    }

    .orders-table-container {
        overflow-x: scroll;
    }

    .orders-table {
        min-width: 600px;
    }
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #ff6b6b;
    --accent-hover: #ff5252;
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновый градиент */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 107, 255, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    z-index: -1;
    pointer-events: none;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.cart-icon-wrapper {
    position: relative;
}

.cart-icon {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: scale(1.05);
}

.cart-icon-text {
    font-size: 20px;
}

.cart-count {
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
}

.cart-count:empty {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Блок акций */
.promotions-section {
    position: relative;
    margin-top: 100px;
    padding: 20px 10px;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.promotions-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.promotions-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    min-height: 140px;
    display: flex;
    align-items: center;
}

.promotions-carousel-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.promotion-slide {
    min-width: 100%;
    width: 100%;
    padding: 35px 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promotion-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.promotion-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.promotion-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: block;
    transition: transform 0.3s ease;
}

.promotion-image:not([src]),
.promotion-image[src=""] {
    display: none;
}

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

.promotion-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Новая кнопка покупки акции - яркая и привлекательная */
/* НОВАЯ КНОПКА АКЦИИ - ЯРКАЯ И РАБОТАЮЩАЯ */
.promotion-buy-btn-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #ffffff;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-width: 140px;
}

.promotion-buy-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.promotion-buy-btn-new:hover::before {
    left: 100%;
}

.promotion-buy-btn-new:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.7);
    background: linear-gradient(135deg, #ff3838, #ff4757);
}

.promotion-buy-btn-new:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.6);
}

.promotion-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-glass);
}

.promotion-arrow:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.promotion-arrow-prev {
    left: 15px;
}

.promotion-arrow-next {
    right: 15px;
}

.promotion-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.promotion-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Главная секция */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 140px 20px 50px;
    text-align: center;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent), #ff8e8e, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
    z-index: 1;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.85;
    z-index: 1;
    position: relative;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0;
        top: 20px;
    }
}

/* Секции */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Меню */
.menu-section {
    background: var(--bg-secondary);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.menu-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 15, 0.3) 100%);
    pointer-events: none;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.menu-item-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.btn-add {
    padding: 10px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}

/* О нас */
.about-section {
    background: var(--bg-primary);
}

.about-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-glass);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.feature {
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Контакты */
.contacts-section {
    background: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.contact-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Футер */
.footer {
    background: var(--bg-primary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Overlay для мобильного меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        top: 10px;
        width: calc(100% - 20px);
    }

    .nav-container {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 20px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        order: 3;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
        order: 2 !important;
    }

    .cart-icon {
        padding: 8px 12px;
    }

    .cart-icon-text {
        font-size: 18px;
    }

    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 40px) !important;
        max-width: 500px !important;
        flex-direction: column !important;
        background: rgba(10, 10, 15, 0.95) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid var(--border-glass) !important;
        border-radius: 20px !important;
        padding: 25px 20px !important;
        gap: 12px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .nav-link {
        font-size: 18px !important;
        padding: 15px 0 !important;
        color: var(--text-primary) !important;
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }

    .nav-link:hover {
        color: var(--accent) !important;
    }

    .hero {
        min-height: auto;
        padding: 100px 15px 40px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 35px 25px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
        display: inline-block;
        margin-top: 10px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-image {
        height: 180px;
    }

    .about-content {
        padding: 40px 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 15px;
    }

    .promotions-section {
        margin-top: 80px;
        padding: 15px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 8px;
    }

    .promotion-slide {
        padding: 30px 35px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 200px;
        margin-bottom: 12px;
    }

    .promotion-title {
        font-size: 22px;
    }

    .promotion-description {
        font-size: 14px;
    }

    .promotion-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .promotion-arrow-prev {
        left: 10px;
    }

    .promotion-arrow-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 90px 10px 30px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .hero-content {
        padding: 30px 20px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
        display: inline-block;
        margin-top: 8px;
    }

    .promotions-section {
        margin-top: 70px;
        padding: 10px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 5px;
    }

    .promotion-slide {
        padding: 25px 20px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 150px;
        margin-bottom: 10px;
    }

    .promotion-title {
        font-size: 18px;
    }

    .promotion-description {
        font-size: 13px;
    }

    .promotion-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .promotion-arrow-prev {
        left: 5px;
    }

    .promotion-arrow-next {
        right: 5px;
    }

    .section-title {
        font-size: 28px;
    }

    .navbar {
        padding: 10px 15px !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .nav-container {
        gap: 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo {
        font-size: 18px !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
        flex-shrink: 0 !important;
        min-width: fit-content !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: block !important;
        line-height: 1.2 !important;
    }

    .nav-container {
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .cart-icon {
        padding: 6px 10px;
    }

    .cart-icon-text {
        font-size: 16px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -6px;
        right: -6px;
    }

    .hamburger span {
        width: 22px;
    }

    .menu-item-image {
        height: 150px;
    }

    .menu-item-content {
        padding: 20px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Корзина */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    overflow: hidden;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.cart-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    gap: 20px;
}

.cart-empty span {
    font-size: 64px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 18px;
}

.cart-item {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

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

.cart-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 16px;
    color: var(--accent);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-quantity:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.cart-item-quantity button {
    background: var(--bg-glass-hover);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.cart-item-quantity button.cart-decrease {
    border-radius: 12px 0 0 12px;
    border-right: 1px solid var(--border-glass);
}

.cart-item-quantity button.cart-increase {
    border-radius: 0 12px 12px 0;
    border-left: 1px solid var(--border-glass);
}

.cart-item-quantity button:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.cart-item-quantity button:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-quantity-input {
    width: 60px;
    min-width: 50px;
    max-width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 5px;
    -moz-appearance: textfield;
    appearance: textfield;
    border-left: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    transition: all 0.2s ease;
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-quantity-input:focus {
    background: var(--bg-glass-hover);
    color: var(--accent);
}

.cart-quantity-input:hover {
    background: var(--bg-glass-hover);
}

.cart-item-remove {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--accent);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.cart-item-remove:active {
    transform: scale(0.95) rotate(90deg);
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-glass);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.cart-total-price {
    color: var(--accent);
    font-size: 28px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-checkout:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

}

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

    .cart-header h2 {
        font-size: 24px;
    }

    .cart-items {
        padding: 15px;
    }

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

    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }

    .cart-footer {
        padding: 20px;
    }
}

/* Модальное окно оформления заказа */
.order-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.order-modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.order-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.order-form {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.order-form::-webkit-scrollbar {
    width: 6px;
}

.order-form::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Способ оплаты */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.payment-option:hover .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.payment-icon {
    font-size: 24px;
}

.payment-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.order-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.order-summary h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

#orderItemsList {
    margin-bottom: 15px;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 14px;
}

.order-item-summary:last-child {
    border-bottom: none;
}

.order-item-summary strong {
    color: var(--text-primary);
}

.order-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--border-glass);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-total-amount {
    color: var(--accent);
    font-size: 24px;
}

.btn-submit-order {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-order:hover:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-submit-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность формы заказа */
@media (max-width: 768px) {
    .order-modal {
        width: 95%;
        max-height: 95vh;
    }

    .order-modal-header {
        padding: 20px;
    }

    .order-modal-header h2 {
        font-size: 24px;
    }

    .order-form {
        padding: 20px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .order-modal-header {
        padding: 15px;
    }

    .order-form {
        padding: 15px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Админ-панель стили */

/* Форма авторизации */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-modal {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    width: 90%;
    max-width: 450px;
    animation: fadeInUp 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.login-error {
    color: var(--accent);
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    display: none;
}

.login-error.show {
    display: block;
}

.btn-login {
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Форма подтверждения кода */
.code-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
}

.code-info p {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.code-info p:first-child {
    font-weight: 600;
    font-size: 18px;
}

.code-hint {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
}

.code-timer {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.code-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.code-buttons .btn-login {
    flex: 1;
    margin-top: 0;
}

.btn-cancel {
    flex: 1;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Админ-панель */
.admin-panel {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-bottom: 50px;
}

.admin-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-logout {
    padding: 12px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.admin-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-refresh {
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: rotate(180deg);
}

/* Статистические карточки */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.stat-icon {
    font-size: 48px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

/* Диаграммы */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.chart-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Статистика по товарам */
.products-stats {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 40px;
}

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

.products-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.period-tabs {
    display: flex;
    gap: 10px;
}

.period-tab {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-tab:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.period-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.products-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.products-list-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
}

.products-list-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.product-item-info {
    flex: 1;
}

.product-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.product-item-stats {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-item-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    min-width: 50px;
    text-align: right;
}

.product-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-right: 10px;
}

/* Таблица заказов */
.orders-section {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.orders-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.orders-table-container {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: var(--bg-glass);
    border-bottom: 2px solid var(--border-glass);
}

.orders-table th {
    padding: 15px;
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table td {
    padding: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.orders-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.no-orders {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px !important;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-modal {
        padding: 40px 30px;
    }

    .admin-nav {
        padding: 15px 20px;
    }

    .admin-logo h1 {
        font-size: 22px;
    }

    .admin-container {
        padding: 20px 15px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .chart-container {
        height: 250px;
    }

    .orders-table-container {
        overflow-x: scroll;
    }

    .orders-table {
        min-width: 600px;
    }
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #ff6b6b;
    --accent-hover: #ff5252;
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Фоновый градиент */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 107, 255, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    z-index: -1;
    pointer-events: none;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.cart-icon-wrapper {
    position: relative;
}

.cart-icon {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: scale(1.05);
}

.cart-icon-text {
    font-size: 20px;
}

.cart-count {
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
}

.cart-count:empty {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Блок акций */
.promotions-section {
    position: relative;
    margin-top: 100px;
    padding: 20px 10px;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.promotions-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.promotions-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    min-height: 140px;
    display: flex;
    align-items: center;
}

.promotions-carousel-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.promotion-slide {
    min-width: 100%;
    width: 100%;
    padding: 35px 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promotion-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.promotion-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.promotion-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: block;
    transition: transform 0.3s ease;
}

.promotion-image:not([src]),
.promotion-image[src=""] {
    display: none;
}

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

.promotion-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Новая кнопка покупки акции - яркая и привлекательная */
/* НОВАЯ КНОПКА АКЦИИ - ЯРКАЯ И РАБОТАЮЩАЯ */
.promotion-buy-btn-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #ffffff;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-width: 140px;
}

.promotion-buy-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.promotion-buy-btn-new:hover::before {
    left: 100%;
}

.promotion-buy-btn-new:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.7);
    background: linear-gradient(135deg, #ff3838, #ff4757);
}

.promotion-buy-btn-new:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.6);
}

.promotion-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-glass);
}

.promotion-arrow:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.promotion-arrow-prev {
    left: 15px;
}

.promotion-arrow-next {
    right: 15px;
}

.promotion-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.promotion-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Главная секция */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 140px 20px 50px;
    text-align: center;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent), #ff8e8e, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
    z-index: 1;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.85;
    z-index: 1;
    position: relative;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.btn-primary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0;
        top: 20px;
    }
}

/* Секции */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Меню */
.menu-section {
    background: var(--bg-secondary);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.menu-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 15, 0.3) 100%);
    pointer-events: none;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.menu-item-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.btn-add {
    padding: 10px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}

/* О нас */
.about-section {
    background: var(--bg-primary);
}

.about-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-glass);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.feature {
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Контакты */
.contacts-section {
    background: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.contact-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Футер */
.footer {
    background: var(--bg-primary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Overlay для мобильного меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        top: 10px;
        width: calc(100% - 20px);
    }

    .nav-container {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 20px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        order: 3;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
        order: 2 !important;
    }

    .cart-icon {
        padding: 8px 12px;
    }

    .cart-icon-text {
        font-size: 18px;
    }

    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 40px) !important;
        max-width: 500px !important;
        flex-direction: column !important;
        background: rgba(10, 10, 15, 0.95) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid var(--border-glass) !important;
        border-radius: 20px !important;
        padding: 25px 20px !important;
        gap: 12px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .nav-link {
        font-size: 18px !important;
        padding: 15px 0 !important;
        color: var(--text-primary) !important;
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }

    .nav-link:hover {
        color: var(--accent) !important;
    }

    .hero {
        min-height: auto;
        padding: 100px 15px 40px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 35px 25px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
        display: inline-block;
        margin-top: 10px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-image {
        height: 180px;
    }

    .about-content {
        padding: 40px 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .cart-icon-wrapper {
        margin-left: auto;
        margin-right: 15px;
    }

    .promotions-section {
        margin-top: 80px;
        padding: 15px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 8px;
    }

    .promotion-slide {
        padding: 30px 35px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 200px;
        margin-bottom: 12px;
    }

    .promotion-title {
        font-size: 22px;
    }

    .promotion-description {
        font-size: 14px;
    }

    .promotion-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .promotion-arrow-prev {
        left: 10px;
    }

    .promotion-arrow-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 90px 10px 30px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .hero-content {
        padding: 30px 20px;
        max-width: 100%;
        width: 100%;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
        display: inline-block;
        margin-top: 8px;
    }

    .promotions-section {
        margin-top: 70px;
        padding: 10px 2px;
    }

    .promotions-container {
        max-width: 100%;
        padding: 0 5px;
    }

    .promotion-slide {
        padding: 25px 20px;
    }

    .promotion-image {
        max-width: 100%;
        max-height: 150px;
        margin-bottom: 10px;
    }

    .promotion-title {
        font-size: 18px;
    }

    .promotion-description {
        font-size: 13px;
    }

    .promotion-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .promotion-arrow-prev {
        left: 5px;
    }

    .promotion-arrow-next {
        right: 5px;
    }

    .section-title {
        font-size: 28px;
    }

    .navbar {
        padding: 10px 15px !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
    }

    .nav-container {
        gap: 8px !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo {
        font-size: 18px !important;
        white-space: nowrap !important;
        letter-spacing: 0.5px !important;
        flex-shrink: 0 !important;
        min-width: fit-content !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        display: block !important;
        line-height: 1.2 !important;
    }

    .nav-container {
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .cart-icon {
        padding: 6px 10px;
    }

    .cart-icon-text {
        font-size: 16px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -6px;
        right: -6px;
    }

    .hamburger span {
        width: 22px;
    }

    .menu-item-image {
        height: 150px;
    }

    .menu-item-content {
        padding: 20px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Корзина */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    overflow: hidden;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.cart-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    gap: 20px;
}

.cart-empty span {
    font-size: 64px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 18px;
}

.cart-item {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

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

.cart-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 16px;
    color: var(--accent);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-quantity:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.cart-item-quantity button {
    background: var(--bg-glass-hover);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.cart-item-quantity button.cart-decrease {
    border-radius: 12px 0 0 12px;
    border-right: 1px solid var(--border-glass);
}

.cart-item-quantity button.cart-increase {
    border-radius: 0 12px 12px 0;
    border-left: 1px solid var(--border-glass);
}

.cart-item-quantity button:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.05);
}

.cart-item-quantity button:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-quantity-input {
    width: 60px;
    min-width: 50px;
    max-width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 5px;
    -moz-appearance: textfield;
    appearance: textfield;
    border-left: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    transition: all 0.2s ease;
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-quantity-input:focus {
    background: var(--bg-glass-hover);
    color: var(--accent);
}

.cart-quantity-input:hover {
    background: var(--bg-glass-hover);
}

.cart-item-remove {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--accent);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.cart-item-remove:active {
    transform: scale(0.95) rotate(90deg);
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-glass);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.cart-total-price {
    color: var(--accent);
    font-size: 28px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-checkout:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

}

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

    .cart-header h2 {
        font-size: 24px;
    }

    .cart-items {
        padding: 15px;
    }

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

    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }

    .cart-footer {
        padding: 20px;
    }
}

/* Модальное окно оформления заказа */
.order-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.order-modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    line-height: 1;
}

.order-close:hover {
    background: var(--bg-glass-hover);
    transform: rotate(90deg);
}

.order-form {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.order-form::-webkit-scrollbar {
    width: 6px;
}

.order-form::-webkit-scrollbar-track {
    background: var(--bg-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}

.order-form::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Способ оплаты */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.payment-option:hover .payment-option-content {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.payment-icon {
    font-size: 24px;
}

.payment-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.order-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.order-summary h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

#orderItemsList {
    margin-bottom: 15px;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 14px;
}

.order-item-summary:last-child {
    border-bottom: none;
}

.order-item-summary strong {
    color: var(--text-primary);
}

.order-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--border-glass);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-total-amount {
    color: var(--accent);
    font-size: 24px;
}

.btn-submit-order {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-order:hover:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-submit-order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность формы заказа */
@media (max-width: 768px) {
    .order-modal {
        width: 95%;
        max-height: 95vh;
    }

    .order-modal-header {
        padding: 20px;
    }

    .order-modal-header h2 {
        font-size: 24px;
    }

    .order-form {
        padding: 20px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .order-modal-header {
        padding: 15px;
    }

    .order-form {
        padding: 15px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Админ-панель стили */

/* Форма авторизации */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-modal {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-glass);
    width: 90%;
    max-width: 450px;
    animation: fadeInUp 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.login-error {
    color: var(--accent);
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    display: none;
}

.login-error.show {
    display: block;
}

.btn-login {
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Форма подтверждения кода */
.code-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
}

.code-info p {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.code-info p:first-child {
    font-weight: 600;
    font-size: 18px;
}

.code-hint {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
}

.code-timer {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.code-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.code-buttons .btn-login {
    flex: 1;
    margin-top: 0;
}

.btn-cancel {
    flex: 1;
    padding: 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Админ-панель */
.admin-panel {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-bottom: 50px;
}

.admin-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-logout {
    padding: 12px 25px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.admin-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-refresh {
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-refresh:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: rotate(180deg);
}

/* Статистические карточки */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}

.stat-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 107, 0.15);
}

.stat-icon {
    font-size: 48px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

/* Диаграммы */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.chart-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Статистика по товарам */
.products-stats {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 40px;
}

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

.products-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.period-tabs {
    display: flex;
    gap: 10px;
}

.period-tab {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-tab:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.period-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.products-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.products-list-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 20px;
}

.products-list-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
}

.product-item-info {
    flex: 1;
}

.product-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.product-item-stats {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-item-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    min-width: 50px;
    text-align: right;
}

.product-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-right: 10px;
}

/* Таблица заказов */
.orders-section {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-glass);
}

.orders-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.orders-table-container {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: var(--bg-glass);
    border-bottom: 2px solid var(--border-glass);
}

.orders-table th {
    padding: 15px;
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table td {
    padding: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.orders-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.no-orders {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px !important;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-modal {
        padding: 40px 30px;
    }

    .admin-nav {
        padding: 15px 20px;
    }

    .admin-logo h1 {
        font-size: 22px;
    }

    .admin-container {
        padding: 20px 15px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .chart-container {
        height: 250px;
    }

    .orders-table-container {
        overflow-x: scroll;
    }

    .orders-table {
        min-width: 600px;
    }
}

