/* --------------------
Single Product
-------------------- */
/***** Group attributes *****/
table.shop_attributes {
    width: 100%;
	text-align: right;
}
table.shop_attributes * {
	vertical-align: middle;
}
table.shop_attributes.type-1 .attribute-inner-table-wrapper{
	display: none;
}
table.shop_attributes.type-3 .attribute-inner-table-wrapper{
	display: none;
}
table.shop_attributes.type-3 tr:nth-child(2) .attribute-inner-table-wrapper{
	display: block;
}
table.shop_attributes .attribute_group_row th{
    padding: 10px 30px;
    border: 1px solid #dddddd;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .4s;
}
tr.attribute_group_row.open th {
    border:1px solid #a1a0a0;
    border-bottom: transparent;
    border-radius: 5px 5px 0 0;
    color: var(--color2);
}
table.shop_attributes .attribute_group_row th:after{
    content: '';
    width: 10px;
    height: 10px;
    border: 2px solid #d3d3d3;
    display: inline-block;
    transform: rotate(45deg);
    border-top: none;
    border-left: none;
    transition: .4s;
}
table.shop_attributes .attribute_row table {
    width: 100%;
}
table.shop_attributes .attribute_row table th , table.shop_attributes .attribute_row table td{
	padding: 5px 15px;
}
table.shop_attributes .attribute_row_open .attribute-inner-table-wrapper{
    display: block;
}
table.shop_attributes .attribute_row table th{
    width: 120px;
    color: #8f8f8f;;
}
table.shop_attributes .attribute_row td{
    width: 100%;
    display: block;
}
table.shop_attributes .attribute_row{
    margin-bottom: 25px;
    display: block;

    border-top: none;

}
table.shop_attributes.type-1 .attribute-inner-table-wrapper{
    border: 1px solid #a1a0a0;
    border-radius: 0 0 5px 5px;
    border-top: none;
    padding-bottom: 20px;
}
.attribute-inner-table-wrapper:before {
    content: '';
    width: calc(100% - 60px);
    margin-right: 30px;
    height: 1px;
    background: #dddddd;
    display: block;
    margin-bottom: 10px;
}
table.shop_attributes .attribute_group_row.open th:after {
    transform: rotate(-135deg);
    border-color: #a1a0a0;
}


