/* ========== Color Badge ========== */
.color-badge {
    display: inline-block;
    vertical-align: middle;
}

/* ========== Mobile Category Menu Styles - کاملاً مستقل ========== */
/* Reset کامل - override همه استایل‌های قبلی */
#menu-mobile-categories,
#menu-mobile-categories * {
    box-sizing: border-box;
}

/* منوی اصلی */
#menu-mobile-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
    text-align: right !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
}

/* آیتم اصلی "دسته بندی" */
#menu-mobile-categories > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
}

#menu-mobile-categories > li > a {
    display: block !important;
    padding: 15px 20px !important;
    color: #2c3e50 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: #f5f5f5 !important;
    border-bottom: 2px solid #e0e0e0 !important;
    cursor: default !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* منوی زیرمجموعه اصلی */
#menu-mobile-categories > li > .sub-menu {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
}

/* Category Items - موضوعات اصلی */
#menu-mobile-categories .sub-menu > li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

/* لینک Category */
#menu-mobile-categories .sub-menu > li > a.mobile-cat-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 14px 20px !important;
    color: #2c3e50 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: #fafafa !important;
    cursor: pointer !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    margin: 0 !important;
    transition: background-color 0.2s ease !important;
}

#menu-mobile-categories .sub-menu > li > a.mobile-cat-toggle:hover {
    background: #f0f0f0 !important;
    color: #1a1a1a !important;
}

#menu-mobile-categories .sub-menu > li > a.mobile-cat-toggle:active {
    background: #e8e8e8 !important;
}

/* زیرمنوهای Category - SubCategory */
#menu-mobile-categories .sub-menu > li > .sub-menu {
    display: none !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: none !important;
    width: 100% !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05) !important;
}

#menu-mobile-categories .sub-menu > li.open > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* SubCategory Items */
#menu-mobile-categories .sub-menu .sub-menu > li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
}

#menu-mobile-categories .sub-menu .sub-menu > li > a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px 20px 12px 40px !important;
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    margin: 0 !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
}

#menu-mobile-categories .sub-menu .sub-menu > li > a:hover {
    color: #2c3e50 !important;
    background: #f8f8f8 !important;
}

/* Icon برای SubCategory */
#menu-mobile-categories .sub-menu .sub-menu .subcategory-icon {
    display: inline-block !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    color: #999 !important;
    width: 10px !important;
    height: 10px !important;
}

/* MainLink Items */
#menu-mobile-categories .sub-menu > li.menu-item-type-custom {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

#menu-mobile-categories .sub-menu > li.menu-item-type-custom > a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 14px 20px !important;
    color: #2c3e50 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: #fafafa !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    margin: 0 !important;
    transition: background-color 0.2s ease !important;
}

#menu-mobile-categories .sub-menu > li.menu-item-type-custom > a:hover {
    background: #f0f0f0 !important;
    color: #1a1a1a !important;
}

/* مخفی کردن دکمه dd-toggle و سایر عناصر اضافی */
#menu-mobile-categories .dd-toggle,
#menu-mobile-categories .icon-plus,
#menu-mobile-categories .icon-plus-mehrnoosh {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override کامل استایل‌های stellarnav و سایر کتابخانه‌ها */
.stellarnav #menu-mobile-categories,
.stellarnav.mobile #menu-mobile-categories,
.stellarnav #menu-mobile-categories ul,
.stellarnav #menu-mobile-categories li,
.stellarnav #menu-mobile-categories a,
.stellarnav.mobile #menu-mobile-categories ul,
.stellarnav.mobile #menu-mobile-categories li,
.stellarnav.mobile #menu-mobile-categories a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
}

/* حذف تمام استایل‌های پیش‌فرض */
#menu-mobile-categories ul,
#menu-mobile-categories li,
#menu-mobile-categories a {
    all: unset;
    display: block !important;
    box-sizing: border-box !important;
}

/* بازگرداندن استایل‌های ضروری */
#menu-mobile-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

#menu-mobile-categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#menu-mobile-categories li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#menu-mobile-categories a {
    text-decoration: none !important;
    color: inherit !important;
}

/* ========== Wishlist Styles ========== */
.box-meta-sub-meta-button-mehrnoosh.wishlist-single-mehrnoosh .yith-wcwl-add-to-wishlist a {
    display: block;
}

