.product_image_box {
	position: relative;
}
.product_image_box .flex-viewport{
	border-radius: var(--border-radius);
	max-height: 400px;
	min-height: 280px;
}
.product_percent {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--main-color);
	border-radius: 50px;
	color: #fff;
	width: 35px;
	height: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.onsale {
	position: absolute;
	top: 10px;
	right: 10px;
	border: 1px solid var(--main-color);
	color: var(--main-color);
	font-size: 13px;
	border-radius: 3px;
	padding: 3px 6px;
	z-index: 10;
}
.woocommerce-product-gallery__trigger {
	display: none;
	position: absolute;
	top: 10px;
	right: 70px;
	z-index: 10;
}
.add_to_cart_ajax.btn_loading:before{
	top: 11px !important;
	right: 45% !important;
}
.btn.btn-success.add_to_cart_ajax.added {
	font-size: 0;
	height: 43px;
	position: relative;
	background: var(--main-color);
}
.btn.btn-success.add_to_cart_ajax.added::before {
	content: 'به سبد خرید اضافه شده';
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% , -50%);
	white-space: nowrap;
}
.btn.btn-success.add_to_cart_ajax.added:hover:before{color: var(--main-color);background: #fff;}
.woocommerce-product-gallery__image img{ object-fit: cover; }
.flex-control-nav {
	display: flex;
	gap: 15px;
	width: 100%;
	margin: 10px auto 0 !important;
	padding: 10px;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: thin;
}
.flex-control-nav::-webkit-scrollbar {height: 9px;}
.flex-control-nav::-webkit-scrollbar-track {background: #eee;}
.flex-control-nav::-webkit-scrollbar-thumb {background-color: #ccc;border-radius: 20px;}
.flex-control-thumbs img {
	max-width: 75px;
	outline: 1px solid #aaaa;
	border-radius: 4px;
	outline-offset: 3px;
	cursor: pointer;
}
.flex-control-thumbs img.flex-active {
	outline-color: var(--main-color);
}
.woocommerce-product-gallery__image img {
	margin: auto;
	display: block;
	width: 100%;
	max-height: 100%;
	max-height: 350px;
	border-radius: var(--border-radius);
	object-fit: contain;
}
.prodcut_attributes {
	margin-top: 30px;
	padding: 30px !important;
}
.tab_title {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px !important;
	margin-bottom: 20px !important;
}
.tab_title li{
	position: relative;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: #2C2C2C;
	cursor: pointer;
}
.tab_title li::selection{ background: transparent; }
.tab_title li.active:after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 50%;
	width: 50px;
	height: 3px;
	background: var(--second-color);
	transform: translatex(-50%);
}
.add_to_cart button, .out_of_stock {
	background: var(--main-color);
	font-size: 14px;
	font-weight: 600;
	border: 0;
	width: 100%;
	padding: 10px 5px;
	border: 1px solid var(--main-color) !important;
	border-radius: 8px;
	margin-top: 10px;
	text-align: center;
}
.add_to_cart button:focus, .add_to_cart button:hover {
	background: transparent;
	color: var(--main-color);
	outline: 0 !important;
	box-shadow: unset !important;
}
.out_of_stock {
	background: red !important;
	border-color: red !important;
}
.tadris_price_box{
	font-size: 14px;
	margin-bottom: 15px;
}
.tadris_price_box_title {
	font-size: 14px;
	color: #2C2C2C;
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
}
.tadris_price_title{
	position: relative;
	text-align: left;
	font-size: 20px;
	font-weight: 700; 
	color: #43A047;
	display: flex;
	flex-direction: column;
}
.product_sale_price_to_buy {
	color: #999;
	font-size: 14px;
}
ins{
	font-size: 16px !important;
	font-weight: 700;
}
del {
	font-size: 14px;
	color: #aaa;
	font-weight: 600;
}
.green_text{ 
	color: #43A047 !important;
	font-weight: 600;
}
.tadris_sale_percent {
	background: var(--main-color);
	color: #fff;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	font-weight: 600;
	position: absolute;
	bottom: 2px;
	left: 105%;
	width: 30px;
	height: 20px;
}
.product_content{
	position: relative;
	padding: 10px 0 70px;
	height: 100%;
}
.prodcut_content :is(h2, h3, h4, h5, h6) {
	margin: 15px 0 5px;
}
.prodcut_content p{
	line-height: 23px;
	color: var(--text-color);
}
.prodcut_content p a{color: var(--main-color); }
.product_content .product_title{
	font-size: 16px;
	font-weight: 600; 
	color: #2C2C2C;
	margin-bottom: 4px;
}
.product_sub_title{
	color: #888;
	font-size: 12px;
	font-weight: 500; 
}
.product_favorite_btn{
	position: absolute !important;
	top: 0px;
	left: 0px;
	border: 1px solid #ccc;
	width: 35px;
	height: 35px;
	border-radius: 50px;
	cursor: pointer;
}
.product_favorite_btn.btn_loading::before{
	background-image: none !important;
	top: 7px;
	right: 7px;
}
.product_favorite_btn:before{
	content: '';
	width: 16px;
	height: 16px;
	position: absolute;
	top: 10px;
	left: 9px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231acc60' class='bi bi-heart' viewBox='0 0 16 16'%3E%3Cpath d='m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15'/%3E%3C/svg%3E");
}
.product_favorite_btn:hover, .product_favorite_btn.active{background: var(--main-color);border-color: var(--main-color);}
.product_favorite_btn:hover:before, .product_favorite_btn.active:before{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-heart' viewBox='0 0 16 16'%3E%3Cpath d='m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15'/%3E%3C/svg%3E");
}
.product_attributes_wrap{
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 20px 0;
}
.product_attributes_wrap .product_attribut_item{
	flex: 0 0 48%;
	position: relative;
	padding-right: 12px;
	font-size: 14px;
	font-weight: 400;
}
.product_attributes_wrap .product_attribut_item:before{
	content: '';
	width: 19px;
	height: 20px;
	position: absolute;
	top: -4px;
	right: 0px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='%231acc60' class='bi bi-dot' viewBox='0 0 16 16'%3E%3Cpath d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3'/%3E%3C/svg%3E");
}
#product_variations_form {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: space-between;
}
#product_variations_form .form_group {
	position: relative;
	border: 1px solid #ccc;
	border-radius: 8px;
	width: 100%;
	flex: 0 0 49%;
	margin-bottom: 10px;
}
#product_variations_form .form_group label{
	position: absolute;
	top: -12px;
	background: #f6f6f6;
	padding: 2px 5px;
	font-size: 12px;
	font-weight: 500;
	right: 15px;
}
#product_variations_form .form_group  select{
	width: 100%;
	background: transparent;
	border: 0;
	padding: 10px 15px;
	font-size: 14px;
}
.chosen-single {
	background: transparent !important;
	box-shadow: unset !important;
	border: 0 !important;
	padding: 9px !important;
	height: 40px !important;
}
.chosen-container-single .chosen-single div b{transform: translate(-5px , 9px);}
.chosen-results{max-height: 300px !important;padding: 8px !important; scrollbar-width: thin;}
.chosen-results li{border-bottom:1px solid #ddd; padding: 5px 0 !important; margin: 5px 0 !important;}
.chosen-results::-webkit-scrollbar{ width: 8px;}
.chosen-results::-webkit-scrollbar-track{ background: #f2f6f8;}
.chosen-results::-webkit-scrollbar-thumb{ background-color: rgb(0 107 255 / 50%);  border-radius: 20px;}


/* ------------ Rating And Comment Css ------------------ */
.tadris_users_rating .comments_box{
	margin: 10px 0;
	padding: 10px 30px;
	border-radius: var(--border-radius);
	border: 1px solid #eee;
}
.tadris_comment_wrap_text{
	font-size: 14px;
	color: var(--text-color);
}
.tadris_users_rating .comments_box .comment_title{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.tadris_users_rating .comments_box .subject{
	font-size: 13px;
	font-weight: 700;
}
.tadris_users_rating .comment_date{
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.tadris_users_rating .comment_date{
	font-size: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.tadris_users_rating .comments_box .right_text .commenter_name{
	color: var(--main-color);
	font-size: 10px;
	font-weight: 700;
	margin-right: 15px;
}
.tadris_users_rating .comments_box .comment_title .left_text i{
	color: var(--main-color);
	font-size: 16px;
}
.tadris_users_rating .comments_box .comment_body{
	text-align: justify;
	margin: 20px 0 0;
	font-size: 11px;
	line-height: 22px;
}
.tadris_users_rating .comments_box .comment_reply{
	margin: 20px 0;
	padding:25px 20px;
	background-color: #f6f7fb;
	border-radius: var(--border-radius);
	font-size: 10px;
	line-height: 24px;
}
.comment_reply code {
	display: block;
}
.tadris_users_rating .comments_box .comment_reply_btn{
	font-size: 10px;
	font-weight: 700;
	margin: 10px 0 20px;
	display: block;
}
.tadris_users_rating .add_comment{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0px 0 30px;
	padding: 20px;
	background-color: #f6f7fb;
	border-radius: var(--border-radius);
}
.tadris_users_rating .add_comment .add_comment_btn{
	background-color: var(--main-color);
	padding: 15px 30px;
	border-radius: 10px;
	color: #fff !important;
	border: 0;
	margin: 15px auto;
	display: block;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}
.tadris_users_rating .add_comment .add_comment_btn:hover{
	box-shadow: inset 0 0 200px 0 #00000038;
}
.tadris_users_rating .add_comment p{
	font-size: 11px;
	color: #777;
	margin-top: 10px;
}
.product_rating_star {
	display: flex;
	flex-direction: row-reverse;
	padding: 0 10px;
}
.product_rating_star:not(:checked) > input {
	position:absolute;
	top:-9999px;
}
.product_rating_star:not(:checked) > label {
	width:1em;
	overflow:hidden;
	white-space:nowrap;
	cursor:pointer;
	font-size:22px;
	color:#ccc;
}

.product_rating_star > input:checked ~ label {
	color: #ffc700;    
}
.product_rating_star > input ~ label {
	font-size: 20px;	
}
.product_rating_star:not(:checked) > label:hover,
.product_rating_star:not(:checked) > label:hover ~ label {
	color: #deb217;  
}
.product_rating_star > input:checked + label:hover,
.product_rating_star > input:checked + label:hover ~ label,
.product_rating_star > input:checked ~ label:hover,
.product_rating_star > input:checked ~ label:hover ~ label,
.product_rating_star > label:hover ~ input:checked ~ label {
	color: #c59b08;
}
.insert_comment .insert_comment_btn{
	color: #fff !important;
	position: relative;
	padding-right: 95px !important;
	display: block;
	width: fit-content;
	margin-top: 10px;
	border-radius: var(--border-radius);
	background-color: var(--main-color);
	background-image: linear-gradient(135deg, var(--main-color), var(--second-color)) !important;
	font-size: 13px;
	text-decoration: none;
	padding: 15px 50px;
	padding-right: 50px;
	margin-bottom: 15px;
	overflow: hidden;
	transition: 0.2s all;
	cursor: pointer;
}
.insert_comment .insert_comment_btn:before{
	font-size: 30px;
	top: 2px;
	position: absolute;
	right: 15px;
	content: "\f27a";
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	font-family: FontAwesome;
}
.insert_comment .insert_comment_btn:after{
	content: "+";
	width: 90px;
	height: 106px;
	position: absolute;
	right: -7px;
	top: -32px;
	background: hsla(0,0%,100%,.21);
	border-radius: 50%;
	transition: all .3s ease-in-out;
	box-sizing: border-box;
	padding-right: 63px;
	padding-top: 36px;
	text-align: right;
	font-weight: 500;
	font-size: 28px;
}
.insert_comment .insert_comment_btn:hover{
	color: #fff !important;
}
.insert_comment .insert_comment_btn:hover::after {
	width: 130%;
	border-radius: 0;
}
.insert_comment_popup{
	display: none;
	position: fixed;
	min-width: 70%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: var(--border-radius);
	padding: 30px;
	z-index: 9999;
}
.insert_comment_popup.active{
	display: block;
}
.insert_comment_popup .close_btn{
	position: absolute;
	left: 15px;
	top: 20px;
	font-size: 20px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
}
.insert_comment_popup p{
	font-size: 12px;
}
.insert_comment_popup .comment_form{
	margin-top:20px;
}
.form-group {
	position: relative;
	margin-bottom: 15px;
}
.form-group :is(input , textarea){font-size: 12px !important;}
.input_effect_box {
	border: 1px solid #eeeefc;
	border-radius: 10px;
	padding: 8px 0;
}
.effect_box {
	border: 0 !important;
	font-size: 10px !important;
	padding: 10px 120px 10px 0 !important;
	background-color: transparent !important;
	transition: 0.4s !important;
}
.effect_box.has-content {
	padding: 10px 18px 10px 0px !important;
}
.effect_box:focus {
	outline: 0 !important;
	box-shadow: none !important;
	padding: 10px 18px 10px 10px !important;
}
.effect_box ~ label {
	position: absolute;
	right: 20px;
	top: 18px;
	color: #131313;
	border-left: 1px solid #000;
	padding-left: 3px;
	font-size: 11px;
	font-weight: 600;
	transition: 0.3s;
}
.effect_box:focus ~ label, .has-content.effect_box ~ label {
	top: -8px;
	font-size: 12px;
	right: 15px;
	color: #333;
	padding: 0 6px;
	background: #fff;
	border-left: 0;
	transition: 0.3s;
}
.insert_comment_popup input[type="submit"] {
	padding: 15px 30px !important;
	background-color: var(--main-color) !important;
	border: 1px solid var(--main-color) !important;
	font-size: 12px !important;
	float: left !important;
	font-weight: 600 !important;
	border-radius: var(--border-radius) !important;
	color: #fff !important;
}
.insert_comment_popup input[type="submit"]:hover , .insert_comment_popup input[type="submit"]:focus{
	background-color: #fff !important;
	color: var(--main-color) !important;
	outline: 0 !important;
	box-shadow: unset !important;
}
.insert_comment_popup .inner_subtitle{
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
}
.tadris_users_rating .add_comment {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 30px;
	padding: 20px;
	background-color: #f6f7fb;
	border-radius: var(--border-radius);
}
#reviews li .comment-body{
	background: #ffffffd6;
	border-radius: var(--border-radius);
	padding: 15px;
	margin: 8px 0;
	font-size: 13px;
	border-right: 4px solid var(--main-color);
	position: relative;
}
#reviews li .comment-body .comment-author{width: 90%;}
#reviews li .comment-body img{border-radius: 30px;}
#reviews li .comment-body a{color: var(--main-color);}
.comment-metadata{position: absolute;top: 15px;	left: 15px;}
.comment-metadata a{font-size: 11px;color: #aaa;pointer-events:none;}
.comment-content p{
	font-size: 12px;
	margin-right: 34px;
}
.children{ margin-right: 30px !important;}
#reviews li .children .comment-body{border-right: 2px solid var(--main-color);}
#reviews li .comment-edit-link{display: none;}
.comment-notes, .comment-form-cookies-consent{display: none;}
.comment_like_btn{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	font-weight: 200;
	cursor: pointer;
}
.comment-comment_like_btn:hover svg, .comment_like_btn.active svg{fill: var(--main-color);}
.comment-metadata time{
	display: flex;
	flex-direction: column;
}
.comment-metadata time {
	font-size: 0;
}
.comment-metadata time .time_box {
	font-size: 12px;
}
.product_short_desc {
	margin: 15px 0;
	border-top: 2px dashed #ddd;
	border-bottom: 2px dashed #ddd;
	padding: 15px 0;
}

.product_more_info {
	background: #f7f7f7;
	padding: 15px;
	border-radius: var(--border-radius);
	font-size: 14px;
	margin: 10px 0;
}
/* ------------- Gallery CSS ---------------------- */
.rb_thumb_images {
	display: flex;
}
.rb_thumb_image img {
	width: 88px;
	height: 88px;
}
.rb_product_gallery_mobile :is(.slidePrev-btn, .slideNext-btn) {
	background: transparent;
	box-shadow: none;
	color: #3535ff;
	font-size: 32px!important;
}
.slidePrev-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	font-size: 20px!important;
	width: 30px;
	height: 30px;
	border-radius: 50px!important;
	box-shadow: 0 0 10px 0 #00000021;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	right: 10px;
	z-index: 999;
}
.slideNext-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	font-size: 20px!important;
	width: 30px;
	height: 30px;
	border-radius: 50px!important;
	box-shadow: 0 0 10px 0 #0000003d;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	left: 10px;
	z-index: 999;
}
.rb_thumb_images .rb_thumb_image {
	margin: 15px 11px;
	border-radius: 5px;
	overflow: hidden;
	opacity: .6;
	cursor: pointer;
	position: relative;
}
.rb_thumb_image.last_thumb {
	opacity: .5;
}
.rb_thumb_image.last_thumb::before {
	content: "...";
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	font-size: 33px;
	z-index: 9999;
	color: #fff;
	width: 30px;
	height: 30px;
	justify-content: center;
	align-items: flex-end;
	display: flex;
	padding-top: 35px;
}
.rb_thumb_image.last_thumb::after {
	position: absolute;
	content: "";
	width: 30px;
	height: 30px;
	background: #000000a3;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	border-radius: 50%}
.rb_thumb_images .rb_thumb_image:hover {
	opacity: 1;
}
.rb_popup_mask {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9998;
	background: #0000003b;
	top: 0;
	right: 0;
	transition: .3s ease;
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
}
.rb_gallery_tab_title {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #e0e0e0;
}
.rb_gallery_popup div {
	border-radius: 0;
}
.rb_gallery_popup {
	position: fixed;
	right: 50%;
	top: 50%;
	transform: translate(50%, -50%);
	z-index: 99999999;
	background: #fff;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
	min-width: 70vw;
	min-height: 85vh;
	border-radius: 10px;
	opacity: 0;
	transition: .3s ease;
	visibility: hidden;
	padding: 15px;
	max-width: 1000px;
	max-height: 90vh;
}
.seller_name {
	font-size: 13px;
	padding: 4px 5px;
	min-width: 125px;
}
.rb_active_popup {
	opacity: 1 !important;
	visibility: visible !important;
}
.rb_popup_close_btn {
	position: absolute;
	left: 15px;
	top: 30px;
	font-size: 40px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
}
.rb_gallery_tab_title .tab_title {
	padding-bottom: 15px;
	margin-left: 15px;
	position: relative;
	cursor: pointer;
}
.tab_title_active {
	color: var(--main-color);
}
.tab_title_active::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 4px;
	background-color: var(--main-color);
	border-radius: 4px 4px 0 0;
}
.rb_gallery_tab_content .tab_content {
	width: 100%;
	display: none;
	padding: 15px;
}
.rb_gallery_tab_content .tab_content.tab_content_active {
	display: flex;
}
.main_gellery {
	flex: 0 0 50%;
	max-width: 50%}
.thumb_gallery {
	flex: 0 0 50%;
	max-width: 50%}
.rb_gallery_popup .slidePrev-btn, .rb_gallery_popup .slideNext-btn {
	border-radius: 50%}
.z_index_1 {
	z-index: 1!important;
}
.overflow_h {
	overflow: hidden!important;
}
.rb_gallery_popup .swiper-slide img {
	max-height: 450px;
}
.thumb_gallery .swiper-wrapper .swiper-slide img {
	width: 80px;
	height: 80px;
	border: 1px solid #c1c1c1;
	border-radius: 5px;
	cursor: pointer;
}
.thumb_gallery .swiper-wrapper .swiper-slide.swiper-slide-thumb-active img {
	border: 2px solid #0115b6;
}
.rb_gallery_popup .swiper-slide {
	cursor: zoom-in;
	overflow: hidden;
}
.rb_gallery_popup .swiper-slide.zoom_active {
	cursor: zoom-out;
}
.rb_gallery_popup .swiper-slide.zoom_active img {
	-webkit-transform: scale(2);
	transform: scale(2);
	position: relative;
}
.rb_product_gallery_mobile .swiper-pagination {
	bottom: 8px;
}
.rb_product_gallery_mobile {
	padding-bottom: 30px!important;
}
@media( max-width:991px ) {
	.tab_title {gap: 12px;}
	body .tab_title li{font-size: 13px;}
	.tabs_content_wrap {padding: 30px 15px !important;margin-bottom: 15px;}
	body .rb_gallery_popup .thumb_gallery {
		margin-top: 20px;
	}
	.thumb_gallery h4 {
		display: none;
	}
	.rb_gallery_tab_content .tab_content.tab_content_active {
		flex-wrap: wrap;
	}
	body .rb_gallery_popup {
		width: 100vw;
		height: 100vh;
		max-width: 400px;
		max-height: 100vh;
	}
}
@media( min-width:991px ) {
	.rb_gallery_popup .swiper-slide {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	body .rb_gallery_popup {
		overflow-y: auto;
	}
	.homedish_users_rating {
		margin-right: 15px!important;
	}
	.thumb_gallery .swiper-wrapper {
		transform: none!important;
		display: flex;
		flex-wrap: wrap;
	}
	.thumb_gallery	.swiper-slide-duplicate {
		display: none;
	}
	.thumb_gallery .swiper-wrapper .swiper-slide {
		flex: 0 0 23%;
		width: 23%!important;
		margin: 5px 1%!important;
	}
}
.rb_product_gallery_mobile .swiper-slide.video svg {
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	background: #ffffffbd;
	width: 50px;
	height: 50px;
	border-radius: 50px;
}
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
	transition: .3s all;
}

.rb_thumb_images .rb_thumb_image {
	margin: 10px 3px;
	border-radius: 5px;
	overflow: hidden;
	opacity: .6;
	cursor: pointer;
	position: relative;
	max-width: 68px;
}
.rb_thumb_image.last_thumb {
	opacity: .5;
}
.rb_thumb_image.last_thumb::before {
	content: "...";
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	font-size: 33px;
	z-index: 9999;
	color: #fff;
	width: 30px;
	height: 30px;
	justify-content: center;
	align-items: flex-end;
	display: flex;
	padding-top: 35px;
}
.rb_thumb_image.last_thumb::after {
	position: absolute;
	content: "";
	width: 30px;
	height: 30px;
	background: #000000a3;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	border-radius: 50%}
.rb_thumb_images .rb_thumb_image:hover {
	opacity: 1;
}
.rb_popup_mask {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9998;
	background: #0000003b;
	top: 0;
	right: 0;
	transition: .3s ease;
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
}
.rb_gallery_tab_title {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	border-bottom: 1px solid #e0e0e0;
}
.customer_gallery_tab_content h4 {
	font-size: 15px;
}
.rb_gallery_tab_title .tab_title {
	padding-bottom: 15px;
	margin-left: 15px;
	position: relative;
	cursor: pointer;
}
.tab_title_active {
	color: var(--green-color);
}
.tab_title_active::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 4px;
	background-color: var(--main-color);
	border-radius: 4px 4px 0 0;
}
.main_gallery_tab_content h4 {
	font-size: 16px;
	font-weight: 700;
}
.rb_gallery_tab_content .tab_content {
	width: 100%;
	display: none;
	padding: 15px;
}
.rb_gallery_tab_content .tab_content.tab_content_active {
	display: flex;
}
.main_gellery {
	flex: 0 0 65%;
	max-width: 65%}
.thumb_gallery {
	flex: 0 0 35%;
	max-width: 35%}
.rb_gallery_popup .slidePrev-btn, .rb_gallery_popup .slideNext-btn {
	border-radius: 50%}
.z_index_1 {
	z-index: 1!important;
}
.overflow_h {
	overflow: hidden!important;
}
.rb_gallery_popup .swiper-slide img {
	max-height: 450px;
	border-radius: 10px;
	object-fit:  cover;
}
.thumb_gallery .swiper-wrapper .swiper-slide img {
	width: 80px;
	height: 80px;
	border: 1px solid #c1c1c1;
	border-radius: 5px;
	cursor: pointer;
}
.thumb_gallery .swiper-wrapper .swiper-slide.swiper-slide-thumb-active img {
	border: 2px solid #0115b6;
}
.rb_gallery_popup .swiper-slide {
	cursor: zoom-in;
	overflow: hidden;
	height: auto;
}
.rb_gallery_popup .swiper-slide.zoom_active {
	cursor: zoom-out;
}
.rb_gallery_popup .swiper-slide.zoom_active img {
	-webkit-transform: scale(2);
	transform: scale(2);
	position: relative;
}
.rb_product_gallery_mobile .swiper-pagination {
	bottom: 0;
	width: 100%!important;
}
.rb_product_gallery_mobile {
	padding-bottom: 30px;
}
.rb_thumb_images {
	display: flex;
}
.colors input[type="radio"] {
	display: none;
}
@media( min-width:992px ) {
	body .rb_gallery_popup {
		max-width: 1000px;
	}
}@media screen and (max-width: 991px) and ( min-width: 565px ) {
	body .rb_gallery_popup .main_gellery, body .rb_gallery_popup .thumb_gallery {
		flex: 0 0 50%;
		max-width: 50%}
	body .rb_popup_close_btn {
		top: 45px;
	}
	body .rb_gallery_popup {
		padding-top: 45px;
	}
}
@media screen and (max-width: 565px) {
	body .rb_gallery_popup .main_gellery, body .rb_gallery_popup .thumb_gallery {
		flex: 0 0 100%;
		max-width: 100%}
	body .rb_popup_close_btn {
		top: 120px;
		font-size: 50px;
	}
	body .rb_gallery_popup {
		padding-top: 120px;
	}
}



@media screen and (max-width: 768px) {
	.thumb_gallery h4 {
		display: none;
	}
	.rb_gallery_tab_content .tab_content.tab_content_active {
		flex-wrap: wrap;
	}
	body .rb_gallery_popup {
		width: 100vw;
		height: 100vh;
		max-width: 100vw;
		max-height: 100vh;
	}
}
.zoom-box {
	position: relative;
}
.zoom-box img , .rb_product_gallery_mobile img {
	width: 100%;
	vertical-align: bottom;
}
.zoom-box .zoom-selector {
	position: absolute;
	background-color: rgba(239, 57, 78, 0.1);
	border: 2.5px solid #ef5661;
	background-repeat: repeat;
	display: none;
	cursor: crosshair;
}
.zoom-box .viewer-box {
	right: 100%;
	left: auto!important;
	z-index: 999;
	position: absolute;
	border: 1px solid #efedf0;
	display: none;
	overflow: hidden;
}
.zoom-box .viewer-box > img {
	position: absolute;
	left: 0;
	top: 0;
	width: 1500px!important;
	height: auto!important;
	max-width: 1500px!important;
}
.main_gellery video {
	max-height: 500px;
}

@media( min-width:768px ) {
	body .rb_thumb_images .rb_thumb_image {
		margin: 15px 1.5px 0;
		flex: 0 0 20%;
		max-width: 20%}
	.thumb_gallery .swiper-wrapper {
		transform: none!important;
		display: flex;
		flex-wrap: wrap;
	}
	.thumb_gallery	.swiper-slide-duplicate {
		display: none;
	}
	.thumb_gallery .swiper-wrapper .swiper-slide {
		flex: 0 0 23%;
		width: 23%!important;
		margin: 5px 1%!important;
	}
}

@media screen and (max-width: 768px) {
	.rb_product_gallery_mobile {z-index: 9999;}
	.rb_product_gallery_mobile .slideNext-btn, .rb_product_gallery_mobile .slidePrev-btn {
		font-weight: 700;
		font-size: 36px;
	}
}
/* ------------- END Gallery CSS ---------------------- */




@media (max-width: 768px){
	.product_favorite_btn	{
		position: absolute !important;
		top: 10px;
		right: 10px;
		background: #fff;
		border: 0;
	}
	.product_content {padding: 10px 0;}
	.flex-control-nav{
		margin: 20px auto 20px !important;
	}
	.product_attributes_wrap{
		flex-direction: column;
	}
	#product_variations_form{
		gap: 10px;
		flex-direction: column;
	}
	.tadris_advantages{display: none;}
	#reviews li .comment-body
	{
		background: #ffffffd6;
		padding: 10px;
		font-size: 12px;
	}
	#reviews li .comment-body a {font-size: 12px;}
	.comment-content p	{
		font-size: 11px;
		margin-right: 0;
		margin-top: 5px;
	}
	.insert_comment_popup{
		min-width: 95%;
	}
}