    :root {
        --mshop-primary: #4a1726;
        --mshop-primary-dark: #290813;
        --mshop-primary-light: #d39e7f;
        --mshop-secondary: #efefef;
        --mshop-success: #10b981;
        --mshop-danger: #ef4444;
        --mshop-warning: #f59e0b;
        --mshop-dark: #1e293b;
        --mshop-gray: #64748b;
        --mshop-gray-light: #94a3b8;
        --mshop-light: #f8fafc;
        --mshop-border: #e2e8f0;
        --mshop-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
        --mshop-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
        --mshop-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
        --mshop-radius-sm: 8px;
        --mshop-radius-md: 12px;
        --mshop-radius-lg: 16px;
    }



    body {
        background: #f5f7fb;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tajawal', sans-serif;
    }
    

    .mshop-container {
        max-width: 85%;
        margin: 0 auto;
        padding: 20px;
        min-height: 100vh;
    }
    

    .mshop-filter-bar {
        background: white;
        border-radius: var(--mshop-radius-md);
        box-shadow: var(--mshop-shadow-sm);
        overflow: hidden;
    }
    
    .mshop-filter-header {
        padding: 5px;
        background: linear-gradient(135deg, var(--mshop-primary-light) 0%, white 100%);
        border-bottom: 1px solid var(--mshop-border);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .mshop-filter-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--mshop-dark);
    }
    
    .mshop-filter-title i {
        color: var(--mshop-primary);
        font-size: 18px;
    }
    
    .mshop-filter-actions {
        display: flex;
        gap: 12px;
    }
    
    .mshop-filter-scopes {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: white;
        border-bottom: 1px solid var(--mshop-border);
    }
    
    .mshop-filter-scope {
        display: inline-flex;
        align-items: center;
        background: #f8fafc;
        border: 1px solid var(--mshop-border);
        border-radius: 6px;
        padding: 8px 16px;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        gap: 10px;
    }
    
    .mshop-filter-scope:hover {
        background: white;
        border-color: var(--mshop-primary);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .mshop-filter-scope.active {
        background: linear-gradient(135deg, var(--mshop-primary) 0%, var(--mshop-primary-dark) 100%);
        border-color: var(--mshop-primary);
    }
    
    .mshop-filter-scope.active .filter-label,
    .mshop-filter-scope.active .filter-setting {
        color: white;
    }
    
    .mshop-filter-scope .filter-label {
        font-size: 13px;
        font-weight: 500;
        color: var(--mshop-gray);
    }
    
    .mshop-filter-scope .filter-setting {
        font-size: 13px;
        font-weight: 600;
        color: var(--mshop-dark);
        background: rgba(0,0,0,0.05);
        padding: 2px 8px;
        border-radius: 12px;
    }
    
    .mshop-filter-scope.active .filter-setting {
        background: rgba(255,255,255,0.2);
        color: white;
    }
    
    .mshop-filter-scope.checkbox {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 8px 16px;
        background: #f8fafc;
        border: 1px solid var(--mshop-border);
        border-radius: 6px;
    }
    
    .mshop-filter-scope.checkbox:hover {
        background: white;
    }
    
    .mshop-filter-scope.checkbox input {
        margin: 0;
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: var(--mshop-primary);
    }
    
    .mshop-filter-scope.checkbox label {
        font-size: 13px;
        font-weight: 500;
        color: var(--mshop-dark);
        cursor: pointer;
        margin: 0;
    }
    
    .mshop-filter-panel {
        display: none;
        background: white;
        border-top: 1px solid var(--mshop-border);
        padding: 20px;
        animation: slideDown 0.2s ease;
    }
    
    .mshop-filter-panel.active {
        display: block;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mshop-panel-content {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .mshop-panel-section {
        flex: 1;
        min-width: 200px;
    }
    
    .mshop-panel-section h4 {
        font-size: 14px;
        font-weight: 600;
        color: var(--mshop-dark);
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--mshop-border);
    }
    
    .mshop-options-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 250px;
        overflow-y: auto;
    }
    
    .mshop-option-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 8px;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.2s;
    }
    
    .mshop-option-item:hover {
        background: var(--mshop-light);
    }
    
    .mshop-option-item label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        flex: 1;
        font-size: 13px;
        color: var(--mshop-dark);
    }
    
    .mshop-option-item input {
        margin: 0;
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: var(--mshop-primary);
    }
    
    .mshop-option-count {
        font-size: 11px;
        color: var(--mshop-gray);
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 12px;
    }
    
    .mshop-color-dot {
        display: inline-block;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 1px solid var(--mshop-border);
    }
    
    .mshop-price-range-panel {
        padding: 10px;
    }
    
    .mshop-slider-container {
        position: relative;
        height: 40px;
        margin-bottom: 20px;
    }
    
    .mshop-slider-track {
        position: absolute;
        top: 18px;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--mshop-border);
        border-radius: 4px;
    }
    
    .mshop-slider-range {
        position: absolute;
        top: 18px;
        height: 4px;
        background: linear-gradient(90deg, var(--mshop-primary) 0%, var(--mshop-primary-dark) 100%);
        border-radius: 4px;
    }
    
    .mshop-slider {
        position: absolute;
        top: 8px;
        width: 100%;
        height: 4px;
        -webkit-appearance: none;
        background: transparent;
        pointer-events: none;
    }
    
    .mshop-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        background: white;
        border: 2px solid var(--mshop-primary);
        border-radius: 50%;
        cursor: pointer;
        pointer-events: auto;
        box-shadow: var(--mshop-shadow-sm);
    }
    
    .mshop-price-inputs {
        display: flex;
        gap: 12px;
        margin-top: 10px;
    }
    
    .mshop-price-input-group {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border: 1px solid var(--mshop-border);
        border-radius: 6px;
        background: white;
    }
    
    .mshop-price-input-group span {
        color: var(--mshop-gray);
        font-weight: 600;
    }
    
    .mshop-price-input-group input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 13px;
    }
    
    .mshop-panel-actions {
        display: flex;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--mshop-border);
    }
    
    .mshop-btn {
        padding: 8px 20px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .mshop-btn-primary {
        background: linear-gradient(135deg, var(--mshop-primary) 0%, var(--mshop-primary-dark) 100%);
        color: white;
    }
    
    .mshop-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: var(--mshop-shadow-sm);
    }
    
    .mshop-btn-outline {
        background: white;
        border: 1px solid var(--mshop-border);
        color: var(--mshop-gray);
    }
    
    .mshop-btn-outline:hover {
        background: var(--mshop-light);
    }
    .mshop-search-wrapper {
        margin-bottom: 5px;
        position: relative;
    }
    
    .mshop-search-input {
        width: 100%;
        padding: 12px 16px 12px 44px;
        border: 1px solid var(--mshop-border);
        border-radius: var(--mshop-radius-md);
        font-size: 14px;
        background: white;
        transition: all 0.2s;
    }
    
    .mshop-search-input:focus {
        outline: none;
        border-color: var(--mshop-primary);
        box-shadow: 0 0 0 3px rgba(209, 156, 151, 0.1);
    }
    
    .mshop-search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--mshop-gray);
    }
    
    .mshop-products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .mshop-product-card {
        background: white;
        border-radius: var(--mshop-radius-md);
        overflow: hidden;
        box-shadow: var(--mshop-shadow-sm);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .mshop-product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--mshop-shadow-md);
    }
    
    .mshop-sale-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, var(--mshop-danger) 0%, #dc2626 100%);
        color: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        z-index: 2;
    }
    
    .mshop-rating {
        position: absolute;
        top: 12px;
        left: 12px;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(4px);
        color: #fbbf24;
        padding: 4px 8px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .mshop-image-wrapper {
        position: relative;
        padding-top: 100%;
        overflow: hidden;
        background: #f8fafc;
    }
    
    .mshop-product-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .mshop-product-card:hover .mshop-product-img {
        transform: scale(1.05);
    }
    
    .mshop-product-info {
        padding: 12px;
    }
    
    .mshop-product-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--mshop-dark);
        margin-bottom: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .mshop-price-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .mshop-current-price {
        font-size: 16px;
        font-weight: 700;
        color: var(--mshop-primary);
    }
    
    .mshop-old-price {
        font-size: 12px;
        color: var(--mshop-gray);
        text-decoration: line-through;
    }
    
    .mshop-product-actions {
        display: flex;
        gap: 8px;
        padding: 0 12px 12px;
    }
    
    .mshop-action-btn {
        flex: 1;
        padding: 8px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
        text-decoration: none;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .mshop-action-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--mshop-shadow-sm);
        cursor: pointer;
        color: black
    }
    
    .mshop-action-view {
        background: #f1f5f9;
        color: var(--mshop-gray);
    }
    
    .mshop-action-cart {
        background: linear-gradient(135deg, var(--mshop-primary) 0%, var(--mshop-primary-dark) 100%);
        color: white;
    }
    
    .mshop-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .mshop-page-link {
        min-width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border-radius: 6px;
        background: white;
        color: var(--mshop-dark);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        border: 1px solid var(--mshop-border);
    }
    
    .mshop-page-active {
        background: linear-gradient(135deg, var(--mshop-primary) 0%, var(--mshop-primary-dark) 100%);
        color: white;
        border: none;
    }
    
    @media (min-width: 640px) {
        .mshop-products-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (min-width: 768px) {
        .mshop-products-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    
    @media (min-width: 1024px) {
        .mshop-products-grid {
            grid-template-columns: repeat(5, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .mshop-container {
            max-width: 100%;
            padding: 12px;
        }

        .mshop-search-input {
            font-size: 12px!important;
            padding: 7px!important;
        }

        .mshop-filter-title i {
        font-size: 10px!important;

        }
        .mshop-filter-title  {
        font-size: 10px!important;

        } 
        .mshop-filter-scope .filter-label {
        font-size: 10px!important;

        } 
        .mshop-filter-scope .filter-setting {
        font-size: 10px!important;
        }
        .mshop-btn {
            font-size: 12px!important;
            padding: 5px!important;
        }

        .mshop-filter-scopes {
            overflow-x: auto;
            flex-wrap: nowrap;
            padding: 5px!important;
            -webkit-overflow-scrolling: touch;
        }
        
        .mshop-filter-scope {
            white-space: nowrap;
            padding: 5px;
        }
        
        .mshop-panel-content {
            flex-direction: column;
            gap: 20px;
        }
        
        .mshop-products-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
    }