.hb-type-group {
                margin-top: -15px !important;
            }
            .hb-info-text {
                margin: 4px 0;
                padding: 4px 12px;
                color: #000;
                font-size: 13px;
                line-height: 1.7em;
            }
            .hb-pro-size {
                display: inline-block;
                direction: ltr;
                font-weight: bold;
                font-size: 15px;
            }
            .hb-pro-size span {
                font-weight: normal;
                font-size: 13px;
            }
            .hb-info-text .col-md-6, .hb-info-text .col-sm-12 {
                border-bottom: 1px solid #ddd;
                padding: 6px 12px;
            }
            .hb-info-text .hb-border-left {
                border-left: 1px dashed #ddd;
				padding-left: 0 !important;
            }
			.hb-totolani {
				font-size: 11px;
			}

.hb-ttype-tgroup {
	margin-top: -4px!important;
}
.hb-type-group {
	margin-top: -28px!important;
}
.hb-quick-order-card {
    position: relative;
    height: 100%;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hb-quick-order-card:hover {
    transform: translateY(-3px);
}

.hb-product-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hb-product-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.hb-quick-order-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .50);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.hb-quick-order-card:hover .hb-quick-order-overlay {
    opacity: 1;
    visibility: visible;
}

.hb-quick-order-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 10px 18px;

    background:#028e41;
	color:#fff!important;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.hb-quick-order-overlay i {
    font-size: 14px;
}


/* =========================================================
   MODAL
   ========================================================= */

.hb-quick-order-modal {
    direction: rtl;
}

.hb-quick-order-modal .modal-dialog {
    width: 100%;
    max-width: 620px;

    margin: 15px auto;

    min-height: calc(100vh - 30px);

    display: flex;
    align-items: center;
}

.hb-quick-order-modal .modal-content {
    width: 100%;

    border: 0;
    border-radius: 22px;

    background: #fff;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.18),
        0 5px 20px rgba(0,0,0,.08);

    display: flex;
    flex-direction: column;

    max-height: calc(100vh - 30px);
}


/* =========================================================
   HEADER
   ========================================================= */

.hb-qom-header {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 20px;

    background: #fff;

    border-bottom: 1px solid #eeeeee;
}


/* سمت راست Header */

.hb-qom-header-content {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;
}

.hb-qom-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ea262e;
    color: #fff;

    border-radius: 50%;

    font-size: 17px;
}

.hb-qom-icon i {
    color: #fff;
}

.hb-qom-header h5 {
    margin: 0;

    color: #333;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.6;
}

.hb-qom-header-content > div:last-child > span {
    display: block;

    margin-top: 1px;

    color: #999;

    font-size: 11px;

    line-height: 1.6;
}

.hb-qom-close {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f5f5f5;
    color: #555;

    font-size: 16px;

    cursor: pointer;

    transition: all .2s ease;
}

.hb-qom-close:hover {
    background: #ea262e;
    color: #fff;
}

.hb-qom-close:focus {
    outline: none;
    box-shadow: none;
}


/* =========================================================
   BODY / SCROLL
   ========================================================= */

.hb-qom-body {
    flex: 1 1 auto;

    min-height: 0;

    padding: 20px;

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.hb-qom-body::-webkit-scrollbar {
    width: 5px;
}

.hb-qom-body::-webkit-scrollbar-track {
    background: transparent;
}

.hb-qom-body::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 20px;
}


/* =========================================================
   PRODUCT
   ========================================================= */

.hb-qom-product {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 12px;

    margin-bottom: 17px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 15px;
}

.hb-qom-product-image {
    width: 85px;
    height: 85px;

    flex: 0 0 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #fff;

    border: 1px solid #eeeeee;

    border-radius: 12px;
}

.hb-qom-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.hb-qom-product-info {
    min-width: 0;
    flex: 1;
}

.hb-qom-product-label {
    display: block;

    margin-bottom: 3px;

    color: #999;

    font-size: 10px;
}

