/************************************/
/*** 01. detailed image SEO ***/
/************************************/
.why-choose-item .icon-box i {

    color: #fff;
    position: relative;
    max-width: 24px;
    z-index: 1;
    /* رنگ آیکن */
}

.figcaption {
    position: absolute;
    bottom: 0;
    color: #fff;
    width: 100%;
    text-align: center;
}

.figcaption-top {
    position: absolute;
    top: 0;
    color: #fff;
    width: 100%;
    text-align: center;
}

.about-img-3 {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 60%;
    width: 100%;
    border-radius: 20px;
    z-index: 2;
}

.about-img-3 img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 20px;

}

.faq-cta-box {
    padding: 0px;
}

.faq-cta-box .customer-images {
    margin-bottom: 0px;
}

.faq-cta-box img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 20px;

}

/* ==========================================
MEGA MENU
========================================== */

.navbar-nav {
    position: relative;
}

.mega-menu-item {
    position: static;
}

.mega-menu-mobile-placeholder {
    display: none;
}

.main-menu .nav-menu-wrapper {
    text-align: right;
}

.main-menu ul ul {
    right: 0;
}

/* پنجره مگا منو */
.mega-menu-wrapper {

    position: absolute;

    top: 100%;
    right: 0;

    width: auto;

    height: 520px;

    background: #fff;

    display: flex;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);

    border-radius: 0 0 10px 10px;

    overflow: hidden;

    visibility: hidden;

    opacity: 0;

    transition: .25s;

    z-index: 99999;


}

.mega-menu-item:hover>.mega-menu-wrapper {

    visibility: visible;

    opacity: 1;

}

.mega-column a:hover {
    color: #fff !important;
}

/* ===========================
Sidebar
=========================== */

.mega-sidebar {

    width: max-content;

    /*min-width:250px;*/

    background: #f5f5f5;

    border-left: 1px solid #ececec;

    overflow-y: auto;

    display: flex;

    flex-direction: column;
    gap: 3px;
    padding: 10px;


}

.mega-sidebar {
    direction: ltr;
}

.mega-sidebar>* {
    direction: rtl;
}

.mega-category {

    display: flex;

    align-items: center;

    gap: 10px;

    height: 52px;

    padding: 0 18px;

    cursor: pointer;

    color: #444;

    transition: .2s;

    position: relative;

}

.mega-category:hover {

    background: #fff;

    color: #fff;
    font-weight: 600;

}

.mega-category.active {

    background: #fff;

    color: #ef4056;

    font-weight: 600;

}

.mega-category.active::before {

    content: "";

    position: absolute;

    right: 0;

    top: 0;

    width: 3px;

    height: 100%;

    background: #ef4056;

}

.mega-category i {

    width: 22px;

    text-align: center;

    font-size: 15px;

}


/* ===========================
Content
=========================== */

.mega-content {

    flex: 1;

    padding: 30px;
    padding-top: 10px;
    overflow-y: auto;
    overflow-x: hidden;


    background: #9b9a84;
    min-width: max-content;
}

.mega-content {
    direction: ltr;
}

.mega-content>* {
    direction: rtl;
}

.mega-panel {
    display: none;
}