/* ========== Theme Colors ========== */
.add-mehrnoosh-star-single-product-elementor .custom-product-rating i,
.add-mehrnoosh-star-single-product-elementor i,
.comment-mehrnoosh-grid-post-one-postslider i,
.custom-product-review-count.mehrnoosh-four-meta-slider-offer i,
.mehrnoosh-comment-for-single-post i,
#mehrnoosh-post-in-blog-one .mehrnoosh-post-grid-meta .rel-comment-tedad421,
#mehrnoosh-single-product-tab-elementor-id #tab-reviews .mehrnoosh-h3-order-view-title::before,
.mehrnoosh-single-product-tab-elementor #tab-title-reviews a::after,
#mehrnoosh-single-product-tab-elementor-id .tabs.wc-tabs #tab-title-reviews.active::before,
.iconbox-mehrnoosh-footer-one-box-titleelement,
.price-and-box-mehrnoosh-in-shop-offer888,
.price-and-box-mehrnoosh-in-shop-offer-654::before,
.comment-counter-grid-one,
.comment-mehrnoosh-grid-post-one::before,
.mehrnoosh-cart-left-bar .widget_shopping_cart_content .woocommerce-mini-cart-item.mini_cart_item .remove.remove_from_cart_button,
.offer-mehrnoosh-mega-menu,
.menu-items-submenu-wrapper-mehrnoosh-inner-menu-image .offer-423 {
    background: rgb(215, 174, 113);
}

#mehrnoosh-single-product-tab-elementor-id-tabar .comment-form-strengths-green.orange-mehrnoosh-one label,
#consent-product-single-elementor .rezayat-mehrnoosh-darsad-right-box-one .rez-meta-mehrnoosh-title .mehrnoosh-.low-rating,
#mehrnoosh-single-product-tab-elementor-id .woocommerce-Tabs-panel .comment-form-strengths-green.orange-mehrnoosh-one label,
#zemenat-for-single-product-elementor .zemanat-mehrnoosh-023.mehrnoosh-box-meta-for-single-product-elementor i,
.comment-list-one-mehr-403-tir-left-title9mehr-two.fivestarmehrnoosh i,
.comment-list-one-mehr-403-tir-left-title9mehr-two.fourstarmehrnoosh i:first-child,
.comment-list-one-mehr-403-tir-left-title9mehr-two.fourstarmehrnoosh i:nth-child(2),
.comment-list-one-mehr-403-tir-left-title9mehr-two.fourstarmehrnoosh i:nth-child(3),
.comment-list-one-mehr-403-tir-left-title9mehr-two.fourstarmehrnoosh i:nth-child(4),
.comment-list-one-mehr-403-tir-left-title9mehr-two.threestarmehrnoosh i:first-child,
.comment-list-one-mehr-403-tir-left-title9mehr-two.threestarmehrnoosh i:nth-child(2),
.comment-list-one-mehr-403-tir-left-title9mehr-two.threestarmehrnoosh i:nth-child(3),
.comment-list-one-mehr-403-tir-left-title9mehr-two.twostarmehrnoosh i:first-child,
.comment-list-one-mehr-403-tir-left-title9mehr-two.twostarmehrnoosh i:nth-child(2),
.comment-list-one-mehr-403-tir-left-title9mehr-two.onestarmehrnoosh i:first-child,
.woo-wallet-content .woo-wallet-price,
.comment-list-one-mehr-403-tir-left-title9.fivestarmehrnoosh i,
.comment-list-one-mehr-403-tir-left-title9.fivestarmehrnoosh i,
.comment-list-one-mehr-403-tir-left-title9.fourstarmehrnoosh i:nth-child(1),
.comment-list-one-mehr-403-tir-left-title9.fourstarmehrnoosh i:nth-child(2),
.comment-list-one-mehr-403-tir-left-title9.fourstarmehrnoosh i:nth-child(3),
.comment-list-one-mehr-403-tir-left-title9.fourstarmehrnoosh i:nth-child(4),
.comment-list-one-mehr-403-tir-left-title9.onestarmehrnoosh i:nth-child(1),
.comment-list-one-mehr-403-tir-left-title9.twostarmehrnoosh i:nth-child(1),
.comment-list-one-mehr-403-tir-left-title9.twostarmehrnoosh i:nth-child(2),
.comment-list-one-mehr-403-tir-left-title9.threestarmehrnoosh i:nth-child(1),
.comment-list-one-mehr-403-tir-left-title9.threestarmehrnoosh i:nth-child(2),
.comment-list-one-mehr-403-tir-left-title9.threestarmehrnoosh i:nth-child(3),
.price-and-box-mehrnoosh-in-shop-offer-654 span,
.comment-mehrnoosh-grid-post-one,
.woocommerce-mini-cart__empty-message.mehrnoosh-no-product-one i,
.readmore-product-inmega-menu-two,
.rez-meta-mehrnoosh-title .mehrnoosh-.low-rating,
.comment-form-strengths-greenorange-mehrnoosh-one1.nbbh6567567 h3 i,
.mehrnoosh-box-green-orange-mehrnoosh-one .comment-weaknesses::before,
.comment-form-strengths-green.orange-mehrnoosh-one label,
.zemanat-mehrnoosh-023.mehnroosh-time-send i,
.custom-product-rating i,
.rating-mehrnoosh-quick-view .star-rating span::before,
.star-mehrnoosh-prudct-in-shop-one i {
    color: rgb(215, 174, 113);
}

