:root {
    --primary-color: hsl(0deg 98.71% 30.39%);
    --black-back: #2c2c2c;
    --accent-color: #898a8d;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
    text-decoration: none;
}

ul {
    padding-left: 0px !important;
}

@font-face {
    font-family: arabic;
    src: url('../font/arabic.otf');
}
@font-face {
    font-family: calibri;
    src: url('../font/JosefinSans-Regular.ttf');
 
}

@font-face {
    font-family: 'Calibri';
    src: url('../font/JosefinSans-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}


body {
     font-family:calibri ;
    direction: ltr;
    font-size: 14px;
}

.container-fluid > .row {
    max-width: 1678px;
    margin: 0px auto;
}

ul {
    margin-bottom: 0px !important
}

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 10005;
    background-color: #fff;
    /* box-shadow: 0px 1px 20px -10px #333; */
}

.logo-sec {
    padding-right: 80px;
    margin-top: -20px;
}

.logo-sec img:nth-child(2) {
    margin-top: 15px;
}

.nav-sec {
    background-repeat: no-repeat;
    background-size: 100%;
    height: 90px;
    /* margin-right: -80px; */
}

.nav {
    display: flex;
    align-items: center;
    margin-top: -20px;
    position: relative;
    margin-left: 25px;

}

.nav:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 25%;
    height: 50%;
    background-color: #fff;
    width: 2px;
}

.nav li a {
    color: #fff;
    padding: 10px 12px;

}

.nav-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.search {
    margin-top: -20px;
    cursor: pointer;
}

.lang {
    margin-top: -20px;
    color: #fff;
    font-size: .8em;
    position: relative;
    padding-right: 10px;
}

.lang:before {
    /*content: "";*/
    position: absolute;
    right: -10px;
    top: 25%;
    height: 60%;
    background-color: #fff;
    width: 2px;
}

.lang .lang-img {
    width: 22px;
    height: 22px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 140px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.2em;
}

.lang-item:last-child {
    border-bottom: none;
}


.lang-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41c1c 100%);
    color: #fff;
}

.about-back {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.about-img {
    width: 90%;
    padding-top: 48px;
    margin: auto;
}

.about-sec h3 {
    color: var(--primary-color);
font-weight:700;
font-style:italic;
    font-size: 1.7em;
}

.about-sec h4 {
    color: var(--accent-color);
    font-size: 1.4em;
}

.about-sec {
    line-height: 2em;
}

.more-btn {
    position: static !important;
    background-color: var(--primary-color);
    top: 0;
    right: 0;

    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    /*box-shadow: 0 4px 10px rgba(0, 132, 227, 0.2);*/
    transition: all 0.3s ease;
}

.more:hover .more-btn {
    background-color: #333;
    transform: scale(1.05);

}

.btn-label {

    white-space: nowrap;
    font-size: 1.2em;
    color: #1a2530;
    font-weight: 500;
}

.baner-top img {
    height: 122px;
}

.baner-top img {
    width: 100%;
    height: 100%;
    padding: 0;
}

.baner-owl img {

}

.baner-view-more {
    position: absolute;
    right: 10%;
    bottom: 8%;
}

.baner-view-more a {
    justify-content: center;

}

.baner-view-more .btn-label {
    color: var(--primary-color) !important;
    font-size: 1.3em;
    text-shadow: 0px 0px #333;
}

.about-txt {
    padding-left: 100px;
}
.about-txt p{
   text-align:justify;
}

.category-sec h2 {
    
    text-align: center;
}

.cat-item {
    text-align: center;
    cursor: pointer;
}

cat-item:hover .cat-img {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.4),
    0 0 40px rgba(185, 28, 28, 0.3),
    0 0 60px rgba(185, 28, 28, 0.2);
}


.cat-back {
    transition: all 0.4s ease;
}

.cat-item:hover .cat-back {
    filter: brightness(1.2);
    transform: rotate(180deg);
}

