/* 
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: none;
    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: 6px;
    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: 5px;
    min-width: 200px;
    outline: unset;
	font-family: "IranYekan";
}
.header-search .search-box .search-form .search-submit {
    padding: 6px 12px !important;
    background-color: #3F3399 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    margin-right: 5px;
    cursor: pointer;
	 font-family: "IranYekan";
}
@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: #814965;
}
.single-product p.price ins{
    text-decoration: auto;
}
.comment-form .submit{
    background-color: #675bbf;
    color: #fff;
    font-family: 'IranYekan';
    font-weight: 300;
    padding: 14px 41px;
    border-radius: 8px;
}
.woocommerce-product-gallery__wrapper img{
    border-radius: 16px;
}
.woocommerce table.shop_attributes tr td, 
.woocommerce table.shop_attributes tr th {
    background: unset !important;
}
.product-discount-percent.is-single-product{
    background-color: #ef2a2a;
    position: absolute;
    right: 13px;
    top: 14px;
    z-index: 2;
    border-radius: 12px;
    padding: 9px 17px;
    color: #fff;
    font-family: "IranYekan";
}
.product-discount-percent.not-single-product{
    background-color: #ef2a2a;
    position: absolute;
    right: 7px;
    border-radius: 8px;
    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%;
}
.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: 9px !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;
}
.woocommerce-billing-fields textarea {
    border-radius: 9px !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: #675bbf !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2){
    width: 15%;
    margin: 7px;
}
.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;
}
/* باکس تعداد ووکامرس */
.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: #e6e4ff !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: #fff;
    transition: all .3s;
    border: 1px solid #e5e5e5;
    border-radius: 11px;
}
.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;
	border-radius: 11px;
}
.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: #343434;
    font-size: 14px;
    line-height: 23px;
    font-weight: 500;
}
.important-news-wrapper .important-news-item a .botton-box .news-date{
    color: #b3b3b3;
    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: #b3b3b3;
}
.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 {
    font-family: 'IranYekan';
}
.custom-faq-accordion .faq-item{
    border: 1px solid #dddddd;
    margin: 0 0 7px 0;
    font-family: 'IranYekan';
    padding: 0px 25px;
    color: #a1a0a0;
    font-size: 15px;
    line-height: 28px;
    font-weight: 300;
    border-radius: 15px;
    box-shadow: 0 0 15px 0 #0000000a;
    background-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: #404040;
    font-weight: 500;
	font-family: 'IranYekan';
}

.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: 1300px;
}
.swiper-slide-inner .swiper-slide-contents{
    margin-left: unset !important;
    margin-right: auto;
}
.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;
}
.single-product form.cart{
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: end;
}
.single-product form.cart .pkset-heading{
    text-align: center;
    margin: 7px 0 0 0;
}
.single-product form.cart .pkset-field__desc{
    text-align: center;
    margin: 0 0 20px 0;
}
.single-product form.cart .pkset-options{
    width: 128%;
    font-family: 'IranYekan';
    margin: 0 -23% 32px 0;
    background-color: #F2F2F3;
    border-radius: 12px;
    padding: 17px 25px;
}
.pkset-options .pkset-upload__hints{
    display: none !important;
}
.woocommerce-product-details__short-description ul{
    display: inline-flex;
    flex-wrap: wrap;
}
.woocommerce-product-details__short-description ul li{
    width: 50%;
}
.custom-order-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    direction: rtl;
}

