/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

/* Import Iransans CSS */
@import url('fonts/iransans-font.css');

/* Import YekanBakh CSS */
@import url('fonts/YekanBakhs-font.css');



body {
    font-family: 'iransans', sans-serif; /* Use the custom font family */
}

/* You can apply the custom font to specific elements as well */
h3, h4, h5, h6,li {
    font-family: 'iransans', sans-serif; /* Apply the custom font to headings */
}

/* You can apply the custom font to specific elements as well */
h1, h2 {
    font-family: 'Yekan Bakh FaNum', sans-serif!important; /* Apply the custom font to headings */
}

h2 {
    font-size: 1.2em!important; /* Apply the custom font to headings */
	font-weight:700!important;
	line-height:1.8!important;
}
h3 {
    font-size: 1em; /* Apply the custom font to headings */
}

/*Start of Digits Login Style*/

.digits-form_tab-item.digits_login_use_phone.digits-tab_active ,
.digits-form_tab-item.digits_login_use_email,
.dig_login_signup_bar.digits-title_color.digits_show_on_index {
    font-family: 'Yekan Bakh FaNum'!important;
    font-weight: 400!important;
    font-size: 18px!important;
}

span.digits-form_heading_text {
    font-family: 'Yekan Bakh FaNum'!important;
    font-weight: 600!important;
    font-size: 22px!important; 
}




/*End of Digits Login Style*/


body.nasa-rtl .text-left .breadcrumb {
    justify-content: flex-start!important;
}


.product-item .info .name {
  font-size: 96%!important;
  line-height: 184%!important;
}

.product-item .info .name {
  padding: 20px 0!important;
}

.product-info .entry-title {
  font-size: 160%!important;
  font-weight:700!important;
}

.nasa-attr-ux .nasa-attr-bg {
  height: 35px!important;
  width: 35px!important;
}
body.nasa-rtl .nasa-attr-ux {
    margin-left: 5px!important;
}
body.nasa-rtl .nasa-product-details-page .product-info .entry-title.nopadding {
    padding-bottom: 30px;
}

.product-info .variations label {
  font-size: 115%;
}



/* تنظیمات فقط برای دسکتاپ */
@media screen and (min-width: 768px) {
	
/* تنظیم عرض بخش گالری تصاویر به 40 درصد و افزودن سایه و گوشه‌های گرد */
.product-gallery.large-7 {
    width: 37% !important;
    box-shadow: 1px 0px 14px 1px rgba(0, 0, 0, 0.1); /* سایه ساده */
    border-radius: 20px; /* گوشه‌های گرد */
    overflow: hidden; /* جلوگیری از خروج محتوا از گوشه‌های گرد */
	max-height: 500px !important;
	
}
	.product-gallery.large-7 img {
        max-height: 500px; 
        width: 100%; 
        object-fit: cover; 
    }

/* تنظیم عرض بخش اطلاعات محصول به 60 درصد و افزودن سایه و گوشه‌های گرد */
.product-info.large-5 {
    width: 50% !important;
    box-shadow: 1px 0px 14px 1px rgba(0, 0, 0, 0.1); /* سایه ساده */
    border-radius: 20px; /* گوشه‌های گرد */
    overflow: hidden; /* جلوگیری از خروج محتوا از گوشه‌های گرد */
}

/* اطمینان از اینکه ساختار ردیف به درستی کار کند */
.focus-info .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* فاصله بین دو بخش */
}

.nasa-product-info-wrap {
    padding: 35px 25px 25px 25px;
}

.large-7.small-12.columns.product-gallery.rtl-right.padding-right-50.mobile-padding-right-10.rtl-padding-right-10.rtl-padding-left-50.rtl-mobile-padding-left-10 {
    padding-right: 25px !important;
    margin-right: 35px;
}	
	
}
span.label-tip {
    color: #ae4e0a;
}

.product-info .price {
  font-size: 160%!important;
  padding-top: 25px!important;
}

