@font-face {
  font-family: "IranYekan";
  src: url("../fonts/IRANYekan.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranYekan";
  src: url("../fonts/IRANYekan-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IranYekan";
  src: url("../fonts/IRANYekan-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
|--------------------------------------------------------------------------
| Restaurant Branch Menu
|--------------------------------------------------------------------------
*/

* {
  font-family: "IranYekan";
}

.rbm-menu {
  width: 100%;
  max-width: 1300px;
  margin: 60px auto;
  padding: 0 20px;
}

.rbm-category {
  margin-bottom: 80px;
}

.rbm-category.active {
  display: block;
}

.rbm-category-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.rbm-category-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 100px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(to right, #ff66b2, #00cce7, #712381);
}

.rbm-subcategory {
  margin-top: 45px;
}

.rbm-subcategory-title {
  font-size: 24px;
  margin-bottom: 25px;
  color: #444;
}

/* Grid غذاها */
.rbm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* کارت غذا */
.rbm-card {
  background: #fff;
  /* border-radius: 18px; */
  border: 5px solid #000;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.rbm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* تصویر */
.rbm-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.rbm-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

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

/* محتوا */
.rbm-card-content {
  padding: 22px;
}
/* هدر کارت */
.rbm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
/* عنوان غذا */
.rbm-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
/* قیمت */
.rbm-card-price {
  color: #000;
  font-weight: bold;
  white-space: nowrap;
}
/* نام انگلیسی */
.rbm-card-name-en {
  margin-top: 8px;
  color: #999;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}
/* مواد تشکیل‌دهنده */
.rbm-card-ingredients {
  margin-top: 18px;
  line-height: 1.9;
  color: #666;
}
/* موبایل */
@media (max-width: 768px) {
  .rbm-category-title {
    font-size: 28px;
  }

  .rbm-card-title {
    font-size: 18px;
  }

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

.rbm-filter {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.rbm-filter-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  min-width: 140px;
  padding: 10px 28px;

  font-size: 18px;
  font-weight: 800;

  background: #1f5b6a;
  color: #fff;

  border: 3px solid #123844;
  cursor: pointer;

  transition: 0.25s;
  border-radius: 0px;
}

/* لایه پشت */
.rbm-filter-btn::after {
  content: "";
  position: absolute;
  inset: 0;

  transform: translate(-18px, -18px);

  border: 3px solid #123844;
  background: #fff;

  z-index: -1;
  transition: 0.25s;
}

/* حالت انتخاب شده */
.rbm-filter-btn.active {
  background: #fff;
  color: #123844;
  border: 3px solid #123844;
}

.rbm-filter-btn.active::after {
  background: #123844;
}

.rbm-filter-btn:hover::after {
  z-index: -999;
  background: #123844;
}

/* Hover */
.rbm-filter-btn:hover {
  /* transform: translateY(-2px); */
  background-color: #fff;
  border: 3px solid #123844;
  color: #000;
}

.rbm-subfilter {
  display: flex;
  gap: 12px;
  margin: 20px 0 40px;
  flex-wrap: wrap;
}

.rbm-sub-btn {
  font-size: 18px;
  font-weight: 800;
  padding: 8px 18px;
  background: #1f5b6a;
  color: #fff;
  border: 3px solid #000;
  transition: 0.25s;
  border-radius: 0px;
  cursor: pointer;
  transition: 0.3s;
}

.rbm-sub-btn:hover {
  background: #fff;
  color: #123844;
  border-color: #123844;
}

.rbm-sub-btn.active {
  background: #fff;
  color: #123844;
  border-color: #123844;
}