.cat-img > img:not(.cat-back) {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.cat-item:hover .cat-img > img:not(.cat-back) {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.cat-item h1 {
    transition: all 0.3s ease;
    color: #333;
    font-weight: bold;
}

.cat-item:hover h1 {
    color: var(--primary-color);
    /* transform: translateY(-5px); */
}

/* افکت لرزش ملایم
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
} */

.cat-item:hover .cat-img {
    animation: pulse 1s ease-in-out infinite;
}


.cat-img {
    width: 126px;
    height: 126px;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 50%;
}

.cat-img .cat-back {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.cat-item h1 {
    font-size: 1em;
    margin-top: 20px;
    max-width: 160px;
    line-height: 1.8em;
}

.title-sec h3 {
    font-size: 1.5em;
    
}

.blog-sec {
    background-color: hsl(0deg 0% 92.16%);
}

.blog-back {
    width: 100%;
    height: 100%;
}

.blog-txt {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #fff;
    padding: 20px;
    width: 100%;
}

.blog-txt h1 {
    font-size: 1em;
    padding-bottom: 15px;

    width: 100%;
}

.blog-date {
    font-size: .9em;
}

/* ===== استایل‌های Hover برای بلاگ ===== */

.blog-card {
    overflow: hidden;
}

/* Zoom روی عکس */
.blog-back {
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-back {
    transform: scale(1.08);
}

/* ساختار جدید blog-txt */
.blog-txt h1 {
    padding-bottom: 50px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    border-top: 1px solid #8a8989;
    padding-top: 10px;
    margin-top: 10px;
}

/* دکمه ادامه مطلب */
.blog-read-more {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-read-more {
    opacity: 1;
    transform: translateY(0);
}

.blog-read-more:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.services {
    color: #fff;
    padding: 50px 0px 90px;
    overflow: hidden;
}

.services-back {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.services h3 {
  
    font-size: 2.5em;
    margin-bottom: 20px;
}

.services p {
    font-size: 1.1em;
    margin-bottom: 50px;
}

.service-txt a {
    color: #fff;

}

/* ========== افکت Hover بخش Services ========== */

.services {
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;

}


.services-back {
    transition: transform 0.6s ease;
}

.service-txt {
    transition: all 0.4s ease;
}

.services:hover .service-txt {
    transform: translateY(-5px);
}

.services:hover .service-txt h3 {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.services:hover .service-txt p {
    opacity: 0.95;
}

.service-txt a {
    transition: all 0.3s ease;
    display: inline-block;
}

.services:hover .service-txt a {
    transform: translateX(-10px);
}

.service-txt a img {
    transition: transform 0.3s ease;
}

.services:hover .service-txt a img {
    transform: translateX(-5px);
}


.brands h3 {
    font-size: 2em;
    margin-bottom: 40px;
}

/* ===== بخش برندها با CSS Grid ===== */


.brands-content h3 {

    font-size: 2em;
    margin-bottom: 40px;
}

/* گرید برندها */
.brands-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* آیتم برند */
.brand-item {
    border: 3px solid hsl(0, 0%, 86%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 10px;
    border-radius: 25px;
    height: 100px;
    transition: all 0.3s ease;
}

.brand-item:hover {
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px #A0A0A0;
}

.brand-item img {
    filter: brightness(0);
    transition: all 0.3s ease;
    max-width: 100%;
    height: 80px;
    object-fit:scale-down
}

.brand-item:hover img {
    filter: brightness(100%);
}

/* ===== Responsive Grid ===== */

/* تبلت بزرگ: 3 ستون */
@media (max-width: 1200px) {
    .brands-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* تبلت: 2 ستون */
@media (max-width: 768px) {
    .brands-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .brands h3 {
        font-size: 1.5em;
        margin-bottom: 20px;
        text-align: center;
    }

    .brand-item {
        height: 90px;
        padding: 20px 10px;
    }
}


.brand-item {
    border: 3px solid hsl(0, 0%, 86%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 10px;
    border-radius: 25px;
    height: 100px;
    transition: all .3s;

}

.brand-item:hover {
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px #A0A0A0;
    transition: all .3s;

}

.brand-item img {
    filter: brightness(0);
    transition: all .3s;
}

.brand-item:hover img {
    filter: brightness(100%);
    transition: all .3s;


}

.brand-carousel-sec {
    padding-left: 110px;
}

.brand-carosuel-txt h4 {
    font-size: 1em;
    margin-top: 15px;
    color: #000;
}

.brand-img img {
    /*width: auto !important;*/
    object-fit:scale-down;
    height:100%;
}

.brand-carosuel {
    border: 1px solid var(--primary-color);
    height: 420px;
    padding: 20px 20px 30px 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px 5px #dadbdb6c;

}

.brand-carosuel::after {
    content: "";
    position: absolute;
    top: 100%;
    height: 8px;
    width: 75%;
    right: 12.5%;
    background-color: var(--primary-color);
    border-radius: 0px 0px 25px 25px
}

.brand-img {
    background-color: hsl(0deg 0% 92.16%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 310px;
    border-radius: 15px;
}

.section-header h2 {
    color: var(--primary-color);
    font-weight: bold;
}

.catalog-sec {
    position: relative;
    padding-top: 100px;
}

.section-header img {
    position: absolute;
    top: -80px;
    right: -50px;
    /* width: 100%; */
}


.percent-sec {

    height: 400px;
    /* background-position: center; */
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;

}

.percent-item {
    text-align: center;
}

.percent-item span {
    font-size: 4em;
}

.percent-item p {
    font-size: 1.2em;
}

.main-footer {
    background-image: url('../images/footer-back.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: -70px;
    color: #fff;
    position: relative;
    padding-top: 70px;
}

.top {
    position: absolute;
    top: -30px;
    right: calc(50% - 22.5px);
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    padding: 5px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.social a {
    padding: 10px 15px;
    transition: all .2s ease;

}

.social a img {
    transition: all .2s ease;

}

.social a img:hover {
    /* transform: translateY(-5px); */
    transform: scale(1.2);
    transition: all .3s ease;
}

.footer-part {
    display: flex;
    align-items: center;
    font-size: .9em;
}

.footer-p-two .col-lg-4 {
    position: relative;
}

.footer-p-two .col-lg-4:not(:last-child)::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 0;
    width: 1px;
    height: 110%;
    background-color: #fff;
}

.footer-part img {
    margin-right: 10px;
}

.footer-part a {
    color: #fff;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    /*font-size: .9em;*/
}

.accordion-toggle {
    display: none;
}

.accordion-label {
    /* display: none; */
    cursor: pointer;
    position: relative;
    padding-right: 25px;
}

.footer-links {
    list-style: none;
    font-family: IRANYekanWebLight;
}

.footer-links a {
    color: #ffffffdc;
    font-family: IRANYekanWebLight;

}

.footer-links li:hover {
    transform: translateX(-2px);
    transition: all .3s;

}

.footer-links li:hover a {
    text-decoration: underline;
}

.footer-links li {
    padding: 5px 0px;
    transition: all .3s;

}

.footer-column h4 {
    font-size: 1em;
    color: #ffffffdc;

}

.footer-right {
    background-color: hsl(0deg 0% 75.29%);
}

.footer-right p {
    margin-bottom: 0;
    color: #1b1b1b;
    font-size: .9em;
}

.footer-right span {
    color: #000000;
    font-weight: bold;
}

.fix-call {
    position: fixed;
    left: 10px;
    bottom: 50px;
    z-index: 10007;
    cursor: pointer;

}

.fix-call img {
    filter: contrast(0.5);
}

.fix-call img:hover {
    filter: grayscale(100%) sepia(100%) saturate(6000%) hue-rotate(-25deg) brightness(0.6) contrast(1.4);
}

/* ===== استایل Off-Canvas ===== */
.off-canvas {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 280px;
    max-width: 85%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    z-index: 20001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.off-canvas.active {
    transform: translateX(0);
}

/* هدر Off-Canvas */
.off-canvas-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41c1c 100%);
    color: #fff;
    padding: 20px 15px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.off-canvas-header span {
    font-size: 1.1em;
    font-weight: bold;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #fff;
    transform: rotate(90deg);
}

.close-btn:hover i {
    color: var(--primary-color);
}

.close-btn i {
    font-size: 1.2em;
    color: #fff;
    transition: color 0.3s ease;
}

.off-canvas .has-submenu::after {
    content: "\f054";
    position: absolute;
    top: 15px;
    right: 15px;
    color: #141313;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.has-submenu:hover::after {
    color: var(--primary-color);
}


/* ناوبری Off-Canvas */
.off-canvas-nav {
    padding: 10px 0;
}

/* آیتم‌های Off-Canvas */
.off-canvas-item {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.off-canvas-item:last-child {
    border-bottom: none;
}

.off-canvas-item > a,
.off-canvas-item > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover Effect */
.off-canvas-item:hover {
    background: linear-gradient(90deg, rgba(185, 28, 28, 0.05) 0%, transparent 100%);
}

.off-canvas-item:hover > a,
.off-canvas-item:hover > span {
    color: var(--primary-color);
    padding-right: 25px;
}

/* آیکون چورون */
.off-canvas-item i {
    font-size: 0.8em;
    color: #999;
    transition: all 0.3s ease;
}

.off-canvas-item:hover i {
    color: var(--primary-color);
    transform: translateX(-3px);
}

/* دکمه Category */
.category-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ===== استایل Submenu ===== */
.submenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    z-index: 20002;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.submenu.active {
    transform: translateX(0);
}

.submenu.level-2 {
    z-index: 20003;
}

/* هدر Submenu */
.submenu-header {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    padding: 15px;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submenu-header span {
    color: #fff;
    font-weight: bold;
    font-size: 1em;
}

/* دکمه بازگشت */
.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #fff;
}

.back-btn:hover {
    background: #fff;
    transform: translateX(3px);
}

.back-btn:hover i,
.back-btn:hover span {
    color: #333;
}

.back-btn i {
    margin-left: 5px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.back-btn span {
    /*font-size: 0.9em;*/
    font-weight: 500;
}

.submenu-items {
    padding: 10px 0;
}

.submenu-item {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.submenu-item:hover {
    background: linear-gradient(90deg, rgba(185, 28, 28, 0.05) 0%, transparent 100%);
}

.submenu-item:hover a {
    color: var(--primary-color);
    padding-right: 25px;
}

.submenu-item a i {
    font-size: 0.8em;
    color: #999;
    transition: all 0.3s ease;
}

.submenu-item:hover a i {
    color: var(--primary-color);
    transform: translateX(-3px);
}

/* مخفی کردن آیکون برای آیتم‌های بدون زیرمنو */
.submenu-item:not(.has-submenu) a i {
    display: none;
}

/* دکمه‌های Subcategory */
.subcategory-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* افکت Active برای آیتم‌ها */
.off-canvas-item.active,
.submenu-item.active {
    background: rgba(185, 28, 28, 0.08);
    border-right: 4px solid var(--primary-color);
}

.off-canvas-item.active > a,
.off-canvas-item.active > span,
.submenu-item.active a {
    color: var(--primary-color);
    font-weight: bold;
}

/* Scrollbar سفارشی */
.off-canvas::-webkit-scrollbar,
.submenu::-webkit-scrollbar {
    width: 6px;
}

.off-canvas::-webkit-scrollbar-track,
.submenu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.off-canvas::-webkit-scrollbar-thumb,
.submenu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.off-canvas::-webkit-scrollbar-thumb:hover,
.submenu::-webkit-scrollbar-thumb:hover {
    background: #a51d1d;
}

/* ===== Overlay ===== */
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .off-canvas,
    .submenu {
        width: 85%;
        max-width: 320px;
    }

    .off-canvas-item > a,
    .off-canvas-item > span,
    .submenu-item a {
        padding: 12px 15px;
        /*font-size: 0.9em;*/
    }
}

/* ===== انیمیشن ورود ===== */
@keyframes slideInRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.off-canvas.active,
.submenu.active {
    animation: slideInRight 0.4s ease;
}


@media (max-width: 991px) {
    .logo-sec {

        margin-top: 0px;
    }

    .search-res .search-box-wrapper {
        position: static;
        max-height: 100%;
        margin-top: 0px;
    }

    .search-box-container .row {
        margin: 0 !important;
    }

    .search-box-content {
        padding: 0px !important;
    }


    .search-close-btn {
        display: none !important;
    }

    .search-submit-btn {
        width: auto !important;
    }

    .search-close-btn {
        display: none;
    }

    .nav-container {
        width: 50% !important;
    }

    .nav-back {
        display: none;
    }

    .nav {
        display: none !important;
    }

    .section-header img {
        right: 0px;
        top: -80px;
        width: 60%;
    }

    .brands h3 {
        font-size: 1.5em;
        margin-bottom: 20px;
        text-align: center;
    }

    .brand-item img {
        width: 100%;
    }

    .brand-carousel-sec {
        padding-left: 12px;
    }

    .brand-carosuel {

        height: 360px;
    }

    .brand-img {
        height: 250px;
    }

    .main-footer {
        padding-top: 100px;
    }

    .percent-item span {
        font-size: 3em;
    }

    .about-txt {
        padding-left: 12px;
        text-align: center;
    }

    .about-txt a {
        justify-content: center;
    }

    .logo-sec {
        padding-right: 12px;
    }

    .about-back {
        width: 100%;
    }
}

@media (max-width: 576px) {
    body {

        /*font-size: 13px;*/
    }

    .cat-img .cat-back {
        width: 100%;
    }

    .cat-img {
        width: 116px;
        height: 116px;
    }

    .title-sec h3 {
        font-size: 1.3em;
    }

    .btn-label {
        white-space: nowrap;
        font-size: 1em;
    }

    .about-sec h3 {

        font-size: 1.2em;
    }

    .more-btn {
        width: 35px;
        height: 35px;

        font-size: 15px;
    }

    .category-sec h2 {
        font-size: 1.3em;
    }

    .about-sec h4 {

        font-size: 1.1em;
    }

    .fix-items {
        display: none !important;
    }

    .main-footer {
        margin-top: -80px;
    }

    .percents {
        flex-wrap: wrap;
    }

    .percent-item {
        width: 50%;
        margin-bottom: 20px;
    }

    .footer-p-two .col-lg-4:not(:last-child)::before {
        display: none;
    }

    .section-header img {
        top: 60px;
    }

    .catalog-sec {
        position: relative;
        padding-top: 20px;
        padding-bottom: 70px;
    }

    .footer-middle {
        flex-direction: column;
    }

    .footer-column:not(.contact-column) {
        border-bottom: 1px solid #e0e0e0;
        /* padding: 15px 0; */
    }

    .footer-column:not(.contact-column) h4 {
        margin-bottom: 0;
        padding: 10px 0;
        cursor: pointer;
        position: relative;
        user-select: none;
    }

    .accordion-label {
        display: block;
        margin-bottom: 0;
        font-weight: bold;
        color: #333;
        font-size: 1rem;
    }

    .accordion-label::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: #666;
        transition: transform 0.3s;
    }

    .accordion-toggle:checked + .accordion-label::after {
        content: '-';
    }

    /* Hide lists by default on mobile */
    .footer-column:not(.contact-column) .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    /* Show lists when checkbox is checked */
    .accordion-toggle:checked ~ .footer-links {
        max-height: 500px;
        padding-top: 10px;
    }

}


/* استایل‌های اصلی Nav */
.nav li a {
    color: #fff;
    padding: 0px 12px;
}

.nav li.active-trigger a,
.nav li:hover a {
    background-color: #4a4a4a;
    padding: 10px 12px;
    border-radius: 5px;
}

/* استایل Mega Menu */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 95vw;
    height: 500px;
    z-index: 1001;
    background-color: var(--primary-color);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary-color);
    margin-top: -30px;
}

.mega-menu.active {
    display: flex;
}

.mega-menu .pro-menu {
    width: 100%;
    display: flex;
    height: 100%;
}

/* --- Enhanced Tabs Section --- */
.pro-tabs {
    width: 30%;
    background-color: #4a4a4a;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
}

.pro-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.1) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.mega-menu-container.slide-out-left {
    animation: slideOutToLeft 0.3s ease-in forwards;
}

.mega-menu-container.slide-in-left {
    animation: slideInFromLeft 0.3s ease-out forwards;
}

.mega-menu-container.slide-in-right {
    animation: slideInFromRight 0.3s ease-out forwards;
}

/* افکت ویژه برای تب‌های کلیکی */
.menu-tab[data-has-sub]:active {
    transform: translateX(8px) scale(0.98);
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;

    }
    100% {
        opacity: 1;

    }
}

.mega-menu .pro-menu {
    /* position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%; */
    display: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu .pro-menu.active {
    display: flex;
}

.mega-menu .pro-menu.slide-out {
    /* animation: slideOutToRight 0.3s ease-in forwards; */
}

.mega-menu .pro-menu.slide-out-reverse {
    animation: slideOutToLeft 0.3s ease-in forwards;
}


@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* انیمیشن ورود از چپ (وقتی برمی‌گردیم) */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* دکمه بازگشت */
.submenu-back-btn {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: bold;
    width: 100%;
    text-align: right;
    font-family: inherit;
    font-size: 1em;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.submenu-back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent);
    transition: right 0.4s ease;
}

.submenu-back-btn:hover::before {
    right: 100%;
}

.submenu-back-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submenu-back-btn i {
    margin-left: 12px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.submenu-back-btn:hover i {
    transform: translateX(3px);
}

.submenu-back-btn span {
    font-size: 1em;
}

/* استایل برای تب‌هایی که submenu دارند */
.p-tab[data-submenu] {
    cursor: pointer;
}

.p-tab[data-submenu]::after {
    /* content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease; */
}

.p-tab[data-submenu]:hover::after {
    opacity: 0.5;
}

/* افکت ویژه برای تب‌های کلیکی */
.p-tab[data-submenu]:active {
    transform: translateX(8px) scale(0.98);
}

/* استایل برای pro-menu های فرعی */
.pro-menu[id] {
    /* background-color: #484848; */
}

.pro-menu[id] .pro-tabs {
    /* background-color: #3a3a3a; */
}

/* افکت fade in برای محتوای جدید */
.pro-menu.active .pro-tabs,
.pro-menu.active .pro-contents {
    animation: fadeIn 0.4s ease-in forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ToolsRight {
      width: 50px;
    height: 50px;
    background: #fff;
    margin-bottom: 5px;
    position: relative;
    border: 3px solid hsl(0deg 0% 77.65%);
    display: block;
    border-radius: 50%;
    float: left;
    transition: all .3s ease;
    padding-left: 10px;
    /*overflow:hidden;*/

}

.ToolsRight img {
    /* float: left; */
    position: absolute;
    right: 6px;
    top: 8px;
}

.ToolsRight span {
    float: left;
    display: none;
    font-size: .9em;
    width: 120px;
    color: #000;
    position: absolute;
    top: 12px;
    right: 50px;
    transition: all .5s ease;


}

.ToolsRight:hover {
    width: 190px;
    transition: all 0s ease 0s;
    border-radius: 25px;
    border: 3px solid var(--primary-color);


}

.ToolsRight:hover span {
    display: block;

}

.ToolsRight:hover img {
    filter: grayscale(100%) sepia(100%) saturate(6000%) hue-rotate(-25deg) brightness(0.6) contrast(1.4);


}

.fix-items {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 10000;
    /*width: 60px;*/
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}


.off-canvas {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 70%;
    background-color: hsl(60, 2%, 84%);
    z-index: 20001;
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.off-canvas a {
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #3333335d;
    z-index: 20001;
    display: none;
}

.overlay-main {
    position: fixed;
    top: 140px;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #3333335d;
    z-index: 10002;
    display: none;
}

.overlay-main.active {
    display: block;
}


.overlay.active {
    display: block;
}

.off-canvas.active {
    transform: translateX(0);
}

.submenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(60, 2%, 84%);
    z-index: 20002;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.submenu.active {
    transform: translateX(0);
}

.submenu-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.back-btn {
    background: none;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
}

.back-btn i {
    margin-left: 5px;
}

.submenu-items {
    padding: 10px 0;
}

.submenu-item {
    padding: 10px 15px;
}

.submenu-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-item:not(.has-submenu) a i {
    display: none;
}

.level-2 {
    z-index: 20003;
}

.e-n-imgs img {
    cursor: pointer;
}

.has-submenu {
    position: relative;
}

.has-submenu::after {
    content: "\f054";
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.has-submenu:hover::after {
    color: var(--primary-color);
}

.consultation-modal {
    position: fixed;
    right: -450px;
    bottom: 0px;
    width: 420px;
    height: 100%;
    z-index: 10006;
    transition: left 0.4s ease;
}

.consultation-modal.active {
    left: 0px;
}

.modal-content {
    background: #fff;
    /* border-radius: 15px; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 25px;
    position: relative;
    max-height: 100%;
    overflow-y: auto;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #000;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
    /* padding-right: 35px; */
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

.consultation-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #333;
    font-size: 0.8em;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-support-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    opacity: 0.15;
}

.modal-support-icon img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
}

/* Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .consultation-modal {
        width: 100%;
        height: 100%;


    }

    .modal-content {
        height: 100%;
    }

    .percent-sec {
        height: auto;
    }


}

.search-box-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: -30px;
}

.search-box-wrapper.active {
    max-height: 300px;
}

.search-box-container {
    padding: 10px 0;
}

.search-box-content {
    position: relative;
    padding: 0 100px 0 30px;
}

.search-close-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.search-close-btn:hover {
    background: #fff;
    transform: translateY(-50%) rotate(90deg);
    color: var(--primary-color);
}

.search-form {
    /* margin-bottom: 20px; */
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f5f5f5;
    border-radius: 50px;
    padding: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(185, 28, 28, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 20px;
    font-size: 1em;
    font-family: inherit;
    color: #333;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: #999;
    font-size: .9em;
}

.search-submit-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: #000;
    transform: scale(1.05);
}

.search-submit-btn i {
    font-size: 0.9em;
}

/* ===== استایل نقاط کاروسل برند ===== */

/* فعال کردن نمایش dots */
.brand-owl.owl-carousel {
    position: relative;
}

.brand-owl .owl-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
}

.brand-owl .owl-dot {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand-owl .owl-dot span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary-color) !important;
    transition: all 0.3s ease;
    margin: 0 5px !important;
}

/* نقطه فعال (وسطی) */
.brand-owl .owl-dot.active span {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(185, 28, 28, 0.4);
}

/* افکت Hover */
.brand-owl .owl-dot:hover span {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.brand-owl .owl-dot.active:hover span {
    background-color: var(--primary-color);
}

/* فضای اضافه برای dots */
.brand-carousel-sec {
    padding-bottom: 50px;
}

/* Responsive */
@media (max-width: 991px) {
    .brand-owl .owl-dots {
        bottom: -10px;
    }

    .brand-carousel-sec {
        padding-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .brand-owl .owl-dot span {
        width: 8px;
        height: 8px;
    }

    .brand-owl .owl-dot.active span {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 1450px) {
    .logo-sec {
        padding-right: 10px;
    }

    .logo-sec img {
        width: 90%;
    }

    .logo-sec a {
        width: 50%;
    }

    .nav-sec {

        /* margin-right: -100px; */
    }


}

@media (max-width: 1350px) {
    .nav-sec {

        /* margin-right: -120px; */
    }

}

@media (max-width: 1300px) {
    .logo-sec {
        width: 30%;
    }

    .nav-container {
        width: 70%;
    }

}

@media (max-width: 1200px) {
    .nav-sec {
        /* margin-right: -80px; */
    }

    .logo-sec img {
        padding-top: 10px;
    }

    .logo-sec img {
        width: 70%;
    }

    .about-img {
        width: 100%;
    }

    .logo-sec a {
        width: 50%;
    }


}
@media (min-width: 991px) {
    .blog-sec .row .col-lg-6:nth-child(1) .blog-card{
        height:415px;
    }
     .blog-sec .row .col-lg-6:nth-child(2) .blog-card{
        height:200px;
    }
    .blog-sec .row .col-lg-6:nth-child(2) .blog-card img{
        object-fit:cover
    }
}
@media (min-width: 991px) and (max-width: 1200px) {
    .logo-sec a {
        flex-direction: column;
    }

    .logo-sec img {
        width: 100%;
    }

    .logo-sec {
        width: 20%;
    }

    .nav-container {
        width: 80%;
    }
}

@media (max-width: 991px) {
    .nav-sec {
        padding-right: 12px !important;
    }

    .search-input-wrapper {
        border-radius: 15px;
        padding: 0px;
    }

    .search-submit-btn {
        font-size: 1.2em;
        padding: 12px;
        border-radius: 12px;
    }

    .lang-dropdown {

        right: 0;
        left: auto;
    }

    .lang, .search {
        background-color: var(--primary-color);
        border-radius: 50%;
        padding: 5px 6px;
        margin-right: 10px;
        margin-top: 0px;
        width: 34px;
        height: 32px;
    }

    .nav-sec {
        margin-right: 0px;
        justify-content: end;
        padding-left: 12px !important;
    }


    .logo-sec {
        width: 50%;
    }


    .logo-sec img {
        /*width: 100%; */
        /* margin-right: auto; */
        padding-top: 0px;
    }

    .bar-menu {
        font-size: 2em;
        padding-top: 10px;
    }
}

@media (max-width: 576px) {
     .baner-owl .owl-nav {
	display: flex !important;
	position: absolute !important;
	/* transform: translateX(-50%); */
	right: 20px;
	z-index: 2009 !important;
	bottom: 0px !important;
}
    .top{
        top:0;
    }
    .services h3 {
        font-size: 1.7em;
    }

    .services p {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .services {
        color: #fff;
        padding: 50px 0px 50px;
        overflow: hidden;
    }

    .brands h3 {
        font-size: 1.4em;
    }

    .percent-item span {
        font-size: 2em;
    }
    .footer-part{
        display:block;
    }

    .percent-item p {
        font-size: 1.1em;
    }

    .brand-owl .owl-dots {
        bottom: -10px;
    }


    .logo-sec {
        align-items: center;

    }

    .logo-sec img {
        width: 100px;
    }

    .search-box-wrapper.active {
        max-height: 350px;
    }


    .search-input {
        width: 100%;
        /*text-align: center;*/
    }

    .search-submit-btn {
        width: 100%;
        justify-content: center;

    }

    .search-suggestions {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .cat-img {
        width: 106px;
        height: 106px;
    }

    .cat-item h1 {
        font-size: 12px;
    }
}

/* ===== مگامنوی ساده‌شده ===== */

/* کانتینر اصلی */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 95vw;
    height: 500px;
    z-index: 1001;
    background-color: var(--primary-color);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary-color);
    margin-top: -30px;
}

.mega-menu.active {
    display: block;
}


.mega-menu-container {
    display: none;
    width: 100%;
    height: 100%;
}

.mega-menu-container.active {
    display: flex;

}


.mega-menu-sidebar {
    width: 30%;
    background-color: #4a4a4a;
    height: 100%;
    overflow-y: auto;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.slide-out-left {
    animation: slideOutToLeft 0.5s ease-in forwards;

}

.menu-tab {
    padding: 18px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

.menu-tab.active {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: var(--primary-color) !important;
    border-right: 4px solid var(--primary-color);
    font-weight: bold;
}

.menu-tab span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.menu-tab.active span {
    color: var(--primary-color);
}

.menu-tab i {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

.menu-tab.active i {
    color: var(--primary-color);
}

/* دکمه بازگشت */
.menu-back-btn {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.menu-back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.menu-back-btn i {
    margin-left: 10px;
}

/* محتوا */
.mega-menu-content {
    width: 70%;
    height: 100%;
    overflow-y: auto;
    padding: 25px;
}

.content-item {
    display: none;
    height: 100%;
}

.content-item.active {
    display: flex;
    flex-direction: column;
    align-items: start;
    animation: fadeIn 0.3s ease;
}

.content-item img {
    align-self: center;
    margin-top: auto;
    justify-self: end
}

.content-item a {
    display: flex;
    align-items: center;
    padding: 0 0 20px 0;
    color: #fff;
    font-weight: bold;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
    text-decoration: none;
    font-size: 1.1em;
}

.content-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8em;
}

/* انیمیشن‌ها */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scrollbar */
.mega-menu-sidebar::-webkit-scrollbar,
.mega-menu-content::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-sidebar::-webkit-scrollbar-thumb,
.mega-menu-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}


.embed-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pro-comments img {
    width: 30px;
    height: 30px;
}
.menu-tab a{
    color:#fff;
}
.menu-tab.active a{
    color:var(--pritmary-color);
}
.sale-item{
    background-color: #fff;
    min-height: 190px;
    padding: 10px;
    border-radius: 15px;
   
}
.sale-item:hover{
    box-shadow:0px 0px 20px 2px #d5d1d157;
}
.sale-img{
padding:30px 10px;
height: 170px;
display: flex;
align-items: center;
justify-content: center;
}
.sale-img img{
    height:100%;
    max-width:100%;
    width:100%;
    object-fit:scale-down
}
.sale-img .item-img{
    max-height: 160px;
}
.sale-item a{
    color: #000;
    text-decoration: none;
    background-color: #fff;
}
.sale-txt{
    min-height: 105px;
    font-size: .9em;

}
.sale-txt h1{
    font-size: 1em;
    text-align: center;
    font-weight: bold;
}
.sale-offer-txt span{
    font-size: 1.3em;
    font-weight: bold;
    font-family: IRANYekanWebBold;
    color: #fff;
    width: 100%;
    font-stretch: expanded;
}
.flag{
    position: absolute;
    top: 5px;
    left: 10px;
    width: 30px !important;
    height: 20px;
}
.footer-inner{
    margin-top:50px !important;
}
.content-item-img{
    width:500px;
    height:350px;
}
.content-item-img img{
    width:100%;
    height:100%;
    object-fit:scale-down
}
.baner-owl .owl-nav {
	display: block !important;
	position: absolute !important;
	/* transform: translateX(-50%); */
	right: 20px;
	z-index: 2009 !important;
	bottom: 170px;
}
.baner-owl .owl-nav button {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    margin:  5px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    transition: all 0.3s 
ease !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}
.baner-owl .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}