/* font */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/static/font/Vazirmatn[wght].woff2') format('woff2 supports variations'),
    url('/static/font/Vazirmatn[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn RD';
    src: url('/static/font/Vazirmatn-RD[wght].woff2') format('woff2 supports variations'),
    url('/static/font/Vazirmatn-RD[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/static/font/YekanBakh_FaNum_Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/static/font/YekanBakh_FaNum_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/static/font/YekanBakh_FaNum_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/static/font/YekanBakh_FaNum_Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* general */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f8f8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Vazirmatn', 'Vazirmatn RD', sans-serif !important;
}

/*iconify-icon {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 32px;*/
/*    height: 32px;*/
/*    border: 2px solid currentColor;*/
/*    border-radius: 5px;*/
/*    box-sizing: border-box;*/
/*    cursor: pointer;*/
/*}*/

/* search bar */
.bg-search-input {
    background-color: #f0f2f5;
}

.search::placeholder {
    font-weight: bold;
}

/* HERO SWIPER */
.hero-swiper {
    height: 50vh;
}

@media (min-width: 768px) {
    .hero-swiper {
        height: 70vh;
    }
}

.logo-swiper .swiper-slide {
    box-shadow: none !important;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CATEGORY SWIPER */
.category-swiper .cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #0b2a4a;
    transition: all .4s;
}

.category-swiper .cat-item span {
    margin-top: 6px;
    font-weight: 600;
}

.category-swiper .swiper-slide {
    opacity: .4;
    transform: scale(.7);
    transition: all .4s;
}

.category-swiper .swiper-slide-prev,
.category-swiper .swiper-slide-next {
    opacity: .7;
    transform: scale(.85);
}

.category-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* SLIDER SWIPER */
.slider-swiper {
    overflow: hidden !important;
    padding: 0 12px !important;
    padding-bottom: 3rem !important;
    margin: 0 50px;
}

.slider-swiper .swiper-slide {
    width: max-content;
    height: auto;
    border-radius: 1px;
    overflow: hidden;
    border: none;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1),
    0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.slider-swiper-config-5slide,
.slider-swiper-config-6slide,
.slider-swiper-config-10slide,
.slider-swiper-config-11slide {
    margin: 0;
}

.slider-swiper-config-6slide .swiper-slide {
    border-radius: 0.75rem;
}

.slider-swiper-config-10slide .swiper-slide,
.slider-swiper-config-11slide .swiper-slide {
    background-color: transparent;
}

.slider-swiper .swiper-pagination-bullet {
    background: #e5e7eb !important;
    opacity: 1;
}

.slider-swiper .swiper-pagination-bullet-active {
    background: #213045 !important;
}

@media (min-width: 768px) {
    .slider-swiper {
        padding-bottom: 1.5rem !important;
    }
}

/* NAV SWIPER */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: .25s;
    color: #707070;
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.08);
    color: #23C1FE;
}

.slider-nav-prev {
    right: 30px;
}

.slider-nav-next {
    left: 30px;
}

.slider-nav iconify-icon {
    font-size: 30px;
}

@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
}

/* ANIMATION */
@keyframes orbit {
    0% {
        transform: translateX(0px) scale(1) translateZ(100px);
        z-index: 20;
        opacity: 1;
    }
    25% {
        transform: translateX(180px) scale(0.7) translateZ(0);
        z-index: 10;
        opacity: 0.8;
    }
    50% {
        transform: translateX(0px) scale(0.4) translateZ(-100px);
        z-index: 5;
        opacity: 0.5;
    }
    75% {
        transform: translateX(-180px) scale(0.7) translateZ(0);
        z-index: 10;
        opacity: 0.8;
    }
    100% {
        transform: translateX(0px) scale(1) translateZ(100px);
        z-index: 20;
        opacity: 1;
    }
}
