/* ================================================
   RESTAURANT MENU — Complete Stylesheet
================================================ */

/* ── Reset & Base ── */
.our-menu-page *,
.our-menu-page *::before,
.our-menu-page *::after {
  box-sizing: border-box;
}

.our-menu-page {
  width: 100%;
  font-family: inherit;
}

.menu-wrapper {
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  gap: 60px;
}

/* ================================================
   SECTION
   ================================================ */
.menu-section {
  width: 100%;
}

/* ── Section Header ── */
.menu-section__header {
  margin-bottom: 24px;
}

.menu-section__header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.menu-section__title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.menu-section__icon {
  width: 50px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.menu-section__title {
  font-size: 3rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
}

.menu-section__line {
  height: 2px;
  background: currentColor;
  opacity: 0.15;
  border-radius: 2px;
}

/* ================================================
   TABS
   ================================================ */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.menu-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 15px 5px;
  border: 1px solid #bf8965;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.menu-tab:hover {
  opacity: 0.85;
}

.menu-tab--active {
  opacity: 1;
  background: #bf8965;
}

.menu-tab--active .menu-tab__count,
.menu-tab--active {
  color: #fff;       
  background: rgb(131 90 62 / 42%);
}

.menu-tab__count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(191, 137, 101, 0.25);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  font-family: 'Jost';
}

/* ================================================
   GRID WRAP & LOADING
   ================================================ */
.menu-grid-wrap {
  position: relative;
}

/* Loading overlay */
.menu-loading {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.menu-loading[aria-hidden="false"] {
  display: flex;
}

.menu-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: menu-spin 0.7s linear infinite;
}

@keyframes menu-spin {
  to { transform: rotate(360deg); }
}

/* ── Opacity transition khi loading ── */
.menu-items-list,
.menu-categories-wrap,
.menu-pagination {
  transition: opacity 0.2s ease;
}

/* ================================================
   TERM DESCRIPTION
   ================================================ */
.menu-term-desc {
  margin-bottom: 16px;
}

.menu-term-desc__text {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.2; 
  margin: 0 !important;
}

/* ================================================
   MENU ITEMS LIST
   ================================================ */
.menu-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 5rem;
}

.menu-empty {
  padding: 32px 0;
  text-align: center;
  opacity: 0.5;
  font-style: italic;
}

/* ── Single menu item ── */
.menu-items-list .menu-item {
  padding: 1rem  0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Title row: tên trái, giá phải */
.menu-item__title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  width: 100%;
}

.menu-item__title-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
	color: #bf8965;
}

.menu-item__code {
  color:#bf8965;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.menu-item__name {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.menu-item__sup {
  font-size: 0.75em;
  vertical-align: super;
  margin-left: 2px;
}

.menu-item__quantity {
  font-size: 0.9em;
  margin-left: 4px;
  opacity: 0.8;
}

.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted #bf8965;
  opacity: 0.35;
  margin: 0 6px;
  min-width: 20px;
  transform: translateY(-4px);
}

.menu-item-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 0;
}

.menu-item-price-badge {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 2px 5px;
  white-space: nowrap;
  color: #bf8965;
  border: 1px dotted #bf8965;
}

.menu-item__desc {
  margin: 4px 0 10px !important;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.5;
  white-space: pre-line;
}

.menu-item__food-types {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item__ft-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1rem;
}

.menu-item__ft-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 1;
  opacity: 0.75;
}

.menu-item__ft-code {
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
  color: #bf8965;
}

.menu-item__ft-price {
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: #bf8965;
}

/* ================================================
   MENU CATEGORY BLOCK (Extra Beilage etc.)
   ================================================ */
.menu-categories-wrap {
  margin-top: 24px;
}

.menu-category-block {
  border: 1px solid #bf8965;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  width: 50%;
  margin: 0 auto;
}

.menu-category-block:last-child {
  margin-bottom: 0;
}

.menu-category-block__title {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 12px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-category-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-category-block__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1rem;
}

.menu-category-block__item-left {
  flex: 1;
  opacity: 0.9;
}

.menu-category-block__item-price {
  flex-shrink: 0;
}

/* ================================================
   PAGINATION
   ================================================ */
.menu-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  justify-content: center;
}

.menu-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 2px 10px 0 13px;
  border: 1px solid #bf8965;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.menu-page-btn:hover {
  opacity: 0.7;
}

.menu-page-btn--active {
  background: rgb(131 90 62 / 42%);
  color: #fff;
  cursor: default;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 750px) {
  .menu-section__title {
    font-size: 2rem;
  }
  
  .menu-wrapper {
    padding: 0 1rem;
  }
  
  .menu-item__name,
  .menu-item__code{
    letter-spacing: 0 !important;
    font-size: 1rem!important;
  }

  .menu-item {
    padding: 0.5rem 0;
  }
  
  .menu-item__desc {
    margin: 4px 0 5px !important;
  }
  
  .menu-items-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem 0;
  }
  
  .menu-item__dots {
    margin: 0 -4px;
  }

  .menu-tab {
    padding: 2px 10px;
    font-size: 0.8rem;
  }
  
  .menu-category-block {
     width: 100%;
  }


}