/* ==========================================================================
   فونت محلی — یک فایل متغیر که همه وزن‌های ۱۰۰ تا ۹۰۰ را پوشش می‌دهد.
   جای سه‌چهار فایل جدا و جای وابستگی به CDN گوگل را می‌گیرد.
   ========================================================================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/vazirmatn-variable.woff2') format('woff2-variations'),
       url('fonts/vazirmatn-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="light"] {
  color-scheme: light;

  --background: #f8f4ed;
  --surface: #ffffff;
  --surface-secondary: #f1e9dc;
  --text-primary: #21170f;
  --text-secondary: #6f6257;
  --border: #ded2c2;
  --accent: #c58a32;
  --accent-hover: #a96f1f;
  --header-background: rgba(25, 17, 11, 0.94);
  --header-text: #ffffff;
  --shadow: 0 12px 30px rgba(52, 35, 21, 0.12);

  --gold: var(--accent);
  --gold-light: #dfc49a;
  --gold-dark: var(--accent-hover);
  --brown-dark: #21170f;
  --brown: #3d2c1e;
  --cream: var(--background);
  --beige: var(--surface-secondary);
  --white: #ffffff;
  --overlay: rgba(10, 7, 4, 0.52);
  --shadow-soft: var(--shadow);
  --shadow-gold: 0 4px 24px rgba(197, 138, 50, 0.28);
  --band-light-bg: var(--surface-secondary);
  --band-light-text: var(--text-primary);
  --band-dark-bg: #2a1c12;
  --band-dark-text: #f7efe5;
  --band-dark-muted: rgba(247, 239, 229, 0.75);
  --form-error: #c45c5c;
  --form-success: #4a8c55;
  --reserve-btn-bg: rgba(10, 7, 4, 0.5);
  --theme-toggle-bg: rgba(10, 7, 4, 0.45);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

[data-theme="dark"] {
  color-scheme: dark;

  --background: #120d09;
  --surface: #1d1510;
  --surface-secondary: #291e16;
  --text-primary: #f7efe5;
  --text-secondary: #c6b8aa;
  --border: #49382b;
  --accent: #d7a34d;
  --accent-hover: #edbb65;
  --header-background: rgba(12, 8, 5, 0.96);
  --header-text: #ffffff;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.36);

  --gold: var(--accent);
  --gold-light: #edbb65;
  --gold-dark: #c58a32;
  --brown-dark: #f7efe5;
  --brown: #f7efe5;
  --cream: var(--text-primary);
  --beige: var(--surface-secondary);
  --white: #ffffff;
  --overlay: rgba(0, 0, 0, 0.62);
  --shadow-soft: var(--shadow);
  --shadow-gold: 0 4px 24px rgba(215, 163, 77, 0.22);
  --band-light-bg: var(--surface);
  --band-light-text: var(--text-primary);
  --band-dark-bg: var(--background);
  --band-dark-text: var(--text-primary);
  --band-dark-muted: var(--text-secondary);
  --form-error: #f0a0a0;
  --form-success: #8ecf9a;
  --reserve-btn-bg: rgba(0, 0, 0, 0.35);
  --theme-toggle-bg: rgba(0, 0, 0, 0.35);
}

/* --- پایه --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

/* فاصله از بالا هنگام رفتن به هر بخش — navbar روی عنوان را نمی‌پوشاند */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: "Vazirmatn", sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  max-width: 100%;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* --- دکمه‌ها --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
  max-width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  border: 1px solid transparent;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 126, 0.5);
  filter: brightness(1.08);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--gold);
}

.btn--secondary:hover {
  background: rgba(200, 169, 126, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--gold);
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
}

.btn--outline:hover {
  background: rgba(200, 169, 126, 0.12);
  border-color: var(--gold-light);
}

/* --- نوار بالا --- */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  transition: var(--transition);
}

.header--scrolled {
  background: var(--header-background);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(0.75rem, 2vw, 2rem);
  min-width: 0;
}

