/* Tabs */
.attributes,
.product__description:not(.full-width),
.product__description-img,
.product-tab__content .second-part,
.product-tab__content .first-part{
	flex-basis: 48%;
}

.last{
	order: 1;
}

.product__description.full-width{
	flex-basis: 68%;
}

.product__description.full-width + .attributes{
	flex-basis: 28%;
	align-self: flex-start;
	flex-shrink: 0;
}

.product-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	border-bottom: unset;
	clear: both;
	margin-bottom: 40px;
	row-gap: 40px;
	column-gap: 20px;
}

.product-tab__label {
	display: flex;
	align-items: center;
	position: relative;
	color: #222222;
	font-size: 25px;
}

.product-tab__content {
	padding-top: 10px;
}

.product-tab__content img {
	width: 100%;
}

/* Product description */
/* .product-tab:nth-of-type(1).product-tab__content {
	display: flex;
	flex-direction: column;
} */

.product__description h2{
	font-size: 1.4rem;
	line-height: 1.9rem;
    font-weight: 600;
}

/* Product attributes  */
.product__details{
	width: 100%;
}

.product-tab.attributes .product-tab__label{
	display: none;
}

.woocommerce table.shop_attributes{
	border-top: unset;
	border-collapse: collapse;
	margin-block: 20px;
	border: var(--border);
    border-radius: var(--border-radius);
}

.woocommerce table.shop_attributes th{
	width: auto;
    text-align: left;
	padding: 14px 16px;
}

.woocommerce table.shop_attributes tr+tr th,
.woocommerce table.shop_attributes tr+tr td{
	border-top: var(--border);
	border-bottom: unset;
}

.woocommerce table.shop_attributes.woocommerce-product-attributes-item:last-child th,
.woocommerce table.shop_attributes.woocommerce-product-attributes-item:last-child td{
	border-bottom: unset;
}

.woocommerce table.shop_attributes td{
	font-style: normal;
}

/* Product VIDEO */
.product-video-360{
	width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: var(--border);
    align-items: center;
    border-radius: var(--border-radius);
	overflow: hidden;
	position: relative;
}

.product-video-360-ludek{
	position: absolute;
    bottom: 0;
    left: 10px;
}

/* Reviews */
.product-tab.reviews{
	width: 100%;
    padding-top: 40px;
}

.product-tab .woocommerce-noreviews{
	margin: 0;
}

.product-tab #link-button--start-review{
	margin-left: auto;
	margin-bottom: 20px;
	border-radius: 30px;
	font-family: var(--font-family-text);
}

.product-tab #comments{
	width: 100%;
	margin-bottom: 24px;
}

.woocommerce #reviews #comments ol.commentlist li{
	padding-left: 40px;
}

.woocommerce #reviews #comments ol.commentlist li img{
	border-radius: 50%;
}

#review_form_wrapper{
	width: 100%;
}

@media screen and (max-width: 992px){
	.product-tabs{
		margin-bottom: 0;
	}
	.product-tab.description{
		flex-basis: 100%;
	}
	.product-tab.attributes{
		flex-basis: 100%;
		padding-top: 0;
	}
}

@media screen and (min-width: 769px){
	.product-tab__content-wrapper{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}
	.product-tab__content img.product__description-img{
		max-width: 48%;
	}
	
}

@media screen and (max-width: 768px) {
	.product-tabs{
		display: flex;
		flex-direction: column;
		gap: 0;
	}
	.product-tab__label{
		cursor: pointer;
	}
	.product-tab__label:after{
		content: '';
		display: block;
		position: relative;
		width: 15px;
		height: 15px;
		opacity: 1;
		bottom: unset;
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		background-color: transparent;
		background-image: url("../../../icons/chevron-down-outline.svg");
		-webkit-transition: var(--transition);
		transition: var(--transition);
	}
	.product-tab.attributes .product-tab__label{
		display: flex;
	}
	.product-tab{
		margin-inline: -15px;
		border-block: var(--border);
	}
	.product-tab+.product-tab{
		border-top: unset;
	}
	.product-tab:last-child{
		padding-top: 0;
		width: auto;
	}
	.product-tab__label{
		display: flex;
		align-items: center;
		color: var(--color-headline);
		cursor: pointer;
		transition: var(--transition);
		width: 100%;
		border-radius: unset;
		padding: 15px;
		font-size: 0.875rem;
		font-weight: 500;
		justify-content: space-between;
		position: relative;
		border-inline: unset;
		background-color: transparent;
		pointer-events: all;
	}
	.product-tab__label span{
		font-size: 1.2rem;
		line-height: 1.7rem;
	}
	.product-tab__label span.underline:after{
		display: none;
	}
	.product-tab__content{
		padding: 0 15px;
		display: grid;
  		grid-template-rows: 0fr;
  		transition: grid-template-rows 0.5s ease-in-out;
	}
	.product-tab .product-tab__content{
		grid-template-rows: 1fr;
	}
	.product-tab.open .product-tab__content{
		grid-template-rows: 0fr;
	}
	.product-tab.open .product-tab__label:after{
		transform: rotate(180deg);
	}
	.product-tab.open .product-tab__content > div{
		overflow: hidden;
	}
	.product__description-img{
		display: none;
	}
	.product__description h2{
		font-size: 1.1rem;
		line-height: 1.6rem;
	}
	.product-tab .attributes{
		margin-block: 40px;
	}
	.product-video-360{
		border: unset;
	}
	.product-video-360 .video-360{
		height: 360px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.product-video-360 .video-360 iframe{
		transform: scale(0.5);
	}
	.product-video-360-ludek{
		width: 100px;
	}
}

@media screen and (max-width: 480px){
	.product-video-360-ludek{
		width: 80px;
	}
}