:root {
    --mfix-font: 'Vazir', sans-serif;
    --mfix-color-dark: #222;
    --mfix-color-light: #fff;
    --mfix-color-border: #e5e5e5;
    --mfix-header-height: 85px;
    --mfix-header-sticky-height: 70px;
}


.mfix-hero-single {
    position: relative;
    /*height: 720px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.mfix-hero-bg {
    
    position: absolute;
    inset: 0;
    /*background-image:  */
    /*                  url('/wp-content/themes/mfixshop/assets/images/iphone.png');*/
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ===== استایل wrapper عکس ===== */
.mfix-hero-image-wrapper {
    margin-top: 85px;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.mfix-hero-image-wrapper img {
    max-width: 720px;           /* اندازه عکس موبایل‌ها */
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    margin: 0 auto;
}

/* محتوای متنی */
.mfix-hero-content {
    position: relative;
    z-index: 2;
    /*max-width: 720px;*/
    padding: 0 20px;
}

.mfix-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 16px;
    line-height: 1.1;
}

.mfix-hero-text {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 32px;
}

.mfix-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* دکمه‌ها */
.mfix-btn-primary {
    background: #6366f1;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.mfix-btn-outline {
    border: 2px solid #6366f1;
    color: #6366f1;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.mfix-btn-primary:hover,
.mfix-btn-outline:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .mfix-hero-single { 
        height: 680px; 
    }
    .mfix-hero-image-wrapper img {
        max-width: 320px;
    }
    .mfix-hero-title { 
        font-size: 2.2rem; 
    }
}

/*----------------------------POPUP LOGIN-----------------------*/
.header-right-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-icon {
    position: relative;
}
.cart-icon .cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, color .25s ease;
    z-index: 2;
}
.cart-icon .cart-link:hover {
    transform: translateY(-1px);
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 19px;
    height: 19px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4d6d, #e11d48);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.35);
    display: none;
}
.cart-count.has-items {
    display: inline-block;
}
.cart-hover-dropdown {
    position: absolute;
    top: calc(100% + 24px);
    right: 0;
    width: 390px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    z-index: 9999;
    pointer-events: none;
}
.cart-icon:hover .cart-hover-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.cart-icon.open .cart-hover-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.cart-hover-dropdown::before {
    content: "";
    position: absolute;
    top: -16px;
    right: 0;
    width: 100%;
    height: 20px;
}
/*.cart-hover-arrow {*/
/*    position: absolute;*/
/*    top: -10px;*/
/*    right: 24px;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    background: rgba(255,255,255,0.45);*/
/*    border-top: 1px solid rgba(255,255,255,0.5);*/
/*    border-left: 1px solid rgba(255,255,255,0.5);*/
/*    transform: rotate(45deg);*/
/*    backdrop-filter: blur(16px);*/
/*    -webkit-backdrop-filter: blur(16px);*/
/*    z-index: 0;*/
/*}*/
.cart-hover-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.32));
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 24px;
    box-shadow:
        0 30px 60px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.45);
    overflow: hidden;
}
.mini-cart-premium {
    padding: 18px;
}
.mini-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}
.mini-cart-head-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}
.mini-cart-head-count {
    font-size: 12px;
    color: #475569;
    background: rgba(255,255,255,0.55);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.45);
}
.mini-cart-items {
    max-height: 320px;
    overflow-y: auto;
    padding-left: 4px;
}
.mini-cart-items::-webkit-scrollbar {
    width: 6px;
}
.mini-cart-items::-webkit-scrollbar-track {
    background: transparent;
}
.mini-cart-items::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.18);
    border-radius: 999px;
}
.mini-cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 18px;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.mini-cart-item:hover {
    background: rgba(255,255,255,0.38);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.mini-cart-item + .mini-cart-item {
    margin-top: 8px;
}
.mini-cart-item-thumb {
    flex: 0 0 64px;
}
.mini-cart-item-thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}
.mini-cart-item-content {
    flex: 1;
    min-width: 0;
}
.mini-cart-item-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.mini-cart-item-title {
    flex: 1;
    min-width: 0;
}
.mini-cart-item-title a,
.mini-cart-item-title {
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mini-cart-item-title a:hover {
    color: #e11d48;
}
.mini-cart-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #475569;
}
.mini-cart-item-qty {
    font-weight: 700;
    color: #334155;
}
.mini-cart-item-price {
    font-weight: 700;
    color: #0f172a;
}
.mini-cart-remove {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    color: #e11d48;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    flex: 0 0 30px;
    transition: all .22s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.mini-cart-remove:hover {
    background: #e11d48;
    color: #fff;
    transform: scale(1.05);
}
.mini-cart-remove.loading {
    opacity: .5;
    pointer-events: none;
}
.mini-cart-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15,23,42,0.08);
}
.mini-cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 14px;
    color: #334155;
}
.mini-cart-subtotal strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}
.mini-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mini-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .25s ease;
    padding: 0 14px;
}
.mini-cart-btn-secondary {
    background: rgba(255,255,255,0.55);
    color: #0f172a;
    border: 1px solid rgba(255,255,255,0.55);
}
.mini-cart-btn-secondary:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-1px);
}
.mini-cart-btn-primary {
    background: linear-gradient(135deg, #111827, #0f172a);
    color: #fff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}
.mini-cart-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.28);
}
.mini-cart-empty {
    padding: 28px 14px 20px;
    text-align: center;
}
.mini-cart-empty-icon {
    font-size: 34px;
    margin-bottom: 10px;
    opacity: .9;
}
.mini-cart-empty-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.mini-cart-empty-text {
    font-size: 13px;
    color: #64748b;
    line-height: 1.9;
}
@media (max-width: 991px) {
    .cart-hover-dropdown {
        width: 340px;
        right: -20px;
    }
.cart-hover-inner {
        border-radius: 20px;
    }
.mini-cart-premium {
        padding: 14px;
    }
.mini-cart-items {
        max-height: 280px;
    }
}
@media (max-width: 575px) {
    .cart-hover-dropdown {
        position: fixed;
        top: 78px;
        right: 12px;
        left: 12px;
        width: auto;
        transform: translateY(12px) scale(.98);
    }
.cart-hover-arrow {
        display: none;
    }
.mini-cart-actions {
        grid-template-columns: 1fr;
    }
.mini-cart-item-thumb {
        flex: 0 0 58px;
    }
.mini-cart-item-thumb img {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }
}







.mfix-login-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.mfix-login-modal.active {
    display: block;
}
.mfix-login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.mfix-login-box {
    position: relative;
    width: 92%;
    max-width: 420px;
    margin: 60px auto;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    direction: rtl;
}
.mfix-login-close {
    position: absolute;
    top: 10px;
    left: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.mfix-login-content {
    margin-top: 10px;
}

/* ============================
   ریسپانسیو موبایل
============================ */
@media (max-width: 480px) {
    #mof-otp-form {
        padding: 15px;
        margin: 10px auto;
        border-radius: 8px;
    }

    #mof-otp-form input {
        font-size: 15px;
        padding: 10px;
    }

    #mof-otp-form button {
        font-size: 15px;
        padding: 10px;
    }
}

