@font-face {
    font-family: yekanBakh;
    src:	url('yekan-bakh-thin.woff'); /* IE9 Compat Modes */
    src:	url('yekan-bakh-thin.woff?#iefix') format('woff'), /* IE6-IE8 */
    url('YekanBakh-Thin.woff2') format('woff2'); /* Modern Browsers */
    font-weight: 10;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

@font-face {
    font-family: yekanBakh;
    src:	url('yekan-bakh-light.woff'); /* IE9 Compat Modes */
    src:	url('yekan-bakh-light.woff?#iefix') format('woff'), /* IE6-IE8 */
    url('YekanBakh-Light.woff2') format('woff2'); /* Modern Browsers */
    font-weight: 200;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

@font-face {
    font-family: yekanBakh;
    src:	url('yekan-bakh-regular.woff'); /* IE9 Compat Modes */
    src:	url('yekan-bakh-regular.woff?#iefix') format('woff'), /* IE6-IE8 */
    url('YekanBakh-Regular.woff2') format('woff2'); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

@font-face {
    font-family: yekanBakh;
    src:	url('yekan-bakh-medium.woff'); /* IE9 Compat Modes */
    src:	url('yekan-bakh-medium.woff?#iefix') format('woff'), /* IE6-IE8 */
    url('YekanBakh-SemiBold.woff2') format('woff2'); /* Modern Browsers */
    font-weight: 500;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

@font-face {
    font-family: yekanBakh;
    src:	url('yekan-bakh-bold.woff'); /* IE9 Compat Modes */
    src:	url('yekan-bakh-bold.woff?#iefix') format('woff'), /* IE6-IE8 */
    url('YekanBakh-Bold.woff2') format('woff2'); /* Modern Browsers */
    font-weight: 600;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

@font-face {
    font-family: yekanBakh;
    src:	url('yekan-bakh-heavy.woff'); /* IE9 Compat Modes */
    src:	url('yekan-bakh-heavy.woff?#iefix') format('woff'), /* IE6-IE8 */
    url('YekanBakh-Black.woff2') format('woff2'); /* Modern Browsers */
    font-weight: 700;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

body {
    background-color: #fff;
    font-family: yekanBakh;
    font-style: normal;
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    overflow-x: hidden !important;
}

.product-box .product-box--title {
    font-size: 15px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* نمایش فقط دو خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em; /* فاصله بین خطوط */
    height: 2.8em; /* باید برابر ۲ × line-height باشد */
    white-space: normal; /* برای جلوگیری از نمایش در یک خط */
}

header.page-header .nav-wrapper > ul > li a {
    display: block;
    color: #444;
    line-height: 55px;
    font-size: 15px !important;
}

.product-box .product-box--price-container .product-box--price {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-weight: 600 !important;
    font-size: 1.25rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgb(0 0 2/var(--tw-text-opacity));
}

.product-box .product-box--action .product-box--action-btn.product-box--action-cart {
    flex-grow: 1;
    background-color: #007bff;
    color: #fff;
    font-weight: 500 !important;
    font-size: 1rem !important;

}

@media (max-width: 468px) {
    .product-box .product-box--title {
        font-size: .85rem!important;
        padding: 4px 10px;
    }
    .related-category {
        padding: 2px 4px !important;
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
}
@media (max-width: 428px) {
    .main-swiper-slider .main-slider-item img {
        width: 100% !important;
        height: 150px;
        display: grid;
        right: 0 !important;
        position: absolute;
    }

    .main-swiper-slider {
        height: 160px;
    }

    .section-title {
        font-size: 13px;
    }
    .fad .fa-percentage {
        font-size: 13px;
    }

    .product-box .product-box--title {
        font-size: .85rem!important;
        padding: 4px 10px;
    }

    .product-carousel .product-block-swiper .swiper-slide {
        width: 160px!important;
    }
    .product-box .product-box--price-container .product-box--price {
        text-align: left;
        font-weight: 600 !important;
        font-size: 1rem !important;
        line-height: 1.75rem;
    }
}
