#sortModal .modal-dialog,
.modal.modal-bottom-sheet .modal-dialog {
    position: fixed;
    bottom: 0;
    max-width: 100%;
    transform: translateY(100%);
    transition: transform .3s ease-out
}

#sortModal .modal-content,
#sortModal .modal-dialog {
    height: auto;
    max-height: 50vh;
    box-shadow: none !important
}

.price-ltr,
.price-wrapper,
.sr-only {
    white-space: nowrap
}

.container {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.row {
    margin-right: -15px;
    margin-left: -15px
}

.accordion-button:focus,
.accordion-button:hover,
.list-group-item:focus,
.list-group-item:hover,
.nav-link:focus,
.nav-link:hover,
a:focus,
a:hover,
button:focus:not(.login-modal-submit),
button:hover:not(.login-modal-submit) {
    box-shadow: none !important;
    outline: 0 !important;
    background-color: transparent !important
}

.accordion-button:active,
.accordion-button:focus,
.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: 0 !important
}

.accordion-button {
    font-size: 0.875rem;
    color: #3f4064;
    font-weight: 500;
}

.accordion-button::after {
    background-size: 1rem;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
    box-shadow: none !important;
    outline: 0 !important
}

.form-check-input:checked {
    background-color: #008eb2;
    border-color: #008eb2
}

.form-check-input[type=checkbox],
.form-check-input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid #3f4064;
    border-radius: 4px;
    outline: 0;
    transition: background-color .2s, border-color .2s;
    vertical-align: middle;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    top: 0
}

.form-check-input[type=checkbox]:checked,
.form-check-input[type=radio]:checked {
    border-color: #008eb2;
    background-color: #008eb2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6.173 11.414l-3.182-3.182L2 9.222l4.173 4.173 8-8-1.414-1.414-6.586 6.586z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center
}

.form-check-input[type=checkbox],
.form-check-input[type=radio] {
    pointer-events: auto;
    cursor: pointer
}

.form-check-label,
.price-currency,
.price-currency.currency,
.price-slider {
    pointer-events: none;
    pointer-events: none
}

.form-check-label {
    display: flex !important;
    justify-content: space-between;
    align-items: center
}

.form-check-label .badge {
    font-size: .85em;
    min-width: 2em;
    text-align: center;
    margin-right: 8px;
    margin-left: 0
}

.form-check-label-text {
    display: block;
    border-bottom: 1px solid #ececec;
    width: 100%;
    padding-bottom: .5rem
}

.form-check:last-child .form-check-label-text {
    border-bottom: none;
    padding-bottom: 0
}


.price-ltr {
    direction: ltr;
    unicode-bidi: bidi-override;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #212529
}

.discount-badge {
    width: 30px;
    height: 30px;
    background: #d32f2f;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0
}

.product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px
}

.card-title {
    font-size: .8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.5em * 2);
    margin-bottom: 2rem;
    color: #212529
}

.modal.modal-bottom-sheet .modal-dialog {
    margin: 0;
    width: 100%;
    max-height: 75vh;
    height: 75vh;
    display: flex;
    align-items: stretch;
    border: none !important;
    box-shadow: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overscroll-behavior: contain
}

#sortModal.show .modal-dialog,
.modal.modal-bottom-sheet.show .modal-dialog {
    transform: translateY(0)
}

.modal.modal-bottom-sheet .modal-content {
    border-radius: 15px 15px 0 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-height: 75vh;
    border: none !important;
    box-shadow: none !important;
    border-bottom: none !important
}

.modal.modal-bottom-sheet .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    overscroll-behavior: contain
}

.filter-sort-link {
    background: #fff;
    border: 1px solid #e0e0e6;
    border-radius: 2rem;
    padding: .25rem .75rem;
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    transition: border-color .2s, box-shadow .2s;
    box-shadow: none;
    position: relative
}

.filter-sort-link.active {
    border-color: transparent;
    background-color: #dc35451a;
    color: #dc3545;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08)
}