/* ============================
   ریسپانسیو تبلت
============================ */
@media (max-width: 768px) {
    #mof-otp-form {
        max-width: 90%;
    }
}
/*----------------------------END-------------------------------*/
.hamburger-inline-menu .hamburger-menu-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hamburger-inline-menu .hamburger-menu-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hamburger-inline-menu .hamburger-menu-list li a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    /*line-height: 1;*/
    padding: 10px 14px;
    border-radius: 12px;
    /*background: rgba(255,255,255,0.10);*/
    /*backdrop-filter: blur(8px);*/
    /*-webkit-backdrop-filter: blur(8px);*/
    border: 1px solid rgba(255,255,255,0.16);
    transition: all 0.3s ease;
    transform: translateX(10px);
    opacity: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*.hamburger-inline-menu .hamburger-menu-list li a:hover {*/
/*    background: rgba(255,255,255,0.22);*/
/*}*/
@media (min-width: 992px) {
    .hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li a {
        transform: translateX(0);
        opacity: 1;
    }
.hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li:nth-child(1) a { transition-delay: 0.03s; }
    .hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li:nth-child(2) a { transition-delay: 0.06s; }
    .hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li:nth-child(3) a { transition-delay: 0.09s; }
    .hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li:nth-child(4) a { transition-delay: 0.12s; }
    .hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li:nth-child(5) a { transition-delay: 0.15s; }
    .hamburger-inline-wrap:hover .hamburger-inline-menu .hamburger-menu-list li:nth-child(6) a { transition-delay: 0.18s; }
}
.hamburger-inline-wrap.is-open .hamburger-inline-menu .hamburger-menu-list li a {
    transform: translateX(0);
    opacity: 1;
}
@media (max-width: 991px) {
    .hamburger-inline-menu .hamburger-menu-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }
.hamburger-inline-menu .hamburger-menu-list li a {
        width: 100%;
        opacity: 1;
        transform: none;
        background: rgba(255,255,255,0.20);
    }
}


/*old*/
.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}
/* hamburger + menu */
.hamburger-inline-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
/* hamburger button */
.hamburger-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    border: none;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.8s ease;
    padding: 0;
}
.hamburger-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #111;
    border-radius: 10px;
}
/* linear inline menu */
.hamburger-inline-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    transition: max-width 1.5s ease, opacity 0.25s ease;
}
/* open menu on hover */
.hamburger-inline-wrap:hover .hamburger-inline-menu {
    max-width: 900px;
    opacity: 1;
}
/* menu links */
.hamburger-inline-menu a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 12px;
    /*background: rgba(255,255,255,0.10);*/
    /*backdrop-filter: blur(8px);*/
    /*-webkit-backdrop-filter: blur(8px);*/
    transition: all 0.5s ease;
}
.hamburger-inline-menu a:hover {
    background: rgba(255,255,255,0.22);
}
/* icons go to left */
.header-right-icons {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* icons style */
.header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.header-icon:hover {
    background: rgba(255,255,255,0.18);
}
.header-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}
/* search */
.search-wrap {
    position: relative;
}
.search-dropdown {
    font-family: var(--mfix-font);
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.search-wrap:hover .search-dropdown {
    opacity: 1;
    visibility: visible;
    /*transform: translateX(-50%) translateY(0);*/
}
.search-form-glass {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.search-form-glass input {
    flex: 1;
    height: 44px;
    border: none;
    outline: none;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.45);
    color: #111;
    font-size: 14px;
    font-family: var(--mfix-font);
}
.search-form-glass input::placeholder {
    color: #555;
}
.search-form-glass button {
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: var(--mfix-font);
}
.search-form-glass button:hover {
    background: #333;
}

/*-------------------------------------------------*/

.new-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    position: relative;
    padding: 15px 20px;
    /*margin-top: 15px;*/
    border-radius: 15px;
    background: #ffffffba;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}
/*.header-right {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 15px;*/
/*    background: #ffffff87;*/
/*    padding: 10px;*/
/*    border-radius: 10px;*/
/*}*/
.header-left {
    display: flex;
    align-items: center;
}
.header-logo img {
    max-height: 45px;
    width: auto;
    display: block;
}
.header-icon a,
.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger-btn {
    width: 28px;
    height: 22px;
    flex-direction: column;
    gap: 5px;
}
.hamburger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: 0.3s ease;
}
.hamburger-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.08);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.hamburger-menu.active {
    right: 0;
}
.hamburger-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: bold;
}
.close-menu {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #111;
}
.hamburger-menu-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

/*Ajax Search*/
.ajax-search-results {
    display: none;
    margin-top: 10px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.ajax-search-results.active {
    display: block;
}
.ajax-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ajax-search-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ajax-search-item:last-child {
    border-bottom: none;
}
.ajax-search-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #111;
    transition: background 0.2s ease;
}
.ajax-search-item a:hover {
    background: rgba(0,0,0,0.03);
}
.ajax-search-thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}
.ajax-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ajax-search-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.ajax-search-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ajax-search-price {
    font-size: 13px;
    color: #666;
}
.ajax-search-all {
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}
.ajax-search-all a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #111;
}
.ajax-search-empty,
.ajax-search-loading {
    padding: 14px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/*END OF CODE*/
.hamburger-menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #111;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}
.hamburger-menu-list li a:hover {
    background: #f8f8f8;
    color: #d60000;
}
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: 0.3s;
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {
    .new-header {
        padding: 12px 15px;
    }
.header-logo img {
        max-height: 38px;
    }
}

/* کارت کوچک‌تر و وسط‌چین */
.mfix-product-card {
    width: 100%;
    background: #ffffff61;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: .25s ease;
    position: relative;
    height: 380px; /* ارتفاع ثابت */ display: flex; flex-direction: column;
}

.mfix-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.mfix-product-card,
.mfix-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mfix-card-inner { flex: 1; display: flex; flex-direction: column; }
/* اسلایدر */
.mfix-thumb {
    position: relative;
    overflow: hidden;
}

.mfix-slider {
    display: flex;
    transition: .3s ease;
}

.mfix-slide img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    transition: .3s ease;
}

.mfix-product-card:hover .mfix-slide img {
    transform: scale(1.05);
}

/* دکمه‌های اکشن */
.mfix-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mfix-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* دات‌ها */
.mfix-dots {
    display: flex;
    justify-content: center;
    margin-top: 6px;
    gap: 4px;
}

.mfix-dots .dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
}

.mfix-dots .dot.active {
    background: #ef4056;
}

/* عنوان */
.mfix-title {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
    height: 40px;
    overflow: hidden;
}

.mfix-title a {
    color: #333;
    text-decoration: none;
}

/* امتیاز */
.mfix-rating {
    font-size: 13px;
    color: #f5a623;
    margin-bottom: 6px;
}

/* دسته‌بندی */
.mfix-cat {
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

/* قیمت */
.mfix-price {
    font-size: 16px;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 10px;
}

/* دکمه خرید */
.mfix-add button,
.mfix-add a {
    width: 100%;
    background: #ef4056 !important;
    color: #fff !important;
    padding: 8px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

/* گرید 4تایی وسط‌چین */
.mfixshop-products-grid {
    width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 20px 0;
    align-items: stretch;
}

.mfix-hover-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.mfix-hover-slider img {
    width: 100%;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.mfix-hover-slider img.active {
    opacity: 1;
}


body {
    font-family: var(--mfix-font);
    margin: 0;
    padding: 0;
    background: #edeff2;
    color: var(--mfix-color-dark);
    background:  #0c3483;
    background: linear-gradient(to right, #0c348330, #e5e5e5, #6b8cce59);
}

.mfixshop-container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.mfixshop-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    padding: 10px 0;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.mfix-header.scrolled {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


.mfixshop-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mfixshop-menu > li {
    position: relative;
}

.mfixshop-menu > li > a {
    padding: 10px 0;
    display: inline-block;
}

.mfixshop-icons svg {
    width: 32px;
    height: 32px;
    color: #333;
    display: block;
    transition: 0.2s ease;
}

.mfixshop-icons .icon:hover svg {
    color: #000;
}

.mfixshop-icons .icon {
    position: relative;
}

.mfixshop-icons .cart .cart-count {
    position: absolute;
    padding: 1px 4px;
    top: -4px;
    right: -6px;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    border-radius: 50px;
    font-family: Vazir, sans-serif;
    min-width: 14px;
    text-align: center;
    line-height: 16px;
}

.mfixshop-icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

.mfixshop-icons .icon {
    position: relative;
    cursor: pointer;
}

.mfixshop-icons .icon i {
    font-size: 22px;
    color: var(--mfix-color-dark);
    transition: .2s ease;
}

.mfixshop-icons .icon:hover i {
    color: #0070f3;
}

.mfixshop-icons .cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

.mfixshop-header-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--mfix-header-sticky-height);
    background: var(--mfix-color-light);
    border-bottom: 1px solid var(--mfix-color-border);
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 999;
}

.mfixshop-header-sticky.active {
    transform: translateY(0);
}

.mfixshop-header-sticky .sticky-logo img {
    height: 45px;
}

.header-nav .mfixshop-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}
header .mfixshop-menu > li {
    display: inline-block;
}

.header-nav .mfixshop-menu li a {
    text-decoration: none;
    color: var(--mfix-color-dark);
    font-size: 15px;
    font-weight: 500;
    transition: .2s ease;
}

.header-nav .mfixshop-menu li a:hover {
    color: #0070f3;
}

.mfixshop-header .header-nav,
.mfixshop-header-sticky .sticky-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .header-nav {
        display: none;
    }

    .mfixshop-icons {
        gap: 16px;
    }

    .mfixshop-header,
    .mfixshop-header-sticky {
        height: 70px;
    }
}

.mfixshop-header-mobile {
    display: none;
    width: 100%;
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
}

.mfixshop-header-mobile .mfixshop-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo img {
    height: 45px;
}

.mobile-menu-toggle {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    background: #222;
    border-radius: 3px;
    transition: .3s ease;
}

.mfixshop-mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,.1);
    transition: .35s ease;
    z-index: 9999;
}