#mehrnoosh-single-product-tab-elementor-id .woocommerce-Tabs-panel .add-weakness-field.button,
#mehrnoosh-single-product-tab-elementor-id #tab-title-reviews.active a {
    color: rgb(215, 174, 113) !important;
}

#consent-product-single-elementor .rezayat-mehrnoosh-darsad-right-box-one .circular-progress-wrapper.low-rating .fg,
.rezayat-mehrnoosh-darsad-right-box-one .circular-progress-wrapper.low-rating .fg {
    stroke: rgb(215, 174, 113);
}

.custom-product-rating i,
.readmore-product-inmega-menu-two,
.comment-form-strengths-greenorange-mehrnoosh-one1.nbbh6567567 h3 i,
.zemanat-mehrnoosh-023.mehnroosh-time-send i,
.woocommerce-mini-cart__empty-message.mehrnoosh-no-product-one i,
.star-mehrnoosh-prudct-in-shop-one i {
    background: rgb(215, 174, 113);
}

#mehrnoosh-single-product-tab-elementor-id #tab-reviews .mehrnoosh-h3-order-view-title::before,
.mehrnoosh-single-product-tab-elementor #tab-title-reviews a::after,
.add-mehrnoosh-star-single-product-elementor i,
.comment-mehrnoosh-grid-post-one-postslider i,
.custom-product-review-count.mehrnoosh-four-meta-slider-offer i {
    box-shadow: 0px 2px 15px rgba(215, 174, 113, 0.23921568627450981);
}

#mehrnoosh-post-in-blog-one .mehrnoosh-post-grid-meta .rel-comment-tedad421,
.mehrnoosh-comment-for-single-post i,
.iconbox-mehrnoosh-footer-one-box-titleelement,
.price-and-box-mehrnoosh-in-shop-offer888,
.mehrnoosh-cart-left-bar .widget_shopping_cart_content .woocommerce-mini-cart-item.mini_cart_item .remove.remove_from_cart_button,
.offer-mehrnoosh-mega-menu,
.menu-items-submenu-wrapper-mehrnoosh-inner-menu-image .offer-423 {
    box-shadow: 0px 7px 15px rgba(215, 174, 113, 0.23921568627450981);
}

.comment-mehrnoosh-grid-post-one::before,
.price-and-box-mehrnoosh-in-shop-offer-654::before {
    box-shadow: 0px 5px 15px rgb(215, 174, 113);
}

.mehrnoosh-blog-post-one-comment .mehrnoosh-blog-post-one-comment-counter,
.mehrnoosh-footer-box-easy-cart i,
.mehrnoosh-phone-footer-one-box i,
.mehrnoosh-nav-slider-element-slider-two .button-12-403-box1,
#cart-unic-one .cart-counter-mehrnoosh,
#cart-unic-one .cart-counter-mehrnoosh,
.sale-offer-counter-box {
    background: rgb(201, 156, 96);
}

.form-gradiant-mehrnoosh {
    background: linear-gradient(90deg, rgb(1, 73, 75) 0%, rgb(1, 73, 75) 100%);
}