.filter-sort-link .filter-badge {
    position: absolute;
    top: -6px;
    left: 0;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    min-width: 16px;
    z-index: 10;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1)
}

.filter-sort-link i {
    font-size: 18px;
    margin-top: 0;
    margin-left: .2rem;
    margin-right: .2rem
}

.fw-bold {
    font-weight: 500 !important
}

.list-group {
    background: 0 0;
    border: none;
    box-shadow: none;
    font-size: .8125rem;
    margin-top: -15px;
    font-weight: 500
}

.list-group-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
    transition: background-color .2s
}

.card,
.sort-nav {
    background: #fff;
    margin-bottom: 1.5rem
}

.card-header,
.sort-nav {
    padding: 1.25rem 1.25rem 1rem
}

#sortModal .list-group-item:last-child,
.list-group-item:last-child {
    border-bottom: none
}

.list-group-item a {
    padding: 0;
    margin: 0;
    color: #212529;
    text-decoration: none;
    display: block
}

#sortModal .list-group-item a:hover,
.list-group-item a:hover {
    background-color: #f8f9fa
}

.list-group-item.selected-item {
    color: #212529
}

.modal-footer .btn {
    width: 45%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, .08);
    transition: .2s
}

.btn:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 142, 178, .25)
}

.sort-nav {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    margin-top: 0
}

.sort-nav .nav-link {
    position: relative;
    color: #81858b;
    font-size: .875rem;
    padding: .5rem 1rem;
    border: none;
    transition: color .3s;
    background-color: transparent !important
}

.sort-nav .nav-link:focus,
.sort-nav .nav-link:hover {
    background-color: transparent !important;
    color: #333 !important
}

.sort-nav .nav-link:hover:not(.active)::after {
    width: 100%
}

.sort-nav .nav-link.active {
    color: #dc3545 !important;
    font-weight: 500
}

.modal-footer .btn-danger:focus,
.modal-footer .btn-danger:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #fff !important;
    box-shadow: 0 0 8px rgba(200, 35, 51, .5) !important
}

.modal-footer .btn-outline-danger:focus,
.modal-footer .btn-outline-danger:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
    box-shadow: 0 0 8px rgba(220, 53, 69, .5) !important
}

.card {
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 12px
}

.card-header {
    font-size: 1rem;
    background: 0 0;
    font-weight: 500;
    border: none
}

.card-body {
    padding: 0 1.25rem 1rem
}

.accordion-item {
    border: none !important;
    border-bottom: 1px solid #eee !important
}

.accordion-item:last-child {
    border-bottom: none !important
}

.category-cards-row {
    width: 100%;
    overflow-x: auto
}

.category-cards-scroll {
    flex-wrap: nowrap
}

.category-cards-mobile {
    padding-bottom: 10px
}

.category-page-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-top: 0.5rem;
}

.category-card {
    background: #f0f0f1;
    min-width: 180px;
    max-width: 220px;
    display: inline-block;
    border-radius: 12px
}

#filter-main-list,
.category-card .category-icon,
.filter-step {
    display: none
}

.category-card .category-name {
    font-size: .6875rem;
    color: #3f4064;
    font-weight: 600
}

.category-show-more {
    transition: .3s;
    cursor: pointer
}

.category-show-more:hover {
    background: #eef0f5 !important;
    transform: translateY(-2px)
}

.category-show-more i {
    transition: transform .3s
}

.category-show-more.expanded i {
    transform: rotate(180deg)
}

.filter-scroll-row::-webkit-scrollbar {
    display: none
}

.breadcrumb-container::-webkit-scrollbar {
    display: none
}

.filter-scroll-row {
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0
}

.filter-scroll-row .filter-sort-link.active:focus,
.filter-scroll-row .filter-sort-link.active:hover {
    background-color: #dc35451a !important;
    color: #dc3545 !important
}

#sortModal .modal-content {
    --bs-modal-border-radius: 15px 15px 0 0 !important
}

#filter-main-list.active {
    display: block;
    padding: 1rem 1.25rem
}

