@font-face {
  font-family: 'Vazirmatn';
  src: url("{% static 'fonts/Vazirmatn-Regular.woff2' %}") format('woff2'),
       url("{% static 'fonts/Vazirmatn-Regular.woff' %}") format('woff');
  font-weight: 400;
  font-style: normal;
}

*{
    box-sizing: border-box;
}
.body{
    margin:0 !important;
    padding:0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* متن اصلی سایت */
body {
    font-family: 'Vazirmatn', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0PX;
}

/* تیترها */
h1, h2, h3 {
    font-family: 'Playfair Display', 'Montserrat', serif;
}

p, del {
    font-family: 'fa-solid-900.woff2';
}

a{
    text-decoration: none;
}

.main-color{
  color: #D31E3C;
}
.btn{
    display: inline-block;
    font-weight: bold;
    line-height: 1.5rem;
    text-align: center;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 50px ;
    background-color: #D31E3C;
    color: white;
    font-size: 1.2rem;
}
.btn-small{
   border: none;
    display: inline-block;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 40px;
    background-color: #D31E3C;
    color: white;
    padding:13px 23px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.5rem;
    cursor: pointer;
    margin-bottom: 8px;
}
.btn-light{
    margin: 0 auto;
   

}
.btn_style{
    background-color: #CB8755;
}


.main-display{
    display: flex;
    justify-content: center;
    align-items:center ;

}
.main-text{
    font-size: 1.2rem;
    color: black;
    padding: 5px;
}
.main-text-a{
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    color: #D31E3C;
    font-weight: bold;
    
}
.text-white{
    color: #fff;
    font-size: 2.4rem;
    font-weight: bold;
    padding: 6px;
}
.text-white2{
    font-size: 3rem;
    color: #f5f235;
    
}


.fa{
    display: flex;
    font:40px;
    font-size:2rem;
    color: black;
    padding: 0 6px;   
}

.border{
    border: 1px solid rgb(207, 203, 203);
}
.p-style{
    font-size: 1rem;
    font-weight: 90px;
    color: rgb(73, 44, 10);
    margin: 0;
    margin-bottom: 20px;
}
.custom-del{
    color: #D31E3C;
}
.baner2{
    display: flex;
    align-items: center;
    justify-content: center;
    margin:20px auto;
 margin-bottom: 90px;
    width:90%;
    
}
.baner2 img{
    height:300px;
}

/*top-menu*/

.text-dec-none{
    text-decoration: none;
   
}
.a-color-light{
    color:black;
    font-size: 15px;
    font-weight: bold;
}
.a-blak{
    text-decoration: none;
    color: black;
    font-size: 18px;
    
}
.mr-r{
    margin-right: 5px;
}
.mr-l{
    margin-left: 5px;
}
.back-color{
    background-color: rgb(230, 223, 223);
}

 .container-fluid{
    border-bottom: 1px solid rgb(231, 227, 227);
    padding-bottom: 7px;

 }
.container{
    font-size:1.1rem;
    margin:20px auto;
    width: 90%;

}

/* 
.left-top-menu{
    font-size: 23px;
    border-radius:10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    

    
} */
/* .left-top-menu a{
    text-decoration: none;
} */

.search-input {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px;
    border: none;
    border-radius: 20px;
}

 .right-top-menu{
    display:flex;
    justify-content:center;
    align-items: center;
 
} 
.containsignicon{
    display: flex;
    align-items: center;
    width: 400px;
  
}
 .multilanguage{
    font-size: 1.3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    align-items: center;
   padding-bottom: 4px;
   padding-right: 0px;
   margin-top: 5px;
   
}

 .multilanguage a{
    color: #646060;
    text-decoration: none;
    padding: 3px;
    border: 0.3px solid #a9c7c9;
    border-radius: 8px 0 6px 0;
    background:#dff9fb;
 }
  .multilanguage a:hover{
    color:#c7f80c;
    font-size: 1.3rem;
    background: #55650a;
  }
.Logo_nav{
    width: 80%;
    margin-top: 70px;
    /* height: 80%;    */
}
.logo{
    width:70%;
    height: 40px;
    display:flex;
    justify-content:center;
    align-items: center;
}
.fa-shopping-cart{
   padding-right: 10px;
}

/*end-top-menu*/





/* ============================================================ */
/* ===== نوار ناوبری - نسخه ریسپانسیو ===== */
/* ============================================================ */
/* ============================================================ */
/* ===== منوی اصلی - نسخه ریسپانسیو با مخفی‌سازی در موبایل ===== */
/* ============================================================ */

/* ===== منوی اصلی ===== */
.top-menu {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    overflow: hidden;
    padding-top: 15px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.top-menu .nav_ul {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 30px;
    background: #dff9fb;
    border-radius: 30px;
    margin-top: 80px;
    border: 0.5px solid #bbe6e9;
    max-height: 90px;
    width: 100%;
    min-width: 0;
}

.top-menu .nav_ul li {
    list-style: none;
    flex-shrink: 0;
}

.top-menu .nav_ul li a {
    position: relative;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    z-index: 10000;
    color: #444;
}

.top-menu .nav_ul li a i {
    font-size: 2.5rem;
    transition: all 0.5s ease;
    pointer-events: none;
    transition-property: color, filter, transform;
    transform: translateY(0);
}

.top-menu .nav_ul li:hover a i {
    color: #c7f80d;
    filter: drop-shadow(0 0 15px #c7f80c);
    transform: translateY(-60px);
}

.top-menu .nav_ul li.activenav a i {
    color: #c7f80d;
    filter: drop-shadow(0 0 15px #c7f80c);
    transform: translateY(-60px);
}

/* ===== نشانگر منو ===== */
#marker {
    position: absolute;
    top: -44px;
    width: 55px;
    height: 55px;
    background: #55650a;
    border-radius: 20px;
    border-top: 2px solid #c7f80d;
    border-left: 2px solid #c7f80d;
    box-shadow: 0 0 0 10px #fff, 0 2px 0 9px #c7f80d;
    transition: 0.5s;
}

#marker::after {
    content: '';
    position: absolute;
    top: 29px;
    right: -30px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-left-radius: 20px;
    box-shadow: -4px -4px 0 4px #fff;
}

#marker span {
    position: absolute;
    top: 90px;
    width: 120%;
    left: -10%;
    height: 30px;
    background: #55650a;
 
    border-radius: 20px;
    border-right: 2px solid #c7f80d;
    border-bottom: 2px solid #c7f80d;
}

/* ===== متن زیر آیکون ===== */
.top-menu .nav_ul li text {
    position: absolute;
    pointer-events: none;
    transform: translateY(32px);
    opacity: 0;
    font-size: 1.1rem;
    transition: 0.5s;
    font-weight: 900;
    margin-top: -18px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
}

.top-menu .nav_ul li.activenav text {
    opacity: 1;
    color: #c7f80d;
    filter: drop-shadow(0 0 15px #c7f80d);
    padding-bottom: 7px;
}

/* ============================================================ */
/* ===== ریسپانسیو ===== */
/* ============================================================ */

/* ===== دسکتاپ بزرگ (1200px به بالا) ===== */
@media (min-width: 1201px) {
    .top-menu {
        grid-template-columns: 20% 60% 20%;
    }
    
    .top-menu .nav_ul {
        gap: 20px;
        padding: 10px 30px;
    }
    
    .top-menu .nav_ul li a {
        width: 80px;
        height: 80px;
    }
    
    .top-menu .nav_ul li a i {
        font-size: 2.5rem;
    }
    
    #marker {
        width: 55px;
        height: 55px;
        top: -44px;
    }
}

/* ===== دسکتاپ متوسط (992px - 1200px) ===== */
@media (max-width: 1200px) {
    .top-menu {
        grid-template-columns: 15% 70% 15%;
        padding-top: 10px;
    }
    
    .top-menu .nav_ul {
        gap: 15px;
        padding: 8px 20px;
        margin-top: 70px;
        max-height: 80px;
        border-radius: 25px;
    }
    
    .top-menu .nav_ul li a {
        width: 70px;
        height: 70px;
    }
    
    .top-menu .nav_ul li a i {
        font-size: 2.2rem;
    }
    
    .top-menu .nav_ul li:hover a i,
    .top-menu .nav_ul li.activenav a i {
        transform: translateY(-50px);
    }
    
    #marker {
        width: 48px;
        height: 48px;
        top: -38px;
        border-radius: 16px;
    }
    
    #marker::after {
        top: 24px;
        right: -26px;
        width: 16px;
        height: 16px;
        box-shadow: -3px -3px 0 3px #fff;
    }
    
    #marker span {
        top: 78px;
        height: 25px;
        border-radius: 16px;
    }
    
    .top-menu .nav_ul li text {
        font-size: 1rem;
        transform: translateY(28px);
    }
}

