/*----------------------------------------------
   پالت رنگ
----------------------------------------------*/
:root {
    --fire-red: #cc1e1e;
    --imperial-red: #e53e3e;
    --davy-gray: #4a5568;
    --white: #ffffff;
    --dim-gray: #718096;
    --light-gray: #f7f7f7;
    --success-green: #48bb78;
    --warning-yellow: #ed8936;
    --info-blue: #4299e1;
    --yilko-blue: #3182ce;
    --yilko-orange: #ff8c42;
}
/*----------------------------------------------
   لودینگ اصلی - طراحی منحصر به فرد YILKOPART
----------------------------------------------*/
.fastshop-main-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--imperial-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(5px);
    border-radius: 12px;
}

.yilkopart-loading {
    text-align: center;
    color: var(--white);
    position: relative;
}

/* طراحی جدید لوگو با انیمیشن نوری */
.yilkopart-logo {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 40px;
    position: relative;
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShine 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

@keyframes logoShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* انیمیشن پالس نوری دور لوگو */
.yilkopart-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    border-radius: 20px;
    animation: logoPulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* انیمیشن جدید بارگذاری - موج‌های متصل */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 25px;
    height: 40px;
}

.loading-wave {
    width: 6px;
    background: linear-gradient(to top, rgba(255,255,255,0.4), rgba(255,255,255,1));
    border-radius: 3px 3px 0 0;
    animation: waveMotion 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.loading-wave:nth-child(1) { animation-delay: 0s; }
.loading-wave:nth-child(2) { animation-delay: 0.1s; }
.loading-wave:nth-child(3) { animation-delay: 0.2s; }
.loading-wave:nth-child(4) { animation-delay: 0.3s; }
.loading-wave:nth-child(5) { animation-delay: 0.4s; }
.loading-wave:nth-child(6) { animation-delay: 0.5s; }
.loading-wave:nth-child(7) { animation-delay: 0.6s; }

@keyframes waveMotion {
    0%, 40%, 100% {
        height: 8px;
        opacity: 0.5;
    }
    20% {
        height: 35px;
        opacity: 1;
    }
}

/* متن بارگذاری با انیمیشن تایپ */
.loading-text {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95;
    position: relative;
    overflow: hidden;
}

.loading-text::after {
    content: '|';
    animation: typing 1s infinite;
    margin-left: 2px;
}

@keyframes typing {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* افکت پس‌زمینه متحرک */
.yilkopart-loading::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: backgroundFloat 20s linear infinite;
    z-index: -1;
}

@keyframes backgroundFloat {
    0% {
        transform: rotate(0deg) translateX(0px);
    }
    100% {
        transform: rotate(360deg) translateX(10px);
    }
}

/* انیمیشن ورود */
.yilkopart-loading {
    animation: loaderEntrance 0.8s ease-out;
}

@keyframes loaderEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/*----------------------------------------------
   کانتینر اصلی
----------------------------------------------*/
.fastshop-container {
    position: relative;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 30px 0;
}
/*----------------------------------------------
   Breadcrumb بهبود یافته - افقی با بک‌گراند سفید
----------------------------------------------*/
.breadcrumb-container {
    background: var(--white);
    padding: 15px 25px;
    margin-bottom: 0;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--light-gray);
}

.breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dim-gray);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--light-gray);
    border: 1px solid transparent;
}

.breadcrumb-item a {
    color: var(--dim-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--fire-red);
}

.breadcrumb-item:hover {
    background: rgba(204, 30, 30, 0.05);
    border-color: rgba(204, 30, 30, 0.2);
}

/* مسیر فعال (current) */
.breadcrumb-item.current {
    background: linear-gradient(135deg, var(--fire-red), var(--imperial-red));
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(204, 30, 30, 0.3);
    border: 1px solid var(--fire-red);
}

.breadcrumb-item.current a {
    color: var(--white);
}

/* جداکننده بین آیتم‌ها */
.breadcrumb-item:not(:last-child)::after {
    content: "→";
    margin-left: 8px;
    margin-right: 8px;
    color: var(--dim-gray);
    font-weight: bold;
    font-size: 12px;
}

/* ایکون پوشه */
.breadcrumb-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* تعداد محصولات */
.product-count {
    background: rgba(204, 30, 30, 0.1);
    color: var(--fire-red);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-right: 6px;
    font-weight: 600;
    border: 1px solid rgba(204, 30, 30, 0.2);
}