#filter-main-list .filter-title:first-child {
    margin-top: 1rem !important
}

#filter-main-list .filter-separator {
    margin-top: 0;
    margin-bottom: 0
}

#filter-main-list .filter-separator:last-child {
    border-bottom: none
}

.filter-step.active {
    display: flex
}

.filter-step {
    background: #fff;
    border-radius: 15px 15px 0 0;
    flex-direction: column;
    height: 100%;
    border: none;
    box-shadow: none;
    min-height: 300px
}

.filter-separator,
.step-header {
    border-bottom: 1px solid #ececec
}

#sortModal .modal-body,
.filter-step-content {
    overflow-y: auto;
    min-height: 0;
    overscroll-behavior: contain
}

.filter-step-content {
    flex: 1 1 auto;
    padding: 1rem 1.25rem
}

.filter-separator {
    margin: 0 0 .5rem
}

.step-header {
    gap: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0
}

.step-header>div {
    width: 100%;
    justify-content: center
}

.step-header i {
    font-size: 1.5rem;
    vertical-align: middle;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer
}

.step-header .fw-bold {
    font-size: 1rem;
    line-height: 1.2;
    vertical-align: middle
}

.ri-check-line:before {
    color: #212529 !important
}

.modal.modal-bottom-sheet#filterModal .modal-dialog {
    height: 100vh;
    max-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 1055
}

.modal.modal-bottom-sheet#filterModal .modal-content {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column
}

.modal.modal-bottom-sheet#filterModal .modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch
}

.modal.modal-bottom-sheet#filterModal .modal-body .filter-step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0
}

.modal.modal-bottom-sheet#filterModal .modal-footer {
    flex-shrink: 0;
    padding: 1rem 1.25rem;
    background: #fff;
    border-top: 1px solid #ececec;
    position: sticky;
    bottom: 0;
    z-index: 10
}

.breadcrumb {
    font-size: 12px;
    color: #81858b;
    font-weight: 500
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    color: #81858b !important
}

.form-check {
    margin-bottom: 8px
}

.form-check-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: .8125rem;
    color: #3f4064;
    pointer-events: none;
    font-weight: 500
}

.badge {
    font-size: .75rem;
    font-weight: 400
}

.price-slider-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.price-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.price-input-label {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin: 0
}

.price-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden
}

.price-input {
    flex: 1;
    border: none;
    outline: 0;
    padding: 12px 16px 12px 80px;
    font-size: 1rem;
    color: #3f4064;
    font-weight: 600;
    direction: rtl;
    text-align: right;
    background: 0 0
}

.price-input::placeholder {
    color: #999
}

.price-input:focus {
    outline: 0;
    border-color: transparent
}

.price-currency {
    position: absolute;
    left: 16px
}

.price-currency.currency {
    font-size: .6rem;
    font-weight: 700;
    color: #3f4064;
    position: absolute;
    left: 16px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1
}

.price-currency .currency-sup {
    font-size: .6rem;
    font-weight: 700;
    position: absolute
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.form-check-input:focus {
    border-color: #008eb2
}

.price-slider:focus {
    outline: #008eb2 solid 2px;
    outline-offset: 2px
}

.price-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e3f2fd 0, #bbdefb 50%, #e3f2fd 100%);
    outline: 0;
    position: absolute;
    transition: .3s
}

.price-slider:hover {
    background: linear-gradient(90deg, #bbefff 0, #7dd3f0 50%, #bbefff 100%)
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0dcaf0 0, #008eb2 100%);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(13, 202, 240, .4), 0 0 0 4px rgba(13, 202, 240, .1);
    transition: .3s cubic-bezier(.4, 0, .2, 1);
    border: 3px solid #fff
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(13, 202, 240, .5), 0 0 0 6px rgba(13, 202, 240, .15)
}

.price-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(13, 202, 240, .4), 0 0 0 4px rgba(13, 202, 240, .2)
}