.mega-panel.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*.mega-all-panel{*/
/* display:grid;*/
/* grid-template-columns:repeat(5,max-content);*/
/* gap:30px;*/
/*}*/
.mega-all-panel {

    display: flex;

    gap: 32px;

    align-items: flex-start;

}

.mega-stack {

    display: flex;

    flex-direction: column;

    gap: 28px;

}

.mega-column {

    display: flex;

    flex-direction: column;

}

.mega-column h4 {

    position: relative;

    padding-right: 10px;

    /*margin-bottom:18px;*/

    font-size: 15px;

    font-weight: 700;
    text-align: right;

}

.mega-column h4::before {

    content: "";

    position: absolute;

    right: 0;

    /*top:3px;*/

    width: 2px !important;

    height: 18px;

    background: #ef4056;

}

.mega-column a {

    display: block;
    text-align: right;
    text-decoration: none;

    color: #666;

    padding: 7px 0;

    transition: .2s;


}

.mega-all-product {
    background-color: #f5f5f5;
    padding: 5px;
}

.mega-panel .mega-all-product a {

    display: block;
    text-align: right;
    text-decoration: none;

    color: #444;

    padding: 7px 0;

    transition: .2s;


}

.main-menu ul li .mega-column a {
    padding-right: 0 !important;
}

.main-menu ul li .mega-all-product a {
    padding: 0 !important;
}

.main-menu ul li .mega-all-product a {
    padding-right: 0 !important;
    color: #444 !important;
}

.main-menu ul li .mega-column a:hover {

    color: #000000 !important;
    font-weight: 600;

}

.main-menu ul li .mega-all-product:hover a {

    color: #ef4056 !important;
    font-weight: 600;

}

.mobile-menu {
    display: none;
}

/* ==========================================
SHOPPING CARD
========================================== */
.show-card-menu {
    position: relative;
    padding-top: 10px;
}

.wraper-card {
    position: absolute;

    top: 100%;
    left: 0;

    width: 500px;

    max-height: 520px;

    background: #f5f5f5;

    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 15px;
    margin-top: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    overflow: hidden;

    visibility: hidden;

    opacity: 0;

    transition: .25s;

    z-index: 99999;
    gap: 1rem
}

.show-card-menu:hover .wraper-card {

    visibility: visible;

    opacity: 1;

}

.box-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 1rem;
}

.all-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.item-card {
    display: flex;
    align-items: start;
    gap: 20px;

}

.item-card hr {
    margin: 0;
}

.image-item-card {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;

    background: #f3f3f3;
    border: 1px solid #e0e0e0;
    border-radius: 16px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.image-item-card a {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.image-item-card figure {
    margin: 0;
}

.image-item-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-item-card {
    flex: 1;

}

.title-item-card h3 {
    font-size: 14px;
}


.add-card {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 10px;

}

.add-card button {
    border-radius: 0.5rem;
    width: 30px;
    height: 30px;
    border: 1px solid red !important;
    background: none;
}

.add-card-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;

    align-items: end;
    gap: 15px;
}

.continu-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

}

.number-card {
    position: absolute;
    right: -4px;
    bottom: -4px;
    background-color: red;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-card span {
    font-size: 12px;
    font-weight: bold;
    line-height: normal;
    color: #fff;
    padding-top: 3px;

}

.price-main {
    display: flex;
    justify-content: space-between;
    column-gap: 5px;
    margin-top: auto;
    width: 100%;
    flex-wrap: wrap;
}

.price-main.header-card {
    flex-direction: column;
    align-items: flex-end;
}

.continu-custom .price-main.header-card {
    order: 2;
    flex: 1;
}

.price-type-two {
    font-size: 14px;
    color: #838383;
}

.price-type {
    display: flex;
    flex-direction: row;
    /* order: 2; */
    gap: 5px;
}

.price-type-one {
    color: black;
    display: block;
    font-size: 20px;
}

.vahed-price {
    font-size: 16px;
    color: red;
    /* order: 3; */
    justify-self: end;
    font-weight: bold;
}

.sabt-custom-card {
    background-color: #f53434;
    border: none;
    order: 1;
    flex: 1;
}

.desc-title-card {
    font-size: 16px;
}

.desc-title-card span {
    font-size: 14px;
    color: #838383;
}

/* login */
.login-bottom {
    background: none;
    border: 1px solid #838383;
    color: #838383 !important;
}

.login-bottom .color-element {
    color: #838383;
}

.btn-default.login-bottom:hover * {
    color: #fff;
}

.header-btn {
    gap: 10px;
    margin-left: 10px;
}

.show-profile .btn-default {
    background: none;
    border: none;
    padding: 0;
    overflow: visible;
}

.show-profile button {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
}

.show-card-menu .btn-default:hover {
    background-color: transparent !important;
}

.show-card-menu .btn-default::before {
    background-color: transparent !important;
}

header .btn-default {
    padding: 10px 16px;
}

.mojodi-anbar {
    margin: 0;
    color: red;
    font-size: 11px;
}

#continu-order-form .current-address {
    border: 1px solid #f55f4b61;
    padding: 15px;
    border-radius: 16px;
}

