﻿

@font-face {
    font-family: 'Vazirmatn[wght]';
    src: url('../fonts/variable/Vazirmatn[wght].ttf') format('truetype');
    src: url('../fonts/webfonts/Vazirmatn[wght].woff2') format('truetype');
}

body {
    font-family: 'Vazirmatn[wght]';
}

.footer-logo{
    width: 120px;
}
.img-qr{
    width:100px
}
.card-body p{
    text-align:justify;
}
#carouselProducts .carousel-control-prev,
#carouselProducts .carousel-control-next {
    width: 5%;
}

#carouselProducts .custom-carousel-indicators {
    position: relative;
    justify-content: center;
}
#carouselProducts .btn-group .btn {
    padding: 2px 5px !important;
    padding-bottom: 2px;
    border-radius: 5px !important;
    border-color: #a09f9f !important;
}
.card-body .text-primary, .card .text-primary {
    text-decoration: none;
}

#prodTabs .nav-item:has(.nav-link.active) {
    border: none;
    border-bottom: 3px solid #1f8b4b;
    color: #1f8b4b;
    /*background: #f9f9f9;*/
    background-color: #f3f2f2;
}
.text-left{
    text-align:left;
}
header {
    position:relative;
}
.footer-col {
    position: relative;
    padding-right: 10px; /* جا برای خط */
}

    .footer-col::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: #fff;
        max-height: 130px;
    }
.header-white {
    position: relative; /* مرجع برای پرچم */
}

    .header-white .img-flag {
        /*position: absolute;
        top: 0;*/ /* فاصله از بالا */
        /*left: 100px;*/ /* جای دلخواه شما */
        height: 80px;
        z-index: 10;
        flex-shrink: 0;
    }

    /* فاصله دادن به آیکن‌ها تا پرچم روشون نیاد */
    /*.header-white .flex-shrink-0 {
        padding-left: 40px;*/ /* حداقل برابر با left پرچم + عرض پرچم */
    /*}*/


@media (max-width: 992px) {
    /*.header-white .flex-shrink-0 {
        padding-left: 90px;*/ /* کوچیک‌تر بشه */
    /*}*/
}

@media (max-width: 576px) {
   /* .header-white .flex-shrink-0 {
        padding-left: 60px;
    }*/
}



.header-white {
    position: relative;
}

    .header-white .img-flag {
        position: relative;
        top: -10px;
        height: 80px;
        z-index: 20;
    }

@media (max-width: 1206px) {

    .nav-underline .nav-link {
        padding: .9rem .2rem;
        font-size: .9rem;
    }
    .nav-underline {
        gap: 2px;
    }
}
@media (max-width: 992px) {
    .mobile-flex div {
        display: flex;
        width:100%;
    }
    .mobile-flex nav {
        width:100%;
    }
}
.alert-text.active {
    opacity: 1;
    transform: translateY(0);
    text-align: right !important;

}

@media (max-width: 576px) {
    .alert-container {
        justify-content: center !important;
        flex-direction: column; /* متن میاد وسط */
        text-align: center;
    }

    .alert-text.active {
        padding: 0 10px;
        margin: auto;
        text-align: center !important;
    }

    .alert-link {
        display: none;
    }
    .header-white {
        padding-top: 0px !important;
    }
}
