:root {
    --primary: 345, 83%, 16%;
    --primary-foreground: 0, 0%, 100%;
    --secondary: 41, 100%, 60%;
    --secondary-foreground: 0, 0%, 0%;
    --background: 345, 83%, 16%;
    --foreground: 0, 0%, 100%;
    --card: 345, 83%, 10%;
    --card-foreground: 0, 0%, 100%;
    --popover: 345, 83%, 10%;
    --popover-foreground: 0, 0%, 100%;
    --muted: 345, 83%, 8%;
    --muted-foreground: 0, 0%, 80%;
    --accent: 41, 100%, 60%;
    --accent-foreground: 0, 0%, 0%;
    --destructive: 0, 100%, 50%;
    --destructive-foreground: 0, 0%, 100%;
    --border: 345, 83%, 20%;
    --input: 345, 83%, 20%;
    --ring: 41, 100%, 60%;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.gold-text {
    color: hsl(var(--secondary));
}

.menu-item {
    position: relative;
    border: 1px solid hsla(var(--secondary), 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s;
}

.menu-item:hover {
    border-color: hsla(var(--secondary), 0.7);
    box-shadow: 0 4px 6px -1px hsla(var(--secondary), 0.2);
}

.menu-item.selected {
    border-color: hsla(var(--secondary), 0.7);
    box-shadow: 0 4px 6px -1px hsla(var(--secondary), 0.2);
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--card));
    border-top: 1px solid hsla(var(--border), 0.5);
    z-index: 50;
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
    scrollbar-width: thin;
}

.category-scroll::-webkit-scrollbar {
    height: 4px;
}

.category-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: hsla(var(--secondary), 0.5);
    border-radius: 9999px;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: hsla(var(--secondary), 0.7);
}

.category-button {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.category-button.active {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.category-button:not(.active) {
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
}

.category-button:not(.active):hover {
    background-color: hsla(var(--muted), 0.8);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.section-title span {
    color: hsl(var(--secondary));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, hsla(var(--background), 0.9), hsla(var(--background), 0.6));
}

/* Стили для табов */
.tabs-header {
    display: grid;
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid hsla(var(--border), 0.5);
}

.tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.tab-button.active {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.tab-button:not(.active) {
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
}

.tab-button:not(.active):hover {
    background-color: hsla(var(--card), 0.8);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Стили для кнопки "В корзину" */
.add-to-cart-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background-color: transparent;
    border: 1px solid hsla(var(--secondary), 0.5);
    border-radius: 0.375rem;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.add-to-cart-button:hover {
    background-color: hsla(var(--secondary), 0.1);
    border-color: hsla(var(--secondary), 0.8);
}

/* Стили для контента категорий */
.category-content {
    display: none;
}

.category-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Утилиты для сетки */
.grid {
    display: grid;
}

.md\:grid-cols-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gap-6 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.justify-between {
    justify-content: space-between;
}

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

/* Утилиты для отступов */
.mb-12 {
    margin-bottom: 3rem;
}

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

.mb-6 {
    margin-bottom: 1.5rem;
}

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

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

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

.p-4 {
    padding: 1rem;
}

/* Утилиты для текста */
.text-center {
    text-align: center;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

/* Утилиты для контейнера */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Стили для QR-код попапа */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-50 {
    z-index: 50;
}

.bg-background\/80 {
    background-color: hsla(var(--background), 0.8);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.p-4 {
    padding: 1rem;
}

.bg-card {
    background-color: hsl(var(--card));
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.w-full {
    width: 100%;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-h-\[90vh\] {
    max-height: 90vh;
}

.overflow-auto {
    overflow: auto;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.border-b {
    border-bottom-width: 1px;
}

.h-8 {
    height: 2rem;
}

.w-8 {
    width: 2rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.hover\:bg-muted:hover {
    background-color: hsl(var(--muted));
}

.h-5 {
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.w-24 {
    width: 6rem;
}

.h-24 {
    height: 6rem;
}

.object-cover {
    object-fit: cover;
}

.bg-muted {
    background-color: hsl(var(--muted));
}