.mfixshop-mobile-sidebar.active {
    left: 0;
}

.mfixshop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

.mfixshop-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    list-style: none;
    padding: 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu li a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 992px) {

    .mfixshop-header {
        display: none;
    }

    .mfixshop-header-sticky {
        display: none;
    }

    .mfixshop-header-mobile {
        display: block;
    }
}

.mfixshop-megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 25px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
    z-index: 100;
}

.mfixshop-menu > li:hover > .mfixshop-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.mfixshop-mega-column-title {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

.mfixshop-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mfixshop-submenu li {
    margin-bottom: 6px;
}

.mfixshop-submenu li a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: .2s ease;
}

.mfixshop-submenu li a:hover {
    color: #0070f3;
}

@media (max-width: 992px) {
    .mfixshop-megamenu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 15px;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mfixshop-mega-column-title {
        margin-top: 10px;
    }
}

@media (max-width: 992px) {
    .mfixshop-header {
        display: none;
    }

    .mfixshop-header-sticky {
        display: none;
    }

    .mfixshop-header-mobile {
        display: block;
    }
}

@media (max-width: 992px) {

    .mega-col-image img {
        max-width: 100%;
        margin-bottom: 12px;
    }

    .mfixshop-megamenu {
        grid-template-columns: 1fr;
        padding: 15px;
        box-shadow: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.mfixshop-mega-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mega-col-image img {
    width: 100%;
    max-width: 120px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mega-col-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.mfixshop-menu {
    display: flex !important;
    flex-direction: row !important;
}

.mfixshop-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 9998;
}

.mfixshop-search-modal {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 9999;
    width: 90%;
    max-width: 400px;
}

.mfixshop-search-modal.active,
.mfixshop-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mfixshop-search-modal.active {
    transform: translateX(-50%) scale(1);
}

.mfixshop-search-modal .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfixshop-search-modal input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--mfix-font);
}

.close-search {
    /*margin-left: 10px;*/
    cursor: pointer;
    font-size: 22px;
}

.mfixshop-live-results {
    margin-top: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    max-height: 300px;
    overflow-y: auto;
}

.mfixshop-live-results .item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.mfixshop-live-results .item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-left: 10px;
}

.mfixshop-live-results .item .info {
    flex: 1;
}

.mfixshop-live-results .item .title {
    font-size: 14px;
    margin-bottom: 4px;
}

.mfixshop-live-results .item .price {
    font-size: 13px;
    color: #ff4d4f;
}

.mfixshop-product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mfixshop-product-card .mfixshop-wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.mfixshop-product-card .mfixshop-wishlist-btn.active svg {
    color: #ff4d4f;
}

/* PRODUCT GRID */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    ul.products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.mfixshop-product-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mfixshop-product-card .product-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.mfixshop-product-card .mfixshop-wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.mfixshop-product-card .mfixshop-wishlist-btn.active svg {
    color: #ff4d4f;
}

.mfixshop-product-card .product-title {
    font-size: 15px;
    margin: 10px 0 5px;
    flex-grow: 0;
}

@media (max-width: 1024px) {
    ul.products,
    .mfixshop-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    ul.products,
    .mfixshop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    ul.products,
    .mfixshop-products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.mfixshop-woocommerce-container {
    
    width: 85%;
    max-width: 1400px;
    margin: 150px auto;
    padding: 20px 0;
}

.mfixshop-wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfixshop-wishlist-btn svg {
    transition: 0.2s ease;
}

/* حالت فعال (اضافه شده به لیست) */
.mfixshop-wishlist-btn.active svg {
    color: #ff4d4f;
    animation: mfixshop-heart-bounce 0.35s ease;
}

/* انیمیشن ضربان/بونس */
@keyframes mfixshop-heart-bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.3); }
    60%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.mfixshop-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
    z-index: 999999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* حالت نمایش */
.mfixshop-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mfix-product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
}

.mfix-product:hover {
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.mfix-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* THUMB + SLIDER */
.mfix-product-thumb {
    position: relative;
    overflow: hidden;
}

.mfix-product-slider {
    /*margin-right: 19%;*/
    position: relative;
    width: 100%;
    height: auto;
}

.mfix-product-slider .mfix-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mfix-slide img {
    display: block;
}


.mfix-product-slider .mfix-slide:first-child {
    position: relative;
}

/* DOTS */
.mfix-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.mfix-slider-dots .dot {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transition: 0.2s ease;
}

.mfix-slider-dots .dot.active {
    background: #fff;
}

/* ACTION BUTTONS */
.mfix-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.25s ease;
}

.mfix-product:hover .mfix-product-actions {
    opacity: 1;
    transform: translateY(0);
}

.mfix-product-actions button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s ease;
    position: relative;
}

.mfix-product-actions button:hover {
    background: #f5f5f5;
}

.mfix-wishlist-btn.active svg {
    color: #ff4d4f;
    animation: mfix-heart-bounce 0.35s ease;
}

@keyframes mfix-heart-bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.mfix-product-actions button span {
    font-size: 18px;
    color: #333;
}

.mfix-wishlist-btn.active span {
    color: #ff4d4f;
}

.mfix-wishlist-btn.active span {
    animation: mfix-heart-bounce 0.35s ease;
}

@keyframes mfix-heart-bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* TITLE */
.mfix-product-title {
    font-size: 15px;
    margin: 12px 0 4px;
    font-weight: 600;
    padding: 0 10px;
}

.mfix-product-title a {
    color: #222;
    text-decoration: none;
}

.mfix-product-title a:hover {
    color: #0073aa;
}

/* CATEGORY */
.mfix-product-cat {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    padding: 0 10px;
}

/* PRICE */
.mfix-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    padding: 0 10px;
}

/* ADD TO CART */
.mfix-add-to-cart {
    margin-top: auto;
    
}

.mfix-add-to-cart .button {
    width: 100%;
    text-align: center;
    padding: 10px 10px;
    border-radius: 10px;
    background: #7ebbef !important;
    color: #fff !important;
    transition: 0.25s ease;
}

.mfix-add-to-cart .button:hover {
    background: #073b9b !important;
}


@media (max-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    ul.products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.mfix-qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.mfix-qv-overlay.active {
    display: flex;
}

.mfix-qv-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 960px;
    width: 95%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    padding: 24px;
}

.mfix-qv-close {
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

.mfix-qv-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
}

.mfix-qv-gallery > img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.mfix-qv-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mfix-qv-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #eee;
    transition: 0.2s ease;
}

