/* Основные переменные */
:root {
    --emerald-primary: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --light-bg: #fefefe;
    --light-gray: #f8fafc;
    --light-border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Верхнее меню */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-600);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--emerald-500);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--emerald-600);
    background-color: var(--emerald-50);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Главный контент */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding-bottom: 160px;
}
@media (max-width: 480px) {
    .main-content { padding-bottom: 200px; }
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, var(--emerald-50) 0%, var(--light-bg) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%2310b981" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(1.2rem, 5vw, 2.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: -0.01em;
    max-width: 100%;
}
@media (max-width: 768px) {
    .hero-title { 
        font-size: clamp(1.05rem, 6vw, 2rem);
        white-space: nowrap;
    }
}
@media (max-width: 480px) {
    .hero-title { 
        font-size: clamp(0.95rem, 7vw, 1.6rem);
        white-space: nowrap;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-700) 100%);
}

/* Секции */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    border-radius: 2px;
}

/* Категории */
.categories {
    padding: 4rem 0 2rem;
    background-color: var(--light-gray);
    position: relative;
    z-index: 100;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.category-filters.sticky {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-border);
    padding: 1rem 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.filter-btn {
    background: white;
    border: 2px solid var(--light-border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s;
}

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

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--emerald-500);
    color: var(--emerald-600);
    background-color: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Продукты */
.products {
    padding: 2rem 0 4rem;
}

.category-section {
    margin-bottom: 4rem;
    scroll-margin-top: 250px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-600);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    border-radius: 2px;
}

.category-title i {
    font-size: 1.5rem;
    color: var(--emerald-500);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-200);
}

.product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: transparent;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--border-radius);
    max-width: 100%;
    max-height: 100%;
}

.product-image i {
    font-size: 3rem;
    color: var(--emerald-600);
}

.product-card:hover .product-image {
    background: transparent;
    transform: none;
}

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

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    flex-grow: 1;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--emerald-600);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin-top: auto;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #334155 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--emerald-300);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.footer-section i {
    color: var(--emerald-400);
    width: 16px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--emerald-500);
    border-radius: 50%;
    color: var(--emerald-400);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--emerald-500);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-image {
        aspect-ratio: 3 / 4;
        margin-bottom: 0.75rem;
    }
    
    .product-image i {
        font-size: 2rem;
    }
    
    .product-name {
        font-size: 0.95rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .category-section {
        scroll-margin-top: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

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

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

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

/* Стили для страниц правил и админки */
.page-content {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.content-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-border);
    margin-bottom: 2rem;
}

.content-card h2 {
    color: var(--emerald-600);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

.content-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

.content-card p,
.content-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.content-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Формы */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--emerald-500);
    color: white;
}

.btn-primary:hover {
    background: var(--emerald-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--emerald-600);
    border: 2px solid var(--emerald-500);
}

.btn-secondary:hover {
    background: var(--emerald-50);
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Drag and Drop для изображений */
.drag-drop-area {
    border: 2px dashed var(--emerald-300);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    background: var(--emerald-50);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 1rem;
}

.drag-drop-area:hover,
.drag-drop-area.dragover {
    border-color: var(--emerald-500);
    background: var(--emerald-100);
}

.drag-drop-area i {
    font-size: 2rem;
    color: var(--emerald-500);
    margin-bottom: 1rem;
}

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

.image-preview {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.remove-image-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.remove-image-btn i {
    color: #ffffff !important;
    font-size: 14px;
    margin: 0 !important;
    line-height: 1;
}

/* Блоки правил */
.rule-block {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-border);
    position: relative;
    transition: var(--transition);
}

.rule-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.rule-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-border);
}

.rule-block-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-600);
    margin: 0;
}

.rule-block-title i {
    font-size: 1.1rem;
    color: var(--emerald-500);
}

.rule-block-actions {
    display: flex;
    gap: 0.5rem;
}

.rule-block-content {
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-line;
}

.rule-block-order {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Утилиты */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.age-verification-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: ageModalSlideIn 0.3s ease-out;
}

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

.age-verification-icon {
    font-size: 48px;
    color: #ff6b35;
    margin-bottom: 20px;
}

.age-verification-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.age-verification-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 18px;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-verification-buttons .btn {
    min-width: 120px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.age-verification-buttons .btn-success {
    background: #28a745;
    color: white;
}

.age-verification-buttons .btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

.age-verification-buttons .btn-danger {
    background: #dc3545;
    color: white;
}

.age-verification-buttons .btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Cookie banner */
.cookie-banner {
    position: fixed !important;
    right: 24px !important;
    left: auto !important;
    bottom: 24px !important;
    z-index: 3000;
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 420px;
    width: auto;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius-lg);
    padding: 12px 14px;
    box-shadow: var(--shadow-lg);
}
.cookie-banner .btn {
    white-space: nowrap;
}
@media (max-width: 480px) {
    .cookie-banner {
        right: 12px !important;
        left: 12px !important;
        bottom: 12px !important;
        max-width: none;
        width: auto;
    }
}

/* Drag and Drop Styles */
.draggable-row .drag-handle {
    cursor: grab;
    color: #666;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    touch-action: none; /* Отключаем стандартные touch жесты */
}

.draggable-row .drag-handle:hover {
    background: #f0f0f0;
    color: #333;
}

.draggable-row.dragging {
    opacity: 0.8;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    z-index: 1000;
}

.draggable-row.drag-over {
    border-top: 3px solid #007bff;
    background: #e3f2fd;
}

.draggable-row.drag-over-bottom {
    border-bottom: 3px solid #007bff;
    background: #e3f2fd;
}

/* Мобильные стили для перетаскивания */
@media (max-width: 768px) {
    .draggable-row .drag-handle {
        padding: 12px;
        font-size: 18px;
    }
    
    .draggable-row.dragging {
        transform: scale(1.02) rotate(1deg);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    
    /* Увеличиваем область касания для мобильных */
    .drag-handle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.mobile-br { display: none; }
@media (max-width: 768px) {
    .mobile-br { display: inline; }
    .hero-title { white-space: normal; }
}

/* Mobile horizontal scroll for category filters */
@media (max-width: 768px) {
    .category-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        padding-bottom: 0.25rem;
        scrollbar-width: none; /* Firefox */
    }
    .category-filters::-webkit-scrollbar { /* WebKit */
        display: none;
    }
    .category-filters .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}