/***** tabs *****/
.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 90px;
    margin-bottom: 20px;
}
.tabs.wc-tabs {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.tabs.wc-tabs li{
    position: relative;
    font-family: var(--bold_font);
	background: #F6F6F6;
border-radius: 8px;
}
.tabs.wc-tabs li a{
	padding: 9px 20px;
    transition: .4s;
    display: inline-block;
    position: relative;
    text-align: center;
    width: 100%;
    color: #262626;
    font-size: 15px;
}
.tabs.wc-tabs li a:hover{
    color: var(--color1);
}
.tabs.wc-tabs li a:before{
    content: '';
    height: 2px;
    background: var(--color2);
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    transition: 0.3s;
    transform: scale(0);
}
.tabs.wc-tabs li.active{
    background:var(--color1);
}
.tabs.wc-tabs li.active a{
    color:#fff;
}
.woocommerce-product-attributes-item th,
.woocommerce-product-attributes-item td {
	background: #F6F6F6;
    border: 1px solid #F6F6F6;
    border-radius: 10px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
}
.woocommerce-product-attributes-item {
   display: flex;
    gap: 20px;
    margin-bottom: 18px;
	flex-wrap: nowrap;
}
.woocommerce-product-attributes .woocommerce-product-attributes-item:nth-child(2n) td ,
.woocommerce-product-attributes .woocommerce-product-attributes-item:nth-child(2n) th {
   background:#FFF;
}

th.woocommerce-product-attributes-item__label {
    flex: 0 0 23%;
    max-width: 23%;
}
td.woocommerce-product-attributes-item__value {
    flex: 0 0 74%;
    max-width: 74%;
}
.title-technical {
    font-size: 18px;
    margin-bottom: 15px;
}

/*Swatches*/
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){
    padding: 0 !important;
    box-shadow:none !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):first-of-type{
    margin-right: 0 !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){
    margin: 0 5px !important;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: inset 0 0 1px 0 rgb(0 0 0);
}
.variations_form.cart .value.woo-variation-items-wrapper:after{
    display: none;
}
.gallery-images .onsale{
    position: absolute;
    right: 10px;
    z-index: 1;
    top: 10px;
    color: var(--color1);
    padding: 0 10px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #f9f9f9;
}
.summary .variations tr {
    margin-bottom: 15px !important;
    display: block;
}
#single-product-thumbnail .item {
position: relative;
cursor: pointer;
}
.woocommerce-MyAccount-content fieldset{
    border: 1px solid var(--color1);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.woocommerce-MyAccount-content fieldset legend{
    background: var(--color1);
    color: #fff;
    padding: 3px 30px;
    border-radius: 5px;
}
.woocommerce-product-details__short-description h2{
	color: #262626;
    font-size: 16px;
}

.woocommerce-account.woocommerce-orders .woocommerce-message,
.single-product .woocommerce-message {
    display: flex;
    flex-flow: row-reverse;
    justify-content: center;;
    align-items: center;
    flex-wrap: wrap;
}
.woocommerce-message .button {
    margin-right: 25px;
}
.summary > .price{
    margin: 10px 0;
}
.product_title.entry-title {
    font-size: 21px;
}

.posted_in {
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.posted_in a {
    color: #999;
}

.posted_in a:first-child {
    margin-right: 5px;
}

.posted_in a:hover {
    color: var(--color2);
}
h2.title-short {
    color: #262626;
    font-size: 16px;
}
.posted_in a::after {
    content: '|';
    display: inline-block;
    margin: 0 5px;
    color: #999 !important;
    pointer-events: none;
    font-size: 8px;
}
.catalog-sec {
    display: flex;
    gap: 10px;
    margin: 28px 0;
	flex-wrap: wrap;
}
.download-ctg {
    background: #FFFFFF;
    box-shadow: 0px 12px 23px -9px rgba(57, 57, 57, 0.19);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.download-ctg i {
       font-size: 32px;
    color: #b7b7b7;
    transition: .3s;
    margin-left: 15px;
}
.download-ctg:hover i{
	color:var(--color1);
}
.posted_in a:last-child:after {
    display: none;
}
.summary.entry-summary {
    padding: 65px 0 0 0;
}
.sku_wrapper {
    margin-bottom: 10px;
    display: block;
    color: #999;
}

.sku_wrapper .sku{
    color: var(--color2);
    display: inline-block;
    margin-right: 5px;
}

.woocommerce-product-details__short-description {
    margin: 15px 0;
    color: #999;
}

.related.products {
    margin: 50px 0;
}
.nav-solo i ,
.nav-prd i {
    width: 32px;
    height: 32px;
	font-size: 12px;
}
.owl-nav.nav-solo ,
.owl-nav.nav-prd {
    top: calc(50% - 12px);
}

.category_post.cat-prd {
    border-top: 1px solid #EDEDED;
    padding-top: 5px;
    margin: 12px 0 12px 0;
}
.tagged_as a:after{
    content: '';
    width: 2px;
    height: 9px;
    background: #dcdcdc;
    display: inline-block;
    position: absolute;
    top: 11px;
    left: -9px;
}
.tagged_as a:hover{
    color: var(--color2);
}
.tagged_as a{
    display: inline-block;
    margin-left: 12px;
    margin-bottom: 10px;
    border-radius: 3px;
    position: relative;
    color: #000;
}

.tagged_as a:hover{
    color: var(--color2);
    border-color: var(--color2);
}

/* Comments */
.woocommerce p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    color: var(--color2);
    font-size: 20px; 
}
.woocommerce .stars span {
    display: flex;
	gap: 10px;
	margin-bottom: 5px;
}
.woocommerce p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: 'icomoon';
    text-indent: 0;
    content: "\e91f";
    transition: all 0.3s;
}
.woocommerce p.stars a:hover ~ a::before {
    content: '\e91f';
}
.woocommerce p.stars:hover a::before {
    content: '\e91d';
}
.woocommerce p.stars.selected a.active::before {
    content: '\e91d';
}
.woocommerce p.stars.selected a.active ~ a::before {
    content: "\e91f";
}
.woocommerce p.stars.selected a:not(.active)::before {
    content: '\e91d';
}
.comment-form-rating {
    display: inline-flex;
    align-items: center;
}
.comment-form-rating label{
    margin: 0 0 0 8px !important;
    background: transparent;
    font-size: 15px;
    color: #626262 !important;
}
.commentlist li{
    padding-right: 0;
}
.commentlist li:before,
.commentlist li:after {
    display: none !important;
}
#comments-single-prd .form-submit {
    flex: unset;
}
.attribute_group_row.open+.attribute_row .attribute-inner-table-wrapper {
    display: block !important;
}