.mfix-qv-thumb img:hover {
    border-color: #2b7cff;
}

.mfix-qv-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.mfix-qv-price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mfix-qv-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.mfix-qv-add-to-cart .button {
    width: 100%;
}

/* ساختار کلی دکمه‌ها */
.mfix-product-actions button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s ease;
    overflow: visible;
}

/* TOOLTIP */
.mfix-action-label {
    font-family: "Vazir" !important;
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 44, 201, 0.55);
    color: #fff !important;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    pointer-events: none;
    z-index: 9999;
}

.mfix-action-label::after {
    
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(17, 44, 201, 0.75) transparent transparent;
}

.mfix-product-actions button:hover .mfix-action-label {
    opacity: 1;
    visibility: visible;
    right: 50px;
}


.mfix-header-wishlist {
    position: relative;
}

.mfix-wishlist-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 50px;
    font-family: Vazir, sans-serif;
    min-width: 14px;
    text-align: center;
    line-height: 16px;
    display: inline-block;
}

.mfix-wishlist-count.bump {
    animation: mfix-bump 0.35s ease;
}

@keyframes mfix-bump {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}


.mfix-header-compare {
    position: relative;
}

.mfix-compare-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 50px;
    font-family: Vazir, sans-serif;
    min-width: 14px;
    text-align: center;
    line-height: 16px;
    display: inline-block;
}

.mfix-compare-count.bump {
    animation: mfix-bump 0.35s ease;
}

@keyframes mfix-bump {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.mfix-compare-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.mfix-compare-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

.mfix-compare-table tr:nth-child(odd) {
    background: #fafafa;
}

.mfix-compare-table th,
.mfix-compare-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
    min-width: 180px;
}

.mfix-compare-product-title {
    font-size: 14px;
    font-weight: 600;
}

.mfix-compare-remove {
    cursor: pointer;
    color: #ff3b30;
    font-size: 12px;
}

.mfix-compare-attr-name {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

/* Wrapper */
.mfix-hero-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}


.mfix-compare-empty {
    text-align: center;
    padding: 40px 0;
}

.mfix-hero-slider {
    height: 700px;
    position: relative;
    overflow: hidden;
}


/* Slide */
.mfix-slide {
    height: 100%;
    position: relative;
}

/* Background (Parallax-ready) */
.mfix-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

}

.swiper-slide-active .mfix-slide-bg {
    transform: scale(1);
}

/* Content */
.mfix-slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.swiper-slide-active .mfix-slide-content {
    opacity: 1;
    transform: translateY(-50%);
}

/* مهم‌ترین خط برای جلوگیری از دیده شدن اسلاید بعدی */
.swiper-slide {
    width: calc(100vw + 3px) !important;
    height: 100%;
    position: relative;
}


/* Title */
.mfix-slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Text */
.mfix-slide-text {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Buttons */
.mfix-slide-buttons {
    display: flex;
    gap: 15px;
}

.mfix-btn-primary,
.mfix-btn-outline {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.mfix-btn-primary {
    background: #2b7cff;
    color: #fff;
}

.mfix-btn-primary:hover {
    background: #073b9b;
}

.mfix-btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.mfix-btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Navigation */
.mfix-slider-nav {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mfix-prev,
.mfix-next {
    display: none !important;
}


.mfix-prev,
.mfix-next {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfix-arrow-inner {
    width: 12px;
    height: 12px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
}

.mfix-prev .mfix-arrow-inner {
    transform: rotate(225deg);
}

.mfix-prev:hover,
.mfix-next:hover {
    background: #fff;
}

/* Pagination */

.mfix-hero-slider {
    position: relative;
}
.mfix-slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: -20px;
    position: relative;
    z-index: 5;
}
.mfix-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cfcfcf;
    border-radius: 50%;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}
.mfix-slider-pagination .swiper-pagination-bullet-active {
    background: #111;
    transform: scale(1.2);
}
.mfix-slider-nav {
    display: none !important;
}


/* Hide slider on mobile */
@media (max-width: 768px) {
    .mfix-hero-slider-wrapper {
        display: none !important;
    }
}

.mfixshop-cat-item {
    position: relative;
    width: 180px;
}

.mfixshop-cat-inner {
    position: relative;
    text-align: center;
    padding: 20px 10px;
    border-radius: 14px;
    overflow: hidden;
    transition: all .35s ease;
}

/* ماسک تیره روی هاور */
.mfixshop-cat-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .35s ease;
    z-index: 1;
}

.mfixshop-cat-inner:hover::before {
    background: rgba(0,0,0,0.15);
}

.mfixshop-cat-thumb {
    margin-bottom: 15px;
}

/* تصویر */
.mfixshop-cat-thumb img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

/* متن */
.mfixshop-cat-content {
    position: relative;
    z-index: 2;
    transition: transform .35s ease, opacity .35s ease;
}

/* متن کمی بالا می‌آید */
.mfixshop-cat-inner:hover .mfixshop-cat-content {
    transform: translateY(-6px);
}

.mfixshop-cat-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.mfixshop-cat-count a {
    font-size: 14px;
    color: #777;
}

/* لینک روی کل باکس */
.mfixshop-cat-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* افکت Zoom + Blur */
.mfixshop-cat-inner:hover img {
    transform: scale(1.12);
    filter: blur(1px);
}

/* افکت Lift + Shadow */
.mfixshop-cat-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.mfixshop-cat-thumb {
    margin-bottom: 15px;
}

.mfixshop-cat-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.mfixshop-cat-count a {
    font-size: 14px;
    color: #777;
}

.mfixshop-cat-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* فقط برای سکشن محصولات */
.mfixshop-new-products .mfixshop-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: block;
}

/* عنوان */
.mfixshop-new-products .mfixshop-title-wrapper {
    margin-bottom: 40px;
    display: block;
    width: 100%;
}

/* تب‌ها */
.mfixshop-new-products .mfixshop-tabs-header {
    width: 100%;
    display: block;
    margin-bottom: 25px;
}

.mfixshop-new-products .mfixshop-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    border-bottom: 2px solid #eee;
    width: fit-content;
}

.mfixshop-new-products .mfixshop-tabs-nav li {
    cursor: pointer;
    padding: 10px 0;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.mfixshop-new-products .mfixshop-tabs-nav li.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4a90e2;
}

/* محتوای تب‌ها */
.mfixshop-new-products .mfixshop-tab-content {
    display: none;
    width: 100%;
    margin-top: 30px;
}

.mfixshop-new-products .mfixshop-tab-content.active {
    display: block;
}

/* کوچک‌تر کردن عنوان */
.mfixshop-new-products .mfix-product-title {
    font-size: 14px;
    line-height: 1.4;
}

/* کوچک‌تر کردن قیمت */
.mfixshop-new-products .mfix-product-price {
    font-size: 14px;
}

/* کوچک‌تر کردن دکمه افزودن به سبد */
.mfixshop-new-products .mfix-add-to-cart a {
    font-size: 13px;
    padding: 6px 12px;
}

/* گرید محصولات */
.mfixshop-new-products .mfixshop-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    margin: 0 auto;
}

/* تصویر داخل اسلایدر */
.mfixshop-new-products .mfix-product-thumb img {
    /*height: 80%;*/
    /*width: 70%;*/
    object-fit: contain;
}

/* دکمه مخفی باشد */
.mfixshop-new-products .mfix-add-to-cart {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
}

/* وقتی ماوس رفت روی کارت → دکمه ظاهر شود */
.mfixshop-new-products .mfix-product:hover .mfix-add-to-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* محدود کردن ارتفاع اسلایدر */
.mfixshop-new-products .mfix-product-thumb {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* محدود کردن ارتفاع کارت */
.mfixshop-new-products .mfix-product {
    padding: 10px 0;
    overflow: hidden;
}

/* دکمه بخش محصولات */
.mfixshop-new-products .mfixshop-products-btn {
    margin-top: 25px;
    text-align: center;
    width: 100%;
}

/* استایل خود دکمه */
.mfixshop-new-products .mfixshop-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #7ebbef;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s ease;
    text-decoration: none !important;
}

