
@font-face {
    font-family:'iranyekan2';
    src: url(../fonts/iranyekan/IRANYekanRegular.woff) format('woff-variations'),
    url(../fonts/iranyekan/YekanBakh-Heavy.woff2) format('woff2-variations');
}

@font-face {

    font-family:'yekanbakh_fat';
    src: url(../fonts/yekanbakh/YekanBakh-Fat.ttf);
}

@font-face {
    font-family:'yekanbakh';
    src: url(../fonts/yekanbakh/woff/YekanBakhFaNum-VF.woff) format('woff-variations'),
    url(../fonts/yekanbakh/woff2/YekanBakhFaNum-VF.woff2) format('woff2-variations');
}

@font-face {
    font-family: 'yekanbakh_bold';
    src: url(../fonts/yekanbakh/YekanBakh-Bold.ttf);
}

@font-face {
    font-family:'yekanbakh_Medium' ;
    src: url(../fonts/yekanbakh/YekanBakh-Medium.ttf);
}


@font-face {
    font-family: 'farsYekan-Fat';
    src: url(../fonts/fars-yek/farsYekan.ttf);
}


body{
    background: #fff !important;
}

.dreamit_menu>ul>li>a{
    font-family: 'iranyekan2' !important;
}

p,a{
    font-family: 'iranyekan2' !important;
}

#search-input-box button, .search-input-box button{
    width: 20px;
    background: #fff0;
    padding: 0;
    height: 22px;
    position: absolute;
    left: -20px;
    z-index: 2;
    margin-top: 3px;
    right: unset !important;
}

#search-input-box, .search-input-box{
    width: 100% !important;
    position: relative;
}

#search-box{
    width: 55% !important;
    position: static;
    margin-left: 25px;
    padding: 0px 0px !important;
    border: 1px solid #d1d1d1;
    border-left: none;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    transform: translate(0, 0) !important;
}

.dreamit_menu ul{
    margin-left: 0px !important;
}

.style-two .header-button{
    margin: 0px 0 0 0 !important;
    top: 1px !important;
    width: 30px;
}

.img-six{
    padding-left: 7px !important;
    padding-right: 7px !important;
}

.img-four{
    padding-top: 14px !important;
    padding-bottom: 15px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

#main{
    margin-top: 110px;
}


.bg-color{
    background: #f8f8f8 !important;
    padding-top: 50px;
    padding-bottom: 50px;
}

#owl-carousel-slider{
    background: #fff !important;
    padding-top: 15px;
}

.category-title{
    margin-bottom: 0px !important;
    margin-top: 10px !important;
    white-space: nowrap;
}

#owl-carousel-slider .owl-nav .owl-prev .fa-chevron-left{
    position: relative;
    top: 2px;
}

#owl-carousel-slider .owl-nav .owl-next .fa-chevron-right{
    position: relative;
    top: 2px;
}

.title-top1::after{
    content: url(../images/farames/title.svg);
    display: inline-block;
    width: 180px;
    height: 15px;
    position: absolute;
    top: 20px;
    left: 42%;
}

.title-top2::after{
    content: url(../images/farames/title.svg);
    display: inline-block;
    width: 170px;
    height: 15px;
    position: absolute;
    top: 20px;
    left: 42.5%;
}

.title-top2{
    font-size: 18px;
    font-family: 'iranyekan2';
}

.title-top1 {
    font-size: 18px;
    font-family: 'iranyekan2';
}

.productitem-3 {
    padding: 0px 0px !important;
    padding-bottom: 15px !important;
    margin-bottom: 30px !important;
    box-shadow: none;
    color: #000;
    text-align: center;
}

.productitem-2:after{
    display: none !important;
}

.productitem-3 .info-title-box h6{
    text-align: center !important;
    color: #000;
}

.info-price-box span{
    text-align: center;
}

.old-price-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-top: 10px;
}

