@font-face {
    font-family: 'AlkatipGezit';
    src: url('/fonts/ALKATIP Gezit Tom.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Применяем шрифт ТОЛЬКО когда включен режим Төте (RTL) */
[dir="rtl"], [dir="rtl"] * {
    font-family: 'AlkatipGezit', 'Tahoma', 'Arial', sans-serif !important;
    /* Арабская вязь обычно мельче кириллицы, 
       поэтому часто нужно немного увеличить базовый размер */
    font-size: 1.05em; 
    line-height: 1.7; /* Увеличиваем межстрочный интервал для арабских букв */
}


        [dir="rtl"] .ml-2 {
            margin-right: 0.5rem;
            margin-left: 0;
        }

        [dir="rtl"] .mr-2 {
            margin-left: 0.5rem;
            margin-right: 0;
        }

        [dir="rtl"] .text-left {
            text-align: right;
        }

:root {
  --eu-bg: #fcfaf5;
  --eu-accent: #ebddba;
  --eu-dark: #1a1a1a;
}


body {
  font-family: 'Inter', sans-serif;
  /* background-color: var(--eu-bg); */
  color: var(--eu-dark);
  margin: 0;
  line-height: 1.6;
}

.eu-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.dropdown-menu {
  transition: all 0.2s ease-out;
  transform: translateY(10px);
}

.group:hover .dropdown-menu {
  transform: translateY(0);
}

.nav-link-text {
  font-size: 0.85rem;
  /* text-transform: uppercase; */
  /* letter-spacing: 0.05em; */
  /* font-weight: 600; */
}

.featured-swiper {
  width: 100%;
  height: 420px;
  overflow: visible !important;
}

.featured-swiper .swiper-slide {
  width: 280px;
  height: 380px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
}

.slide-card {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.4s ease;
}

.swiper-slide-active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.book-grid-card {
  background: transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.book-image-container {
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
  position: relative;
}

.book-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.book-grid-card:hover .book-image-container::after {
  opacity: 1;
}

.book-card img {
  filter: sepia(20%) brightness(95%);
}

.book-card:hover img {
  filter: sepia(0%) brightness(100%);
}