/*
================================================================================
Mobile App Style - طراحی شبیه اپ موبایل
برای استفاده در سایز موبایل (max-width: 767.98px)
================================================================================
*/

/* ============================================================================
   Mobile Header - شبیه اپ موبایل
   ============================================================================ */

.header-mobile-app {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-header-top {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f1;
}

.mobile-header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
}

.mobile-header-btn {
    border: none;
    background: transparent;
    color: #424750;
    font-size: 1.25rem;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-header-btn:hover {
    background-color: #f0f0f1;
    color: #FF6B36;
}

.mobile-logo-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 120px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-cart-btn,
.mobile-user-btn {
    position: relative;
}

.mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FF6B36;
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    border: 2px solid #ffffff;
}

.mobile-user-dropdown {
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    margin-top: 0.5rem;
}

.mobile-user-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-user-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Search Bar */
.mobile-search-bar {
    display: none;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f1;
    padding: 0.75rem 1rem;
}

.mobile-search-bar.active {
    display: block;
}

.mobile-search-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f0f0f1;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    background: transparent;
    font-size: 0.875rem;
    color: #424750;
}

.mobile-search-input::placeholder {
    color: #81858b;
}

.mobile-search-submit-btn {
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    color: #81858b;
    cursor: pointer;
}

.mobile-search-close-btn {
    border: none;
    background: transparent;
    color: #424750;
    font-size: 1.25rem;
    padding: 0.5rem;
    cursor: pointer;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-search-close-btn:hover {
    background-color: #f0f0f1;
    color: #FF6B36;
}

/* Bottom Navigation Bar - شبیه اپ موبایل */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f1;
    display: none;
    align-items: center;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: #81858b;
    text-decoration: none;
    font-size: 0.7rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.mobile-nav-item.active {
    color: #FF6B36;
}

.mobile-nav-item.active i {
    color: #FF6B36;
}

.mobile-nav-cart-badge {
    position: absolute;
    top: 0;
    right: 8px;
    background-color: #FF6B36;
    color: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    border: 2px solid #ffffff;
}


/* Mobile Menu Sidebar */
#mobile-menu-app {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

#mobile-menu-app.active {
    right: 0;
}

.mobile-menu-app-header {
    padding: 1.25rem;
    border-bottom: 1px solid #f0f0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-app-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-app-close {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #424750;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-app-close:hover {
    background-color: #f0f0f1;
    color: #FF6B36;
}

.mobile-menu-app-body {
    padding: 1rem;
}

.mobile-menu-app-link {
    display: block;
    padding: 0.875rem 1rem;
    color: #424750;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-menu-app-link:hover {
    background-color: #f0f0f1;
    color: #FF6B36;
}

.mobile-menu-app-link.special {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.mobile-menu-app-link.special i {
    font-size: 1.125rem;
    color: #FF6B36;
}

.mobile-menu-app-divider {
    margin: 1rem 0;
    border-color: #f0f0f1;
}

.mobile-menu-app-title {
    font-size: 1rem;
    font-weight: bold;
    color: #424750;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.mobile-sidebar-nav-app {
    padding: 0 1rem;
}

.mobile-sidebar-nav-item-app {
    margin-bottom: 0.5rem;
}

.mobile-sidebar-nav-item-header-app {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sidebar-nav-item-link-app {
    flex: 1;
    display: block;
    padding: 0.875rem 1rem;
    color: #424750;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-sidebar-nav-item-link-app:hover {
    background-color: #f0f0f1;
    color: #FF6B36;
}

.mobile-sidebar-nav-toggle-app {
    border: none;
    background: none;
    color: #81858b;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-sidebar-nav-item-app.active .mobile-sidebar-nav-toggle-app {
    transform: rotate(-90deg);
    color: #FF6B36;
}

.mobile-sidebar-nav-sub-wrapper-app {
    margin-right: 1rem;
    margin-top: 0.5rem;
    display: none;
    overflow: hidden;
}

.mobile-sidebar-nav-item-app.active .mobile-sidebar-nav-sub-wrapper-app {
    display: block;
}

.mobile-sidebar-nav-sub-item-app {
    margin-bottom: 0.25rem;
}

.mobile-sidebar-nav-sub-link-app {
    display: block;
    padding: 0.625rem 1rem;
    color: #81858b;
    text-decoration: none;
    font-size: 0.8125rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-sidebar-nav-sub-link-app:hover {
    background-color: #f0f0f1;
    color: #FF6B36;
}

#mobile-menu-app-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu-app-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* ============================================================================
   Mobile Footer - شبیه اپ موبایل
   ============================================================================ */

.footer-mobile-app {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    margin-top: 2rem;
    width: 100%;
    padding-bottom: 80px;
    display: none;
}

.footer-mobile-app a:hover {
    color: inherit !important;
}

.footer-mobile-features {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mobile-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.footer-mobile-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.footer-mobile-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 54, 0.2), rgba(255, 107, 54, 0.1));
    border-radius: 50%;
    color: #FF6B36;
    font-size: 1.125rem;
    border: 2px solid rgba(255, 107, 54, 0.3);
}

.footer-mobile-feature-text {
    font-size: 0.7rem;
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.2;
}

.footer-mobile-links {
    padding: 1rem;
}

.footer-mobile-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mobile-accordion:last-child {
    border-bottom: none;
}

.footer-mobile-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
}