.mfixshop-new-products .mfixshop-btn,
.mfixshop-new-products .mfixshop-btn:hover,
.mfixshop-new-products .mfixshop-btn:focus {
    text-decoration: none !important;
}

a {
    text-decoration: none !important;
}

a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

/* افکت Hover */
.mfixshop-new-products .mfixshop-btn:hover {
    background: #074ab5;
    transform: translateY(-2px);
}

/* سکشن کلی */
.mfixshop-info-section {
    padding: 60px 0;
    direction: rtl;
    background-color: rgba(104, 183, 248, 0.09);
}


/* سکشن را مجبور می‌کنیم که عمودی چیده شود */
.mfixshop-info-section .mfixshop-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

/* عنوان همیشه اول باشد */
.mfixshop-info-section .mfixshop-title-wrapper {
    order: 1 !important;
}

/* گرید سه‌تایی همیشه بعد از عنوان باشد */
.mfixshop-info-section .mfixshop-info-grid {
    order: 2 !important;
}

/* عنوان */
.mfixshop-title-wrapper {
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    display: block;
}

/* گرید سه‌تایی */
.mfixshop-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 0; /* مهم */
    width: 100%;
}

/* باکس‌ها */
.mfixshop-info-box {
    background: transparent;
    padding: 25px 20px;
    border-radius: 12px;
    border: 0px solid #eee;
    transition: all .3s ease;
    text-align: center;
}

.mfixshop-info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* آیکون */
.mfixshop-info-box .info-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* عنوان باکس */
.mfixshop-info-box .info-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* متن */
.mfixshop-info-box .info-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .mfixshop-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mfixshop-info-grid {
        grid-template-columns: 1fr;
    }
}


/* سکشن کلی */
.mfixshop-banners-section {
    padding: 40px 0;
    direction: rtl;
}

/* container وسط */
.mfixshop-banners-section .mfixshop-container {
    max-width: 1200px;
    margin: 0 auto; /* وسط */
}

/* گرید وسط */
.mfixshop-banners-grid {
    display: grid;
    grid-template-columns: 5fr 7fr; 
    gap: 20px;
    justify-content: center; /* وسط */
    align-items: center; /* وسط عمودی */
}

/* بنرها */
.mfixshop-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-align: right; /* راست‌چین */
}

/* تصویر */
.mfixshop-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.mfixshop-banner:hover img {
    transform: scale(1.05);
}

/* محتوا */
.banner-content {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: left;
    color: #9ca0a6;
    
}

/* متن‌ها */
.banner-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* دکمه */
.banner-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #000;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    border: 2px solid #fff
}

.banner-btn:hover {
    background: #7ebbef;
}

/* دکمه بوردر */
.banner-btn.bordered {
    background: transparent;
    border: 2px solid #fff;
    color: #000;
}

.banner-btn.bordered:hover {
    background: #7ebbef;
    color: #000;
}


/* متن داخل بنر چپ‌چین */
.mfixshop-banner .banner-content {
    position: absolute;
    top: 20px;
    left: 20px;       /* مهم */
    right: auto;      /* مهم */
    text-align: left; /* مهم */
    direction: ltr;   /* مهم */
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .mfixshop-banners-grid {
        grid-template-columns: 1fr;
    }
}

/* سکشن کلی */
.mfixshop-rtl-banner-section {
    padding: 3px 0;
    direction: rtl;
}

/* container وسط */
.mfixshop-rtl-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    
}

/* گرید دو ستونه */
.mfixshop-rtl-banner-grid {
    display: grid;
    grid-template-columns: 7fr 5fr; /* بزرگ راست، کوچک چپ */
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* بنر */
.mfixshop-rtl-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.mfixshop-rtl-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.mfixshop-rtl-banner:hover img {
    transform: scale(1.05);
}

/* محتوا – چپ‌چین */
.mfixshop-rtl-banner-content {
    position: absolute;
    top: 20px;
    left: 20px; /* چپ */
    right: auto;
    text-align: left;
    direction: ltr;
    color: #fff;
}

/* متن‌ها */
.mfixshop-rtl-banner-content .subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.mfixshop-rtl-banner-content .title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* دکمه */
.mfixshop-rtl-banner-content .btn {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #000;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.mfixshop-rtl-banner-content .btn:hover {
    background: #eee;
}

/* دکمه بوردر */
.mfixshop-rtl-banner-content .btn.bordered {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.mfixshop-rtl-banner-content .btn.bordered:hover {
    background: #fff;
    color: #000;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .mfixshop-rtl-banner-grid {
        grid-template-columns: 1fr;
    }
}

.mfixshop-container
 {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.mfixshop-rtl-banner-container {
    /*max-width: 90%;*/
    margin-left: auto;
    margin-right: auto;
}

.mfixshop-banners-grid,
.mfixshop-rtl-banner-grid {
    width: 100%;
}

.mfixshop-popular-section {
    padding: 60px 0;
    direction: rtl;
    text-align: center;
}

.mfixshop-popular-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mfixshop-popular-title .subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #777;
    margin-bottom: 10px;
}

.mfixshop-popular-title .title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mfixshop-popular-title .after-title {
    font-size: 15px;
    color: #999;
    margin-bottom: 35px;
}

.mfixshop-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    direction: ltr;
    border: 1px solid #eee;
    transition: .3s;
}

.mfixshop-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.mfixshop-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.mfixshop-product-card .info {
    padding: 12px;
}

.mfixshop-product-card .info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.mfixshop-product-card .info .price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}


/* فقط کارت‌های داخل اسلایدر پربازدید */
.mfixshop-popular-slider .mfix-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: none !important; /* ← مهم */
    }

/* قیمت و دکمه همیشه پایین کارت */
.mfixshop-popular-slider .mfix-product-price {
    padding: 0 10px;
    font-size: 15px;
    font-weight: 700;
    margin-top: auto; /* ← کارت را از پایین پر می‌کند */
}

.mfixshop-popular-slider .mfix-add-to-cart {
    padding: 10px;
}

/* ارتفاع عکس کمتر */
.mfixshop-popular-slider .mfix-product-thumb img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
    display: block;
    }

.mfixshop-popular-slider .mfix-product-title {
    min-height: 48px;
    font-size: 15px;
    margin: 10px 0;
    padding: 0 10px;
    line-height: 1.4;
}

/* ارتفاع کلی کارت کمتر */
.mfixshop-popular-slider .mfix-product {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: .25s ease;
    }
    
.mfixshop-popular-slider .mfix-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.mfixshop-popular-slider .swiper-wrapper { align-items: stretch; /* مهم */ }
/* اسلاید کوچک‌تر */
.mfixshop-popular-slider .swiper-slide {
    width: 250px !important;
    height: auto !important;
    display: flex;
}

/* فقط برای اسلایدر پربازدید */
.mfixshop-popular-slider .mfix-product-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: 0.25s ease;
    z-index: 5;
}

.mfixshop-popular-slider .mfix-product:hover .mfix-product-actions {
    opacity: 1;
}

/* دکمه‌ها */
.mfixshop-popular-slider .mfix-product-actions button {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s ease;
    width: max-content;
}

.mfixshop-popular-slider .mfix-product-actions button:hover {
    background: #f5f5f5;
}

/* آیکون */
.mfixshop-popular-slider .mfix-action-icon {
    font-size: 14px !important;
    line-height: 1;
}

/* متن */
.mfixshop-popular-slider .mfix-action-label {
    font-size: 12px;
    white-space: nowrap;
}

/* سکشن */
.mfixshop-articles-section {
    padding: 60px 0;
    direction: rtl;
    text-align: center;
}

