@font-face {
  font-family: 'monera';
  src: url('../font/Monera.woff');
}

body {
  font-family: 'monera';
}
/* rtl.css */
html {
    direction: rtl;
    unicode-bidi: embed;
}


body * {
    text-align: right;
}


.dock {
    flex-direction: row-reverse;
}

input::placeholder {
  line-height: 2.5rem;
  padding-bottom: 0.25rem;
}

.prev-btn-brands{
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    height: 40px;
    opacity: 60%;
    transition: none;
}

.next-btn-brands{
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    height: 40px;
    opacity: 60%;
    transition: none;
}

/* ===== WebKit: Chrome, Edge, Safari ===== */
:root::-webkit-scrollbar {
  width: 10px;
}
:root::-webkit-scrollbar-track {
  background: #014e50;
  border-radius: 10px;
}
:root::-webkit-scrollbar-thumb {
  background: #014e50;
  border-radius: 10px;
  border: 2px solid #f0f0f0;
}
:root::-webkit-scrollbar-thumb:hover {
  background: #014e50;
}

/* ===== Firefox ===== */
:root {
  scrollbar-width: thin;            /* ضخامت */
  scrollbar-color: #014e50 #8bae82;; /* thumb track */
}

.nav-logo-img:hover{
    background: none !important;
}

swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.active-pagination{
    background: #f1b100 !important;
}

.hover-pagination:hover{
    background: #f1b10073;
}

.swiper-button-next,
.swiper-button-prev {
@apply w-8 h-8 bg-white/70 rounded-full shadow flex items-center justify-center text-gray-700;
background: #0000005c;
color: white;
border-radius: 5px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
font-size: 16px !important; /* کوچیک‌تر شدن آیکن فلش */
font-weight: bold;
color: white;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
@apply bg-white text-black;
}
