/* 
Theme Name: Dornica Child
Theme URI: https://dornica.plus/
Description: Official child theme for Dornica. Designed to safely customize your website without modifying the parent theme. Add custom PHP, CSS, JavaScript, templates, and functionality while preserving compatibility with future Dornica updates. Fully compatible with Elementor Pro and WooCommerce.
Author:  Mehdi Nezamzadeh
Template: dornica
Version: 1.0.0
*/




.jet-list-tree .jet-list-tree__children {
    margin-right: 17px !important;
}
.jet-smart-filters-elementor-loop-no-result{
    font-family: 'IranYekan';
    color: #fff;
}
.elementor-pagination{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 0 0;
}
.elementor-pagination .page-numbers{
    color: #d4a72c;
    border: 1px solid #d4a72c;
    padding: 4px 13px;
    border-radius: 3px;
    font-family: 'IranYekan';
    margin: 0 !important;
    transition: all 0.3s ease;
}
.elementor-pagination .page-numbers:hover{
    box-shadow: 0 0 5px 0 #d4a72c;
}
.elementor-pagination .page-numbers.current{
    color: #191514;
    border: 1px solid #d4a72c;
    background-color: #d4a72c;
}
.services-box .e-image-link-base{
    display: flex;
    justify-content: center;
}
.header-search {
    position: relative;
    display: inline-block;
}
.header-search .search-toggle {
    background: none !important;
    border: 2px solid #161616;
    cursor: pointer;
    padding: 0 !important;
    border-radius: 8px;
    height: 30px;
    width: 30px;
}
.header-search .search-box {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    display: none;
    z-index: 1000;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.header-search .search-box.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
.header-search .search-box .search-form{
    display: flex;
    font-family: "IranYekan";
}
.header-search .search-box .search-form .search-field {
    padding: 6px 10px !important;
    border: 1px solid #afafaf !important;
    border-radius: 0px;
    min-width: 200px;
    outline: unset;
}
.header-search .search-box .search-form .search-submit {
    padding: 6px 12px !important;
    background-color: #d4a72c !important;
    color: #ffffff !important;
    border: none;
    border-radius: 0px;
    margin-right: 5px;
    cursor: pointer;
}
@keyframes fadeIn {
    from {opacity:0; transform: translateY(-10px);}
    to {opacity:1; transform: translateY(0);}
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: auto;
    max-width: 15%;
    margin: 11px 0 0 0;
}
.single-product p.price del{
    display: block !important;
    font-size: 15px;
    color: #d4a72cd6;
}
.product-discount-percent.is-single-product{
    background-color: #d4a72c;
    position: absolute;
    right: 7px;
    top: 5px;
    z-index: 2;
    padding: 9px 17px;
    color: #fff;
    font-family: "IranYekan";
}
.product-discount-percent.not-single-product{
    background-color: #d4a72c;
    position: absolute;
    right: 7px;
    top: 5px;
    z-index: 2;
    font-size: 15px;
    padding: 4px 11px 1px 11px;
    color: #fff;
    font-family: "IranYekan";
}
.elementor-widget-woocommerce-product-data-tabs{
    width: 100%;
}
.additional_information_tab{
    display: none !important;
}
.woocommerce table.shop_attributes th {
    background-color: unset;
    border: none;
    padding: 9px 0;
    text-align: right;
    width: 90px;
}
.woocommerce table.shop_attributes td {
    font-style: normal;
    border: none;
    display: flex;
    align-items: center;
    margin: 9px 0 0 0 !important;
    background-color: unset;
}
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce p.stars a {
    color: #d2a829;
}
.woocommerce-product-attributes{
    border: 1px solid #ffffff38 !important;
    padding: 7px 16px;
    display: block;
}
#billing_company_field, #billing_country_field, #billing_address_2_field, #billing_email_field {
    display: none !important;
}
#billing_state_field,
#billing_city_field,
#billing_postcode_field,
#billing_phone_field {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}
#billing_state_field,
#billing_postcode_field {
    margin-left: 2% !important;
}
.woocommerce-billing-fields #billing_state_field .select2-selection__rendered{
    padding: 0 16px 0 0;
}
.woocommerce-billing-fields #billing_city_field .select2-selection,
.woocommerce-billing-fields #billing_state_field .select2-selection,
.woocommerce-billing-fields input {
    border-radius: 0px !important;
    border: 1px solid #E1E2E4 !important;
    height: 48px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #6F737B !important;
    box-shadow: unset;
    outline: unset;
    font-family: "IranYekan" !important;
}

.e-checkout__order_review #order_review_heading,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
.woocommerce-privacy-policy-text, .payment_box {
    display: none !important;
}
#billing_phone_field .optional{
    display:none !important;
}
.e-show-coupon-form{
    color: #d3a629 !important;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info{
    font-family: 'IranYekan';
}
.return-to-shop a{
    background-color: #d2a62c !important;
    font-family: 'IranYekan' !important;
    color: #fff !important;
    font-weight: 400 !important;
    padding: 13px 30px !important;
}
.coupon-container-grid #coupon_code{
    padding: 13px 12px;
}
.woocommerce-MyAccount-content {
    font-family: 'IranYekan';
}
.woocommerce-MyAccount-content-wrapper,
.woocommerce-MyAccount-navigation{
    box-shadow: 0 0 6px #ffffff8c;
    border-radius: 0;
    background-color: #ffffffde;
    padding: 10px;
}
.woocommerce-MyAccount-content-wrapper{
    padding: 25px !important;
}
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content h2{
    margin: 0 !important;
}

