


#brands-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
#brands-scroll::-webkit-scrollbar-track { background: transparent; }
#brands-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff8229, #ff8229);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Firefox */
#brands-scroll { scrollbar-width: thin; scrollbar-color: #ff8229 transparent; }


/*-------------------------------------------------------------------------------*/
.price-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #ffe1cc; /* بک‌گراند روشن */
    border-radius: 999px;
    outline: none;
}

/* Track */
.price-range::-webkit-slider-runnable-track {
    height: 6px;
    background: #ffe1cc;
    border-radius: 999px;
}

.price-range::-moz-range-track {
    height: 6px;
    background: #ffe1cc;
    border-radius: 999px;
}

/* Thumb */
.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #ff8229;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* تنظیم وسط بودن */
    box-shadow: 0 0 0 4px rgba(255, 130, 41, 0.25);
    transition: 0.2s;
}

.price-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ff8229;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 4px rgba(255, 130, 41, 0.25);
}

/* Hover Effect */
.price-range:hover::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px rgba(255, 130, 41, 0.35);
}
.price-range:hover::-moz-range-thumb {
    box-shadow: 0 0 0 6px rgba(255, 130, 41, 0.35);
}

/*-------------------------------------------------------------------------------*/
/*product description*/
.mask-text {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    line-height: 1.6;
    box-sizing: border-box;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    direction: rtl;
    text-align: right;
}

/* تیترها */
.mask-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    /*border-bottom: 2px solid #FF6D00;*/
}

.mask-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 1.75rem 0 0.875rem;
    padding-bottom: 0.375rem;
    /*border-bottom: 1px solid #e2e8f0;*/
}

.mask-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    margin: 1.5rem 0 0.75rem;
}

.mask-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
    margin: 1.25rem 0 0.625rem;
}

.mask-text h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4a5568;
    margin: 1.125rem 0 0.5625rem;
}

.mask-text h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    margin: 1rem 0 0.5rem;
}

/* پاراگراف */
.mask-text p {
    margin: 0 0 1rem;
    text-align: justify;
    line-height: 1.8;
    color: #4a5568;
}

/* لینک‌ها */
.mask-text a {
    color: #FF6D00;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.mask-text a:hover {
    color: #E65100;
    border-bottom: 1px solid #FF6D00;
}

/* لیست‌ها */
.mask-text ul,
.mask-text ol {
    margin: 1rem 0;
    padding-right: 2rem;
    color: #4a5568;
}

.mask-text ul {
    list-style-type: disc;
}

.mask-text ol {
    list-style-type: decimal;
}

.mask-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.mask-text li:last-child {
    margin-bottom: 0;
}

/* نقل قول */
.mask-text blockquote {
    border-right: 4px solid #FF6D00;
    padding: 1rem 2rem;
    margin: 1.5rem 0;
    background-color: #FFF3E0;
    color: #4a5568;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.mask-text blockquote p {
    margin: 0;
}

/* کد */
.mask-text code {
    background-color: #f7fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e53e3e;
    border: 1px solid #e2e8f0;
}

.mask-text pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    direction: ltr;
}

.mask-text pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 0.875em;
}

/* جداول */
.mask-text table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    word-break: break-word;
    direction: rtl;
    unicode-bidi: embed;
    box-sizing: border-box;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.mask-text th,
.mask-text td {
    padding: 12px 16px;
    border: 1px solid #FFE0B2;
    vertical-align: top;
    text-align: right;
    direction: rtl;
    word-wrap: break-word;
    box-sizing: border-box;
}

.mask-text th {
    background-color: #FF6D00;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
}

.mask-text tr:nth-child(even) {
    background-color: #FFF8E1;
}

.mask-text tr:hover {
    background-color: #FFECB3;
    transition: background-color 0.15s ease;
}

/* تصاویر */
.mask-text img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mask-text figure {
    margin: 1.5rem 0;
    text-align: center;
}

.mask-text figcaption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #718096;
    font-size: 0.875em;
}

/* ویدیو و iframe */
.mask-text iframe,
.mask-text video {
    max-width: 100%;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* افقی خط */
.mask-text hr {
    border: none;
    height: 1px;
    background-color: #e2e8f0;
    margin: 2rem 0;
}

/* متن پررنگ و مورب */
.mask-text strong,
.mask-text b {
    font-weight: 700;
    color: #2d3748;
}

.mask-text em,
.mask-text i {
    font-style: italic;
    color: #4a5568;
}

/* متن خط‌خورده و زیرخط‌دار */
.mask-text del,
.mask-text s {
    text-decoration: line-through;
    color: #a0aec0;
}

.mask-text u {
    text-decoration: underline;
    color: #4a5568;
}

/* کوچک */
.mask-text small {
    font-size: 0.875em;
    color: #718096;
}

/* نشانه‌گذاری */
.mask-text mark {
    background-color: #FFF3E0;
    color: #BF360C;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
}

/* نوار پیشرفت و جزئیات */
.mask-text progress {
    width: 100%;
    height: 0.75rem;
    border-radius: 4px;
    overflow: hidden;
}

.mask-text details {
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f8fafc;
}

.mask-text summary {
    font-weight: 600;
    cursor: pointer;
    color: #FF6D00;
}

.mask-text details[open] {
    background-color: #ffffff;
}

/* فاصله‌های اضافی */
.mask-text br {
    content: "";
    display: block;
    margin: 0.5rem 0;
}

/* متن جهت‌دار */
.mask-text .ltr {
    direction: ltr;
    text-align: left;
    unicode-bidi: embed;
}

/* رسپانسیو */
@media (max-width: 720px) {
    .mask-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .mask-text h1 {
        font-size: 1.75rem;
    }

    .mask-text h2 {
        font-size: 1.5rem;
    }

    .mask-text h3 {
        font-size: 1.25rem;
    }

    .mask-text h4 {
        font-size: 1.125rem;
    }

    .mask-text th,
    .mask-text td {
        padding: 8px 10px;
        font-size: 14px;
    }

    .mask-text ul,
    .mask-text ol {
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mask-text {
        font-size: 14px;
    }

    .mask-text table {
        font-size: 13px;
    }

    .mask-text img {
        margin: 1rem auto;
    }

    .mask-text blockquote {
        padding: 0.75rem 1rem;
    }
}