.price-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0dcaf0 0, #008eb2 100%);
    cursor: pointer;
    pointer-events: auto;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(13, 202, 240, .4), 0 0 0 4px rgba(13, 202, 240, .1);
    transition: .3s cubic-bezier(.4, 0, .2, 1)
}

.price-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(13, 202, 240, .5), 0 0 0 6px rgba(13, 202, 240, .15)
}

.price-slider::-moz-range-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(13, 202, 240, .4), 0 0 0 4px rgba(13, 202, 240, .2)
}

.price-slider-min {
    z-index: 2
}

.price-slider-max {
    z-index: 1
}

.form-select {
    font-size: .9rem;
    color: #666
}

.btn-primary {
    margin-top: 20px
}

#filterModal .filter-step .form-check-label-text,
#filterModal .filter-step .form-check:last-child .form-check-label-text,
#filterModal .form-check-label-text,
#filterModal .form-check:last-child .form-check-label-text {
    border-bottom: none !important;
    padding-bottom: 0 !important
}

.collapse.show::-webkit-scrollbar {
    width: 6px
}

.collapse.show::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px
}

.collapse.show::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px
}

.collapse.show::-webkit-scrollbar-thumb:hover {
    background: #555
}

#sortModal .modal-dialog {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    border: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important
}

#sortModal .modal-content {
    border-radius: 15px 15px 0 0 !important;
    display: flex;
    flex-direction: column;
    border: none !important;
    border-bottom: none !important
}

#sortModal .modal-body {
    flex: 1 1 auto;
    padding: .5rem 1rem;
    -webkit-overflow-scrolling: touch
}

#sortModal .list-group-item {
    padding: .4rem 0;
    border-bottom: 1px solid #ececec
}

#sortModal .list-group-item a {
    color: #3f4064;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8125rem;
    font-weight: 600;
    padding: .6rem 0;
    transition: .2s
}

.sort-check {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important
}

.pagination {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.pagination::-webkit-scrollbar {
    display: none
}

.pagination .page-item {
    flex-shrink: 0
}

.pagination .page-item .page-link {
    border: none;
    color: #212529;
    white-space: nowrap;
    font-weight: 500
}

.pagination .page-item.active .page-link {
    background-color: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 6px
}

.pagination .page-item .page-link:hover {
    color: #dc3545
}

.pagination .page-item.disabled .page-link {
    background-color: transparent !important;
    color: #888;
    opacity: .6;
    cursor: not-allowed
}

.modal-title {
    font-size: 1rem;
    font-weight: 500
}

@media (min-width:992px) {
    .sort-nav {
        margin-top: 0 !important
    }

    .row>.col-lg-3.d-none.d-lg-block {
        position: static;
        top: auto;
        align-self: auto;
        height: auto
    }

    .container-fluid {
        margin-top: 10rem !important
    }

    .accordion-body {
        font-size: .8125rem
    }
}

@media (max-width:991.98px) {

    .product-card,
    .products-grid,
    .products-grid>a {
        box-sizing: border-box
    }

    body,
    html {
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
        overflow-x: hidden !important
    }

    .container,
    .container-fluid,
    main {
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden
    }

    embed,
    iframe,
    img,
    object,
    video {
        max-width: 100%;
        height: auto
    }

    .products-grid {
        width: 100% !important;
        padding-right: 0;
        padding-left: 0
    }

    .products-grid>a {
        max-width: 100%
    }

    .filter-sort-link.active .filter-badge {
        background: #dc3545 !important;
        color: #fff !important;
        border-color: #dc3545 !important;
        box-shadow: 0 2px 6px rgba(220, 53, 69, .2) !important
    }

    .pagination .page-item .page-link {
        font-size: .875rem
    }

    .filter-title {
        color: #3f4064;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .modal.modal-bottom-sheet#filterModal .modal-body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch
    }

    #filter-main-list.active {
        overflow-y: visible;
        max-height: none
    }

    .category-cards-row,
    .filter-scroll-row,
    .breadcrumb-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none
    }

    .category-cards-mobile {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .category-cards-row::-webkit-scrollbar,
    .filter-scroll-row::-webkit-scrollbar,
    .breadcrumb-container::-webkit-scrollbar {
        display: none
    }

    .pagination {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch
    }
}