.breadcrumb-item.current .product-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .breadcrumb {
        gap: 4px;
    }
    
    .breadcrumb-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .breadcrumb-icon {
        width: 12px;
        height: 12px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 4px;
        margin-right: 4px;
    }
}


/*----------------------------------------------
   فیلترها
----------------------------------------------*/
.fastshop-filters {
    display: flex;
    gap: 20px;
    padding: 20px 25px 15px 25px; /* کاهش padding بالا و پایین */
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-bottom: 3px solid var(--fire-red);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--fire-red) var(--light-gray);
}

.fastshop-filters::-webkit-scrollbar {
    height: 8px;
}

.fastshop-filters::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.fastshop-filters::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--fire-red), var(--imperial-red));
    border-radius: 4px;
}

/*----------------------------------------------
   گروه فیلتر
----------------------------------------------*/
.filter-group {
    min-width: 280px;
    max-width: 320px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: filterSlideIn 0.6s ease-out;
}

.filter-group:nth-child(1) { animation-delay: 0.1s; }
.filter-group:nth-child(2) { animation-delay: 0.2s; }
.filter-group:nth-child(3) { animation-delay: 0.3s; }
.filter-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes filterSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.filter-header {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--imperial-red) 100%);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-clear-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    text-transform: uppercase;
}

.filter-clear-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/*----------------------------------------------
   جستجوی فیلتر
----------------------------------------------*/
.filter-search {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(204, 30, 30, 0.1);
}

.filter-search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.filter-search input:focus {
    border-color: var(--fire-red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(204, 30, 30, 0.1);
}

/*----------------------------------------------
   گزینه‌های فیلتر
----------------------------------------------*/
.filter-options {
    max-height: 280px;
    overflow-y: auto;
    padding: 10px 20px 20px;
}

.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--fire-red), var(--imperial-red));
    border-radius: 3px;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: linear-gradient(135deg, rgba(204, 30, 30, 0.05), rgba(229, 62, 62, 0.05));
    transform: translateX(5px);
}

.filter-option input[type="checkbox"] {
    margin-left: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--fire-red);
}

.filter-option label {
    cursor: pointer;
    font-size: 13px;
    color: var(--davy-gray);
    margin: 0;
    line-height: 1.5;
    flex: 1;
    font-weight: 500;
}

/*----------------------------------------------
   کادر کنترل‌ها - بسیار کوچک و فشرده
----------------------------------------------*/
.compact-filter-controls {
    background: var(--white);
    border: 2px solid var(--fire-red);
    border-radius: 8px;
    margin: 15px 25px 20px 25px; /* کاهش margin */
    padding: 10px 15px; /* کاهش padding */
    box-shadow: 0 2px 8px rgba(204, 30, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    min-height: 40px; /* کاهش ارتفاع */
}

/* بخش فیلتر موجودی */
.stock-filter-section {
    flex-shrink: 0;
}

.stock-filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px; /* کاهش سایز فونت */
    font-weight: 600;
    color: var(--success-green);
    padding: 4px 10px; /* کاهش padding */
    background: rgba(72, 187, 120, 0.1);
    border-radius: 15px; /* کاهش border-radius */
    transition: all 0.3s ease;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.stock-filter-label:hover {
    background: rgba(72, 187, 120, 0.15);
    transform: translateY(-1px);
}

.stock-filter-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 14px; /* کاهش سایز */
    height: 14px;
    border: 2px solid var(--success-green);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.stock-filter-label input:checked + .checkmark {
    background: var(--success-green);
}

.stock-filter-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -3px;
    left: 1px;
    color: white;
    font-size: 10px; /* کاهش سایز */
    font-weight: bold;
}

/* کنترل‌های DataTable */
.datatable-controls-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    justify-content: center;
}

.control-item {
    display: flex;
    align-items: center;
}

.control-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px; /* کاهش سایز فونت */
    font-weight: 600;
    color: var(--davy-gray);
    white-space: nowrap;
}

.control-select,
.control-input {
    padding: 4px 8px; /* کاهش padding */
    border: 2px solid var(--light-gray);
    border-radius: 4px; /* کاهش border-radius */
    font-size: 12px; /* کاهش سایز فونت */
    outline: none;
    transition: all 0.3s ease;
    background: var(--white);
}

.control-select {
    min-width: 60px; /* کاهش عرض */
}

.control-input {
    min-width: 180px; /* کاهش عرض */
}

.control-select:focus,
.control-input:focus {
    border-color: var(--fire-red);
    box-shadow: 0 0 0 2px rgba(204, 30, 30, 0.1);
}

