/* ===== فونت وزیرمتن ===== */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* ===== ریست پایه ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #FDF5F0;
    color: #8C5B42;
    min-height: 100vh;
    direction: rtl;
    line-height: 1.6;
}

/* ===== متغیرهای رنگی (پالت جدید ربیعی) ===== */
:root {
    --rabiee-bg: #FDF5F0;
    --rabiee-text: #8C5B42;
    --rabiee-primary: #D09F71;
    --rabiee-primary-dark: #C79666;
    --rabiee-header: #2B060D;
    --rabiee-nav: #3E1510;
    --rabiee-accent: #A56B4D;
    --rabiee-border: #683D35;
    --rabiee-spicy: #A93624;
    --rabiee-veggie: #69704B;
}

/* ===== کلاس‌های رنگی - نسخه rabiee ===== */
.bg-rabiee-bg { background-color: #FDF5F0; }
.bg-rabiee-text { background-color: #8C5B42; }
.bg-rabiee-primary { background-color: #D09F71; }
.bg-rabiee-primary-dark { background-color: #C79666; }
.bg-rabiee-header { background-color: #2B060D; }
.bg-rabiee-nav { background-color: #3E1510; }
.bg-rabiee-accent { background-color: #A56B4D; }
.bg-rabiee-border { background-color: #683D35; }
.bg-rabiee-spicy { background-color: #A93624; }
.bg-rabiee-veggie { background-color: #69704B; }

.text-rabiee-bg { color: #FDF5F0; }
.text-rabiee-text { color: #8C5B42; }
.text-rabiee-primary { color: #D09F71; }
.text-rabiee-primary-dark { color: #C79666; }
.text-rabiee-header { color: #2B060D; }
.text-rabiee-nav { color: #3E1510; }
.text-rabiee-accent { color: #A56B4D; }
.text-rabiee-border { color: #683D35; }
.text-white { color: #fff; }

.border-rabiee-border { border-color: #683D35; }
.border-rabiee-primary { border-color: #D09F71; }

/* ===== کلاس‌های رنگی - نسخه takhouneh (با رنگ‌های جدید) ===== */
.bg-takhouneh-bg { background-color: #FDF5F0; }
.bg-takhouneh-text { background-color: #8C5B42; }
.bg-takhouneh-primary { background-color: #D09F71; }
.bg-takhouneh-primary-dark { background-color: #C79666; }
.bg-takhouneh-header { background-color: #2B060D; }
.bg-takhouneh-nav { background-color: #3E1510; }
.bg-takhouneh-accent { background-color: #A56B4D; }
.bg-takhouneh-border { background-color: #683D35; }
.bg-takhouneh-spicy { background-color: #A93624; }
.bg-takhouneh-veggie { background-color: #69704B; }

.text-takhouneh-bg { color: #FDF5F0; }
.text-takhouneh-text { color: #8C5B42; }
.text-takhouneh-primary { color: #D09F71; }
.text-takhouneh-primary-dark { color: #C79666; }
.text-takhouneh-header { color: #2B060D; }
.text-takhouneh-nav { color: #3E1510; }
.text-takhouneh-accent { color: #A56B4D; }
.text-takhouneh-border { color: #683D35; }

.border-takhouneh-border { border-color: #683D35; }
.border-takhouneh-primary { border-color: #D09F71; }

/* ===== لایه‌بندی ===== */
.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pb-2 { padding-bottom: 0.5rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.ml-2 { margin-left: 0.5rem; }

.-mt-4 { margin-top: -1rem; }

/* ===== Flexbox ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* ===== Grid ===== */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Positioning ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.left-1 { left: 0.25rem; }
.z-40 { z-index: 40; }

/* ===== Dimensions ===== */
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-32 { width: 8rem; }
.w-52 { width: 13rem; }
.h-full { height: 100%; }
.h-12 { height: 3rem; }
.h-32 { height: 8rem; }
.h-52 { height: 13rem; }
.min-h-screen { min-height: 100vh; }
.min-w-\[80px\] { min-width: 80px; }

/* ===== Overflow ===== */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ===== Scrollbar hide ===== */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== Border & Radius ===== */
.border { border: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-t { border-top: 1px solid rgba(140, 91, 66, 0.1); }
.border-b-2 { border-bottom: 2px solid; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* ===== Text ===== */
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-bold { font-weight: 700; }

.whitespace-nowrap { white-space: nowrap; }
.line-through { text-decoration: line-through; }
.inline-block { display: inline-block; }

/* ===== Object fit ===== */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* ===== Shadow ===== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

/* ===== Background colors ===== */
.bg-white { background-color: #fff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-red-600 { background-color: #dc2626; }

.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-red-600 { color: #dc2626; }

/* ===== Transitions ===== */
.transition {
    transition: all 0.2s ease;
}

/* ===== Line clamp ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Hover effects ===== */
nav a:hover {
    opacity: 0.9;
}

/* ===== Footer ===== */
footer {
    margin-top: 2.5rem;
    padding: 2rem 1rem;
    background-color: #2B060D;
    color: #D09F71;
}

footer .space-y-4 > * + * {
    margin-top: 1rem;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
/* نوار دسته‌بندی طلایی */
.nav-gold {
    background-color: #D09F71;
}

.nav-gold a {
    color: #2B060D;
}

.nav-gold a:hover {
    opacity: 0.8;
}    
}