.woocommerce-MyAccount-content .woocommerce-info{
    font-family: 'IranYekan';
    border-top-color: black;
    color: #000000;
}
.woocommerce-MyAccount-content .woocommerce-info::before {
    color: #ff0000;
}
.e-my-account-tab__downloads .button,
.return-to-shop a.button,
.woocommerce-edit-account button[type="submit"],
.woocommerce-address-fields button,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button {
    background-color: #000000 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.woocommerce-account .tinv-wishlist h2,
.woocommerce-edit-address .woocommerce-MyAccount-content-wrapper h2{
    font-size: 19px;
    font-weight: 500;
    margin: 14px 0 18px 0 !important;
    display: block;
}
.woocommerce-edit-address address{
    border: 1px solid #d3d3d3 !important;
    font-style: normal;
    font-weight: 500;
}
.woocommerce-edit-address .woocommerce-Address-title a.edit{
    color: #ad8819 !important;
}
.woocommerce-EditAccountForm fieldset,
.woocommerce-edit-account .woocommerce-form-row label[for="account_email"],
.woocommerce-edit-account .woocommerce-form-row .woocommerce-Input--email{
    display: none !important;
}
.woocommerce-edit-address .woocommerce-Address {
    width: 100% !important;
}
.elementor-widget-woocommerce-product-price .price {
    color: #d4a72c !important;
    font-family: "IranYekan" !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
/* باکس تعداد ووکامرس */
.quantity{
    display:flex;
    align-items:center;
    gap:2px;
}

/* فیلد تعداد */
.quantity .qty{
    width:70px;
    height:44px;
    border:none;
    border-radius:0px;
    background:#f5f5f5;
    text-align:center;
    font-size:16px;
    font-weight:600;
    color:#191514;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}
/* حذف فلش پیشفرض */
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}
.quantity .qty[type=number]{
    -moz-appearance:textfield;
}
.qty-btn{
    width: 22px;
    height: 45px;
    border: none;
    border-radius: 0;
    background-color: #fff !important;
    color: #000000 !important;
    font-size: 20px;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}
.important-news-wrapper{
    font-family: 'IranYekan';
    gap: 12px;
    display: grid;
}
.important-news-wrapper .important-news-item a{
    display: inline-flex;
    width: 100%;
    background-color: #343434c7;
    transition: all .3s;
    border: 1px solid #d4a72c;
}
.important-news-wrapper .important-news-item a:hover{
    background-color: #1c1c1cc7;
}
.important-news-wrapper .important-news-item a .news-thumb{
    width: 40%;
    height: 100%;
    align-self: center;
    display: flex;
    padding: 10px 10px 10px  10px;
    align-content: center;
}
.important-news-wrapper .important-news-item a .news-thumb img{
    height: 100px;
    object-fit: cover;
}
.important-news-wrapper .important-news-item a .botton-box{
    padding: 12px 8px;
    display: inline-grid;
    align-content: space-between;
    width: 60%;
}
.important-news-wrapper .important-news-item a .botton-box .news-title{
    color: #fff;
    font-size: 14px;
    line-height: 23px;
    font-weight: 500;
}
.important-news-wrapper .important-news-item a .botton-box .news-date{
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
}
.important-news-wrapper .important-news-item a .botton-box .news-date svg{
    width: 17px;
    margin: -4px 0 0 7px;
}
.important-news-wrapper .important-news-item a .botton-box .news-date svg path{
    fill: #fff;
}
.social-share-box{
    gap: 15px;
    display: flex;
}
.social-share-box svg{
    width: 21px;
    height: 21px;
    transition: all .3s;
}
.social-share-box svg{
    fill: #051020;
    transition: all .3s;
}
.social-share-box a.linkedin svg:hover{
    fill: #0e76a8;
}
.social-share-box a.whatsapp svg:hover{
    fill: #25D366;
}
.social-share-box a.telegram svg:hover{
    fill: #0088cc;
}
.social-share-box a.facebook svg:hover{
    fill: #4267B2;
}
.smart-toc-list{
    list-style: none;
    padding: 0;
    font-family: 'IranYekan';
    gap: 6px;
    display: grid;
}
.smart-toc-list a{
    color: #545454;
    transition: all .3s;
    line-height: 20px;
    display: inline-flex;
    font-weight: 500;
    font-size: 15px;
}
.smart-toc-list a span{
    color: #C8CACE;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 0 13px;
}
.smart-toc-list a:hover span,
.smart-toc-list a:hover{
    color: #000;
}
.post-single-content-box .dynamic-intro {
    max-width: 75%;
}
.post-single-content-box .dynamic-rest {
    max-width: 100%;
}
.otino-popup-container {
    border-radius: 0 !important;
    font-family: 'IranYekan';
}
.custom-faq-accordion .faq-item{
    border: 1px solid #d4a72c;
    margin: 0 0 7px 0;
    font-family: 'IranYekan';
    padding: 0px 25px;
    background-color: #ffffff0f;
    color: #fff;
}

.custom-faq-accordion .faq-question{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    cursor:pointer;
    border:none;
    background:none;
    padding:18px 0;
    text-align:right;
    gap:20px;
    font-size: 16px;
    color: #d4a72c;
    font-weight: 500;
}

.custom-faq-accordion .faq-question-text{
    flex: 1;
    min-width: 0;
    text-align: right;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
}

.custom-faq-accordion .faq-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .3s ease;
}

.custom-faq-accordion .faq-item.active .faq-icon{
    transform:rotate(180deg);
}

.custom-faq-accordion .faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease,padding .35s ease;
    padding:0;
}

