﻿@font-face {
    font-family: 'PeydaWeb';
    src: url('./fonts/PeydaWebSemBd/PeydaWeb.eot'); /* برای IE9 و پایین‌تر */
    src: url('./fonts/PeydaWebSemBd/PeydaWeb.eot?#iefix') format('embedded-opentype'), /* برای IE */
    url('./fonts/PeydaWebSemBd/PeydaWeb.woff2') format('woff2'), /* برای مرورگرهای مدرن */
    url('./fonts/PeydaWebSemBd/PeydaWeb.woff') format('woff'), /* برای مرورگرهای قدیمی‌تر */
    url('./fonts/PeydaWebSemBd/PeydaWeb.ttf') format('truetype'); /* پشتیبانی عمومی */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* بهبود عملکرد بارگذاری */
}
@font-face {
    font-family: 'PeydaWebLight';
    src: url('./fonts/PeydaWebLight/PeydaWeb.eot');
    src: url('./fonts/PeydaWebLight/PeydaWeb.eot?#iefix') format('embedded-opentype'), 
        url('./fonts/PeydaWebLight/PeydaWeb.woff2') format('woff2'), 
        url('./fonts/PeydaWebLight/PeydaWeb.woff') format('woff'),
        url('./fonts/PeydaWebLight/PeydaWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

p {
    font-family: 'PeydaWebLight', sans-serif !important;
    font-weight: normal;
}

*:not(i):not(p),
*:not(i):not(p)::before,
*:not(i):not(p)::after {
    font-family: 'PeydaWeb', sans-serif !important;
}

@media (min-width: 768px) {
    .custom-w-md-25 {
        width: 25% !important;
    }
}
@media (max-width:500px) {
    .item-homepage .owl-carousel .owl-item {
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .item-homepage .owl-carousel .item {
        float: none;
        display: inline-block;
    }
}
/* دکمه شناور در پایین-چپ */
.btn-floating {
    position: fixed;
    bottom: 1.5rem; /* فاصله از پایین */
    left: 1.5rem; /* فاصله از چپ */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    z-index: 1030; /* بالای اغلب عناصر */
    transition: transform .15s ease, box-shadow .15s ease;
}

    .btn-floating:active {
        transform: scale(.96);
    }

    .btn-floating:focus {
        box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    }

    .btn-floating .bi {
        font-size: 1.25rem;
    }

/* اندازه کوچک‌تر برای موبایل */
@media (max-width: 576px) {
    .btn-floating {
        bottom: 1rem;
        left: 1rem;
        width: 48px;
        height: 48px;
    }
}