/* ظرف وسط */
.mfixshop-articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* عنوان وسط */
.mfixshop-articles-title .subtitle,
.mfixshop-articles-title .title,
.mfixshop-articles-title .after-title {
    text-align: center;
}

/* اسلایدر وسط */
.mfixshop-articles-slider {
    
    position: relative;
    padding: 0 40px; /* جا برای فلش‌ها */

}

/* اسلایدها — بدون کمرنگ شدن */
.mfixshop-articles-slider .swiper-slide {
    width: auto !important;
    opacity: 1 !important;
    filter: none !important;
    transition: .4s ease;
    margin-left: 20px;
}

.mfixshop-articles-slider .swiper-wrapper {
    direction: rtl;
}

/* ظرف دات‌ها */
.mfix-pagination {
    text-align: center;
    margin-top: 20px;
}

/* دات‌ها */
.mfix-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
    border-radius: 50%;
    transition: .25s ease;
}

/* دات فعال */
.mfix-pagination .swiper-pagination-bullet-active {
    background: #7ebbef;
    transform: scale(1.3);
}

.mfix-view-all {
    text-align: center;
    margin-top: 25px;
}

.mfix-view-all-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #7ebbef;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    transition: .25s ease;
}

.mfix-view-all-btn:hover {
    background: #073b9b;
}

/* کارت مقاله */
.mfix-wd-post {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: .3s;
    text-align: center; /* نوشته‌ها وسط */
}

.mfix-wd-post:hover {
    
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* تصویر */
.mfix-wd-post .wd-post-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: .3s;
}

.mfix-wd-post:hover .wd-post-img img {
    transform: scale(1.05);
}

/* تاریخ */
.wd-post-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #111;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
}

/* دسته‌بندی */
.wd-post-cat a {
    background: #f3f3f3;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #333;
}

/* عنوان وسط */
.wd-post-title {
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0;
    text-align: center;
}

/* نویسنده وسط */
.wd-post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
}

/* آیکون‌های اشتراک */
.wd-social-icons {
    text-align: center;
    margin-top: 10px;
}

.wd-social-icons a {
    width: 22px;
    height: 22px;
    display: inline-block;
    background: #eee;
    border-radius: 50%;
    margin-left: 5px;
}

/* تعداد کامنت وسط */
.wd-post-reply {
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}

/* ظرف آیکون‌ها */
.mfix-social-icons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: .35s ease;
}

/* وقتی ماوس روی کارت رفت → آیکون‌ها ظاهر می‌شن */
.mfix-wd-post:hover .mfix-social-icons {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ردیف نویسنده + سوشیال + کامنت */
.mfix-post-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 18px;
}

/* آیکون‌های اصلی (Social + Comment) */
.mfix-meta-icon {
    position: relative;
    cursor: pointer;
}

.mfix-meta-svg {
    width: 22px;
    height: 22px;
    opacity: .8;
    transition: .2s ease;
}

.mfix-meta-icon:hover .mfix-meta-svg {
    opacity: 1;
    transform: translateY(-2px);
}

/* شمارنده کامنت */
.mfix-comment-icon {
    position: relative;
}

.mfix-comment-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d4d;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 600;
}

/* Tooltip Social */
.mfix-social-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    pointer-events: none;
    z-index: 20;
}

/* نمایش Tooltip با Hover */
.mfix-social-trigger:hover .mfix-social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* آیکون‌های داخل Tooltip */
.mfix-social-tooltip img {
    width: 20px;
    height: 20px;
    transition: .2s ease;
}

.mfix-social-tooltip img:hover {
    transform: translateY(-3px);
}

/* استایل آیکون‌ها */
.mfix-social-icons .icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transition: .25s ease;
}

.mfix-social-icons .icon img {
    width: 16px;
    height: 16px;
}

/* Hover روی آیکون */
.mfix-social-icons .icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}



/* Blog Css Page */

/* Hero Section */
.mfixshop-blog-hero {
    background: #f8f8f8;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 20px 20px;
}

.mfixshop-blog-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mfixshop-blog-hero p {
    font-size: 16px;
    color: #666;
}

/* Blog Container */
.mfixshop-blog-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Grid */
.mfixshop-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .mfixshop-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mfixshop-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.mfixshop-blog-card { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.06); transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1); }

/* کارت کمی بلند می‌شود */ .mfixshop-blog-card:hover { transform: translateY(-8px); box-shadow: 0 14px 36px rgba(0,0,0,0.14); }

/* تصویر */ .mfixshop-blog-thumb img { width: 100%; height: 240px; object-fit: cover; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.mfixshop-blog-card:hover .mfixshop-blog-thumb img {
    transform: scale(1.05);
}

/* Zoom نرم روی تصویر */ .mfixshop-blog-card:hover .mfixshop-blog-thumb img { transform: scale(1.08); }

/* Overlay گرادیانی */ .mfixshop-blog-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.08)); opacity: 0; transition: opacity .35s ease; }

.mfixshop-blog-card:hover .mfixshop-blog-thumb::after { opacity: 1; } /* Shine Effect (خط نور) */ .mfixshop-blog-card::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: transform .6s ease; } .mfixshop-blog-card:hover::before { transform: translateX(250%) skewX(-20deg); }


/* Content */
.mfixshop-blog-content {
    padding: 20px;
}

.mfixshop-blog-category { position: relative; display: inline-block; padding: 6px 14px; font-size: 12px; font-weight: 600; color: #333; border-radius: 10px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 4px 14px rgba(0,0,0,0.15); margin-bottom: 14px; transition: transform .3s ease, box-shadow .3s ease; }

/* Hover Glow */ .mfixshop-blog-category:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 140, 255, 0.35); }

/* Optional: Gradient Border Shine */ .mfixshop-blog-category::after { content: ""; position: absolute; inset: 0; border-radius: 10px; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(0,140,255,0.6)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s ease; }

.mfixshop-blog-category:hover::after { opacity: 1; }

/* حالت اولیه: مخفی + پایین‌تر */
.mfixshop-blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1),
                transform .6s cubic-bezier(.4,0,.2,1);
}

/* وقتی وارد دید می‌شود */
.mfixshop-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.mfixshop-blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mfixshop-blog-title a {
    color: #222;
    text-decoration: none;
}

.mfixshop-blog-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Button */
.mfixshop-blog-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #222;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.mfixshop-blog-btn:hover {
    background: #000;
}

/* Pagination */
.mfixshop-blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.mfx-btn-article {
    position: relative;
    display: inline-block;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: color .3s ease;
    z-index: 1;
}

/* لایهٔ Fill نرم */
.mfx-btn-article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47,91,234,.12), rgba(47,91,234,.22));
    transform: translateX(-100%);
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
    z-index: -1;
}

/* خط مینیمال Mimas */
.mfx-btn-article::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0; /* RTL */
    height: 2px;
    width: 0%;
    background-color: #2f5bea;
    transition: width .35s ease;
}

/* Hover */
.mfx-btn-article:hover {
    color: #2f5bea;
}

.mfx-btn-article:hover::before {
    transform: translateX(0);
}

.mfx-btn-article:hover::after {
    width: 100%;
}

.mfix-btn-diagonal-glow-border {
    position: relative;
    display: inline-block;
    padding: 10px 22px;
    background: #f3f3f3;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    transition: color .3s ease, box-shadow .35s ease, border-color .35s ease;
    border: 2px solid transparent;
    z-index: 1;
}

/* لایه مورب */
.mfix-btn-diagonal-glow-border::before {
    width:150%;
    height:150%;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    transform: translateX(-120%) skewX(-20deg);
    transition: transform .60s cubic-bezier(.5,0,.2,1);
    z-index: -1;
}

/* Border Animation */
.mfix-btn-diagonal-glow-border::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}

/* Glow + Border + Fill */
.mfix-btn-diagonal-glow-border:hover {
    color: #fff;
    box-shadow: 0 0 16px rgba(0, 140, 255, 0.55);
    border-color: transparent;
}