/* دکمه‌های اکشن */
.action-buttons-section {
    display: flex;
    gap: 8px; /* کاهش gap */
    flex-shrink: 0;
}

.btn-reset,
.btn-apply {
    padding: 6px 12px; /* کاهش padding */
    border: none;
    border-radius: 15px; /* کاهش border-radius */
    font-size: 10px; /* کاهش سایز فونت */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px; /* کاهش عرض */
}

.btn-reset {
    background: var(--dim-gray);
    color: var(--white);
}

.btn-reset:hover {
    background: var(--davy-gray);
    transform: translateY(-1px);
}

.btn-apply {
    background: linear-gradient(135deg, var(--fire-red), var(--imperial-red));
    color: var(--white);
}

.btn-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(204, 30, 30, 0.3);
}

/* محصولات انتخابی */
.selected-cart-section {
    display: flex;
    align-items: center;
    gap: 10px; /* کاهش gap */
    background: linear-gradient(135deg, var(--success-green), #38a169);
    padding: 6px 12px; /* کاهش padding */
    border-radius: 20px; /* کاهش border-radius */
    color: var(--white);
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
    flex-shrink: 0;
}

.selected-count {
    font-weight: 700;
    font-size: 11px; /* کاهش سایز فونت */
    white-space: nowrap;
}

.cart-actions {
    display: flex;
    gap: 6px; /* کاهش gap */
}

.btn-add-selected,
.btn-clear-selected {
    padding: 3px 8px; /* کاهش padding */
    border: none;
    border-radius: 12px; /* کاهش border-radius */
    font-size: 9px; /* کاهش سایز فونت */
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-selected {
    background: var(--white);
    color: var(--success-green);
}

.btn-clear-selected {
    background: var(--fire-red);
    color: var(--white);
}

.btn-add-selected:hover,
.btn-clear-selected:hover {
    transform: scale(1.05);
}

/*----------------------------------------------
   مخفی کردن کنترل‌های اصلی DataTable
----------------------------------------------*/
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    display: none !important;
}

/*----------------------------------------------
   جدول محصولات
----------------------------------------------*/
.fastshop-table-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 25px;
}

.fastshop-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.fastshop-table th {
    background: linear-gradient(135deg, var(--davy-gray) 0%, var(--dim-gray) 100%);
    color: var(--white);
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}

.fastshop-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: middle;
    font-size: 12px;
    word-wrap: break-word;
    position: relative;
}

.fastshop-table tr {
    transition: all 0.3s ease;
    cursor: pointer;
}

.fastshop-table tr:hover {
    background: linear-gradient(135deg, rgba(204, 30, 30, 0.02), rgba(229, 62, 62, 0.02));
}

/* ردیف انتخاب شده */
.fastshop-table tr.selected-row {
    background: linear-gradient(135deg, rgba(204, 30, 30, 0.1), rgba(229, 62, 62, 0.05)) !important;
    border-left: 4px solid var(--fire-red);
    transform: translateX(2px);
}

.fastshop-table tr.selected-row:hover {
    background: linear-gradient(135deg, rgba(204, 30, 30, 0.15), rgba(229, 62, 62, 0.08)) !important;
}

/*----------------------------------------------
   تنظیمات عرض ستون‌های جدول
----------------------------------------------*/
.select-column {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.image-column {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 5px !important;
}

.name-column {
    width: 250px !important;
    min-width: 200px !important;
    text-align: right !important;
}

.description-column {
    width: 200px !important;
    min-width: 150px !important;
    text-align: right !important;
}

.brand-column {
    width: 120px !important;
    min-width: 100px !important;
    max-width: 150px !important;
    text-align: center !important;
}

.price-column {
    width: 140px !important;
    min-width: 120px !important;
    max-width: 160px !important;
    text-align: center !important;
}

.cart-column {
    width: 160px !important;
    min-width: 140px !important;
    max-width: 180px !important;
    text-align: center !important;
}

/*----------------------------------------------
   انتخاب محصولات (چک‌باکس‌ها)
----------------------------------------------*/
.product-select, #select-all {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    accent-color: var(--fire-red);
    transform: scale(1.1);
    margin: 0 auto;
    display: block;
}

/*----------------------------------------------
   تصاویر محصولات
----------------------------------------------*/
.image-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    position: relative;
    overflow: visible;
}

.fs-thumbnail {
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto;
}

.fs-thumbnail:hover {
    transform: scale(2);
    border-color: var(--fire-red);
    box-shadow: 0 8px 25px rgba(204, 30, 30, 0.4);
    z-index: 1000;
    position: relative;
}