.footer-mobile-accordion-header i {
    transition: transform 0.3s ease;
    color: #b0b0b0;
}

.footer-mobile-accordion.active .footer-mobile-accordion-header i {
    transform: rotate(180deg);
    color: #FF6B36;
}

.footer-mobile-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.footer-mobile-accordion.active .footer-mobile-accordion-body {
    max-height: 500px;
    padding-bottom: 1rem;
}

.footer-mobile-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-mobile-links-list li {
    margin: 0;
}

.footer-mobile-links-list a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-mobile-links-list a:hover {
    color: #b0b0b0;
    padding-right: 0;
}

.footer-mobile-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

.footer-mobile-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mobile-social-link:hover {
    background: linear-gradient(135deg, #FF6B36, #ff8c5a);
    color: #ffffff;
    border-color: #FF6B36;
    transform: translateY(-2px);
}

.footer-mobile-copyright {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-mobile-copyright p {
    margin: 0;
    font-size: 0.75rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* ============================================================================
   Utility Classes
   ============================================================================ */

/* اضافه کردن padding-bottom به body برای جلوگیری از پوشیده شدن محتوا توسط bottom nav */
body.mobile-app-mode {
    padding-bottom: 60px;
}

/* اضافه کردن padding-top به main content برای جلوگیری از پوشیده شدن توسط header */
body.mobile-app-mode main {
    padding-top: 60px;
}

/* ============================================================================
   Media Queries - فقط برای موبایل
   ============================================================================ */

@media (min-width: 768px) {

    .header-mobile-app,
    .footer-mobile-app,
    #mobile-menu-app,
    #mobile-menu-app-overlay,
    .mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 767.98px) {

    /* مخفی کردن header و footer دسکتاپ */
    .header-modern,
    .footer-modern {
        display: none !important;
    }

    /* نمایش header و footer موبایل */
    .header-mobile-app {
        display: block !important;
    }

    .footer-mobile-app {
        display: block !important;
    }

    .mobile-bottom-nav {
        display: flex !important;
    }

    /* اضافه کردن padding-bottom به body برای جلوگیری از پوشیده شدن محتوا توسط bottom nav */
    body {
        padding-bottom: 60px !important;
    }

    /* اضافه کردن padding-top به محتوای اصلی برای جلوگیری از پوشیده شدن توسط header موبایل */
    main,
    main.main-body,
    #main-body-one-col,
    .main-body,
    .body-container:first-of-type,
    .container-xxl.body-container:first-of-type {
        padding-top: 32px !important;
    }

    /* برای صفحاتی که main یا body-container ندارند */
    body>section.container-xxl:first-of-type,
    body>.container-xxl:first-of-type {
        padding-top: 28px !important;
    }

    /* نوار نارنجی صفحه شگفت‌انگیز */
    .amazing-page-header-red {
        margin-top: 43px !important;
    }

    /* حذف فاصله بین فیلترها و مرتب‌سازی در صفحه products */
    .body-container {
        margin-top: 0 !important;
    }

    .sidebar-section-modern {
        margin-top: 65px !important;
    }

    /* مخفی کردن سایدبار در موبایل */
    .sidebar,
    .col-md-3.sidebar,
    aside.sidebar,
    #sidebar {
        display: none !important;
    }

    /* عرض کامل برای محتوا در موبایل */
    .col-md-9,
    .col-lg-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .products-filters-modern {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0.5rem !important;
    }

    .products-sort-modern {
        padding-top: 0.5rem !important;
    }

    /* صفحه اصلی - Slideshow */
    .slideshow-section-modern {
        margin-top: 16px !important;
        margin-bottom: 1rem !important;
        padding: 0.5rem 0 !important;
    }

    .slideshow-wrapper-modern {
        flex-direction: column !important;
    }

    .main-slideshow-modern {
        width: 100% !important;
        margin-bottom: 0.75rem !important;
    }

    .side-banners-modern {
        display: none !important;
    }

    /* صفحه اصلی - دسته‌بندی‌ها */
    .categories-ultra-modern {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
        padding: 1rem 0 !important;
    }

    .categories-ultra-header {
        margin-bottom: 1rem !important;
    }

    .categories-ultra-title {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .categories-ultra-subtitle {
        font-size: 0.875rem !important;
    }

    .categories-ultra-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .category-ultra-card {
        padding: 0.75rem !important;
        border-radius: 12px !important;
        border: 1px solid #e8e8e8 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    }

    .category-ultra-visual {
        padding-top: 100% !important;
    }

    .category-ultra-image-wrapper {
        height: 100% !important;
    }

    .category-ultra-image {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }

    .category-ultra-name {
        font-size: 0.8125rem !important;
        margin-top: 0.5rem !important;
        text-align: center !important;
        font-weight: 600 !important;
        color: #424750 !important;
    }

    .category-ultra-info {
        padding: 0.5rem 0 !important;
    }

    /* صفحه اصلی - محصولات شگفت‌انگیز */
    .amazing-products-section-modern {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
    }

    /* صفحه اصلی - محصولات سوپرمارکتی */
    .supermarket-products-section-modern {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
    }

    /* صفحه اصلی - بنرها */
    .mb-3 .container-xxl {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .mb-3 .row {
        padding: 0.75rem 0 !important;
    }

    .mb-3 img {
        border-radius: 8px !important;
    }

    /* صفحه محصول - Gallery */
    .product-detail-modern {
        margin-top: 70px !important;
    }

    .product-gallery-modern {
        margin-bottom: 1rem !important;
    }

    .product-gallery-selected-image-modern {
        height: 300px !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
    }

    .product-gallery-thumbs-modern {
        gap: 0.5rem !important;
        padding: 0.5rem 0 !important;
    }

    .product-gallery-thumb-modern {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        border-radius: 8px !important;
    }

    /* صفحه محصول - Product Info */
    .product-title-modern {
        font-size: 1.125rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.5 !important;
    }

    .product-options-modern {
        margin-bottom: 1rem !important;
    }

    .product-option-label-modern {
        font-size: 0.8125rem !important;
        margin-bottom: 0.5rem !important;
    }

    .product-colors-modern {
        gap: 0.5rem !important;
    }

    .product-color-item-modern {
        width: 36px !important;
        height: 36px !important;
    }

    .product-guarantee-modern,
    .product-stock-modern {
        font-size: 0.8125rem !important;
        margin-bottom: 0.75rem !important;
    }

    .product-actions-modern {
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .product-action-btn-modern {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    .product-quantity-modern {
        margin-bottom: 1rem !important;
    }

    .product-quantity-btn-modern {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }

    .product-quantity-input-modern {
        width: 50px !important;
        height: 32px !important;
        font-size: 0.8125rem !important;
    }

    .product-info-note-modern {
        font-size: 0.7rem !important;
        padding: 0.75rem !important;
        margin-top: 0.75rem !important;
        line-height: 1.6 !important;
    }

    /* صفحه محصول - Price Box */
    .product-price-box-modern {
        padding: 1rem !important;
        border-radius: 12px !important;
        margin-top: 1rem !important;
        position: sticky !important;
        bottom: 70px !important;
        z-index: 100 !important;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1) !important;
    }

    .product-price-row-modern {
        padding: 0.625rem 0 !important;
    }

    .product-price-label-modern {
        font-size: 0.8125rem !important;
    }

    .product-price-value-modern {
        font-size: 0.8125rem !important;
    }

    .product-price-final-modern {
        font-size: 1.125rem !important;
    }

    .product-add-to-cart-modern {
        padding: 0.875rem !important;
        font-size: 0.9375rem !important;
        margin-top: 0.75rem !important;
        border-radius: 12px !important;
    }

    .short-link-box-modern {
        margin-top: 0.75rem !important;
    }

    .short-link-header-modern {
        font-size: 0.8125rem !important;
        margin-bottom: 0.5rem !important;
    }

    .short-link-input-wrapper-modern {
        padding: 0.5rem !important;
    }

    .short-link-input-modern {
        font-size: 0.75rem !important;
    }

    .short-link-copy-btn-modern {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.875rem !important;
    }

    /* صفحه محصول - Tabs */
    .product-tabs-modern {
        margin-top: 0 !important;
    }

    .product-tabs-nav-modern {
        position: sticky !important;
        top: 60px !important;
        gap: 0.5rem !important;
        padding: 0.75rem 0 !important;
        margin-bottom: 1.5rem !important;
        margin-top: 0 !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        z-index: 100 !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        border-bottom: none !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .product-tabs-nav-modern::-webkit-scrollbar {
        display: none !important;
    }

    .product-tabs-content-modern {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .content-wrapper {
        margin-top: 16px !important;
        padding-top: 0 !important;
        overflow-x: visible !important;
        box-shadow: 0rem 0rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
    }

    .content-wrapper.bg-white.p-3 {
        padding-top: 0 !important;
    }

    .content-wrapper .product-tabs-modern {
        overflow: visible !important;
    }

    .product-tab-link-modern {
        padding: 0.75rem 1rem !important;
        font-size: 0.8125rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        min-height: 44px !important;
        border-bottom: none !important;
        color: #81858b !important;
        font-weight: 500 !important;
    }

    .product-tab-link-modern.active {
        border-bottom: 3px solid #FF6B36 !important;
        color: #FF6B36 !important;
        font-weight: 600 !important;
    }

    .product-tab-link-modern:hover:not(.active) {
        border-bottom: none !important;
        color: #81858b !important;
    }

    .product-tab-link-modern:hover.active {
        border-bottom: 3px solid #FF6B36 !important;
        color: #FF6B36 !important;
    }

    .product-tab-link-modern i {
        font-size: 1rem !important;
        flex-shrink: 0 !important;
        color: inherit !important;
    }

    .product-tab-link-modern span {
        white-space: nowrap !important;
    }

    .product-tab-content-modern {
        display: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .product-tab-content-modern.active {
        display: block !important;
    }

    .product-section-header-modern {
        margin-bottom: 1rem !important;
        padding-bottom: 0.5rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .product-section-title-modern {
        font-size: 1.125rem !important;
    }

    .product-introduction-modern {
        font-size: 0.875rem !important;
        line-height: 1.8 !important;
    }

    .product-feature-item-modern {
        padding: 0.75rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .product-feature-label-modern {
        font-size: 0.8125rem !important;
    }

    .product-feature-value-modern {
        font-size: 0.8125rem !important;
    }

    /* صفحه محصول - Comments */
    .comment-add-btn-modern {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }

    .product-comment-modern {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    .product-comment-header-modern {
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .product-comment-avatar-modern {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    .product-comment-author-modern {
        font-size: 0.875rem !important;
    }

    .product-comment-date-modern {
        font-size: 0.75rem !important;
    }

    .product-comment-body-modern {
        font-size: 0.875rem !important;
        line-height: 1.7 !important;
    }

    .product-comment-reply-modern {
        margin-right: 1rem !important;
        margin-top: 0.75rem !important;
    }

    .product-comments-empty-modern {
        padding: 2rem 1rem !important;
    }

    .product-comments-empty-modern i {
        font-size: 3rem !important;
    }

    /* صفحه محصول - Rating */
    .product-rating-modern {
        gap: 1.5rem !important;
    }

    .product-rating-stats-modern {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }

    .rating-number-modern {
        font-size: 2.5rem !important;
    }

    .rating-stars-modern i {
        font-size: 1.25rem !important;
    }

    .rating-count-modern {
        font-size: 0.8125rem !important;
    }

    .product-rating-form-modern {
        padding: 1.25rem !important;
        border-radius: 12px !important;
    }

    .rating-form-title-modern {
        font-size: 0.9375rem !important;
        margin-bottom: 0.75rem !important;
    }

    .rating-stars-input-modern label {
        font-size: 1.75rem !important;
    }

    .rating-submit-btn-modern {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.875rem !important;
    }

    /* صفحه محصول - Related Products */
    .related-products-section-modern {
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .related-products-header-modern {
        margin-bottom: 1rem !important;
        text-align: center !important;
    }

    .related-products-title-wrapper-modern {
        justify-content: center !important;
    }

    .related-products-title-modern {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    .related-products-subtitle-modern {
        font-size: 0.75rem !important;
        text-align: center !important;
    }

    .related-products-empty-modern {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 3rem 1rem !important;
    }

    .related-products-empty-modern i {
        display: block !important;
        margin: 0 auto 1rem auto !important;
    }

    .related-products-empty-modern p {
        text-align: center !important;
        margin: 0 !important;
    }

    /* صفحه سفارشات - عکس محصولات */
    .order-product-item-modern,
    .order-product-more-modern {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
    }

    .order-product-img-modern {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .order-products-list-modern {
        gap: 0.75rem !important;
    }

    /* صفحه سبد خرید - طراحی موبایل اپ */
    .cart-modern-section {
        padding: 1rem 0 !important;
        background: #f7f7f7 !important;
    }

    /* مخفی کردن سایدبار در صفحه سبد خرید */
    .cart-modern-section~.sidebar,
    .cart-modern-section .sidebar,
    .body-container .sidebar,
    .col-md-3.sidebar {
        display: none !important;
    }

    /* عرض کامل برای محتوا در صفحه سبد خرید */
    .cart-modern-section .row {
        margin: 0 !important;
    }

    .cart-modern-section .col-lg-9,
    .cart-modern-section .col-md-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 1rem !important;
    }

    /* خلاصه سفارش باید نمایش داده شود */
    .cart-modern-section .col-lg-3 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 1rem !important;
        margin-top: 1rem !important;
    }

    .cart-modern-header {
        padding: 0 1rem !important;
        margin-bottom: 1rem !important;
    }

    .cart-modern-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    .cart-modern-wrapper {
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 0 250px 0 !important;
        border: none !important;
    }

    .cart-item-modern {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
        margin-bottom: 0.75rem !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        border: none !important;
    }

    .cart-item-modern:last-child {
        border-bottom: none !important;
    }

    .cart-item-image-modern {
        width: 100% !important;
        height: 200px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #fafafa !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cart-item-image-modern img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 0.5rem !important;
    }

    .cart-item-content-modern {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .cart-item-name-modern {
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
        color: #1a1a1a !important;
    }

    .cart-item-details-modern {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .cart-item-detail-modern {
        font-size: 0.8125rem !important;
        color: #666666 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .cart-color-dot {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        display: inline-block !important;
        border: 2px solid #e8e8e8 !important;
    }

    .cart-item-actions-modern {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        padding-top: 0.5rem !important;
        border-top: 1px solid #f0f0f0 !important;
    }

    .cart-quantity-modern {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        background: #f7f7f7 !important;
        border-radius: 8px !important;
        padding: 0.25rem !important;
    }

    .cart-quantity-btn {
        width: 36px !important;
        height: 36px !important;
        border: none !important;
        background: #ffffff !important;
        color: #424750 !important;
        font-size: 1.125rem !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    }

    .cart-quantity-btn:active {
        transform: scale(0.95) !important;
        background: #FF6B36 !important;
        color: #ffffff !important;
    }

    .cart-quantity-input {
        width: 50px !important;
        height: 36px !important;
        border: none !important;
        background: transparent !important;
        text-align: center !important;
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
    }

    .cart-item-delete-modern {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.625rem 1rem !important;
        background: #fff5f5 !important;
        color: #dc3545 !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        font-size: 0.875rem !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
        border: 1px solid #ffe0e0 !important;
    }

    .cart-item-delete-modern:active {
        background: #dc3545 !important;
        color: #ffffff !important;
        transform: scale(0.98) !important;
    }

    .cart-item-price-modern {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding-top: 0.75rem !important;
        border-top: 1px solid #f0f0f0 !important;
    }

    .cart-item-discount-modern {
        font-size: 0.8125rem !important;
        color: #28a745 !important;
        font-weight: 500 !important;
    }

    .cart-item-final-price-modern {
        font-size: 1.125rem !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
    }

    /* خلاصه سفارش - در موبایل */
    .cart-summary-modern {
        position: static !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        padding: 1.25rem 1rem !important;
        border: 1px solid #e8e8e8 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        margin-top: 1rem !important;
    }

    .cart-summary-title {
        font-size: 1.125rem !important;
        font-weight: 700 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }

    .cart-summary-item-modern {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.75rem 0 !important;
        font-size: 0.875rem !important;
        color: #666666 !important;
    }

    .cart-summary-item-modern span:last-child {
        font-weight: 600 !important;
        color: #1a1a1a !important;
    }

    .cart-summary-discount {
        color: #28a745 !important;
    }

    .cart-summary-divider {
        height: 1px !important;
        background: #e8e8e8 !important;
        margin: 0.75rem 0 !important;
    }

    .cart-summary-total-modern {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 1rem 0 !important;
        font-size: 1.125rem !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        border-top: 2px solid #f0f0f0 !important;
    }

    .cart-summary-info-modern {
        display: flex !important;
        gap: 0.75rem !important;
        padding: 0.75rem !important;
        background: #fff9e6 !important;
        border-radius: 8px !important;
        margin-bottom: 1rem !important;
        font-size: 0.75rem !important;
        color: #856404 !important;
        line-height: 1.6 !important;
    }

    .cart-summary-info-modern i {
        flex-shrink: 0 !important;
        margin-top: 0.125rem !important;
    }

    .cart-checkout-btn-modern {
        width: 100% !important;
        padding: 1rem !important;
        background: linear-gradient(135deg, #FF6B36, #ff8c5a) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 4px 12px rgba(255, 107, 54, 0.3) !important;
    }

    .cart-checkout-btn-modern:active {
        transform: scale(0.98) !important;
        box-shadow: 0 2px 8px rgba(255, 107, 54, 0.3) !important;
    }

    /* فاصله برای خلاصه سفارش */
    .cart-modern-wrapper {
        padding-bottom: 0 !important;
    }

    .col-lg-9.mb-4 {
        padding-bottom: 0 !important;
    }

    .cart-modern-section .row {
        padding-bottom: 0 !important;
    }

    /* سبد خرید خالی */
    .cart-empty-modern {
        text-align: center !important;
        padding: 3rem 1rem !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        margin: 1rem !important;
    }

    .cart-empty-modern i {
        font-size: 4rem !important;
        color: #e0e0e0 !important;
        margin-bottom: 1rem !important;
    }

    .cart-empty-modern h3 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        margin-bottom: 0.5rem !important;
    }

    .cart-empty-modern p {
        font-size: 0.875rem !important;
        color: #666666 !important;
        margin-bottom: 1.5rem !important;
    }

    .cart-empty-btn-modern {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.875rem 1.5rem !important;
        background: #FF6B36 !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        font-size: 0.9375rem !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
    }

    .cart-empty-btn-modern:active {
        transform: scale(0.98) !important;
    }
}