#single-product-thumbnail .item{
	position:relative;
}
.singleunithumbs .swiper-slide:after,
#single-product-thumbnail .item:after{ 
	content:"";
	background: rgba(255, 255, 255, 0.4);
	inset:0;
	position:absolute;
	opacity:0;
	visibility:hidden;
	transition:.3s;
}
.singleunithumbs .swiper-slide:hover:after,
#single-product-thumbnail .item:hover:after{
	opacity:1;
	visibility:visible;
}
/* Gallery */
.woocommerce-product-gallery__image {
    text-align: center;
}
.woocommerce-product-gallery__trigger {
    position: absolute;
    left: 10px;
    z-index: 1;
    top: 10px;
    font-size: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #f9f9f9;
}
.woocommerce-product-gallery__trigger:before{
    content: "\e918";
    font-family: 'icomoon';
    font-size: 18px;
    color: var(--color1);
    transform: rotate(360deg) scaleX(-1.05);
    display: inline-block;
    transition: all 0.3s;
}
.woocommerce-product-gallery__trigger:hover{
    background: var(--color1);
}
.woocommerce-product-gallery__trigger:hover:before,
.woocommerce-product-gallery__trigger:hover:after{
    color: #fff;
}
.flex-control-thumbs .owl-stage-outer {
    padding: 10px 0;
}
.flex-control-thumbs{
    padding: 0 30px;
}

.flex-control-thumbs li{
    border-radius: 5px;
    overflow: hidden;
}
.flex-control-thumbs .owl-nav button{
    line-height: 1 !important;
}
.flex-control-thumbs .owl-nav button i{
    font-size: 16px !important;
    color: #d3d3d3;
}
.flex-control-thumbs .owl-nav {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    pointer-events: none;
}
.flex-control-thumbs .owl-nav button {
    pointer-events: auto;
    color: var(--color1);
    transition: all 0.3s;
    font-size: 20px !important;
}
.flex-control-thumbs .owl-nav button:hover{
    color: var(--color2);
}
.pswp__caption__center {
    text-align: center;
}
.gallery-images{
    position: relative;
}
.flex-control-nav li:hover{
    border: 1px solid var(--color2);
}
.flex-control-nav li{
	border: 1px solid #e2e2e2;
	border-radius: 5px;
	cursor: pointer;
	transition: .4s;
}

#single-product-thumbnail img{
	border-radius:5px;
}
#single-product-slider {
    margin-bottom: 20px;
}

.variations_form.cart select {
    display: block;
}
#tab-title-reviews {
    display: none;
}

.variations_form.cart .variations {
    width: 100%;
}

.variations .value {
    display: block;
}

.variations .label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.reset_variations:hover{
    background: white;
    color: var(--color2) !important;
}
.reset_variations {
    margin: 10px 0;
    display: inline-block !important;
    background: var(--color2);
    border:1px solid var(--color2);
    color: #fff !important;
    border-radius: 5px;
    padding: 0 10px;
    transition: .4s;
}