.form-gradiant-mehrnoosh {
    box-shadow: 0px 10px 40px rgba(1, 73, 75, 0.27);
}

:root {
    --color-primary: rgb(215, 174, 113);
    --color-secondary: rgb(201, 156, 96);
    --color-accent: rgb(248, 240, 228);
    --color-background: rgba(215, 174, 113, 0.23921568627450981);
}

/* ========== Elementor Element ========== */
.elementor-element {
    float: right;
    width: 100%;
}

/* ========== Login Modal Styles ========== */
#loginModalmehrnoosh {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-contentmehrnoosh {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 3% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.closemehrnoosh {
    color: #666;
    float: left;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.closemehrnoosh:hover,
.closemehrnoosh:focus {
    color: #fff;
    background-color: #dc3545;
    transform: rotate(90deg);
    text-decoration: none;
}

.mehrnoosh-login-form {
    margin-top: 0;
    padding: 40px 30px 30px;
}

.mehrnoosh-login-form .modal-title {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.mehrnoosh-login-form .modal-title h6 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.mehrnoosh-login-form .modal-title i {
    color: var(--color-primary, #d7ae71);
    font-size: 24px;
    margin-left: 10px;
}

.mehrnoosh-login-form .form-group {
    margin-bottom: 20px;
}

.mehrnoosh-login-form .input-group {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mehrnoosh-login-form .input-group:focus-within {
    box-shadow: 0 4px 12px rgba(215, 174, 113, 0.3);
    transform: translateY(-2px);
}

.mehrnoosh-login-form .input-group-text {
    background: linear-gradient(135deg, var(--color-primary, #d7ae71) 0%, var(--color-secondary, #c99c60) 100%);
    border: none;
    padding: 12px 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.mehrnoosh-login-form .input-group-text i {
    font-size: 18px;
}

.mehrnoosh-login-form .form-control {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e9ecef;
    border-right: none;
    border-left: none;
    border-radius: 0;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.mehrnoosh-login-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary, #d7ae71);
    background-color: #fafafa;
}

.mehrnoosh-login-form .form-control::placeholder {
    color: #adb5bd;
}

/* User Panel Menu - Grid Layout */
#panelFormContent .form-group {
    margin-bottom: 15px;
}

#panelFormContent .user-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

#panelFormContent .user-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-height: 100px;
}

#panelFormContent .user-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(215, 174, 113, 0.2);
    border-color: var(--color-primary, #d7ae71);
    background: linear-gradient(135deg, #fff 0%, #fef9f3 100%);
}

#panelFormContent .user-menu-item i {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--color-primary, #d7ae71);
    transition: all 0.3s ease;
}

#panelFormContent .user-menu-item:hover i {
    transform: scale(1.1);
}

#panelFormContent .user-menu-item span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

#panelFormContent .user-menu-item.logout {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-color: #dc3545;
}

#panelFormContent .user-menu-item.logout i {
    color: #fff;
}

#panelFormContent .user-menu-item.logout:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

#panelFormContent .welcome-message {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--color-accent, #f8f0e4) 0%, #fff 100%);
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.mehrnoosh-login-form .btn-login {
    background: linear-gradient(135deg, var(--color-primary, #d7ae71) 0%, var(--color-secondary, #c99c60) 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(215, 174, 113, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mehrnoosh-login-form .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(215, 174, 113, 0.4);
    opacity: 1;
}

.mehrnoosh-login-form .btn-login i {
    font-size: 16px;
}

/* User Box Header Styles */
.user-box-header-mehrnoosh-one {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
}

.user-box-header-mehrnoosh-one a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 44px;
}

.user-box-header-mehrnoosh-one a:hover {
    background-color: rgba(215, 174, 113, 0.1);
    transform: translateY(-2px);
}

.user-box-header-mehrnoosh-one .mehr-acc543 {
    font-size: 22px;
    color: var(--color-primary, #d7ae71);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    height: 22px;
}

.user-box-header-mehrnoosh-two {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

/* Mobile Menu User Styles */
.login-register-mehrnoosh-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.my-account-mobile-menu-mehrnoosh {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--color-primary, #d7ae71) 0%, var(--color-secondary, #c99c60) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(215, 174, 113, 0.3);
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
}

.my-account-mobile-menu-mehrnoosh i {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.my-account-mobile-menu-mehrnoosh:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(215, 174, 113, 0.4);
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .modal-contentmehrnoosh {
        margin: 10% auto;
        width: 95%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .mehrnoosh-login-form {
        padding: 30px 20px 20px;
    }
    
    .mehrnoosh-login-form .modal-title h6 {
        font-size: 20px;
    }
    
    #panelFormContent .user-menu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    #panelFormContent .user-menu-item {
        min-height: 80px;
        padding: 15px;
    }
    
    .mehrnoosh-login-form .btn-login {
        width: 100%;
        justify-content: center;
        margin: 8px 0;
    }
    
    .closemehrnoosh {
        left: 15px;
        top: 10px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
    
    .user-box-header-mehrnoosh-one {
        flex-direction: row;
        gap: 6px;
        justify-content: center;
    }
    
    .user-box-header-mehrnoosh-one a {
        padding: 8px 12px;
        min-height: 40px;
    }
    
    .user-box-header-mehrnoosh-one .mehr-acc543 {
        font-size: 20px;
        height: 20px;
    }
    
    .user-box-header-mehrnoosh-two {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modal-contentmehrnoosh {
        margin: 5% auto;
        border-radius: 12px;
    }
    
    .mehrnoosh-login-form {
        padding: 25px 15px 15px;
    }
    
    .mehrnoosh-login-form .input-group-text {
        padding: 10px 15px;
        min-width: 45px;
    }
    
    .mehrnoosh-login-form .form-control {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* ========== Mobile Logo Styles ========== */
.elementor-hidden-desktop .elementor-widget-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* تنظیم لوگوی موبایل مثل دسکتاپ */
.elementor-element-5a149b9 .elementor-widget-container img {
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 480px) {
    .elementor-element-5a149b9 .elementor-widget-container img {
        max-width: 150px;
        max-height: 60px;
    }
}

/* ========== Mobile Sidebar Avatar Icon ========== */
.mehrnoosh-mobile-top-menu-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
}

.mobile-avatar-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 15px rgba(17, 17, 17, 0.03);
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-avatar-icon-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(215, 174, 113, 0.2);
}

.mobile-avatar-icon {
    font-size: 48px;
    color: var(--color-primary, #d7ae71);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* مخفی کردن تصویر آواتار پیش‌فرض */
.mehrnoosh-mobile-top-menu-avatar img.avatar {
    display: none;
}

@media (max-width: 480px) {
    .mobile-avatar-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .mobile-avatar-icon {
        font-size: 40px;
    }
}

/* ========== Search Styles ========== */
#loading-indicator {
    font-size: 14px;
    color: #0073aa;
    margin-bottom: 10px;
}

.mehrnoosh-balatar-searchsho {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 tr:hover {
    background-color: rgba(215, 174, 113, 0.05);
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 tr:last-child {
    border-bottom: none;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td {
    padding: 12px 15px;
    vertical-align: middle;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:first-child {
    text-align: center;
    width: 18%;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:nth-child(2) {
    text-align: right;
    width: 64%;
    padding-right: 20px;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:last-child {
    text-align: center;
    width: 18%;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 tr:hover img {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(215, 174, 113, 0.3);
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.6;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:nth-child(2) a {
    font-size: 14px;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.6;
    color: #444;
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 tr:hover td:nth-child(2) a {
    color: rgb(215, 174, 113);
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:last-child a {
    font-size: 15px;
    font-weight: 600;
    color: rgb(215, 174, 113);
}

.mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 tr:hover td:last-child a {
    color: rgb(201, 156, 96);
}

.mehrnoosh-balatar-searchsho .col-lg-12 {
    padding: 15px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.mehrnoosh-balatar-searchsho .col-lg-12:has(table) {
    padding: 0;
}

.mehrnoosh-balatar-searchsho::-webkit-scrollbar {
    width: 6px;
}

.mehrnoosh-balatar-searchsho::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.mehrnoosh-balatar-searchsho::-webkit-scrollbar-thumb {
    background: rgb(215, 174, 113);
    border-radius: 3px;
}

.mehrnoosh-balatar-searchsho::-webkit-scrollbar-thumb:hover {
    background: rgb(201, 156, 96);
}

@media (max-width: 768px) {
    .mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 img {
        width: 50px;
        height: 50px;
    }

    .mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:nth-child(2) a {
        font-size: 13px;
    }

    .mehrnoosh-balatar-searchsho .nav-item.bg-ul-f7 td:last-child a {
        font-size: 13px;
    }
}

/* ========== Lazy Load Styles ========== */
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
}

@media screen and (max-height: 1024px) {
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}

@media screen and (max-height: 640px) {
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}

/* ========== Pagination Styles - استایل صفحه‌بندی شیک ========== */
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination {
    margin: 50px auto 60px auto;
    padding: 0 15px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

/* اطمینان از اینکه pagination آخرین المان در لیست محصولات است */
.mehrnoosh-archive-product-list-elementor-five .products + .woocommerce-pagination {
    margin-top: 50px;
    margin-bottom: 60px;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination:last-child {
    margin-bottom: 60px;
}

/* مخفی کردن آیتم‌های بعد از pagination */
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ~ * {
    display: none !important;
}

/* مخفی کردن محصولات بعد از pagination */
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ~ .mehrnoosh-offer-five-bix-out-product-accssor-403,
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ~ #mehrnoosh-relatet-irantond-acss-two {
    display: none !important;
}

/* اطمینان از مرکز بودن pagination */
.mehrnoosh-archive-product-list-elementor-five {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination {
    align-self: center;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    flex-wrap: wrap;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: auto;
    list-style: none;
    direction: ltr;
    text-align: center;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ul.page-numbers li {
    direction: ltr;
    text-align: center;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ul.page-numbers li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border: 2px solid #e8e8e8;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(215, 174, 113, 0.1) 0%, rgba(201, 157, 95, 0.1) 100%);
    transition: left 0.3s ease;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers:hover::before,
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers:focus::before {
    left: 0;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers:hover,
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers:focus {
    background: linear-gradient(135deg, #d7ae71 0%, #c99d5f 100%);
    border-color: #d7ae71;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 174, 113, 0.35);
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.current {
    background: linear-gradient(135deg, #d7ae71 0%, #c99d5f 100%);
    border-color: #d7ae71;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(215, 174, 113, 0.4);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.next,
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.prev {
    font-size: 18px;
    font-weight: 700;
    min-width: 42px;
    padding: 0 14px;
}

.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.next:hover,
.mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.prev:hover {
    transform: translateY(-2px) scale(1.1);
}

@media (max-width: 768px) {
    .mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination ul.page-numbers {
        gap: 6px;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.next,
    .mehrnoosh-archive-product-list-elementor-five .woocommerce-pagination .page-numbers.prev {
        min-width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ========== Desktop - دسکتاپ ========== */
@media (min-width: 769px) {
    .mehrnoosh-archive-product-list-elementor-five .products {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .mehrnoosh-archive-product-list-elementor-five #mehrnoosh-relatet-irantond-acss-two {
        flex: 0 0 25% !important;
        width: 25% !important;
        max-width: 25% !important;
        min-width: 25% !important;
        flex-shrink: 0 !important;
        float: none !important;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .products.columns-4 #mehrnoosh-relatet-irantond-acss-two {
        flex: 0 0 25% !important;
        width: 25% !important;
        max-width: 25% !important;
        min-width: 25% !important;
        flex-shrink: 0 !important;
        float: none !important;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .mehrnoosh-offer-five-bix-out-product-accssor-403 {
        float: none !important;
        width: 100% !important;
    }
}

/* ========== Responsive Shop Page - موبایل ========== */
@media (max-width: 768px) {
    .mehrnoosh-archive-product-list-elementor-five .products {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }
    
    .mehrnoosh-archive-product-list-elementor-five #mehrnoosh-relatet-irantond-acss-two {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
        padding: 5px !important;
        box-sizing: border-box;
        float: none;
        display: block;
        flex-shrink: 0;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .products.columns-4 #mehrnoosh-relatet-irantond-acss-two {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .mehrnoosh-offer-five-bix-out-product-accssor-403 {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .mehrnoosh-archive-product-list-elementor-five #mehrnoosh-relatet-irantond-acss-two {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 5px !important;
        flex-shrink: 0;
    }
    
    .mehrnoosh-archive-product-list-elementor-five .products.columns-4 #mehrnoosh-relatet-irantond-acss-two {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }
}