.mfix-btn-diagonal-glow-border:hover::before {
    transform: translateX(0) skewX(-20deg);
}

.mfix-btn-diagonal-glow-border:hover::after {
    opacity: 1;
}

/* --- Hero Section --- */
.mfix-single-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

.mfix-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.mfix-single-hero-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: #fff;
}

.mfix-single-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
}

.mfix-single-meta {
    font-size: 14px;
    opacity: 0.9;
}

/* --- Content --- */
.mfix-single-container {
    max-width: 820px;
    margin: 60px auto;
    padding: 0 20px;
}

.mfix-single-content {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
}

.mfix-single-content p {
    margin-bottom: 24px;
}

/* --- Author Box (Glassmorphism) --- */
.mfix-single-author-box {
    margin-top: 60px;
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    gap: 20px;
}

.mfix-author-avatar img {
    border-radius: 50%;
}

.mfix-author-info h3 {
    margin-bottom: 6px;
}

/* --- Share --- */
.mfix-single-share {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.mfix-single-share a {
    background: #222;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    transition: .3s;
}

.mfix-single-share a:hover {
    background: #007bff;
}

/* --- Related Posts --- */
.mfix-related-posts {
    margin-top: 80px;
}

.mfix-related-posts h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.mfix-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mfix-related-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: .3s;
}

.mfix-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.mfix-related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.mfix-related-card h3 {
    padding: 12px;
    font-size: 16px;
}

/* Back Button */
.mfix-back-btn {
    margin-top: 60px;
    display: inline-block;
}

/* پس‌زمینه کلی */
.mfix-auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1b2735 0, #090a0f 55%);
    padding: 40px 20px;
}

/* کارت اصلی */
.mfix-auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(15, 15, 20, 0.96);
    border-radius: 20px;
    padding: 26px 24px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);
    color: #fff;
}

/* تب‌ها */
.mfix-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.03);
    padding: 4px;
    border-radius: 999px;
}

.mfix-auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: #aaa;
    padding: 8px 0;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: .25s ease;
}

.mfix-auth-tab.active {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
    box-shadow: 0 0 14px rgba(0,140,255,0.6);
}

/* هدر */
.mfix-auth-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.mfix-auth-header p {
    font-size: 13px;
    color: #aaa;
}

/* فرم‌ها */
.mfix-auth-form {
    margin-top: 22px;
    display: none;
}

.mfix-auth-form.active {
    display: block;
}

.mfix-auth-field {
    margin-bottom: 16px;
}

.mfix-auth-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #ccc;
}

.mfix-auth-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10,10,15,0.9);
    color: #fff;
    font-size: 14px;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.mfix-auth-field input:focus {
    outline: none;
    border-color: #008cff;
    box-shadow: 0 0 0 1px rgba(0,140,255,0.5);
    background: rgba(15,15,25,1);
}

/* دکمه */
.mfix-auth-btn {
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

/* متا */
.mfix-auth-meta {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #aaa;
}

.mfix-auth-meta a {
    color: #4ea8ff;
    text-decoration: none;
    transition: color .25s ease;
}

.mfix-auth-meta a:hover {
    color: #82c4ff;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .mfix-auth-card {
        padding: 22px 18px 26px;
    }
}

/* نوتیس‌های ووکامرس داخل کارت */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    margin-bottom: 14px;
    font-size: 13px;
}

/* لینک فراموشی رمز */
.mfix-auth-forgot {
    font-size: 13px;
    color: #4ea8ff;
    text-decoration: none;
    transition: color .25s ease;
}

.mfix-auth-forgot:hover {
    color: #82c4ff;
}


/* Wrapper */
.mfix-auth-light-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 40px 20px;
}

/* Card */
.mfix-auth-light-card {
    font-family: 'Vazir';
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Tabs */
.mfix-auth-light-tabs {
    
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #f0f2f5;
    padding: 4px;
    border-radius: 999px;
}

.mfix-auth-light-tab {
    font-family: Vazir;
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    transition: .25s;
}

.mfix-auth-light-tab.active {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Forms */
.mfix-auth-light-form {
    display: none;
}

.mfix-auth-light-form.active {
    display: block;
}

/* Fields */
.mfix-auth-light-field {
    margin-bottom: 18px;
}

.mfix-auth-light-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #444;
}

.mfix-auth-light-field input {
    width: 93%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 14px;
    transition: .25s;
}

.mfix-auth-light-field input:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.15);
    outline: none;
}

/* Button */
.mfix-auth-light-btn {
    font-family: Vazir;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.mfix-auth-light-btn:hover {
    box-shadow: 0 6px 20px rgba(0,140,255,0.35);
}

/* WooCommerce Notices */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    margin-bottom: 14px;
    font-size: 13px;
}

.mfix-auth-apple-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: 40px 20px;
}

.mfix-auth-apple-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    padding: 32px 28px;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.mfix-auth-title {
    font-family: Vazir;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
}

.mfix-auth-subtitle {
    font-family: Vazir;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.mfix-auth-input {
    font-family: Vazir;
    width: 93%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    margin-bottom: 14px;
    font-size: 15px;
}

.mfix-auth-btn {
    font-family: Vazir;
    width: 100%;
    padding: 12px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.mfix-auth-btn:hover {
    background: #0066d6;
}

.mfix-auth-msg {
    font-family: Vazir;
    margin-top: 12px;
    font-size: 13px;
    color: #444;
}

.mfix-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
}

.mfix-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mfix-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mfix-hello { font-size: 12px; color: #94a3b8; }
.mfix-name { font-size: 15px; font-weight: 600; }

.mfix-menu button,
.mfix-menu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    margin-bottom: 6px;
    color: #475569;
}

.mfix-menu button.is-active {
    background: #0f172a;
    color: #fff;
}

.mfix-menu .logout {
    color: #ef4444;
    margin-top: 20px;
}

.mfix-content {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mfix-tab { display: none; }
.mfix-tab.is-active { display: block; }

.mfix-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.mfix-card {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
}

.mfix-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.mfix-table th, .mfix-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.status {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    background: #e2e8f0;
}

.mfix-form input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.mfix-btn {
    background: #0f172a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
}


.mfix-header-login-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #2d7df4;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 12px;
    transition: 0.2s;
}

.mfix-header-login-btn:hover {
    background: #1b5fcc;
}


/* Wrapper */
.mfix-user-icon-wrapper {
    display: flex;
    align-items: center;
}

/* Icon Style */
.mfix-user-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: 0.2s;
}

.mfix-user-icon:hover {
    background: #e5e7eb;
}

/* Logged-in Initial */
.mfix-user-initial {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Header */
.mfix-main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.mfix-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.mfix-logo a {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

/* Navigation */
.mfix-nav-list {
    display: flex;
    gap: 24px;
}

.mfix-nav-list li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.mfix-nav-list li a:hover {
    color: #111827;
}

/* Icons */
.mfix-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mfix-header-icon {
    font-size: 20px;
    color: #4b5563;
    text-decoration: none;
    transition: 0.2s;
}

.mfix-header-icon:hover {
    color: #111827;
}

/* User Icon */
.mfix-user-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: 0.2s;
}

.mfix-user-icon:hover {
    background: #e5e7eb;
}

.mfix-user-initial {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.mfixshop-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Icon Wrapper */
.mfix-icon {
    position: relative;
    cursor: pointer;
}

.mfix-icon svg {
    color: #4b5563;
    transition: 0.2s;
}

.mfix-icon:hover svg {
    color: #111827;
}

/* User Icon */
.mfix-user-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.mfix-user-icon:hover {
    background: #e5e7eb;
}

.mfix-user-initial {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Badges */
.mfix-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 600;
}

/* Wrapper */
.mfix-auth-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: #f8f9fb;
}

/* Card */
.mfix-auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
}