.custom-order-social {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #269b7e3b;
    padding: 5px;
    transition: all .2s ease;
}
.custom-order-social:hover {
    background: #675bbf;
    color: #fff;
    transform: translateY(-2px);
}
.custom-order-social svg{
    fill: #675bbf;
    width: 17px;
}
.custom-order-social:hover svg{
    fill: #fff;
}
.product-type-variable table.variations {
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 14px !important;
    font-family: 'IranYekan';
    width: max-content;
    margin-right: -100%;
    margin-bottom: 0 !important;
}
.product-type-variable table.variations th.label {
    display: block;
    padding: 0 0 9px !important;
    text-align: right;
}
.product-type-variable table.variations th.label label {
    color: #3F3399;
    font-size: 14px;
    font-weight: 700;
}
.product-type-variable table.variations td.value {
    display: block;
    padding: 0 !important;
}
.product-type-variable table.variations .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
}
.product-type-variable table.variations .variable-item {
    min-width: 48px;
    min-height: 40px;
    padding: 8px 16px !important;
    margin: 0 !important;
    border: 1px solid #E5E1F1 !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #49445B !important;
    transition: all .2s ease;
}
.product-type-variable table.variations .variable-item .variable-item-span {
    color: inherit !important;
    font-size: 13px;
    font-weight: 500;
}
.product-type-variable table.variations .variable-item:hover {
    border-color: #675BBF !important;
    color: #675BBF !important;
}
.product-type-variable table.variations .variable-item.selected {
    background: #675BBF !important;
    border-color: #675BBF !important;
    color: #fff !important;
}
.product-type-variable table.variations .variable-item.selected .variable-item-span {
    color: #fff !important;
}
.product-type-variable table.variations .variable-item.disabled {
    opacity: .4;
}
.product-type-variable table.variations .reset_variations {
    display: inline-block;
    margin-top: 12px;
    color: #675BBF !important;
    font-size: 12px;
    text-decoration: none;
}

.elementor-widget-woocommerce-product-images .flex-viewport {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden !important;
}
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__wrapper,
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image {
    height: 100% !important;
}
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    display: block;
}
.elementor-widget-theme-post-featured-image img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    object-fit: cover !important;
    display: block;
}
table.woocommerce-product-attributes.shop_attributes{
    width:100%!important;
    table-layout:fixed;
    border-collapse:collapse!important;
    border:1px solid #eeeaf6!important;
    border-radius:12px;
    overflow:hidden;
    font-family:'IranYekan',sans-serif;
}
table.woocommerce-product-attributes.shop_attributes tbody{
    display: inline-table;
    width: 100%;
}
table.woocommerce-product-attributes.shop_attributes th,
table.woocommerce-product-attributes.shop_attributes td{
    padding:10px 16px!important;
    border:0!important;
    border-bottom:1px solid #eeeaf6!important;
    text-align:right;
    vertical-align:middle;
    font-size:13px;
    white-space:nowrap;
    font-style: normal;
}
table.woocommerce-product-attributes.shop_attributes th{
    width:10%!important;
    color:#3f3399;
    font-weight:700;
}
table.woocommerce-product-attributes.shop_attributes td{
    width:90%!important;
    color:#555;
}
table.woocommerce-product-attributes.shop_attributes td p{
    margin:0!important;
    line-height:1.7;
}
table.woocommerce-product-attributes.shop_attributes tr:nth-child(even){
    background:#faf9fe;
}
table.woocommerce-product-attributes.shop_attributes tr:last-child th,
table.woocommerce-product-attributes.shop_attributes tr:last-child td{
    border-bottom:0!important;
}
.elementor-nav-menu--main ul.sub-menu{
    min-width: 20em !important;
}
.home-slider-section .elementor-widget-image-carousel .swiper-slide{
    width: 100% !important;
}
.home-slider-section .elementor-widget-image-carousel .swiper-slide .swiper-slide-inner{
    width: 100% !important;
    max-width: unset;
}











/*** 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 rgb(47 47 47 / 12%) !important;
    color: #676767 !important;
    border-radius: 11px !important;
    padding: 22px 18px !important;
    transition: .35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none !important;
	outline: unset !important;
}
.contact-form .gform_fields{
    gap: 15px;
}
.contact-form .gform_wrapper textarea{
    min-height:180px;
    resize:vertical;
}
.contact-form .gform_wrapper ::placeholder{
    color : #b3b3b3;
}
.contact-form .gform_wrapper .gfield_label{
    color:#ffffff;
    font-weight:500;
    margin-bottom:10px !important;
}
.contact-form .gform_wrapper .gform_button{
    background: #453999 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px 38px !important;
    font-size: 15px;
    font-weight: 700;
    transition: .35s ease;
    cursor: pointer;
    outline: unset !important;
    font-family: 'IranYekan' !important;
}
.contact-form .gform_wrapper .gform_button:hover{
    background: #291f71 !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: #391d88 #dfdfdf;
}
.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%
    );
}