.old-price{
    font-family:'yekanbakh' !important;
    font-weight: 600;
    font-size: 15px;
}

.info-price-box span.price{
    font-family:'yekanbakh' !important;
    font-weight: 600;
    font-size: 14px;
}

.productitem-3 .info-title-box span.offer-price{
    font-family: 'yekanbakh' !important;
    font-weight: 600;
    font-size: 14px;
    color: #fff !important;
    padding: 5px;
}

.productitem-3 .info-title-box .offer{
    background: url(../images/farames/off.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 0px;
    bottom: 112px;
    background-position: center;
    background-size: cover;
}

.page img{
    border-radius: 0px !important;
}

.title-article{
    justify-content: center !important;
    font-family: 'yekanbakh' !important;
    position: absolute;
    right: 35%;
    bottom: 10px;
    z-index: 102;
}

.article-item::after{
    content: url(../images/farames/articlee.svg);
    display: inline-block;
    width: 100%;
    position: absolute;
    bottom: -11px;
    right: 0px;
}

#owl-carousel-article .item{
    border: none !important;
    border-radius:0px !important;
}

.services{
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.services img{
    width: 35% !important;
    margin-bottom: 20px;
}

.services h4{
    font-size: 14px !important;
}

.services:hover{
    color: #ad6235;
}

.contact_farames{
    width: 6%;
    background: #ad6235;
    margin: 5px;
    border-radius: 5px;
    padding: 5px;
}

.products__item-price--final{
    font-family: 'IRANSans' !important;
}

span{
    font-family: 'IRANSans' !important;  
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single{
    font-family: 'IRANSans' !important;
}

.irs--flat .irs-min, .irs--flat .irs-max{
    font-family: 'IRANSans';
    direction: ltr;
}

#search-input-box input, .search-input-box input {
    padding-right: 10px !important;
    border: 0;
}

.footer-bottom-menu p{
    padding: 10px 0 0 !important;
}

.footer-bottom-menu{
    color: #fff;
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;
    direction: rtl;
    border-top: 1px solid gray;
}

.footer-bottom-menu a{
    color: #ad6235 !important;
    margin-right: 5px;
}

.footer-farames::before{
    content: url(../images/farames/bg-footer.svg);
    position: absolute;
    display: inline-block;
    width: 100%;
    top: 20px;
    height: 0px;
    z-index: 103;
}

.footer-farames{
    position: relative;
    width: 100%;
}
#dreamit_menu_1 ul{
    margin-top: 11px !important;

}
/* small mobile :320px. */
@media only screen and (min-width: 320px) and (max-width: 599px) {
    .wrap{
        background: #fff !important;
    }
    #owl-carousel-slider .owl-nav{
        display: none !important;
    }
 
    #owl-carousel-slider {
        background: #fff !important;
        padding-top: 15px;
        height: 140px;
    }
    #price-box-detail{
        bottom: 0 !important;
    }
    .bg-color{
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .category-title{
        font-size: 12px;
    }

    .title-top2::after , .title-top1::after{
        left: 31%;
        width: 140px;
        top: 36px;
    }

    .title-top2 , .title-top1{
        font-size: 16px !important;
    }

    .title-article{
        right: 29%;
        bottom: 0px;
    }

    .article-item::after{
        width: 96%;
        bottom: -14px;
        right: 7px;
    }

    .top-footer{
        top: 26px !important;
    }

    body{
        padding-bottom: 0px !important;
    }

    .contact_farames {
        width: 15% !important;
    }

    .footer-farames::before{
        top: 100px !important;
    }

    .menu-footer ul{
        justify-content: space-between !important;
    }

    .footer-bottom-menu p{
        font-size: 9px !important;
    }
}
/* ================================
   DT QUICK PRODUCT
================================ */

.card.text-right {
    direction: rtl;
    text-align: right;
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    margin: 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

/* عنوان محصول */
.card.text-right > h1 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    padding: 0 !important;
    line-height: 1.6;
}