/* مخفی کردن آیکون مقایسه دوم (پایین) */
.product-info-wrap + .compare.btn-compare {
    display: none !important;
}

.nasa-rtl .breadcrumb-wrap.text-left .products-arrow {
    right: auto!important;
	left: 0!important;
}
.nasa-rtl .breadcrumb-wrap.text-left .products-arrow .next-prev-buttons .dropdown-wrap {
    right: auto!important;
    left: 0!important;
    text-align: right!important;
}

@media (max-width: 767px) {
    .product-info-wrap.info.has-brands {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.product-item .info .name {
  padding: 10px 0!important;
}

span.price {
    padding: 7px 0px;
}
.product-item .info {
  position: relative;
  padding: 1px 15px 20px 15px;
}
.price {
  font-size: 105%;
  font-family: Yekan Bakh FaNum;
  font-weight: 700;
}






/* استایل برای لینک‌های افزونه WP ShowHide */
.sh-link {
    display: flex;
    justify-content: center; /* وسط‌چین افقی */
    align-items: center; /* وسط‌چین عمودی */
}

.sh-link a {
    position: relative;
    display: inline-block;
    text-indent: -9999px;
    width: 30px;
    height: 30px;
    background: url('/wp-content/uploads/2025/07/down-arrow-thin.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
}

.sh-link.sh-show a {
    background: url('/wp-content/uploads/2025/07/up-arrow-thin.svg') no-repeat center;
    background-size: contain;
}

.product-info-wrap.info {
    text-align: center;
}


a.nasa-attr-ux-item.nasa-tip.nasa-tip-top.nasa-attr-ux-nasa_color.attached.enabled {
    width: 30px;
    height: 30px;
    border: 1px solid #bfbfbf;
}
a.nasa-attr-ux-item.nasa-tip.nasa-tip-top.nasa-attr-ux-nasa_color.attached.enabled:hover {
    border: 1px solid #656565;
}



.nasa-slide-style a {
  padding: 10px 24px!important;
  display: inline-block;
  margin: 0;
  font-size: 100%;
  color: #333333;
  font-weight: bold;
  line-height: 1.4;
}
 
@media (max-width: 768px) {
  .contact-information .media {
    text-align: center !important;
  }
  .contact-information .contact-text {
    text-align: center !important;
  }
	.elementor-element.elementor-element-d0aa92e.elementor-widget.elementor-widget-wp-widget-nasa_menu_sc {
    text-align: center;
}

    img.header_logo {
        margin-top: 6px;
    }
	h1.product_title.entry-title {
    font-size: 18px!important;
}
	h3.nasa-title.nasa-crazy-box.ns-woo-tab-title.nasa-bold {
		font-size: 18px!important;
	}
	body.nasa-in-mobile.nasa-mobile-app #wrapper .related-product .nasa-title-relate {
    text-align: right!important;
}
	h3.nasa-title-relate{
    font-size: 18px!important;
}


p.price.nasa-single-product-price.org-price {
    font-size: 18px!important;
}
}



//فرم کانتکت اس
/* تنظیمات برای دسکتاپ */
@media only screen and (min-width: 768px) {
    .contact-form-footer .row {
        display: flex;
        flex-wrap: wrap;
    }
    .contact-form-footer .lt-col.large-6 {
        width: 50%;
        box-sizing: border-box;
    }
    /* اطمینان از ترتیب درست */
    .contact-form-footer .lt-col:nth-child(1) {
        order: 1; /* نام */
    }
    .contact-form-footer .lt-col:nth-child(2) {
        order: 2; /* تلفن */
    }
    .contact-form-footer .lt-col:nth-child(3) {
        order: 3; /* ایمیل */
    }
    .contact-form-footer .lt-col:nth-child(4) {
        order: 4; /* موضوع */
    }
	.viewed-close.nasa-sidebar-close {
    font-size: 11px;
}
	h3.nasa-heading-popup.text-center.nasa-bold-800.fs-28.mobile-fs-25 {
    font-size: 110%!important;
}
	
}
span.badge.sale-label.sale-variable {
    width: 50px;
    height: 50px;
    padding: 17px 0px 17px 0px;
    font-size: 17px;
}
span.badge.out-of-stock-label {
       width: 50px;
    height: 50px;
    padding: 14px 0px 14px 0px;
    font-size: 14px;
}
.nasa-product-content-nasa_label-wrap .nasa-product-content-child > a.nasa-active {
  text-decoration: auto;
}
.nasa-product-content-color-image-wrap {
    display: flex;
    justify-content: center; /* وسط‌چین افقی */
    align-items: center; /* وسط‌چین عمودی (در صورت نیاز) */
    flex-wrap: wrap; /* در صورتی که آیتم‌ها در چند خط قرار گیرند */
}

.nasa-product-content-child.nasa-product-content-color-wrap-child {
    text-align: center; /* اطمینان از وسط‌چین بودن محتوای داخلی */
}
.nasa-attr-ux-label {
    display: flex;
    align-items: center; /* اطمینان از وسط‌چین عمودی داخل لیبل */
}
.product-info .variations label {
  font-size: 107%;
}
h3.nasa-heading-popup.text-center.nasa-bold-800.fs-28.mobile-fs-25 {
    font-size: 130%!important;
}
.nasa-product-content-child.nasa-product-content-transportation-wrap-child {
    display: none!important;
}
.sb-message {
    font-family: 'iransans';
}

.sb-text {
    font-family: 'iransans';
}

.sb-title {}

.sb-title {
    font-family: 'iransans';
}
  textarea, .sb-panel, ul, ul li {
        font-family: 'iransans';
    }

.sb-btn.sb-btn-new-conversation {
    font-family: 'iransans';
}
span.sb-status {
     font-family: 'iransans';
}

span.sb-name {
      font-family: 'iransans';
}
body.nasa-rtl input[type="text"],body.nasa-rtl input[type="password"],body.nasa-rtl input[type="date"],body.nasa-rtl input[type="datetime"],body.nasa-rtl input[type="datetime-local"],body.nasa-rtl input[type="month"],body.nasa-rtl input[type="week"],body.nasa-rtl input[type="email"],body.nasa-rtl input[type="number"],body.nasa-rtl input[type="search"],body.nasa-rtl input[type="tel"],body.nasa-rtl input[type="time"],body.nasa-rtl input[type="url"],body.nasa-rtl textarea,body.nasa-rtl div,body.nasa-rtl dl,body.nasa-rtl dt,body.nasa-rtl dd,body.nasa-rtl ul,body.nasa-rtl ol,body.nasa-rtl li,body.nasa-rtl h1,body.nasa-rtl h2,body.nasa-rtl h3,body.nasa-rtl h4,body.nasa-rtl h5,body.nasa-rtl h6,body.nasa-rtl pre,body.nasa-rtl form,body.nasa-rtl p,body.nasa-rtl blockquote,body.nasa-rtl th,body.nasa-rtl td,body.nasa-rtl .select2-search--dropdown .select2-search__field,body.nasa-rtl .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'iransans';
}

#nasa-init-viewed {
    top: -50px !important;
}
	#nasa-back-to-top{
	 top: -45px !important;
}
.sb-chat-btn img {
    width: 100%!important;
    height: 100%!important;
    object-fit: contain;
}
.sb-chat-btn {
    width: 45px!important;
    height: 45px!important;
	margin-left:6px!important;
}

@media (max-width: 768px) {
.sb-chat-btn {
    bottom:70px!important;
   left:5px!important;
}	
	#nasa-init-viewed {
    top: -45px !important;
}
	#nasa-back-to-top{
	 top: -40px !important;
}

}
.sb-icon-send {
    transform: scaleX(-1)!important;
}
.sb-submit {
      padding-left: 13px!important;
      padding-right: 0!important;
 }
/* تنظیم off-canvas و overlay ها */
.cart-sidebar,
.off-canvas,
.nasa-sidebar-off-canvas,
#cart-sidebar {
    z-index: 999997 !important;
}