#continu-order-form .detailes-current-address {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}

#continu-order-form .detailes-current-address p {
    margin: 0;
}

.bottom-continiu {
    display: flex;
    justify-content: end;
}

/* ==========================================
profile
========================================== */
.show-profile {
    position: relative;
    padding-top: 10px;
}

.show-profile i {
    font-size: 22px;
}

.wraper-profile {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;

    height: auto;

    background: #9b9a84;

    display: flex;
    flex-direction: column;


    border-radius: 16px;
    padding: 15px;
    margin-top: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    overflow: hidden;

    visibility: hidden;

    opacity: 0;

    transition: .25s;

    z-index: 99999;
    gap: 15px;
}

.show-profile:hover>.wraper-profile {

    visibility: visible;

    opacity: 1;

}

.wraper-profile a {
    color: #fff;
    font-size: 16px;
}

.wraper-profile h3 {
    font-size: 18px;
    color: #fff;

}

.wraper-profile hr {
    margin: 0;
    border-color: #fff;

}

.profile-item button {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
    font-size: 16px;

}

.wraper-profile .profile-item:hover * {
    color: #2e2e2e;
}


/* ===========================
Scrollbar
=========================== */

.mega-sidebar::-webkit-scrollbar,
.mega-content::-webkit-scrollbar,
.box-card::-webkit-scrollbar {

    width: 4px;

}

.mega-sidebar::-webkit-scrollbar-thumb,
.mega-content::-webkit-scrollbar-thumb,
.box-card::-webkit-scrollbar-thumb {

    background: #d5d5d5;

    border-radius: 20px;

}



/* دسکتاپ بزرگ */
/* @media (min-width: 1200px) {
    .about-img-3 {
        max-width: 370px;
    }
} */

/* لپ‌تاپ و تبلت بزرگ */
/* @media (max-width: 1199px) and (min-width: 992px) {
    .about-img-3 {
        max-width: 300px;
    }
} */

