/* 
Theme Name: Hello Child
Theme URI: https://elementor-site.ir/
Description: 
Author: Elementor Site
Author URI: https://elementor-site.ir/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/*custom css*/
/*slider products*/
.layout_31214 .usg_html_2 {
    height: 60px !important;
    min-height: 60px !important;
    margin-top: -32px !important;
    margin-bottom: 10px !important;
    border-radius: 60px !important;
    position: relative !important;
    z-index: 4 !important;
    background: #ffffff !important;
    border: 1px solid #003865;
}
.grid_teachers_wrapper {
    display: flex;
    align-items: center;
}
.grid_teachers_wrapper > div:not(:last-of-type) {
    margin-left: -34px;
}
.grid_teachers_wrapper img {
    border-radius: 100%;
    width: 56px;
    height: 56px;
    object-fit: cover;
    -o-object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 2px solid white;
    display: block;
}
.grid_teachers_wrapper > span {
    width: 26px;
    font-size: 14px;
    margin-left: 7px;
    direction: ltr;
}
		/*price off*/
.grid_course_price_wrapper {
display: flex;
    gap: 10px;
    flex-direction: row;
    align-content: center;
    align-items: center;

}

.grid_final_price {
  background: #6e3ef5;
  border-radius: 4px;
  color: #fff;
  padding: 3px 15px;
  position: relative;
  font-size: 12px;
  line-height: 1.8;
  display: inline-block;
  width: fit-content;
}

.grid_final_price::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #fff;
  width: 6px;
  height: 7px;
  border-radius: 50%;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
}

.grid_course_base_price {
  text-decoration: line-through;
  color: #888;
  font-size: 10px;
}
/*single products
		/*varition price & add to cart form*/
form.variations_form.cart {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	gap:16px;
}

.e-con-full.e-flex.e-con.e-child > div > div > div > form > table > tbody{
	display: flex;
    gap: 16px;
	justify-content: flex-start;
}
			/*swichtre radius*/
.iconic-was-swatches--radio-buttons .iconic-was-swatch{
	padding: 0px 25px 0px 0px !important;
}
.iconic-was-swatches--radio-buttons .iconic-was-swatch::before{
	right:0 !important;
}
th.label {
    border: unset;
    border-radius: 12px 12px 0px 0px !important;
    background: #fff !important;
	min-width:180px;
}
th > label {
	color: #2D2926 !important;
}
ul.iconic-was-swatches.iconic-was-swatches--tick.iconic-was-swatches--radio-buttons.iconic-was-swatches--square.iconic-was-swatches--stacked {
    background: #fff;
    padding: 14px;
    border-radius: 0px 0px 12px 12px;
    margin: 0px;
}
td.value{
	border-radius:12px;
}
a.reset_variations {
    padding: 15px;
}
.single_variation_wrap{
	width:57%;
}
table.variations{
	width:50%;
}
.woocommerce-variation-description {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}
a.reset_variations {
    display: none;
}
			/*buttom add to cart*/
.single_variation_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}
}
button.single_add_to_cart_button.button.alt {
    height: fit-content;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled{
	 flex-direction: column;
    justify-content: flex-end;
}
		/*price*/
.elementor-widget-woocommerce-product-add-to-cart > div > div > form > div.single_variation_wrap > div.woocommerce-variation.single_variation > div.woocommerce-variation-price > span{
	display: flex;
    gap: 6px;
    flex-direction: column;
}
.single-product .price ins {
    text-decoration: none !important;
}
.single-product .price del .woocommerce-Price-amount {
    font-size: 14px !important;
}
.single-product .price ins .woocommerce-Price-amount {
    font-size: 20px !important;
    font-weight: 700;
}

/*if havenot off*/
.single-product .price:not(:has(del)) .woocommerce-Price-amount {
    font-size: 20px !important;
    font-weight: 700;
}


/*
 * 
 * 
/*mobile
 * 
 * 
 * 
 *  */
@media only screen and (max-width: 500px) {
	
/*form add to cart in single products*/	
	form.variations_form.cart, .single_variation_wrap{
		flex-direction: column;
	}
	/*vartion radius*/	
	table.variations{
		width:100%;
	}
	.e-con-full.e-flex.e-con.e-child > div > div > div > form > table > tbody{
		justify-content: space-evenly;
	}
	th.label{
		min-width:unset;
	}
}