.custom-faq-accordion .faq-item.active .faq-answer{
    max-height:500px;
    padding:0 0 18px;
}
.swiper-slide-inner{
    max-width: 1140px;
}
.jet-filter-row:has(input[value="50"]){
    display:none !important;
}
.portfolio-imp{
    height: 620px;
    overflow: hidden;
}
.portfolio-image{
    height: 300px;
    overflow: hidden;
}
.portfolio-image img,
.portfolio-imp img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}










/*** gravity contact-form ***/
.contact-form .gform_wrapper input[type=text],
.contact-form .gform_wrapper input[type=email],
.contact-form .gform_wrapper input[type=tel],
.contact-form .gform_wrapper input[type=number],
.contact-form .gform_wrapper input[type=password],
.contact-form .gform_wrapper textarea,
.contact-form .gform_wrapper select{
    background: rgba(255,255,255,.06) !important;
    border:1px solid rgba(212,175,55,.18) !important;
    color:#ffffff !important;
    border-radius:0px !important;
    padding:22px 18px !important;
    transition:.35s ease;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:none !important;
}
.contact-form .gform_fields{
    gap: 15px;
}
.contact-form .gform_wrapper textarea{
    min-height:180px;
    resize:vertical;
}
.contact-form .gform_wrapper ::placeholder{
    color:rgba(255,255,255,.55);
}
.contact-form .gform_wrapper input:focus,
.contact-form .gform_wrapper textarea:focus,
.contact-form .gform_wrapper select:focus{
    border-color:#D4AF37 !important;
    background:rgba(255,255,255,.08) !important;
    box-shadow:
            0 0 0 3px rgba(212,175,55,.12),
            0 0 20px rgba(212,175,55,.18);
    outline:none;
}
.contact-form .gform_wrapper .gfield_label{
    color:#ffffff;
    font-weight:500;
    margin-bottom:10px !important;
}
.contact-form .gform_wrapper .gform_button{
    background:#D4AF37 !important;
    color:#111 !important;
    border:none !important;
    border-radius:0px !important;
    padding:14px 38px !important;
    font-size:15px;
    font-weight:700;
    transition:.35s ease;
    cursor:pointer;
}
.contact-form .gform_wrapper .gform_button:hover{
    background:#111 !important;
    color:#D4AF37 !important;
    box-shadow:0 10px 25px rgba(212,175,55,.25);
}
.contact-form .gform_wrapper .validation_message{
    color:#ffb3b3 !important;
}
.contact-form .gform_wrapper .gfield_error input,
.contact-form .gform_wrapper .gfield_error textarea{
    border-color:#ff5c5c !important;
}
.contact-form .gform_confirmation_message{
    background:rgba(212,175,55,.12);
    border:1px solid rgba(212,175,55,.25);
    color:#fff;
    padding:20px;
    border-radius:12px;
}
.contact-form .gform_wrapper .gform_title{
    display:none !important;
}
.contact-form .gform_wrapper,
.contact-form .gform_wrapper input,
.contact-form .gform_wrapper textarea,
.contact-form .gform_wrapper select,
.contact-form .gform_wrapper button,
.contact-form .gform_wrapper .gform_button,
.contact-form .gform_wrapper ::placeholder,
.contact-form .gform_wrapper label{
    font-family: "IRANYekan", sans-serif !important;
}
.contact-form .gform_wrapper input,
.contact-form .gform_wrapper textarea,
.contact-form .gform_wrapper select{
    direction: rtl !important;
    text-align: right !important;
}
/*** gravity contact-form ***/








.filter-box-scroll{
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4a72c #2a2422;
}
.filter-box-scroll::-webkit-scrollbar{
    width: 10px;
}
.filter-box-scroll::-webkit-scrollbar-track{
    background: #2a2422;
    border-radius: 1px;
}
.filter-box-scroll::-webkit-scrollbar-thumb{
    background: linear-gradient(
            180deg,
            #d4a72c 0%,
            #8f6b42 100%
    );
    border-radius: 1px;
    border: 2px solid #2a2422;
}
.filter-box-scroll::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(
            180deg,
            #d8b07a 0%,
            #a57b4b 100%
    );
}