.no-image {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border: 2px dashed var(--dim-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dim-gray);
    font-size: 10px;
    margin: 0 auto;
    text-align: center;
}

/*----------------------------------------------
   سلول‌های محصول
----------------------------------------------*/
.product-name-cell {
    text-align: right;
    padding: 10px;
}

.product-name-cell .product-title {
    font-weight: 600;
    color: var(--fire-red);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
    display: block;
    line-height: 1.4;
}

.product-name-cell .product-title:hover {
    color: var(--imperial-red);
}

.product-name-cell .product-sku {
    font-size: 11px;
    color: var(--dim-gray);
    margin-top: 5px;
    font-weight: 500;
}

.product-datasheet {
    margin-top: 8px;
}

.datasheet-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--fire-red);
    text-decoration: none;
    transition: color 0.2s ease;
}

.datasheet-link:hover {
    color: var(--imperial-red);
}

.pdf-icon {
    width: 16px;
    height: 16px;
}

.short-description-cell {
    font-size: 12px;
    color: var(--dim-gray);
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    text-align: right;
    padding: 10px;
}

.price-cell {
    font-weight: 600;
    color: var(--davy-gray);
    font-size: 14px;
}

/*----------------------------------------------
   سبد خرید
----------------------------------------------*/
.cart-cell-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    min-width: 140px;
}

.stock-info-section {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 15px;
    text-align: center;
    min-width: 60px; /* کاهش عرض */
}

.stock-info-section.instock {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.stock-info-section.outofstock {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.cart-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.quantity-section {
    display: flex;
    align-items: center;
}

.quantity-input {
    width: 50px !important;
    padding: 4px 6px !important;
    border: 1px solid var(--light-gray) !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: var(--white) !important;
    color: var(--davy-gray) !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.quantity-input:focus {
    border-color: var(--fire-red) !important;
    box-shadow: 0 0 0 2px rgba(204, 30, 30, 0.1) !important;
}

.add-to-cart-btn {
    background: var(--success-green);
    color: var(--white);
    border: none;
    padding: 6px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 100px;
    justify-content: center;
}

.add-to-cart-btn:hover {
    background: #38a169;
    transform: scale(1.05);
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.cart-icon {
    width: 12px;
    height: 12px;
}

.custom-import-section {
    display: flex;
    justify-content: center;
}

.custom-import-btn {
    background: var(--warning-yellow);
    color: var(--white);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 100px;
    justify-content: center;
}

.custom-import-btn:hover {
    background: #dd6b20;
    transform: scale(1.05);
    color: var(--white);
}

.import-icon {
    width: 12px;
    height: 12px;
}

/*----------------------------------------------
   نوتیفیکیشن‌ها
----------------------------------------------*/
.fastshop-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transform: translateX(400px);
    transition: all 0.3s ease;
    min-width: 300px;
}

.fastshop-notification.show {
    transform: translateX(0);
}

.fastshop-notification.success {
    border-left: 4px solid var(--success-green);
    color: var(--success-green);
}

.fastshop-notification.error {
    border-left: 4px solid var(--fire-red);
    color: var(--fire-red);
}

.fastshop-notification i {
    font-size: 18px;
}

/*----------------------------------------------
   لودینگ کوچک
----------------------------------------------*/
.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*----------------------------------------------
   ریسپانسیو
----------------------------------------------*/
@media (max-width: 1200px) {
    .compact-filter-controls {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        min-height: auto;
    }
    
    .datatable-controls-section {
        flex-direction: column;
        gap: 8px;
    }
    
    .control-input {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        display: none;
    }
    
    .fastshop-filters {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px 10px 20px;
    }
    
    .filter-group {
        min-width: 100%;
        max-width: 100%;
    }
    
    .compact-filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 10px 20px 15px 20px;
        padding: 8px 12px;
    }
    
    .datatable-controls-section {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-buttons-section {
        justify-content: center;
    }
    
    .selected-cart-section {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .cart-actions {
        justify-content: center;
    }
    
    .control-input {
        min-width: 100%;
    }
    
    .fs-thumbnail:hover {
        transform: scale(1.5);
    }
}

@media (max-width: 480px) {
    .fs-thumbnail:hover {
        transform: scale(1.2);
    }
    
    .fastshop-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .fastshop-notification.show {
        transform: translateY(0);
    }
    
    .compact-filter-controls {
        margin: 10px 15px;
        padding: 8px 10px;
    }
    
    .btn-reset,
    .btn-apply {
        min-width: 50px;
        padding: 5px 10px;
        font-size: 9px;
    }
}