/* ===== تبلت بزرگ (768px - 992px) ===== */
@media (max-width: 992px) {
    .top-menu {
        grid-template-columns: 10% 80% 10%;
        padding-top: 10px;
    }
    
    .top-menu .nav_ul {
        gap: 10px;
        padding: 6px 15px;
        margin-top: 60px;
        max-height: 70px;
        border-radius: 20px;
    }
    
    .top-menu .nav_ul li a {
        width: 60px;
        height: 60px;
    }
    
    .top-menu .nav_ul li a i {
        font-size: 1.8rem;
    }
    
    .top-menu .nav_ul li:hover a i,
    .top-menu .nav_ul li.activenav a i {
        transform: translateY(-40px);
    }
    
    #marker {
        width: 40px;
        height: 40px;
        top: -32px;
        border-radius: 14px;
        border-top: 1.5px solid #c7f80d;
        border-left: 1.5px solid #c7f80d;
        box-shadow: 0 0 0 8px #fff, 0 1.5px 0 7px #c7f80d;
    }
    
    #marker::after {
        top: 20px;
        right: -22px;
        width: 14px;
        height: 14px;
        border-top-left-radius: 14px;
        box-shadow: -3px -3px 0 3px #fff;
    }
    
    #marker span {
        top: 65px;
        width: 120%;
        left: -10%;
        height: 20px;
        box-shadow: 0 0 0 8px #161616, 0 -1.5px 0 7px #c7f80d;
        border-radius: 14px;
        border-right: 1.5px solid #c7f80d;
        border-bottom: 1.5px solid #c7f80d;
    }
    
    .top-menu .nav_ul li text {
        font-size: 0.85rem;
        transform: translateY(22px);
        margin-top: -14px;
    }
    
    .top-menu .nav_ul li.activenav text {
        padding-bottom: 5px;
    }
}

/* ===== تبلت کوچک (576px - 768px) ===== */
@media (max-width: 768px) {
    .top-menu {
        grid-template-columns: 5% 90% 5%;
        padding-top: 8px;
    }
    
    .top-menu .nav_ul {
        gap: 5px;
        padding: 5px 10px;
        margin-top: 50px;
        max-height: 60px;
        border-radius: 16px;
    }
    
    .top-menu .nav_ul li a {
        width: 50px;
        height: 50px;
    }
    
    .top-menu .nav_ul li a i {
        font-size: 1.5rem;
    }
    
    .top-menu .nav_ul li:hover a i,
    .top-menu .nav_ul li.activenav a i {
        transform: translateY(-32px);
    }
    
    #marker {
        width: 34px;
        height: 34px;
        top: -27px;
        border-radius: 12px;
        border-top: 1px solid #c7f80d;
        border-left: 1px solid #c7f80d;
        box-shadow: 0 0 0 6px #fff, 0 1px 0 5px #c7f80d;
    }
    
    #marker::after {
        top: 16px;
        right: -18px;
        width: 12px;
        height: 12px;
        border-top-left-radius: 12px;
        box-shadow: -2px -2px 0 2px #fff;
    }
    
    #marker span {
        top: 54px;
        width: 120%;
        left: -10%;
        height: 16px;
        box-shadow: 0 0 0 6px #161616, 0 -1px 0 5px #c7f80d;
        border-radius: 12px;
        border-right: 1px solid #c7f80d;
        border-bottom: 1px solid #c7f80d;
    }
    
    .top-menu .nav_ul li text {
        font-size: 0.7rem;
        transform: translateY(18px);
        margin-top: -10px;
    }
    
    .top-menu .nav_ul li.activenav text {
        padding-bottom: 4px;
    }
}