/* لوگو */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 1;
  min-width: 0;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo__image {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo__text {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--header-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--theme-toggle-bg);
  color: var(--header-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

.theme-toggle:hover {
  background: var(--accent);
  color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.lang-toggle {
  min-width: 40px;
  height: 40px;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--theme-toggle-bg);
  color: var(--header-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: var(--accent);
  color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* منو */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  flex-wrap: nowrap;
  justify-content: center;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

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

.btn--reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  background: var(--reserve-btn-bg);
  color: var(--header-text);
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--reserve__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--reserve:hover {
  background: var(--accent);
  color: var(--brown-dark);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--reserve:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.header__reserve {
  display: inline-flex;
}

.nav__reserve {
  display: none;
}

/* دکمه همبرگری (موبایل) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- بخش Hero --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 780px;
  padding: calc(var(--header-height) + 1rem) clamp(1rem, 4vw, 2rem) 2rem;
  animation: fadeUp 1s ease forwards;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.hero__text {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- بخش درباره ما --- */
.about {
  min-height: 100vh;
  background-color: var(--band-light-bg);
  color: var(--band-light-text);
  display: flex;
  align-items: center;
  padding: 6rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content {
  padding-left: 1rem;
}

.about__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.about__line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.about__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}

.about__text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 2;
  color: var(--text-secondary);
  max-width: 520px;
}

.about__image {
  display: flex;
  justify-content: center;
}

.about__placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--surface-secondary), var(--surface));
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  color: var(--gold-dark);
}

.about__placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.6;
}

.about__placeholder-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* --- انیمیشن ظاهر شدن هنگام اسکرول --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.2s;
}

/* --- بخش گالری --- */
.gallery {
  background-color: var(--band-dark-bg);
  color: var(--band-dark-text);
  padding: 6rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gallery__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.gallery__label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.gallery__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--band-dark-text);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.gallery__line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.gallery__desc {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 300;
  line-height: 2;
  color: var(--band-dark-muted);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  margin: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 4, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.gallery__zoom {
  width: 36px;
  height: 36px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.05);
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
  background: rgba(10, 7, 4, 0.45);
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery__item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --- بخش منوی کافه --- */
.menu {
  background-color: var(--band-light-bg);
  color: var(--band-light-text);
  padding: 6rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menu__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.menu__label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.menu__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.menu__line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.menu__desc {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 300;
  line-height: 2;
  color: var(--text-secondary);
}

.menu__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  max-width: 100%;
}

.menu__filters::-webkit-scrollbar {
  height: 4px;
}

.menu__filters::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.menu__filter {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 40px;
}

.menu__filter:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.menu__filter--active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.menu__filter:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  min-height: 400px;
  max-width: 100%;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.menu-card__image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.menu-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

.menu-card__badge--new {
  background: linear-gradient(135deg, #6b8f71, #4a6b50);
}

.menu-card__badge--special {
  background: linear-gradient(135deg, #9c7b4a, var(--gold-dark));
}

.menu-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.menu-card__category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.menu-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.menu-card__desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1rem;
}

.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.menu-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.menu-card__price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-right: 0.25rem;
}

.menu__load-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.menu__load-more {
  min-width: 220px;
}

.menu__load-more--hidden {
  display: none;
}

.menu__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- بخش نظرات مشتریان --- */
.reviews {
  background-color: var(--band-dark-bg);
  color: var(--band-dark-text);
  padding: 6rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.reviews__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.reviews__label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.reviews__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--band-dark-text);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.reviews__line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.reviews__desc {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 300;
  line-height: 2;
  color: var(--band-dark-muted);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 4rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text-primary);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 220px;
  transition: transform var(--transition), box-shadow var(--transition), background-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__info {
  flex: 1;
  min-width: 0;
}

.review-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.review-card__date {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.85rem;
}

.review-card__star {
  font-size: 1rem;
  color: rgba(200, 169, 126, 0.35);
  line-height: 1;
}

.review-card__star--filled {
  color: var(--gold);
}

.review-card__text {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-secondary);
  flex: 1;
}

.reviews__form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: color-mix(in srgb, var(--surface) 12%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.reviews__form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--band-dark-text);
  margin-bottom: 1.5rem;
  text-align: center;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--band-dark-text);
}

.form__required {
  color: var(--accent);
}