.hb-qom-product-info h6 {
    margin: 0 0 7px;

    color: #333;

    font-size: 14px;
    font-weight: 800;

    line-height: 1.8;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.hb-qom-product-price {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #ea262e;
}

.hb-qom-product-price strong {
    font-size: 15px;
    font-weight: 900;
}

.hb-qom-product-price span {
    font-size: 10px;
    color: #777;
}


/* =========================================================
   NOTICE
   ========================================================= */

.hb-qom-notice {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 12px 13px;

    margin-bottom: 18px;

    background: #fff7f7;

    border: 1px solid #ffd9db;

    border-right: 4px solid #ea262e;

    border-radius: 11px;
}

.hb-qom-notice-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ea262e;

    font-size: 17px;
}

.hb-qom-notice strong {
    display: block;

    margin-bottom: 3px;

    color: #444;

    font-size: 12px;
    font-weight: 800;
}

.hb-qom-notice p {
    margin: 0;

    color: #777;

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   FORM
   ========================================================= */

.hb-qom-form {
    width: 100%;
}

.hb-qom-field {
    margin-bottom: 15px;
}

.hb-qom-field > label {
    display: block;

    margin-bottom: 6px;

    color: #444;

    font-size: 12px;
    font-weight: 700;
}

.hb-qom-field > label b {
    color: #ea262e;

    font-size: 12px;
}

.hb-qom-field > label span {
    color: #999;

    font-size: 10px;

    font-weight: 400;
}

.hb-qom-input {
    position: relative;
}

.hb-qom-input > i {
    position: absolute;

    top: 50%;
    right: 13px;

    z-index: 2;

    transform: translateY(-50%);

    color: #aaa;

    font-size: 14px;

    pointer-events: none;
}

.hb-qom-input .form-control {
    width: 100%;

    min-height: 45px;

    padding: 9px 38px 9px 12px;

    border: 1px solid #dedede;

    border-radius: 10px;

    background: #fff;

    color: #333;

    font-size: 13px;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.hb-qom-input .form-control:focus {
    border-color: #ea262e;

    box-shadow: 0 0 0 3px rgba(234,38,46,.08);

    outline: none;
}

.hb-qom-input .form-control::placeholder {
    color: #aaa;
}

.hb-qom-textarea {
    position: relative;
}

.hb-qom-textarea > i {
    top: 17px;

    transform: none;
}

.hb-qom-textarea textarea {
    min-height: 80px;

    resize: vertical;

    line-height: 1.8;
}

.hb-qom-error {
    display: none;

    margin-top: 4px;

    color: #dc3545;

    font-size: 10px;

    line-height: 1.7;
}

.hb-qom-field.is-invalid .hb-qom-error {
    display: block;
}

.hb-qom-field.is-invalid .form-control {
    border-color: #dc3545;
}


/* =========================================================
   QUANTITY ROW
   ========================================================= */

.hb-qom-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 3px;
    margin-bottom: 15px;
}

.hb-qom-quantity-label {
    display: block;

    margin-bottom: 6px;

    color: #444;

    font-size: 12px;
    font-weight: 700;
}

.hb-qom-quantity {
    display: flex;
    align-items: center;

    height: 40px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 9px;
}

.hb-qom-qty-btn {
    width: 39px;
    height: 40px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: #fff;

    color: #ea262e;

    font-size: 19px;
    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}

.hb-qom-qty-btn:hover {
    background: #ea262e;
    color: #fff;
}

.hb-qom-qty-btn:focus {
    outline: none;
}

.hb-qom-quantity input {
    width: 42px;
    height: 40px;

    padding: 0;

    border: 0;

    background: #fff;

    color: #333;

    text-align: center;

    font-size: 13px;
    font-weight: 800;

    outline: none;
}


/* =========================================================
   TOTAL
   ========================================================= */

.hb-qom-total {
    min-width: 170px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 5px;

    padding: 10px 12px;

    background: #fff7f7;

    border: 1px solid #ffd9db;

    border-radius: 10px;

    color: #555;

    font-size: 11px;
}

.hb-qom-total strong {
    color: #ea262e;

    font-size: 15px;
    font-weight: 900;
}

.hb-qom-total small {
    color: #777;

    font-size: 9px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.hb-qom-submit {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 10px 20px;

    border: 0;

    border-radius: 10px;

    background: #ea262e;

    color: #fff;

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 6px 17px rgba(234,38,46,.20);

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.hb-qom-submit:hover {
    background: #d91f27;

    color: #fff;

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(234,38,46,.27);
}

.hb-qom-submit:focus {
    outline: none;

    color: #fff;

    box-shadow: 0 0 0 3px rgba(234,38,46,.12);
}


/* =========================================================
   BOOTSTRAP FIX
   ========================================================= */

.hb-quick-order-modal .modal-body {
    padding: 20px;
}

.hb-quick-order-modal .form-control:focus {
    box-shadow: 0 0 0 3px rgba(234,38,46,.08);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .hb-quick-order-modal .modal-dialog {
        width: calc(100% - 12px);

        max-width: none;

        height: calc(100dvh - 12px);
        min-height: calc(100dvh - 12px);

        max-height: calc(100dvh - 12px);

        margin: 6px auto;

        align-items: center;
    }


    .hb-quick-order-modal .modal-content {
        height: 100%;

        max-height: 100%;

        border-radius: 17px;
    }

    .hb-qom-header {
        padding: 12px 14px;
    }

    .hb-qom-icon {
        width: 35px;
        height: 35px;

        flex-basis: 35px;

        font-size: 14px;
    }

    .hb-qom-header h5 {
        font-size: 14px;
    }

    .hb-qom-header-content > div:last-child > span {
        font-size: 9px;
    }

    .hb-qom-close {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        font-size: 14px;
    }

    .hb-qom-body,
    .hb-quick-order-modal .modal-body {
        flex: 1 1 auto;

        min-height: 0;

        padding: 14px;

        overflow-y: auto;
        overflow-x: hidden;

        -webkit-overflow-scrolling: touch;

        overscroll-behavior-y: contain;
    }

    .hb-qom-product {
        gap: 10px;

        padding: 9px;

        margin-bottom: 13px;

        border-radius: 12px;
    }

    .hb-qom-product-image {
        width: 65px;
        height: 65px;

        flex-basis: 65px;

        border-radius: 9px;
    }

    .hb-qom-product-label {
        font-size: 9px;
    }

    .hb-qom-product-info h6 {
        margin-bottom: 4px;

        font-size: 12px;

        line-height: 1.7;
    }

    .hb-qom-product-price strong {
        font-size: 13px;
    }

    .hb-qom-notice {
        gap: 7px;

        padding: 9px 10px;

        margin-bottom: 14px;

        border-radius: 9px;
    }

    .hb-qom-notice-icon {
        width: 25px;
        height: 25px;

        flex-basis: 25px;

        font-size: 14px;
    }

    .hb-qom-notice strong {
        font-size: 10px;
    }

    .hb-qom-notice p {
        font-size: 9px;

        line-height: 1.8;
    }

    .hb-qom-field {
        margin-bottom: 11px;
    }

    .hb-qom-field > label {
        margin-bottom: 4px;

        font-size: 11px;
    }

    .hb-qom-input .form-control {
        min-height: 40px;

        padding: 7px 34px 7px 10px;

        border-radius: 8px;

        font-size: 12px;
    }

    .hb-qom-input > i {
        right: 11px;

        font-size: 12px;
    }

    .hb-qom-textarea textarea {
        min-height: 65px;

        line-height: 1.7;
    }

    .hb-qom-quantity-row {
        gap: 8px;

        margin-bottom: 12px;
    }

    .hb-qom-quantity-label {
        margin-bottom: 4px;

        font-size: 11px;
    }

    .hb-qom-quantity {
        height: 36px;
    }

    .hb-qom-qty-btn {
        width: 35px;
        height: 36px;

        font-size: 17px;
    }

    .hb-qom-quantity input {
        width: 35px;
        height: 36px;

        font-size: 12px;
    }

    .hb-qom-total {
        min-width: 0;

        padding: 8px 9px;

        font-size: 9px;
    }

    .hb-qom-total strong {
        font-size: 13px;
    }

    .hb-qom-total small {
        font-size: 8px;
    }

    .hb-qom-submit {
        min-height: 43px;

        padding: 8px 15px;

        border-radius: 8px;

        font-size: 12px;
    }

    .hb-quick-order-overlay {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .hb-quick-order-modal .modal-dialog {
        width: calc(100% - 8px);

        height: calc(100dvh - 8px);
        min-height: calc(100dvh - 8px);

        max-height: calc(100dvh - 8px);

        margin: 4px auto;
    }

    .hb-qom-body,
    .hb-quick-order-modal .modal-body {
        padding: 11px;
    }

    .hb-qom-product-image {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .hb-qom-product-info h6 {
        font-size: 11px;
    }

    .hb-qom-notice p {
        font-size: 8px;
    }
}


/* =========================================================
   SAFARI / iPHONE
   ========================================================= */

@supports (-webkit-touch-callout: none) {

    .hb-quick-order-modal .modal-dialog {
        height: calc(100svh - 12px);
        min-height: calc(100svh - 12px);
        max-height: calc(100svh - 12px);
    }

}


/* =========================================================
   BODY
   ========================================================= */

body.modal-open {
    overflow: hidden;
}



.hb-bg-iframe-vaparat{
    margin: 15px 1px 10px 1px;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.hb-iframe-vaparat{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius:16px 16px;
}
.sidebar-toggle .text-end img{display:inline-block;width:auto;height:20px;}
.sidebar-toggle .text-start img{display:inline-block;width:auto;height:16px;}

.tp-filter {
    direction: rtl;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    box-sizing: border-box;
	position: sticky;
    top: 20px;
    z-index: 1;
}
.tp-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 5px 14px;
    border-bottom: 1px solid #eee;
}
.tp-filter-title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
}
.tp-reset {
    border: 0;
    background: transparent;
    color: #e60000;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tp-reset:hover { color: #a90000; }
.tp-available {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 5px 2px 5px;
    font-size: 13px;
    font-weight: 600;
}
.tp-switch {
    position: relative;
    width: 36px;
    height: 20px;
    display: inline-block;
}
.tp-switch input { display: none; }
.tp-switch-slider {
    position: absolute;
    inset: 0;
    background: #bbb;
    border-radius: 20px;
    cursor: pointer;
    transition: .25s;
}
.tp-switch-slider:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .25s;
}
.tp-switch input:checked + .tp-switch-slider { background: #e00000; }
.tp-switch input:checked + .tp-switch-slider:before { transform: translateX(-16px); }
.tp-section { margin-top:4px; }
.tp-section-header {
    width: 100%;
    border: 0;
    background: #f5f5f7;
    border-radius: 10px;
    min-height: 30px;
    padding:4px 12px 2px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.tp-arrow { font-size: 14px; transition: transform .2s; }
.tp-section-header.closed .tp-arrow { transform: rotate(180deg); }
.tp-section-body { padding: 5px 2px 5px; }
.tp-section-body#shapeSection {
    display: flex;
    justify-content: space-between;
    padding: 8px 4px 4px 4px;
}
.tp-check {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    position: relative;
}
.tp-check input { position: absolute; opacity: 0; }
.tp-check-box {
    width: 17px;
    height: 17px;
    border: 1px solid #777;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    background: #fff;
}
.tp-check-text{margin-right: 2px;}
.tp-check input:checked + .tp-check-box {
    background: #e00000;
    border-color: #e00000;
}
.tp-check input:checked + .tp-check-box:after {
    content: "✓";
    position: absolute;
    color: #fff;
    font-size: 13px;
    left: 2px;
    top: -2px;
}
.tp-dimension {
    margin-bottom: 8px;
    padding: 10px 10px;
    border: 1px solid #ededed;
    border-radius: 8px 8px;
}
.tp-dimension-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}
.tp-dimension-title small { font-size: 10px; font-weight: 400; }
.tp-dimension-icon { color: #e00000; font-size: 22px; font-weight: 400; }
/* فیلدهای از/تا در یک سطر و سمت چپ (چپ بصری) */
.tp-values {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 6px 0;
    position: relative;
    z-index: 5;
	direction: ltr;
}
.tp-value-box {
    height: 30px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
    min-width: 48%;
    /*flex: 0 0 auto;*/
}
.tp-value-box input {
    border: 0;
    outline: 0;
    width: 100%;
    text-align: left;
    font-size: 13px;
    direction: ltr;
    background: transparent;
}
.tp-value-box span { color: #777; font-size: 11px; margin-right: 4px; }

.tp-range {
    position: relative;
    height: 54px;
    direction: ltr !important;
    unicode-bidi: isolate;
	width: 90%;
    margin: 0 auto;
    cursor: pointer;
}
.tp-range-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 16px;
    height: 14px;
    z-index: 1;
    /* خط‌کش: خط پایه + دندانه‌های کوتاه و بلند متناوب */
    background:
        /* خط پایه نازک */
        linear-gradient(#c5c5c5, #c5c5c5) left 16px / 100% 2px no-repeat,
        /* دندانه‌های کوتاه (هر ۱۰ پیکسل) */
        repeating-linear-gradient(
            to right,
            transparent 0,
            transparent 9px,
            #b0b0b0 9px,
            #b0b0b0 10px
        ) left 10px / 100% 8px no-repeat,
        /* دندانه‌های بلند (هر ۲۰ پیکسل) */
        repeating-linear-gradient(
            to right,
            transparent 0,
            transparent 19px,
            #888 19px,
            #888 20px
        ) left 4px / 100% 14px no-repeat;
}
.tp-range-active {
    position: absolute;
    top: 24px;
    height: 2px;
    background: #e00000;
    border-radius: 2px;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(224, 0, 0, 0.15);
}
/* هر دو input روی هم قرار می‌گیرند */
/* ===================== فقط فلش‌های Font Awesome (بدون دایره) ===================== */

.tp-range input[type="range"] {
    position: absolute;
    left: 0;
    top: 11px;
    width: 100%;
    height: 28px;
    margin: 0;
    padding: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    pointer-events: none;
    z-index: 3;
    outline: none;
    direction: ltr !important;
}

/* Track شفاف */
.tp-range input[type="range"]::-webkit-slider-runnable-track {
    height: 2px;
    background: transparent;
    border: none;
}
.tp-range input[type="range"]::-moz-range-track {
    height: 2px;
    background: transparent;
    border: none;
}

/* Thumb پایه - کاملاً شفاف */
.tp-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -14.5px;
    position: relative;
    z-index: 5;
}

/* آیکون Font Awesome */
.tp-range input[type="range"]::-webkit-slider-thumb::before {
    font-family: FontAwesome;
    font-size: 22px;
    color: #000000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* فلش چپ (min) */
.tp-range input[type="range"]:nth-of-type(1)::-webkit-slider-thumb::before {
    content: "\f053"; /* fa-chevron-left */
}

/* فلش راست (max) */
.tp-range input[type="range"]:nth-of-type(2)::-webkit-slider-thumb::before {
    content: "\f054"; /* fa-chevron-right */
}


/* ---------- فایرفاکس ---------- */
.tp-range input[type="range"]::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    pointer-events: auto;
}

/* فایرفاکس از ::before روی thumb پشتیبانی ضعیفی دارد، پس فقط دایره قرمز می‌ماند */
.tp-range-labels {
    position: absolute;
    left: 0;
    right: 0;
    top: 38px;
    display: flex;
    justify-content: space-between;
    direction: ltr !important;
    font-size: 9px;
    color: #333;
    padding: 0 2px;
    pointer-events: none;
}

.tp-apply {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 100px;
    background: #df0000;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: .2s;
}
.tp-apply:hover { background: #bd0000; }
.tp-apply:active { transform: scale(.99); }
.filter-empty {
    text-align: center;
    padding: 70px 20px;
    direction: rtl;
}
.filter-empty-icon { font-size: 45px; color: #aaa; }
.filter-empty-title { font-size: 18px; font-weight: 800; margin-top: 10px; }
.filter-empty-text { color: #777; font-size: 13px; margin-top: 6px; }

/* استایل select حجم و مرتب‌سازی */
.tp-select {
    width: 100%;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 400;
    background: #fff;
    color: #222;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    direction: rtl;
}
.tp-select:focus {
    outline: none;
    border-color: #e00000;
}
	
	
	
/* =====================================================
   RANGE THUMB
   ===================================================== */

.tp-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 32px;
    height: 32px;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    cursor: pointer;
    pointer-events: auto;

    margin-top: -14.5px;
}

.tp-range input[type="range"]::-moz-range-thumb {
    width: 32px;
    height: 32px;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    cursor: pointer;
    pointer-events: auto;
}


/* =====================================================
   فلش‌های Font Awesome
   ===================================================== */

/* =====================================================
   فلش‌های متحرک Range
===================================================== */

.tp-range-arrow {
    position: absolute;
    top: 8px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 1;

    color: #000;

    z-index: 10;

    pointer-events: none;

    text-shadow: 0 1px 2px rgba(0,0,0,.2);

    /* موقعیت توسط JavaScript تعیین می‌شود */
    left: 0;

    transform: translateX(-50%);
}

.tp-range-arrow i {
    display: block;
    line-height: 1;
}

/* ترتیب لایه‌ها */
.tp-range input[type="range"]:nth-of-type(1) {
    z-index: 3;
}

.tp-range input[type="range"]:nth-of-type(2) {
    z-index: 4;
}



/* =====================================================
   SORT MODAL
===================================================== */

.tp-sort-mobile-btn {
    border: 0;
    background: transparent;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.tp-sort-mobile-btn img {
    display: inline-block;
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-left: 4px;
}


/* =====================================================
   MODAL
===================================================== */

.tp-sort-modal {
    direction: rtl;
}

.tp-sort-modal .modal-dialog {
    width: calc(100% - 24px);
    max-width: 480px;
    margin: 20px auto;
}

.tp-sort-modal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;

    box-shadow:
        0 20px 60px rgba(0,0,0,.18),
        0 5px 20px rgba(0,0,0,.08);
}


/* =====================================================
   HEADER
===================================================== */

.tp-sort-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border-bottom: 1px solid #eee;
    background: #fff;
}

.tp-sort-modal-title-wrap {
    display: flex;
    align-items: center;

    gap: 10px;
}

.tp-sort-modal-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ea262e;
    color: #fff;

    font-size: 16px;
}

.tp-sort-modal-title-wrap h5 {
    margin: 0;

    color: #333;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.6;
}

.tp-sort-modal-title-wrap span {
    display: block;

    margin-top: 1px;

    color: #999;

    font-size: 10px;

    line-height: 1.6;
}


/* =====================================================
   CLOSE
===================================================== */

.tp-sort-modal-close {
    width: 36px;
    height: 36px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f5f5f5;

    color: #555;

    font-size: 15px;

    cursor: pointer;

    transition: all .2s ease;
}

.tp-sort-modal-close:hover {
    background: #ea262e;
    color: #fff;
}

.tp-sort-modal-close:focus {
    outline: none;
    box-shadow: none;
}


/* =====================================================
   BODY
===================================================== */

.tp-sort-modal-body {
    padding: 18px;
}


/* =====================================================
   OPTIONS
===================================================== */

.tp-sort-options {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.tp-sort-option {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 13px;

    border: 1px solid #e5e5e5;
    border-radius: 12px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.tp-sort-option:hover {
    border-color: #ea262e;
    background: #fffafa;
}

.tp-sort-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


/* =====================================================
   ICON
===================================================== */

.tp-sort-option-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f7f7f7;

    color: #555;

    font-size: 16px;

    transition: all .2s ease;
}


/* =====================================================
   TEXT
===================================================== */

.tp-sort-option-content {
    min-width: 0;

    flex: 1;
}

.tp-sort-option-content strong {
    display: block;

    margin-bottom: 3px;

    color: #333;

    font-size: 13px;
    font-weight: 800;
}

.tp-sort-option-content small {
    display: block;

    color: #999;

    font-size: 10px;

    line-height: 1.7;
}


/* =====================================================
   CHECK
===================================================== */

.tp-sort-check {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ccc;
    border-radius: 50%;

    color: transparent;

    font-size: 11px;

    transition: all .2s ease;
}


/* SELECTED */

.tp-sort-option:has(input:checked) {
    border-color: #ea262e;

    background: #fff7f7;

    box-shadow:
        0 3px 12px rgba(234,38,46,.08);
}

.tp-sort-option:has(input:checked)
.tp-sort-option-icon {
    background: #ea262e;
    color: #fff;
}

.tp-sort-option:has(input:checked)
.tp-sort-check {
    border-color: #ea262e;
    background: #ea262e;
    color: #fff;
}


/* =====================================================
   APPLY
===================================================== */

.tp-sort-apply {
    width: 100%;

    min-height: 44px;

    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 0;
    border-radius: 100px;

    background: #df0000;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}

.tp-sort-apply:hover {
    background: #bd0000;
}

.tp-sort-apply:active {
    transform: scale(.99);
}

.tp-sort-apply:focus {
    outline: none;
    box-shadow: none;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .tp-sort-modal .modal-dialog {
        width: calc(100% - 16px);
        max-width: none;

        margin: 8px auto;
    }

    .tp-sort-modal .modal-content {
        border-radius: 17px;
    }

    .tp-sort-modal-header {
        padding: 13px 14px;
    }

    .tp-sort-modal-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 14px;
    }

    .tp-sort-modal-title-wrap h5 {
        font-size: 14px;
    }

    .tp-sort-modal-title-wrap span {
        font-size: 9px;
    }

    .tp-sort-modal-close {
        width: 33px;
        height: 33px;

        flex-basis: 33px;

        font-size: 13px;
    }

    .tp-sort-modal-body {
        padding: 14px;
    }

    .tp-sort-option {
        padding: 11px;

        gap: 9px;

        border-radius: 10px;
    }

    .tp-sort-option-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 14px;
    }

    .tp-sort-option-content strong {
        font-size: 12px;
    }

    .tp-sort-option-content small {
        font-size: 9px;
    }

    .tp-sort-check {
        width: 20px;
        height: 20px;

        flex-basis: 20px;

        font-size: 10px;
    }

    .tp-sort-apply {
        min-height: 42px;

        margin-top: 13px;

        font-size: 12px;
    }
}



.tp-sort-mobile-btn,.sidebar-toggle,.hb-btn-close-sidebar-x{display:none!important;}
@media only screen and (max-width: 900px) {
.sidebar-toggle{font-size:15px;}
.sidebar-toggle img{width:20px;height:auto;}
.modal{z-index: 99999!important;}
.hb-comments {padding-bottom: 80px!important;}
#headerMount {min-height: unset !important;position: sticky;top: 0;z-index: 99999;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);}
.hb-wmfooter,#hbasideBtn{z-index: 9999!important;}
.hb-sec-1 h1{font-size: 24px !important;}
main article {border-radius: 0;box-shadow:unset;}
.tp-sort-mobile-btn,.sidebar-toggle,.hb-btn-close-sidebar-x{display:unset!important;margin-bottom:30px;}
.tp-filter {border-radius: 0;border-left: 0;border-right: 0;}
.tp-filter-title{font-size: 18px;}
.tp-dimension{margin-bottom: 30px;}
}