/* ============================================================ */
/* ===== موبایل (تا 576px) - مخفی‌سازی کامل منو ===== */
/* ============================================================ */

@media (max-width: 576px) {
    /* ===== کل منوی اصلی مخفی شود ===== */
    .top-menu {
        display: none !important;
    }
    
    /* ===== اگر المان‌های جداگانه دارید ===== */
    .top-menu .nav_ul {
        display: none !important;
    }
    
    #marker {
        display: none !important;
    }
    
    /* ===== دکمه همبرگری در این سایز نمایش داده می‌شود ===== */
    /* دکمه همبرگری قبلاً در CSS دیگر تعریف شده است */
}

/* ============================================================ */
/* ===== حالت RTL (فارسی، عربی) ===== */
/* ============================================================ */

body[dir="rtl"] #marker {
    border-top: 2px solid #c7f80d;
    border-right: 2px solid #c7f80d;
    border-left: none;
}

body[dir="rtl"] #marker::after {
    right: auto;
    left: -30px;
    border-top-right-radius: 20px;
    border-top-left-radius: 0;
    box-shadow: 4px -4px 0 4px #fff;
}

body[dir="rtl"] #marker span {
    border-right: none;
    border-left: 2px solid #c7f80d;
}

/* ===== RTL در تبلت ===== */
@media (max-width: 1200px) {
    body[dir="rtl"] #marker {
        border-top: 1.5px solid #c7f80d;
        border-right: 1.5px solid #c7f80d;
        border-left: none;
    }
    
    body[dir="rtl"] #marker::after {
        right: auto;
        left: -26px;
        border-top-right-radius: 14px;
        border-top-left-radius: 0;
        box-shadow: 3px -3px 0 3px #fff;
    }
    
    body[dir="rtl"] #marker span {
        border-right: none;
        border-left: 1.5px solid #c7f80d;
    }
}

@media (max-width: 992px) {
    body[dir="rtl"] #marker {
        border-top: 1.5px solid #c7f80d;
        border-right: 1.5px solid #c7f80d;
        border-left: none;
    }
    
    body[dir="rtl"] #marker::after {
        right: auto;
        left: -22px;
        border-top-right-radius: 14px;
        border-top-left-radius: 0;
        box-shadow: 3px -3px 0 3px #fff;
    }
    
    body[dir="rtl"] #marker span {
        border-right: none;
        border-left: 1.5px solid #c7f80d;
    }
}

@media (max-width: 768px) {
    body[dir="rtl"] #marker {
        border-top: 1px solid #c7f80d;
        border-right: 1px solid #c7f80d;
        border-left: none;
    }
    
    body[dir="rtl"] #marker::after {
        right: auto;
        left: -18px;
        border-top-right-radius: 12px;
        border-top-left-radius: 0;
        box-shadow: 2px -2px 0 2px #fff;
    }
    
    body[dir="rtl"] #marker span {
        border-right: none;
        border-left: 1px solid #c7f80d;
    }
}
/* ============================================================ */
/* ===== تنظیمات RTL (فارسی، عربی) ===== */
/* ============================================================ */

body[dir="rtl"] #marker {
    border-top: 2px solid #c7f80d;
    border-right: 2px solid #c7f80d;
    border-left: none;
}

body[dir="rtl"] #marker::after {
    right: auto;
    left: -30px;
    border-top-right-radius: 20px;
    border-top-left-radius: 0;
    box-shadow: 4px -4px 0 4px #fff;
}

body[dir="rtl"] #marker span {
    border-right: none;
    border-left: 2px solid #c7f80d;
}

/* ===== RTL در تبلت ===== */
@media (max-width: 1200px) {
    body[dir="rtl"] #marker {
        border-top: 1.5px solid #c7f80d;
        border-right: 1.5px solid #c7f80d;
        border-left: none;
    }
    
    body[dir="rtl"] #marker::after {
        right: auto;
        left: -26px;
        border-top-right-radius: 14px;
        border-top-left-radius: 0;
        box-shadow: 3px -3px 0 3px #fff;
    }
    
    body[dir="rtl"] #marker span {
        border-right: none;
        border-left: 1.5px solid #c7f80d;
    }
}

@media (max-width: 992px) {
    body[dir="rtl"] #marker {
        border-top: 1.5px solid #c7f80d;
        border-right: 1.5px solid #c7f80d;
        border-left: none;
    }
    
    body[dir="rtl"] #marker::after {
        right: auto;
        left: -22px;
        border-top-right-radius: 14px;
        border-top-left-radius: 0;
        box-shadow: 3px -3px 0 3px #fff;
    }
    
    body[dir="rtl"] #marker span {
        border-right: none;
        border-left: 1.5px solid #c7f80d;
    }
}

@media (max-width: 768px) {
    body[dir="rtl"] #marker {
        border-top: 1px solid #c7f80d;
        border-right: 1px solid #c7f80d;
        border-left: none;
    }
    
    body[dir="rtl"] #marker::after {
        right: auto;
        left: -18px;
        border-top-right-radius: 12px;
        border-top-left-radius: 0;
        box-shadow: 2px -2px 0 2px #fff;
    }
    
    body[dir="rtl"] #marker span {
        border-right: none;
        border-left: 1px solid #c7f80d;
    }
}