@media (max-width:991px) {
    .container-fluid {
        margin-top: 5rem !important
    }

    /* یکسان کردن فاصله‌ها بین المان‌ها در تبلت و موبایل */
    nav[aria-label="breadcrumb"],
    .category-page-title,
    .category-cards-row {
        margin-bottom: 1rem !important;
    }
    
    /* filter-scroll-row نباید margin-bottom داشته باشد چون والدش mb-3 دارد */
    /* padding-top را حذف می‌کنیم تا فاصله با المان قبلی یکسان شود */
    .filter-scroll-row {
        margin-bottom: 0 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

@media (max-width:768px) {

    .category-page-title,
    .price-input {
        font-size: .875rem
    }

    .category-cards-mobile .category-card {
        width: auto;
        min-width: auto;
        max-width: none;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 8px 16px !important;
        border-radius: 50px;
        white-space: nowrap;
        flex-shrink: 0
    }

    .category-cards-mobile .category-card a {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        width: auto
    }

    .category-cards-mobile .category-card img {
        max-width: 40px !important;
        max-height: 40px !important;
        margin: 0 !important;
        object-fit: contain
    }

    .category-cards-mobile .category-card .category-name {
        font-size: .75rem;
        margin: 0 !important;
        color: #3f4064;
        font-weight: 500
    }

    .category-cards-mobile .category-card .category-icon {
        font-size: 1rem;
        color: #3f4064;
        display: flex;
        align-items: center
    }

    .category-cards-mobile .category-card .badge {
        display: none
    }

    .price-slider-container {
        gap: 16px
    }

    .price-slider::-webkit-slider-thumb {
        width: 22px;
        height: 22px
    }

    .price-slider::-moz-range-thumb {
        width: 22px;
        height: 22px
    }

    .products-grid {
        gap: 8px
    }

    .product-card {
        padding: 8px
    }

    .modal-dialog {
        margin: .5rem
    }

    .modal-content {
        border-radius: 12px
    }
}

@media (max-width:576px) {
    .card-body {
        padding: .75rem !important
    }

    .card-title {
        font-size: .8rem !important;
        margin-bottom: 2rem !important
    }

    .d-flex.align-items-center.mb-3 {
        margin-bottom: 2rem !important;
        gap: 10px
    }

    .d-flex.align-items-center.mb-3 p {
        font-size: 14px;
        margin: 0
    }

    .card-img-top {
        height: 200px;
        object-fit: cover
    }

    .price-slider-container {
        padding: 16px;
        border-radius: 12px
    }

    .price-slider::-webkit-slider-thumb {
        width: 20px;
        height: 20px
    }

    .price-slider::-moz-range-thumb {
        width: 20px;
        height: 20px
    }

    .price-input {
        font-size: .875rem;
        padding: 10px 14px 10px 70px
    }

    .price-currency.currency {
        font-size: .55rem
    }

    .price-currency .currency-sup {
        font-size: .55rem;
        top: -8px;
        right: 8px
    }

    .price-input-label {
        font-size: 13px
    }

    .filter-badge {
        font-size: .6rem;
        padding: 2px 6px
    }

    .container-fluid {
        padding-left: 8px;
        padding-right: 8px
    }

    /* فاصله breadcrumb در موبایل (از قبل موجود) */
    .breadcrumb-container {
        margin-bottom: 0
    }

    .breadcrumb {
        font-size: .75rem
    }

    .products-grid {
        gap: 6px
    }

    .product-card {
        padding: 6px
    }

    .modal-dialog {
        margin: .25rem
    }

    .modal-body {
        padding: 1rem
    }

    .form-check {
        margin-bottom: .75rem
    }

    .form-check-label {
        font-size: .8rem
    }
}