.form__input,
.form__textarea,
.form__select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition), background-color 0.3s ease, color 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.form__input--error,
.form__textarea--error,
.form__select--error {
  border-color: var(--form-error);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  font-size: 0.82rem;
  color: var(--form-error);
  min-height: 1.2em;
  margin: 0;
}

.form__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.form__meta .form__error {
  flex: 1;
}

.form__counter {
  font-size: 0.78rem;
  color: var(--band-dark-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.form__success {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--form-success);
  text-align: center;
  min-height: 1.4em;
  margin: 0;
}

.review-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.star-rating {
  display: flex;
  gap: 0.35rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating__btn {
  font-family: inherit;
  font-size: 1.75rem;
  line-height: 1;
  background: none;
  border: none;
  color: rgba(200, 169, 126, 0.35);
  cursor: pointer;
  padding: 0.15rem;
  transition: color var(--transition), transform var(--transition);
}

.star-rating__btn:hover,
.star-rating__btn--active {
  color: var(--gold);
}

.star-rating__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.star-rating__btn--selected {
  color: var(--gold);
}

/* --- بخش تماس با ما --- */
.contact {
  background-color: var(--band-light-bg);
  color: var(--band-light-text);
  padding: 6rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.contact__label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.contact__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.contact__line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.contact__desc {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 300;
  line-height: 2;
  color: var(--text-secondary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__panel {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  transition: background-color 0.3s ease;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 169, 126, 0.15);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__icon svg {
  width: 22px;
  height: 22px;
}

.contact__item-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.contact__item-value {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.contact__item-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}

.contact__item-link:hover {
  color: var(--gold-dark);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact__actions .btn {
  flex: 1;
  min-width: 140px;
}

.contact__map-btn {
  color: var(--text-primary);
  border-color: var(--accent);
}

.contact__map-btn:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text-primary);
}

.contact__map {
  background: linear-gradient(145deg, var(--surface-secondary), var(--surface));
  border: 2px dashed var(--border);
  border-radius: 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(26, 18, 8, 0.06);
}

.contact__map-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.contact__map-link {
  color: var(--text-primary);
  border-color: var(--accent);
}

.contact__map-link:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text-primary);
}

.contact__form-wrap {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease;
}

.contact__form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact .form__label {
  color: var(--text-primary);
}

.contact .form__error {
  color: var(--form-error);
}

.contact .form__counter {
  color: var(--text-secondary);
}

.contact .form__success {
  color: var(--form-success);
}

.form__select {
  cursor: pointer;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.reservation--placeholder {
  background-color: var(--band-dark-bg);
  color: var(--band-dark-text);
  padding: 5rem 0;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.reservation__placeholder {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--band-dark-muted);
  margin: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--band-dark-bg);
  color: var(--band-dark-text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--band-dark-text);
  transition: opacity var(--transition);
}

.footer__logo:hover {
  opacity: 0.88;
}

.footer__logo-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer__logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer__desc {
  max-width: 340px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--band-dark-muted);
  margin: 0;
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.footer__list,
.footer__social-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link,
.footer__social-link {
  font-size: 0.92rem;
  color: var(--band-dark-muted);
  transition: color var(--transition);
}

.footer__link:hover,
.footer__social-link:hover {
  color: var(--band-dark-text);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.35rem 0;
}

[data-theme="light"] .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--band-dark-muted);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 4, 0.92);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  padding: 0 3.5rem;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(200, 169, 126, 0.5);
  border-radius: 50%;
  background: rgba(26, 18, 8, 0.6);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__close:hover {
  background: rgba(200, 169, 126, 0.2);
  border-color: var(--gold);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(200, 169, 126, 0.5);
  border-radius: 50%;
  background: rgba(26, 18, 8, 0.6);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.lightbox__nav:hover {
  background: rgba(200, 169, 126, 0.2);
  border-color: var(--gold);
}

.lightbox__nav--prev {
  right: 1.25rem;
}

.lightbox__nav--next {
  left: 1.25rem;
}

body.lightbox-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* --- احترام به تنظیم reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery__item img,
  .gallery__zoom,
  .gallery__overlay,
  .lightbox {
    transition: none;
  }

  .gallery__item:hover img,
  .gallery__item:focus-visible img {
    transform: none;
  }

  .menu-card:hover {
    transform: none;
  }

  .review-card:hover {
    transform: none;
  }

  .contact__actions .btn:hover {
    transform: none;
  }

  .btn--reserve:hover {
    transform: none;
  }

  .lang-toggle:hover {
    transform: none;
  }
}