/* ============================================================ */
/* ===== موبایل - مخفی کردن منو (برای بعد) ===== */
/* ============================================================ */

@media (max-width: 576px) {
    /* این بخش برای موبایل خالی می‌ماند تا بعداً اضافه شود */
    /* منوی موبایل در اینجا نمایش داده نمی‌شود */
}



/*baner*/

.row_hero{
  display: flex;
  justify-content:flex-start;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(15, 23, 43,0.6), rgba(59, 76, 117, 0.6)), url(../../media/images/firoze/111.jpg);
  background-repeat: no-repeat;
  background-size: cover;


}
.baner_box{
width: 50%;
height: 100%;


}



.baner_img{
    width: 60%;
    height: auto;
    margin: 12px;
    transform: rotate(360deg);
    animation:Rotate 50s linear infinite;

}
@keyframes Rotate {
    from {
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}



/*menu*/
.menu_grid{
    background-color: rgba(230, 223, 223,0.9);
    margin: 10px;
    padding: 10px;
    border-radius: 16px;
    display: flex;
    text-align: center;
    flex-direction: column;
    height: 180px;
    justify-content: flex-start;
}
.pic_menu{
    width: 106px;
    height: 106px;
    
    
}
.menu_grid h6{
    margin: 0;
    font-size: 1.1rem;
    padding-top: 10px;
}

.container_menu2 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin: 40px auto; /* اصلاح شده */
    background: url(../../media/images/firoze/back222.jpg);
    width: 90%;
 
    height: 250px;
    justify-items: center;
    align-items: center;
}

/*menu*/

/*grid product*/

.pro-title{
   display: block;
      
}
.product-title{
    display: block;
    text-align: right;
    align-items: right;
    justify-content: right;
   padding-top: 20px;
   border-bottom: 1px solid rgb(207, 40, 40);
   margin-right: 50px;
   
}

.off-pro{
    background-color: #D31E3C;
    
}
.container-progrid{
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap:5px;
    margin-top: 30px;
    background-color: #d3661e;
    width: 100%;
    padding: 20px 0;
    justify-items: center;
    align-items: center;
    flex-wrap: nowrap;

}

.thumbnail{
    background-color: white;
    border-radius: 15px;
    height: 350px;
    display: flex;
    align-items: center;
    flex-direction: column;
  
    
}
.scroll_right,.scroll_left{
    cursor: pointer;
    padding: 10px;
  
}
.scroll_right i,.scroll_left i{
    font-size: 24px;
    color: #007bff;
}
.thumbnail_off{
    
    
    background-color: white;
    border-radius: 15px;
    height: 350px;
    display: flex;
    align-items: center;
    flex-direction: column;
    
    
}
.thumbnail_off h2{
    margin: 5px;
}

.thumbnail:hover {
    border: 2px solid #5d1ed3;
}
.pic-thumnail:hover{
    border: 2px solid #5d1ed3;
}
.pic_thumnail{
    width: 210px;
    height: 160px;
    border: 1px solid rgb(192, 189, 189);
    border-radius: 50%;
    margin: 15px 30px;
    
}

.title2-thumnail{
    font-size: 1.1rem;
    padding-top:-10px;

}

.off-price{
    display: inline-block;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    /* background-color: yellow; */
}
/*end grid product*/


.productnew {
    position: relative; /* برای موقعیت‌دهی مطلق عناصر داخلی */
}

