/* @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600&display=swap'); */

* {
    font-family: 'Vazirmatn', sans-serif;
}

.gradient-bg {
    background: #f9fafb;
}

.gold-gradient {
    color: #1f2937;
}
.custom-box {
    width: 5rem; /* w-20 */
    height: 5rem; /* h-20 */
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.custom-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

#restaurantInfo {
  color: #4A4A4A; /* رنگ متن اطلاعات رستوران */
}
.menu-card p.text-gray-300 {
  color: #4B5563; /* رنگ توضیحات آیتم ها*/
}

/* رنگ ساعت‌ها و داده‌های داخل جدول اطلاعات رستوران */
#restaurantInfo table td {
    color: #4A4A4A !important;
}
#restaurantInfo table th {
    color: #ffffff !important; /* تیتر جدول سفید بمونه */
}

/* استایل کلی فوتر */
.footer {
    background: linear-gradient(to right, #3b82f6, #60a5fa); /* گرادیانت آبی ملایم */
    color: #ffffff; /* رنگ متن سفید */
    padding: 2rem 1rem;
    text-align: center;
}
/* لینک‌ها داخل فوتر */
.footer a {
    color: #ffffff;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a:hover {
    color: #fde68a; /* رنگ زرد روشن روی هاور */
}
/* لینک تماس */
.contact-link {
    border-bottom: 1px solid #ffffff; /* خط زیر تماس با ما */
    padding-bottom: 2px; /* کمی فاصله از متن */
}


/* Responsive */
@media (min-width: 640px) {
    .custom-box { width: 6rem; height: 6rem; }
}
@media (min-width: 768px) {
    .custom-box { width: 7rem; height: 7rem; }
}

.menu-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.menu-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.category-btn {
    transition: all 0.15s ease;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 6px;
    color: #374151;
    padding: 10px 20px;
    font-weight: 500;
}

.category-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    font-weight: 600;
}

.category-btn:hover:not(.active) {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fafc;
}

.price-tag {
    background: #3b82f6;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 12px;
}

.section-spacing {
    scroll-margin-top: 80px;
}
/* 🎨 نوار پایین */
.theme-yellow {
  background-color: #3b82f6; /* آبی ملایم */
  color: #ffffff;            /* متن سفید */
}

/* 🎨 کادر بزرگ */
.theme-dark {
  background-color: #ffffff; /* سفید */
  border: 1px solid #3b82f6; /* بوردر آبی ملایم */
  color: #1f2937;            /* متن تیره */
}

/* 🎨 عنوان داخل کادر */
.theme-title {
  color: #3b82f6; /* آبی */
}

/* 🎨 دکمه بستن */
.theme-close {
  color: #1f2937; /* متن تیره */
}

/* 🎨 خط جداکننده */
.theme-divider {
  border-top: 1px solid #3b82f6; /* بوردر آبی ملایم */
}

/* 🎨 مجموع قیمت */
.theme-total {
  color: #3b82f6; /* آبی */
}

/* 🎨 دکمه ثبت سفارش (گرادیانت آبی ملایم) */
.theme-gradient-yellow {
  background-image: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #ffffff; 
  border: none;
}
.theme-gradient-yellow:hover {
  background-image: linear-gradient(135deg, #3b82f6, #60a5fa); /* معکوس در hover */
}

/* 🎨 دکمه پاک کردن سبد */
.theme-clear {
  background-color: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
}
.theme-clear:hover {
  background-color: #ef4444;
  color: #ffffff;
}

button {
    transition: box-shadow 0.15s ease;
    border-radius: 6px;
    font-weight: 500;
}

button:hover {
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}
.order-btn {
    background-color: transparent;  /* پس‌زمینه شفاف */
    border: 2px solid #3b82f6;      /* آبی */
    color: #3b82f6;                 /* متن آبی */
    padding: 0.5rem 1rem;           /* px-4 py-2 */
    border-radius: 9999px;          /* rounded-full */
    transition: all 0.2s ease;      /* smooth transition */
    cursor: pointer;
}

.order-btn:hover {
    background-color: #3b82f6;      /* پس‌زمینه آبی */
    color: #ffffff;                  /* متن سفید */
}

.tab-btn {
    padding: 8px 16px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    transition: all 0.15s ease;
}

.tab-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.tab-btn:hover:not(.active) {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

.tab-content {
    transition: opacity 0.2s ease;
}

.hidden {
    display: none;
}
@media (max-width: 768px) {
    .text-center.flex-1 h1 {
        white-space: nowrap;       /* متن همیشه یک خط */
        overflow: hidden;          /* محتوای اضافی را مخفی می‌کند */
        text-overflow: ellipsis;   /* اگر طولانی بود، ... نمایش داده شود */
        display: inline-block;     /* جلوگیری از wrap داخلی */
        flex-shrink: 0;            /* متن کوچک نشود */
    }
}

.tab-btn.active {
    pointer-events: none; /* وقتی active است، کلیک روی خودش غیرفعال می‌شود */
}

.tab-btn {
    pointer-events: auto; /* وقتی active نیست، کلیک فعال است */
}