/* --- انیمیشن‌ها --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- واکنش‌گرا (Responsive) --- */

/* Large monitors */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }

  .gallery__grid {
    gap: 20px;
  }

  .menu__grid {
    gap: 24px;
  }
}

/* Laptop / small desktop tightening */
@media (max-width: 1200px) {
  .nav__link {
    font-size: 0.88rem;
  }

  .btn--reserve {
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
  }

  .contact__inner {
    gap: 2rem;
  }
}

/* Tablet landscape & compact desktop */
@media (max-width: 1024px) {
  .about {
    min-height: auto;
  }

  .about__inner {
    gap: 3rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Tablet portrait — mobile navigation */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    background: var(--header-background);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 99;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link {
    display: block;
    font-size: 1.05rem;
    padding: 0.85rem 0;
  }

  .header__reserve {
    display: none;
  }

  .nav__reserve {
    display: flex;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    white-space: normal;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .logo__image {
    width: 40px;
    height: 40px;
  }

  .header__actions {
    gap: 0.5rem;
  }

  .gallery__item {
    height: clamp(220px, 32vw, 260px);
  }

  .menu-card {
    min-height: 360px;
  }

  .menu-card__name {
    word-break: break-word;
  }
}

/* Mobile & small tablet */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .logo__text {
    font-size: 1.05rem;
    max-width: 9.5rem;
  }

  .logo__image {
    width: 36px;
    height: 36px;
  }

  .theme-toggle,
  .lang-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .lang-toggle {
    padding: 0 0.5rem;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    height: auto;
  }

  .hero__bg {
    object-position: center 38%;
  }

  .hero__title {
    margin-bottom: 1.25rem;
  }

  .hero__text {
    margin-bottom: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__buttons .btn {
    width: 100%;
    white-space: normal;
  }

  .about {
    padding: clamp(3rem, 8vw, 4rem) 0;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__content {
    padding-left: 0;
    order: 1;
  }

  .about__image {
    order: 2;
  }

  .about__placeholder {
    max-width: 100%;
  }

  .about__text {
    max-width: none;
  }

  .gallery,
  .menu,
  .reviews,
  .contact {
    padding: clamp(3rem, 8vw, 4rem) 0;
  }

  .gallery__header,
  .menu__header,
  .reviews__header,
  .contact__header {
    margin-bottom: 2.5rem;
  }

  .menu__filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.65rem;
    margin-inline: calc(-1 * clamp(1rem, 3vw, 1.25rem));
    padding-inline: clamp(1rem, 3vw, 1.25rem);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .menu__filter {
    flex-shrink: 0;
  }

  .menu__load-more {
    width: 100%;
    max-width: 320px;
    white-space: normal;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  .reviews__form-wrap,
  .contact__form-wrap,
  .contact__panel {
    padding: 1.5rem;
  }

  .contact__actions {
    flex-direction: column;
  }

  .contact__actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .contact__map {
    min-height: 160px;
    padding: 1.5rem;
  }

  .contact__item {
    gap: 0.85rem;
  }

  .contact__icon {
    width: 40px;
    height: 40px;
  }

  .form__input,
  .form__textarea,
  .form__select {
    font-size: 16px;
  }

  .form__meta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .form__counter {
    align-self: flex-end;
  }

  .star-rating {
    flex-wrap: wrap;
  }

  .star-rating__btn {
    font-size: 1.6rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .reservation--placeholder {
    padding: clamp(3rem, 8vw, 4rem) 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.5rem 0 2.5rem;
  }

  .footer__desc {
    max-width: none;
  }

  .footer__logo-text {
    font-size: 1.25rem;
  }

  .footer__copyright {
    font-size: 0.8rem;
    line-height: 1.7;
    padding: 0 0.5rem;
  }

  .lightbox__content {
    padding: 0 2.75rem;
    max-width: 100%;
  }

  .lightbox__close {
    top: 0.85rem;
    left: 0.85rem;
    width: 42px;
    height: 42px;
  }

  .lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .lightbox__nav--prev {
    right: 0.65rem;
  }

  .lightbox__nav--next {
    left: 0.65rem;
  }

  .lightbox__img {
    max-height: 75vh;
    max-height: 75dvh;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .header__inner {
    gap: 0.5rem;
  }

  .logo__text {
    max-width: 7.5rem;
    font-size: 0.98rem;
  }

  .logo__image {
    width: 34px;
    height: 34px;
  }

  .theme-toggle,
  .lang-toggle {
    /* ۳۶ پیکسل برای لمس کوچک بود؛ ۴۰ پیکسل حداقل راحت است */
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .theme-toggle__icon {
    width: 16px;
    height: 16px;
  }

  .hero__title {
    font-size: 1.95rem;
    line-height: 1.4;
  }

  .hero__text {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .hero__text br {
    display: none;
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 0.75rem);
  }

  .btn {
    padding: 0.8rem 1.35rem;
    font-size: 0.9rem;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery__item {
    height: clamp(200px, 55vw, 240px);
    border-radius: 12px;
  }

  .menu__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .menu-card {
    min-height: 0;
  }

  .menu-card__image-wrap {
    height: 170px;
  }

  .menu-card__body {
    padding: 1rem;
  }

  .menu__filter {
    font-size: 0.84rem;
    padding: 0.62rem 1rem;
    min-height: 40px;
  }

  .review-card {
    padding: 1.25rem;
    min-height: 0;
  }

  .reviews__form-title,
  .contact__form-title {
    font-size: 1.2rem;
  }

  .footer__inner {
    padding: 3rem 0 2rem;
  }

  .footer__logo-image {
    width: 42px;
    height: 42px;
  }

  .footer__bottom {
    padding: 1.15rem 0;
  }

  .lightbox__content {
    padding: 0 0.75rem;
  }

  .lightbox__close {
    top: 0.65rem;
    left: 0.65rem;
    width: 38px;
    height: 38px;
  }

  .lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .lightbox__nav--prev {
    right: 0.45rem;
  }

  .lightbox__nav--next {
    left: 0.45rem;
  }

  .lightbox__nav svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra-small phones */
@media (max-width: 360px) {
  .logo__text {
    display: none;
  }

  .header__actions {
    gap: 0.35rem;
  }

  .hero__buttons {
    max-width: 100%;
  }

  .menu__load-more {
    max-width: 100%;
  }
}

/* --- LTR (English) layout overrides --- */
[dir="ltr"] .nav__link::after {
  right: auto;
  left: 0;
}

[dir="ltr"] .lightbox__nav--prev {
  right: auto;
  left: 1.25rem;
}

[dir="ltr"] .lightbox__nav--next {
  left: auto;
  right: 1.25rem;
}

[dir="ltr"] .menu-card__price span {
  margin-right: 0;
  margin-left: 0.25rem;
}

[dir="ltr"] .about__content {
  padding-left: 0;
  padding-right: 1rem;
}

[dir="ltr"] .menu-card__badge {
  right: auto;
  left: 12px;
}

[dir="ltr"] .lightbox__close {
  left: auto;
  right: 1.25rem;
}

@media (max-width: 768px) {
  [dir="ltr"] .about__content {
    padding-right: 0;
  }

  [dir="ltr"] .lightbox__close {
    right: 0.85rem;
  }

  [dir="ltr"] .lightbox__nav--prev {
    left: 0.65rem;
  }

  [dir="ltr"] .lightbox__nav--next {
    right: 0.65rem;
  }
}

@media (max-width: 480px) {
  [dir="ltr"] .lightbox__close {
    right: 0.65rem;
  }

  [dir="ltr"] .lightbox__nav--prev {
    left: 0.45rem;
  }

  [dir="ltr"] .lightbox__nav--next {
    right: 0.45rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [dir="ltr"] .theme-toggle:hover,
  [dir="ltr"] .lang-toggle:hover {
    transform: translateY(-2px);
  }
}