/* Tabs */
.mfix-auth-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.mfix-auth-tabs button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    cursor: pointer;
    transition: 0.2s;
}

.mfix-auth-tabs button.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

/* Forms */
.mfix-auth-form {
    display: none;
}

.mfix-auth-form.active {
    display: block;
}

/* Inputs */
.mfix-auth-label {
    display: block;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 14px;
}

.mfix-auth-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 15px;
}

.mfix-auth-input:focus {
    border-color: #3b82f6;
    outline: none;
}

/* Button */
.mfix-auth-btn {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.mfix-auth-btn:hover {
    background: #2563eb;
}
/*-----------------------------*/
/* باکس کلی */
.dk-specs-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eee;
    margin-top: 20px;
}

/* عنوان دسته */
.dk-specs-group-title {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 15px;
    color: #222;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

/* گرید دو ستونه */
.dk-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

/* کارت ویژگی */
.dk-specs-item {
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* لیبل */
.dk-specs-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

/* مقدار */
.dk-specs-value {
    font-weight: 500;
    color: #111;
    font-size: 15px;
}

/* موبایل */
@media (max-width: 768px) {
    .dk-specs-grid {
        grid-template-columns: 1fr;
    }
}



/*-------------------------------*/

/* EWAYS TABLE */
/* تبدیل جدول به گرید کارت‌محور */
.eways-specs-table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
}

.eways-specs-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px 18px;
    align-items: center;
    margin-bottom: 10px;
}

/* حذف خطوط قدیمی */
.eways-specs-table td {
    border: none !important;
    padding: 6px 10px !important;
}

/* لیبل */
.eways-specs-table td:first-child {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

/* مقدار */
.eways-specs-table td:last-child {
    font-weight: 500;
    color: #111;
    font-size: 15px;
    text-align: left;
}

/* موبایل */
@media (max-width: 768px) {
    .eways-specs-table tr {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
/* EWAYS TABLE */


.mfix-hide-qty {
    display: none !important;
}


/* باکس کلی */
.dk-quantity {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 6px 10px;
    width: fit-content;
}

/* دکمه‌ها */
.dk-quantity button {
    width: 34px;
    height: 34px;
    border: none;
    background: #fff;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.2s;
}

.dk-quantity button:hover {
    background: #eee;
}

/* ورودی عدد */
.dk-quantity .qty {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

/* MINI CART */
#mfix-floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform .25s ease, opacity .25s ease;
}

#mfix-floating-cart:hover {
    transform: translateY(-4px);
}

.fc-icon {
    position: relative;
    font-size: 22px;
}

#fc-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

.fc-total {
    font-weight: 600;
    font-size: 15px;
}


/*----------إFOOTER---------*/

.dk-footer {
    background: #f5f5f5;
    padding-top: 40px;
    margin-top: 40px;
    position: relative;
    border-top: 1px solid #ddd;
}

.dk-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.dk-footer-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

.dk-footer-col ul {
    list-style: none;
    padding: 0;
}

.dk-footer-col ul li {
    margin-bottom: 8px;
    color: #555;
}

.dk-footer-col ul li a {
    color: #555;
    text-decoration: none;
    transition: .2s;
}

.dk-footer-col ul li a:hover {
    color: #ef4056;
}

/* لوگو */
.dk-footer-logo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ef4056;
}

/* توضیح */
.dk-footer-desc {
    color: #777;
    line-height: 1.7;
}

.dk-footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top:50px;
}
.dk-enamad-box,
.dk-site-logo-box {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgb(141 134 134 / 30%);
}

/* نماد اعتماد */
.dk-enamad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.dk-site-logo-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
}


/* بخش پایینی */
.dk-footer-bottom {
    text-align: center;
    padding: 15px 0;
    margin-top: 25px;
    border-top: 1px solid #ddd;
    color: #555;
    font-size: 14px;
}

/* دکمه برگشت به بالا */
.dk-back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: #ef4056;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: .2s;
}

.dk-back-to-top:hover {
    background: #d32f2f;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .dk-footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dk-footer-container {
        grid-template-columns: 1fr;
    }
}


/*----------FOTER---------*/


.dk-compare-products {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.dk-compare-column {
    flex: 1;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.current-product {
    background: #f8f9fa;
}

.dk-compare-item {
    text-align: center;
}

.compare-image img.compare-prod-img {
    max-width: 100%;
    height: auto;
    max-height: 230px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.dk-compare-specs {
    margin-top: 20px;
    text-align: right;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.dk-compare-specs h6 {
    margin: 15px 0 12px 0;
    text-align: center;
    color: #333;
}

.compare-description {
    text-align: right;
    line-height: 1.8;
    font-size: 14.5px;
    color: #333;
}

.compare-description ul, .compare-description ol {
    padding-right: 25px;
}

.compare-description {
    text-align: right;
    line-height: 1.7;
    font-size: 14.5px;
    color: #333;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.compare-description h1, .compare-description h2, .compare-description h3 {
    font-size: 16px;
    margin: 12px 0 8px 0;
}

.compare-description ul, .compare-description ol {
    padding-right: 20px;
}

.dk-compare-select {
    font-family: var(--mfix-font);
    width: 100%;
    padding: 14px 16px;
    font-size: 15.5px;
    color: #2c3e50;
    background-color: #fff;
    border: 1px solid #bdc3c7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.dk-compare-select:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
}

.dk-compare-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.live-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
}

.live-search-list li {
    border-bottom: 1px solid #eee;
}

.live-search-list a {
    display: flex;
    padding: 10px;
    text-decoration: none;
    color: #333;
    align-items: center;
}

.live-search-list .thumb {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 10px;
}

.live-search-list .info {
    flex: 1;
}

.live-search-list .title {
    font-weight: bold;
    display: block;
}

.live-search-list mark {
    background: #ffe08a;
    padding: 0 3px;
}


.mfix-user-dropdown {
    position: relative;
    cursor: pointer;
}

.mfix-user-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.mfix-user-menu {
    position: absolute;
    top: 40px;
    right: 0;
    width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    display: none;
    z-index: 9999;
}

.mfix-user-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.mfix-user-menu a:hover {
    background: #f5f5f5;
}

/* MegaMenu */

.dk-mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 900px;
    background: #fff;
    display: none;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 99999;
}

.menu-item:hover > .dk-mega-menu {
    display: flex;
}

/* ستون راست */
.dk-mega-sidebar {
    width: 220px;
    border-left: 1px solid #eee;
}

.dk-parent-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.dk-parent-item.active {
    background: #f5f5f5;
    font-weight: bold;
}

/* ستون وسط */
.dk-mega-content {
    flex: 1;
    padding-right: 20px;
}

.dk-tab-content {
    display: none;
    position: relative;
}

.dk-tab-content.active {
    display: block;
}

/* ستون سوم */
.dk-sub-column {
    margin-bottom: 15px;
    position: relative;
}

.dk-sub-column.has-children .dk-arrow {
    display: inline-block;
    margin-right: 6px;
    border: solid #666;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(-45deg);
}

.dk-flyout {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    background: #fff;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999999;
}

.dk-sub-column.has-children:hover > .dk-flyout {
    display: block;
}


/* پنل موبایل */
.dk-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: .3s ease;
    overflow-y: auto;
}


.dk-mobile-menu.active {
    right: 0;
}

.dk-mobile-header {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.dk-mobile-level-1,
.dk-mobile-level-2,
.dk-mobile-level-3 {
    display: none;
    padding: 0;
    margin: 0;
}

.dk-mobile-level-1.active,
.dk-mobile-level-2.active,
.dk-mobile-level-3.active {
    display: block;
}

.dk-mobile-menu li {
    padding: 14px 20px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 15px;
    cursor: pointer;
}

.dk-mobile-menu li a {
    color: #333;
    display: block;
}

.dk-mobile-arrow {
    float: left;
    transform: rotate(180deg);
}



/* MegaMenu */