/* تصویر محصول */
.card.text-right .img-dialog {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 12px;
    background: #fafafa;
    padding: 10px;
}

/* توضیحات محصول */
.card.text-right > p,
.card.text-right > div:not(.cart-content):not(.products-info) {
    line-height: 2;
    color: #555;
}

/* ================================
   CART CONTENT
================================ */

.card.text-right .cart-content {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.card.text-right .cart_item_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.card.text-right .cart_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 10px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.card.text-right .cart_item:last-child {
    margin-bottom: 0;
}

.card.text-right .cart_item_name {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
}

.card.text-right .cart-item-name-wrapper {
    flex: 1;
}

.card.text-right .date {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

.card.text-right .date i {
    margin-left: 5px;
}

/* ================================
   تعداد محصول داخل سبد
================================ */

.card.text-right .cart-item-options-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card.text-right .cart-item-count-wrapper {
    display: flex;
    align-items: center;
    direction: ltr;
}

.card.text-right .cart-item-count-plus,
.card.text-right .cart-item-count-negative {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s ease;
}

.card.text-right .cart-item-count-plus:hover,
.card.text-right .cart-item-count-negative:hover {
    background: #198754;
    color: #fff;
}

.card.text-right .cart-item-count-number {
    width: 42px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 0 5px;
    background: #fff;
    color: #333;
}

.card.text-right .service_unit {
    font-size: 12px;
    margin-right: 5px;
    color: #777;
}

.card.text-right .cart-item-price {
    min-width: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #198754;
    text-align: left;
}

/* ================================
   PRODUCT INFO
================================ */

.card.text-right .products-info {
    margin-top: 20px;
}

.card.text-right #add-to-cart-form {
    width: 100%;
}

/* ویژگی‌ها */
.card.text-right .frmPnlProductAttribute {
    margin-bottom: 18px;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.card.text-right .frmPnlProductAttribute > b {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

/* لیست ویژگی */
.card.text-right .frmErblProductAttribute {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.card.text-right .frmErblProductAttribute li {
    margin: 0;
    padding: 0;
}

/* باکس ویژگی */
.card.text-right .DkProductAttributeBox input {
    display: none;
}

.card.text-right .DkProductAttributeBox label {
    display: block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #555;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s ease;
}

/* ویژگی انتخاب شده */
.card.text-right .DkProductAttributeBox input:checked + label {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

/* ================================
   SELECT COUNT
================================ */

.card.text-right .number_select {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.card.text-right .number_select:focus {
    border-color: #198754;
}

/* ================================
   PRICE + ADD BUTTON
================================ */

.card.text-right .row.frmPnlProductAttribute:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
}

.card.text-right #add-to-cart-btn {
    height: 48px;
    border: 0;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.card.text-right #add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, .2);
}

.card.text-right .price {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.card.text-right #price {
    color: #198754;
    font-size: 18px;
    font-weight: 800;
    margin-left: 5px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 600px) {

    .card.text-right {
        padding: 15px;
        border-radius: 10px;
    }

    .card.text-right > h1 {
        font-size: 19px;
    }

    .card.text-right .img-dialog {
        width: 140px;
        height: 140px;
    }

    .card.text-right .cart_item {
        display: block;
    }

    .card.text-right .cart-item-options-wrapper {
        justify-content: space-between;
        margin-top: 12px;
    }

    .card.text-right .cart-item-price {
        min-width: auto;
    }

    .card.text-right .date {
        margin-top: 8px;
    }

    .card.text-right .frmErblProductAttribute {
        gap: 6px;
    }

    .card.text-right .DkProductAttributeBox label {
        padding: 7px 12px;
        font-size: 12px;
    }

    .card.text-right .row.frmPnlProductAttribute:last-child {
        flex-direction: column;
    }

    .card.text-right #add-to-cart-btn,
    .card.text-right .price {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }
}