.new-element-card-top {
    position: absolute;
    top: 23px;
    left: 57px;
    background-color: #ff6b6b; /* رنگ پس‌زمینه */
    color: white; /* رنگ متن */
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10; /* اطمینان از نمایش بر روی سایر عناصر */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


.display_center{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*baner process*/

.baner-process{
    width: 85%;
}
/*end baner process*/


/* grid style*/

.container_grid{
    display: flex;
    align-items: center;
    justify-content:center;
   flex-direction: column;
    position: relative;
    margin-bottom: 50px;
} 
.container_off{
    display: flex;
    align-items: center;
    justify-content:center;
    flex-direction: column;
    padding:0;
    position: relative;
    /* background-color:#00CCF7; */
    box-sizing: border-box;
  margin:  30px auto;
    width: 89%;
    
    
} 
.title_grid{
    font-size:2rem;
    font-weight: bold;
    border-bottom: 2px dashed red;
    padding-bottom: 5px;
    

    
}
.title_grid_off{
    font-size:2rem;
    font-weight: bold;
    border-bottom: 2px dashed rgb(179, 255, 0);
    margin:6px ;
    padding:5px;
}
.wrapper {  
max-width: 1400px;
width: 100%;
 position: relative; 
}
.wrapper i{
  height: 50px;
  width: 50px;
  background: #fff;
  text-align: center;  
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  font-size: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23);
}
.wrapper i:first-child{
    left:0px;
    
}
.wrapper i:last-child{
    right:0px;
}

.wrapper .carousel { 
    display: grid;
    
     grid-auto-flow: column;
    grid-auto-columns: calc((100% / 5));
    gap:8px;
     overflow: auto; 
     scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width:0 ;
}
.carousel::-webkit-scrollbar{
    display: none;
}

.carousel :where(.card, .img){
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel.no_transition{
    scroll-behavior: auto; 
}

.carousel.dragging{
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.carousel.dragging .card{
cursor: grab;
user-select: none;
}

.carousel .card {
    scroll-snap-align: start;
    height: 380px;
    list-style: none;
    background-color: rgba(230, 223, 223,0.9);
    border-radius: 8px;
    /* padding-bottom: 38px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;;
    flex-direction: column;
}
.card .img{
    
    width: 148px;
    height: 148px;
    border-radius: 50%;
    margin-top: 20px;

}
.card .img img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f58a60;
    

}
.card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
    
}
.card p{
    color: #6a6d78;
    font-size: 1.31rem;
    padding: 0;
}

.card .img{
    
    width: 148px;
    height: 148px;
    border-radius: 50%;
  padding-top: 23px;

}
.card .img img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f58a60;
    

}

/* @media screen and (max-width:900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2)-9px);
    }
}
@media screen and (max-width:600px) {
    .wrapper .carousel {
        grid-auto-columns:100%;
    }
} */

/* end grid style ***********************/


/*fastfood baner **********************/
.baner_container{
width: 92%;

position: relative;
box-sizing: border-box;
margin: 26px auto;


}
.merg_container{
    display: flex;
    width: 100%;
    justify-content: center;
   margin: 0 auto;
    gap: 2px;
   
}
.baner_right{
   flex: 1;
   padding: 10px;
   position: relative;
   overflow: hidden;
    margin-top: 30px;
    margin-bottom: 20px;
}

.baner_right-img{
    border: 1px solid red;
}

.item_title{
   
position: absolute;
font-size: 1.8rem;
color: #fce305;
 top: 15%;
 left:25%;
 transform: translateX(-50%)rotate(-20deg);
white-space: nowrap;



}

.baner_right img{
    width:100%;
    height:420px;
    border-radius: 18px;
     
   
}

/*fastfood baner *********************/

/*mini container*****************/
.mini-container{
    /* background-color: cadetblue; */
      background: #dff9fb;
      border: 0.5px solid #c4e5e7;
    width: 89%;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
}
.mini-right{
    width: 50%;
}
.mini-right img{
width: 110px;
height: 110px;

padding-right: 0;

}

.img-miniright img {
    width: 110px;
    height: 110px;
    margin-left: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.img-miniright{
    display: flex;
    width: 100%;
   padding: 0;
    justify-content:space-evenly;
    align-items: center;
    
}
.img-miniright p{
    padding-left: 19px;
    font-size: 1.9rem;
    font-weight: 600px;
}
.img-miniright a{
    text-decoration: none;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 600;
    background-color: #D31E3C;
    border-radius: 40px;
    padding: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.img-minileft {
    position: relative; /* این برای پدر عنصر a است */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}


.img-minileft a:nth-child(2){
    
 text-decoration: none;
 border-radius: 50px;
 background-color: #D31E3C;
 color: #ffffff;
 font-size: 1.3rem;
 padding: 5px;
  position: absolute; /* این عنصر نسبت به پدر relative موقعیت می‌گیرد */
    right: 2px; /* تنظیم فاصله از چپ */
    bottom: 6px; /* تنظیم فاصله از پایین */
   
}

.mini-left{
    width: 50%;
  
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: row;
}

.img-minileft img{
   width: 90px;
    height: 90px;
    border-radius: 50%; 
    border: 0.5px solid  #D31E3C;
    cursor: pointer;
}
.mini-left .img-minileft{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:0 10px;
}
.btn-more a{
    text-decoration: none;
    border-radius: 50px;
    background-color:#D31E3C;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 10px 17px;
    color: #ffffff;
    margin-right: 23px;

}
/*mini container*****************/

/*best geid*/

.container_best{
    margin: 0;
    width: 90%;
    display: flex;
    gap: 90PX;
    justify-content:center;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
    padding: 25px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.container_best .card{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
     height: 210px;
    max-width: 300px;
    padding: 0 30px;
    margin:0 10px;
    box-shadow: 0 5px 100px rgba(0,0,0,0.5);
    background: #dff9fb;
    transition: 0.3s ease-in-out;
}

.container_best .card:hover{
     height: 400px;
} 

.container_best .card .img_box{
    position: relative;
    width:200px ;
    height: 200px;
    top: -60px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.container_best .card .img_box img{
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50px;
}
.container_best .card .content{
    position: relative;
    margin-top: -140px;
    padding:0 15px;
    text-align: center;
    visibility: hidden;
    /* opacity: 0; */
    
}

.container_best .card .content h2{
   font-size: 2em; 
}

.container_best .card:hover .content{
    visibility: visible;
     margin-top: -40px;
    transition-delay: 0.3s;
}


/*end best grid*/


/* ============================================================ */
/* ===== فوتر - نسخه کامل ریسپانسیو ===== */
/* ============================================================ */

/* ============================================================ */
/* ===== فوتر - نسخه کامل ریسپانسیو با نمایش کامل لینک‌ها ===== */
/* ============================================================ */

/* ===== فوتر اصلی ===== */
footer {
    background: #dff9fb;
    color: #161616;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    margin-top: 0;
    padding: 0 0 20px 0;
    
}

/* ============================================================ */
/* ===== باکس بالای فوتر (جعبه سبز) ===== */
/* ============================================================ */

.boxfooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -70px auto 10px;
    min-height: 150px;
    width: 50vw;
    max-width: 800px;
    padding: 20px 30px 40px;
    border-radius: 16px;
    background: #55650a;
    position: absolute;
    left: 25%;
    z-index: 1200;
    gap: 20px;
    flex-wrap: wrap;
}

.boxfooter h2 {
    font-size: 30px;
    text-align: center;
    color: #c7f80c;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.boxfooter button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-radius: 30px;
    white-space: nowrap;
    background: #c7f80c;
    font-family: inherit;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.5s linear;
    font-size: 20px;
    padding: 0 15px;
    flex-shrink: 0;
}

.boxfooter button a {
    text-decoration: none;
    padding: 10px 5px;
    color: #161616;
    font-weight: 550;
    font-size: 1.4rem;
}

.boxfooter button span {
    font-weight: 550;
    font-size: 1.4rem;
}

.boxfooter button:hover {
    background-color: antiquewhite;
    color: #000;
}

/* ============================================================ */
/* ===== بخش اصلی فوتر ===== */
/* ============================================================ */

footer section {
    position: relative;
    padding: 20px 0 0 0;
    width: 100%;
}

.headingfoot {
    display: flex;
    align-items: center;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.logofoot {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 15px;
}

.logofoot img {
    height: 60px;
    width: auto;
}

.logofoot h3 {
    margin: 5px 0;
    font-size: 1.2rem;
}

.socialsfoot {
    display: flex;
    gap: 20px;
    font-size: 35px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.socialsfoot i:hover {
    color: rgb(214, 125, 9);
}

/* ============================================================ */
/* ===== منوی فوتر - نسخه اصلاح شده ===== */
/* ============================================================ */

.itemsfoot {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: start;
    text-align: right;
    align-items: start;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    gap: 30px;
}

.itemsfoot h3 {
    color: #161616;
    font-size: 27px;
    padding-bottom: 20px;
    margin: 0;
    white-space: nowrap;
}

.itemsfoot .items-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.itemsfoot .items-list a {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    color: #161616;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-align: right;
    white-space: nowrap;
    padding: 2px 0;
}

.itemsfoot .items-list a:hover {
    color: #55650a;
}

/* ===== حالت انگلیسی ===== */
.itemsfootEn {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: start;
    text-align: left;
    align-items: start;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    gap: 30px;
}

.itemsfootEn h3 {
    color: #161616;
    font-size: 27px;
    padding-bottom: 20px;
    margin: 0;
    white-space: nowrap;
}

.itemsfootEn .items-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.itemsfootEn .items-list a {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    color: #161616;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-align: left;
    white-space: nowrap;
    padding: 2px 0;
}

.itemsfootEn .items-list a:hover {
    color: #55650a;
}

/* ============================================================ */
/* ===== کپی رایت ===== */
/* ============================================================ */

.copyright {
    background-color: rgb(53, 50, 50);
    width: 100%;
    height: auto;
    min-height: 30px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: rgb(136, 132, 132);
    flex-wrap: wrap;
    gap: 5px;
}

.copy-icon {
    margin-right: 5px;
    font-size: 15px;
    color: rgb(136, 132, 132);
}

/* ============================================================ */
/* ===== ریسپانسیو ===== */
/* ============================================================ */

/* ===== دسکتاپ بزرگ (1200px به بالا) ===== */
@media (min-width: 1201px) {
    .boxfooter {
        width: 50vw;
        max-width: 800px;
    }
}

/* ===== دسکتاپ (992px - 1200px) ===== */
@media (max-width: 1200px) {
    .boxfooter {
        width: 60vw;
        min-height: 130px;
        padding: 20px 25px 35px;
    }
    
    .boxfooter h2 {
        font-size: 26px;
    }
    
    .boxfooter button a,
    .boxfooter button span {
        font-size: 1.2rem;
    }
    
    .itemsfoot,
    .itemsfootEn {
        gap: 20px;
    }
}

/* ===== تبلت بزرگ (768px - 992px) ===== */
@media (max-width: 992px) {
    .boxfooter {
        width: 80vw;
        min-height: 120px;
        padding: 15px 20px 30px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: -60px auto 10px;
        border-radius: 14px;
    }
    
    .boxfooter h2 {
        font-size: 22px;
        min-width: 100%;
        text-align: center;
    }
    
    .boxfooter button {
        font-size: 18px;
        padding: 0 12px;
    }
    
    .boxfooter button a,
    .boxfooter button span {
        font-size: 1.1rem;
    }
    
    .headingfoot {
        width: 92%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    /* ===== تغییر به 2 ستون با عرض کافی ===== */
    .itemsfoot,
    .itemsfootEn {
        grid-template-columns: repeat(2, 1fr);
        width: 92%;
        gap: 30px 40px;
        text-align: center;
        place-items: center;
    }
    
    .itemsfoot .items-list,
    .itemsfootEn .items-list {
        align-items: center;
        width: 100%;
    }
    
    .itemsfoot .items-list a,
    .itemsfootEn .items-list a {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 12px;
        white-space: normal;
    }
    
    .itemsfoot h3,
    .itemsfootEn h3 {
        font-size: 22px;
        padding-bottom: 15px;
        text-align: center;
        white-space: normal;
    }
    
    footer {
        padding-bottom: 30px;
    }
}

/* ===== تبلت کوچک (576px - 768px) ===== */
@media (max-width: 768px) {
    .boxfooter {
        width: 90vw;
        min-height: 100px;
        padding: 15px 15px 25px;
        margin: -50px auto 10px;
        border-radius: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .boxfooter h2 {
        font-size: 18px;
        min-width: 100%;
    }
    
    .boxfooter button {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .boxfooter button a,
    .boxfooter button span {
        font-size: 1rem;
        padding: 8px 5px;
    }
    
    .headingfoot {
        width: 95%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
    }
    
    .logofoot img {
        height: 50px;
    }
    
    .logofoot h3 {
        font-size: 1rem;
    }
    
    .socialsfoot {
        font-size: 28px;
        gap: 15px;
    }
    
    /* ===== 2 ستون با اندازه مناسب ===== */
    .itemsfoot,
    .itemsfootEn {
        grid-template-columns: 1fr 1fr;
        width: 95%;
        gap: 20px 30px;
        padding: 10px 0;
        text-align: center;
        place-items: center;
    }
    
    .itemsfoot .items-list,
    .itemsfootEn .items-list {
        align-items: center;
        width: 100%;
    }
    
    .itemsfoot .items-list a,
    .itemsfootEn .items-list a {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 10px;
        white-space: normal;
    }
    
    .itemsfoot h3,
    .itemsfootEn h3 {
        font-size: 18px;
        padding-bottom: 10px;
        text-align: center;
        white-space: normal;
    }
    
    .copyright {
        font-size: 13px;
        min-height: 25px;
        padding: 3px 10px;
    }
    
    footer {
        padding-bottom: 20px;
    }
}

/* ===== موبایل (تا 576px) ===== */
@media (max-width: 576px) {
    .boxfooter {
        width: 95vw;
        min-height: 80px;
        padding: 12px 12px 20px;
        margin: -40px auto 10px;
        border-radius: 10px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        position: absolute;
        left: 10px;
    }
    
    .boxfooter h2 {
        font-size: 16px;
        min-width: 100%;
    }
    
    .boxfooter button {
        font-size: 14px;
        padding: 0 8px;
        border-radius: 25px;
    }
    
    .boxfooter button a,
    .boxfooter button span {
        font-size: 0.85rem;
        padding: 6px 4px;
    }
    
    .headingfoot {
        width: 98%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
    }
    
    .logofoot img {
        height: 40px;
    }
    
    .logofoot h3 {
        font-size: 0.9rem;
    }
    
    .socialsfoot {
        font-size: 24px;
        gap: 12px;
    }
    
    /* ===== 2 ستون با فضای کافی ===== */
    .itemsfoot,
    .itemsfootEn {
        grid-template-columns: 1fr 1fr;
        width: 98%;
        gap: 15px 20px;
        padding: 8px 5px;
        text-align: center;
        place-items: center;
    }
    
    .itemsfoot .items-list,
    .itemsfootEn .items-list {
        align-items: center;
        width: 100%;
    }
    
    .itemsfoot .items-list a,
    .itemsfootEn .items-list a {
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 8px;
        white-space: normal;
        padding: 2px 0;
    }
    
    .itemsfoot h3,
    .itemsfootEn h3 {
        font-size: 16px;
        padding-bottom: 8px;
        text-align: center;
        white-space: normal;
    }
    
    .copyright {
        font-size: 11px;
        min-height: 20px;
        padding: 2px 8px;
        flex-wrap: wrap;
    }
    
    .copy-icon {
        font-size: 11px;
    }
    
    footer {
        padding-bottom: 15px;
    }
}

/* ===== موبایل خیلی کوچک (تا 400px) ===== */
@media (max-width: 400px) {
    .boxfooter {
        width: 98vw;
        min-height: 70px;
        padding: 10px 8px 16px;
        margin: -30px auto 8px;
        border-radius: 8px;
    }
    
    .boxfooter h2 {
        font-size: 14px;
    }
    
    .boxfooter button {
        font-size: 12px;
        padding: 0 6px;
        border-radius: 20px;
    }
    
    .boxfooter button a,
    .boxfooter button span {
        font-size: 0.75rem;
        padding: 5px 3px;
    }
    
    .headingfoot {
        gap: 8px;
        padding: 5px 0;
    }
    
    .logofoot img {
        height: 32px;
    }
    
    .logofoot h3 {
        font-size: 0.8rem;
    }
    
    .socialsfoot {
        font-size: 20px;
        gap: 10px;
    }
    
    /* ===== 2 ستون با فونت کوچکتر ===== */
    .itemsfoot,
    .itemsfootEn {
        grid-template-columns: 1fr 1fr;
        gap: 10px 15px;
        padding: 5px 3px;
    }
    
    .itemsfoot .items-list a,
    .itemsfootEn .items-list a {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .itemsfoot h3,
    .itemsfootEn h3 {
        font-size: 14px;
        padding-bottom: 5px;
    }
    
    .copyright {
        font-size: 10px;
        min-height: 18px;
        padding: 2px 5px;
    }
}

/* ============================================================ */
/* ===== حالت RTL (فارسی، عربی) ===== */
/* ============================================================ */

body[dir="rtl"] .itemsfoot {
    text-align: right;
}

body[dir="rtl"] .itemsfoot .items-list {
    align-items: flex-end;
}

body[dir="rtl"] .itemsfoot .items-list a {
    text-align: right;
}

body[dir="rtl"] .itemsfootEn {
    text-align: right;
}

body[dir="rtl"] .itemsfootEn .items-list {
    align-items: flex-end;
}

body[dir="rtl"] .itemsfootEn .items-list a {
    text-align: right;
}

body[dir="rtl"] .copy-icon {
    margin-right: 0;
    margin-left: 5px;
}

/* ===== در موبایل مرکزچین ===== */
@media (max-width: 992px) {
    body[dir="rtl"] .itemsfoot,
    body[dir="rtl"] .itemsfootEn {
        text-align: center;
    }
    
    body[dir="rtl"] .itemsfoot .items-list,
    body[dir="rtl"] .itemsfootEn .items-list {
        align-items: center;
    }
    
    body[dir="rtl"] .itemsfoot .items-list a,
    body[dir="rtl"] .itemsfootEn .items-list a {
        text-align: center;
    }
}








/*sidebar*/


.sidebar {
    width: 250px;
    height: 825px;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgb(152, 156, 156);
}
.sidebar h2{
    display: flex;
    
    justify-content: center;
}
.sidebar input {
    background-color: rgb(238, 233, 233);
}

.product-list2 {
    margin-left: 20px;
    display: none;
}

.product-items {
    padding: 10px;
    background-color: #e9ecef;
    margin-bottom: 10px;
    border-radius: 5px;
}

.topgridsidbar{
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    margin-bottom: 28px;
}
.containersidbar{
    width: 20%;
   
    display: flex;
    justify-content: center;
    margin: 0;
}
/* .containersidgrid{
    width: 100%;
} */

/* end sidebar*/

/* 
.message-success{
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: red;
    font-size: 1.5rem;
    background-color: darkgreen;
}
.message-warning{
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: red;
    font-size: 1.5rem;
    background-color: #fce305;
}
.message-error{
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: red;
    font-size: 1.5rem;
    background-color: #ee4156;
} */

/* کلاس‌های messages */
.message-success,
.alert-success {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: rgb(54, 0, 248);
    font-size: 1.5rem;
    background-color: rgb(128, 255, 128);
    padding: 10px;
    margin: 0;
    border-radius: 5px;
    animation: slideIn 0.5s ease;
}

.message-warning,
.alert-warning {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: black;
    font-size: 1.5rem;
    background-color: #fce305;
    padding: 10px;
    margin-top: -10px;
    margin-bottom: -30px;
    border-radius: 5px;
    animation: slideIn 0.5s ease;
}

.message-error,
.alert-error,
.alert-danger {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    background-color: #ee4156;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    animation: slideIn 0.5s ease;
}

.message-info,
.alert-info {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    background-color: #3498db;
    padding: 10px;
    margin-top: -10px;
    margin-bottom: -30px;
    border-radius: 5px;
    animation: slideIn 0.5s ease;
}

/* animations */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}


.block-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: baseline;
    margin: 25px;
    align-content: space-around;
    justify-content: space-around;
   

}
.block-header__title {
	margin-bottom: 0;
	font-size: 20px
}
.block-header__divider {
	-ms-flex-positive: 1;
	flex-grow: 1;
	height: 2px;
	background: #ebebeb
}
.block-header__groups-list {
	display: -ms-flexbox;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap
}
.block-header__groups-list li+li {
	margin-right: 3px
}
.block-header__group {
	background: transparent;
	border: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	cursor: pointer;
	display: block;
	color: inherit;
	padding: 2px 11px 1px;
	border-radius: 12px;
	box-shadow: none;
    text-decoration: none;
}
.block-header__group:focus {
	outline: none
}
.block-header__group:focus,
.block-header__group:hover {
	box-shadow: inset 0 0 0 2px #ebebeb;
	color: inherit
}
.block-header__group--active,
.block-header__group--active:focus,
.block-header__group--active:hover {
	cursor: default;
	box-shadow: inset 0 0 0 2px #ee4156
}
.block-header__arrow,
.block-header__arrows-list {
	display: -ms-flexbox;
	display: flex
}
.block-header__arrow {
	width: 27px;
	height: 29px;
	padding: 0;
	margin: 0;
	border: none;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	cursor: pointer;
	fill: #999;
	border-radius: 1.5px;
	background: #f2f2f2;
	transition: all .15s
}
.block-header__arrow:focus {
	outline: none
}
.block-header__arrow:focus,
.block-header__arrow:hover {
	background: #ee4156;
	fill: #fff
}
.block-header__arrow:active {
	transition-duration: 0s;
	background: #d45454;
	fill: #fff
}
.block-header__arrow+.block-header__arrow {
	margin-right: 3px
}
.block-header__arrow svg {
	transform: scaleX(-1)
}
.block-header__arrow--left svg {
	position: relative;
	right: -1px
}
.block-header__arrow--right svg {
	position: relative;
	right: 1px
}
.block-header__title+.block-header__divider {
	margin-right: 16px
}
.block-header__divider+.block-header__groups-list {
	margin-right: 12px
}
.block-header__groups-list+.block-header__arrows-list {
	margin-right: 10px
}
.block-header__divider+.block-header__arrows-list {
	margin-right: 16px
}
@media (max-width:767px) {
	.block-header {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap
	}
	.block-header__groups-list {
		padding: 8px 0;
		margin-top: 8px;
		margin-bottom: -8px;
		-ms-flex-order: 100;
		order: 100;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch
	}
	.block-header__divider+.block-header__groups-list {
		margin-right: auto;
		margin-left: auto
	}
	.block-header__divider+.block-header__groups-list+.block-header__arrows-list {
		margin-right: 16px
	}
}
.txt-primary{
    color: #fd4d0d;
}

.favorite-btn {
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.favorite-btn i {
  color: #ff0000;
  font-size: 18px;
  transition: all 0.3s ease;
}

.favorite-btn:hover {
  border-color: #ff4d6d;
  background: #ff4d6d;
  box-shadow: 0 6px 12px rgba(255,77,109,0.4);
}

.favorite-btn:hover i {
  color: #acacac;
}

.favorite-btn.active {
  background: #ff4d6d;
  border-color: #ff4d6d;
}

.favorite-btn.active i {
  color: #acacac;
}

.pagination{
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    list-style-type: none;
    padding-bottom: 30px;
    margin-right: -150px;
}

.left-top-menu .top-menu-log{
    width: 20%;
}
.left-top-menu .top-menu-search{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -80px;
}
.left-top-menu .top-menu-lang{
    width: 20%;
}


/* ================= shop page =========================== */
/* استایل کارت‌های محصول */
.container-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.shop-grid {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    position: relative;
}

.shop-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #e0e7ff;
}

.shop-img {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pic-thumnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-grid:hover .pic-thumnail {
    transform: scale(1.05);
}

.title-thumnail {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 15px 15px 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.title-thumnail:hover {
    color: #667eea;
}

.p-style {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin: 8px 15px;
}

.thumnail {
    display: inline-block;
}

.shop-grid-p-price {
    margin: 10px 0;
}

.shop-grid-p-price p {
    margin: 5px 15px;
}

.shop-grid-p-price p:first-child {
    color: #667eea;
    font-size: 18px;
    font-weight: 700;
}

.shop-grid-p-price p:last-child {
    color: #f59e0b;
    font-size: 14px;
    font-weight: 500;
}

/* دکمه‌ها */
.shop-grid-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.btn-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-small:active {
    transform: translateY(0);
}

/* دکمه قلب */
.favorite-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.favorite-btn:hover {
    transform: scale(1.1);
    border-color: #ef4444;
}

.favorite-active {
    color: #ef4444;
    font-size: 18px;
}

.favorite-inactive {
    color: #94a3b8;
    font-size: 18px;
}

/* وضعیت ناموجود */
.shop-grid-p-price span {
    display: inline-block;
    margin: 15px;
    padding: 6px 12px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* افکت شاین روی کارت */
.shop-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.shop-grid:hover::before {
    left: 100%;
}

/* بخش قیمت همکار */
.shop-grid-p-price .thumnail {
    display: block;
}

/* responsive */
@media (max-width: 768px) {
    .container-pro {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    .title-thumnail {
        font-size: 14px;
        margin: 12px 12px 8px;
    }
    
    .p-style {
        font-size: 16px;
        margin: 6px 12px;
    }
    
    .btn-small {
        padding: 6px 12px;
        font-size: 12px;
    }
}