.variations_form.cart select {
    width: 100%;
    -webkit-appearance: none;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-family: inherit;
    border-radius: 5px;
    color: #8b8b8b;
}

.variations_form.cart .value{
    position: relative;
}

.variations_form.cart .value:after{
    content: '';
    border: solid #d5d5d5;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3.5px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    left: 20px;
    top: 16px;
}

.woocommerce-variation-availability {
    margin: 15px auto;
}

.summary > .stock.in-stock,
.woocommerce-variation-availability .stock.in-stock{
    background: #f9fafb;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary > .stock.in-stock:before,
.woocommerce-variation-availability .stock.in-stock::before {
    content: 'موجودی:';
    color: #999;
}

.summary .price > span:before,
.summary .price ins:before{
    content: 'قیمت محصول:';
    font-size: 15px;
    color: #222;
}

.summary .price del{
    text-align: left;
    display: block;
    color: #999;
    margin-bottom: -8px;
}

.summary .price > span,
.summary .price ins {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}

.summary .price > span,
.summary .price ins span{
    font-size: 20px;
    color: var(--color2);
}

.product-type-variable .summary > .price{
    display: none;
}

.summary .cart .button {
    flex: 0 0 63%;
    max-width: 63%;
    margin-bottom: 10px;
    height: 40px;
}

.summary .cart .quantity{
    flex: 0 0 32%;
    max-width: 32%;
    padding: 0;
}
.woocommerce-variation-add-to-cart{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.onsale{
    display: none;
}
form .quantity {
    height: 40px;
    margin-top: -10px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 5px;
    background: #f6f6f6;
    padding: 0 8px;
}

form .quantity input::-webkit-outer-spin-button,
form .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

form .quantity input {
    -webkit-appearance: none;
    border: none !important;
    text-align: center !important;
    -moz-appearance: textfield;
    width: 50px !important;
    margin: 0 !important;
    height: auto !important;
    font-size: 16px;
    background: none;
}
#single-product-slider img{
	width:100%
}

form .quantity button {
    background: none;
    border: none;
    width: 27px;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

form .quantity button:hover{
    color: var(--color2);
}

.product-quantity .quantity {
    max-width: 150px;
    margin: 0 auto;
}

.product-name .variation {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.button.wc-backward {
    margin-top: 15px;
}
.woocommerce-product-gallery{
    position: relative;
}
.product-meta-top{
    font-size: 16px;
    display: flex;
    align-items: center;
    direction: ltr;
    justify-content: flex-start;
    margin-bottom: 5px;
}
.product-meta-top a {
    margin-left: 8px;
}
.tabs.wc-tabs {
   gap:25px;
}
@media screen and (max-width: 576px) {
    .tabs.wc-tabs li {
        width: 45%;
    }
	.tabs.wc-tabs {
    justify-content: space-between;
}
td.woocommerce-product-attributes-item__value,
th.woocommerce-product-attributes-item__label {
    flex: 0 0 100%;
    max-width: 100%;
}
.woocommerce-product-attributes-item {
    flex-wrap: wrap;
	gap: 5px;
}
.tabs.wc-tabs li a {
    padding: 5px 10px;
    font-size: 14px;
}
}
@media screen and (min-width: 576px) {
    
 
    .summary .cart:not(.variations_form ),
    .woocommerce-variation-add-to-cart {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

}
@media screen and (max-width: 992px) {
    table.shop_attributes .attribute_group_row th {
        padding: 10px 15px;
    }
	.summary.entry-summary {
    padding: 0;
	}
	.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 5px;
}
}
@media screen and (min-width: 992px) {
    table.shop_attributes .attribute_row table th {
        width: 250px;
        padding-right: 35px;
    }
    .product-meta-top:hover a{
        opacity: 1;
    }
    .product-meta-top a{
        opacity: 0;
    }
}