/* ===============================
Mobile Mega Menu
================================ */
@media only screen and (max-width: 991px) {
    .why-choose-image .mobile-img img {
        height: auto;
        aspect-ratio: 0;
    }

    .why-choose-image .mobile-img {
        aspect-ratio: 1 / 0.8;
    }

    .slicknav_nav .mega-menu-item {
        display: none;
    }

    .mega-menu-item-mobile {
        display: block;
        position: static;
    }

    .mega-menu-wrapper {
        display: none;
    }


    .mobile-menu {
        display: block;
        width: 100%;
        background: #fff;

    }

    .mobile-menu-list {

        margin: 0;
        padding: 0;
        list-style: none;

    }

    /* دسته اصلی */

    .mobile-item {

        border-bottom: 1px solid #f0f0f1;

    }

    .mobile-main-title {

        background: #9b9a84;
        color: #fff;
        border: none;
        font-size: 16px;
        padding: 10px 20px;
        position: relative;
        font-family: var(--accent-font);
        font-size: 16px;
        font-weight: 400;
        text-transform: capitalize;
        padding: 10px 20px;
        line-height: normal;
        margin: 0;
        border-radius: 0 !important;
        transition: all 0.3s ease-in-out;

    }

    .mobile-title {

        width: 100%;

        border: 0;
        background: #fff;

        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 10px 22px;

        cursor: pointer;

        font-size: 15px;

        color: #3f4064;

    }

    /* فلش */

    .mobile-title i {

        font-size: 12px;
        font-weight: 900;
        transition: .3s;

    }

    /* زیرمنو */

    .mobile-submenu {

        display: none;

        background: #fafafa;

        border-top: 1px solid #f3f3f3;

    }

    .mobile-submenu>ul {

        list-style: none;

        margin: 0;
        padding: 0;

    }

    /* هر گروه */

    .mobile-submenu li {

        list-style: none;

    }

    /* عنوان گروه */

    .mobile-subtitle {

        width: 100%;

        border: 0;
        background: #fafafa;

        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 14px 18px;

        cursor: pointer;

        font-size: 14px;

        color: #555;

    }

    .mobile-subtitle i {

        font-size: 12px;

        transition: .3s;

    }

    /* لینک ها */
    .slicknav_nav .mobile-links {

        display: none;

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

    }

    .slicknav_nav .mobile-links li {

        display: flex;

        flex-direction: column;

    }

    .slicknav_nav li.active>.mobile-links {

        display: grid !important;

    }

    .mobile-links a {

        display: block;

        padding: 12px 35px;

        text-decoration: none;

        color: #666 !important;

        font-size: 14px;

        transition: .2s;

    }

    .mobile-links a:hover {

        color: #ef4056;

    }

    /* حالت باز */

    .mobile-item.active>.mobile-title {

        color: #ef4056;

    }

    .mobile-item.active>.mobile-title i {

        transform: rotate(180deg);

    }

    .mobile-submenu li.active>.mobile-subtitle {

        color: #ef4056;

    }

    .mobile-submenu li.active>.mobile-subtitle i {

        transform: rotate(180deg);

    }




    .slicknav_nav .all-category-mobile a {
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #1c57dd ! important;
    }

    .mega-menu-wraper-mobile {
        display: flex;
        color: black;
        width: 100%;
    }

    .mega-sidebar-mobile {
        display: flex;
        flex-direction: column;
        width: max-content;
        gap: 15px;
        padding: 10px;
        background: #f5f5f5;
        border-left: 1px solid #ececec;
        overflow-y: auto;
        overflow-x: hidden;
        height: 300px;
    }

    .mega-sidebar-mobile {
        direction: ltr;
    }

    .mega-sidebar-mobile>* {
        direction: rtl;
    }

    .mega-category-mobile {

        display: flex;

        align-items: center;

        gap: 10px;

        height: 40px;

        padding: 0 18px;

        cursor: pointer;

        color: #444;

        transition: .2s;

        position: relative;
        font-size: 12px;

    }

    .mega-category-mobile.active {

        background: #fff;

        color: #ef4056;

        font-weight: 600;

    }

    .mega-category-mobile.active::before {

        content: "";

        position: absolute;

        right: 0;

        top: 0;

        width: 3px;

        height: 100%;

        background: #ef4056;

    }


    .mega-content-mobile {
        flex: 1;
        padding: 15px;
        overflow-y: auto;
        overflow-x: hidden;
        background: #9b9a84;
        width: 100%;
        height: 300px;
    }

    .mega-content-mobile {
        direction: ltr;
    }

    .mega-content-mobile>* {
        direction: rtl;
    }

    .mega-panel-mobile {
        display: none;
    }

    .mega-panel-mobile.active {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        align-items: flex-start;
        justify-content: center;
    }

    .mega-column-mobile {
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        align-items: center;
    }

    .image-category-mobile {
        width: 50px;
        height: 50px;
        background-color: #f5f5f5;
        border-radius: 50%;
        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .title-category-mobile {
        text-align: center;
        font-size: 9.5px;
    }

    .image-category-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* تصویر کل دایره را پر می‌کند */
    }

    .image-category-mobile i {
        font-size: 20px;
        color: #666;
    }

}

/* تبلت متوسط */
/* @media (max-width: 991px) and (min-width: 768px) {
    .about-img-3 {
        max-width: 250px;
    }
}
 */


/* موبایل بزرگ */
/* @media (max-width: 767px) and (min-width: 481px) {
    .about-img-3 {
        max-width: 200px;
    }
} */

/* موبایل کوچک */
/* @media (max-width: 480px) {
    .about-img-3 {
        max-width: 180px;
    }
} */
