/* Layout */
.single-product__back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 1.25rem;
	color: #fff;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.single-product__back-link:hover {
	opacity: 1;
}

.single-product__back-arrow,
.single-product__back-text {
	color: inherit;
}

.single-product__back-text {
	line-height: 1.2;
}

.custom-variations {
	margin: 20px 0;
}

/* Variation picker */
.variation-group {
	margin-bottom: 20px;
}

.variation-label {
	font-size: 14px;
	margin-bottom: 8px;
	color: #aaa;
}

.variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.variation-btn {
	background: #000;
	border: 2px solid #555;
	color: #fff;
	cursor: pointer;
	min-width: 60px;
	padding: 10px 16px;
	text-align: center;
	opacity: 0.8;
	transition: all 0.2s ease;
}

.variation-btn:hover {
	border-color: #fff;
	opacity: 1;
}

.variation-btn.active {
	background: #ddd;
	border-color: #ddd;
	color: #000;
	opacity: 1;
}

.single_variation_wrap {
	display: flex;
	flex-wrap: wrap;
	margin-top: 20px;
}

.variations_button {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-family: "Inter", sans-serif;
	font-weight: 400 !important;
}

.variations_button button {
	font-weight: 400 !important;
}

.quantity input {
	display: none;
	width: 100px !important;
	padding: 10px;
	border: 1px solid #fff !important;
	border-radius: 0;
	background: transparent;
	color: #fff;
	text-align: right;
}

.single_add_to_cart_button {
	background: #ddd !important;
	border: 1px solid #fff !important;
	border-radius: 0 !important;
	color: #000 !important;
	cursor: pointer !important;
	padding: 14px 30px !important;
	text-decoration: underline !important;
	transition: background 0.3s;
}

.single_add_to_cart_button:hover {
	background: #000 !important;
	color: #fff !important;
}

.product-one-click {
	background: #000 !important;
	border: 1px solid #fff !important;
	border-radius: 0 !important;
	color: #fff !important;
	cursor: pointer !important;
	padding: 14px 30px !important;
	text-decoration: underline !important;
	transition: all 0.3s;
}

.product-one-click:hover {
	background: #ddd !important;
	color: #000 !important;
}

.product_title {
	font-size: 2.2rem;
}

.price-rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row-reverse;
}

.price-rating-row > .price {
	margin-right: auto;
	margin-left: 0 !important;
	color: #d4af63 !important;
	font-size: 2rem !important;
}

.woocommerce-product-rating {
	margin: 0 !important;
}

.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: #dcad48;
}

.product_meta {
	display: none;
}

.variation-color {
	width: auto;
	height: 45px;
}

.product-attributes {
	display: flex;
	gap: 40px;
	margin-top: 10px;
	margin-bottom: 20px;
}

.attr-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.attr-label {
	color: #aaa;
	font-size: 13px;
}

.attr-value {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
}

.product-description {
	color: #ddd;
	line-height: 1.6;
}

.product-section-title {
	margin: 0 !important;
	color: #fff;
	font-size: 20px;
	font-weight: 600;
}

.product-attributes-wrapper {
	margin-top: 30px;
}

.product-description-wrapper {
	margin-top: 25px;
}

.woocommerce-tabs ul.tabs {
    display: none;
}

.woocommerce-tabs {
    border: none;
    padding: 0;
    margin-top: 60px;
}

.woocommerce-Tabs-panel {
	padding-top: 25px !important;
}

/* заголовок */
.woocommerce-Reviews-title {
	margin-bottom: 25px;
	font-size: 2rem;
	font-weight: 600;
}

ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.commentlist .review {
	display: flex;
	gap: 15px;
	border-bottom: 1px solid #ffffff60 !important;
}

.woocommerce .star-rating {
	float: left !important;
}

.commentlist .avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #ccc;
}

.commentlist .woocommerce-review__author {
	font-size: 16px;
	font-weight: 500;
}

.commentlist .star-rating {
	margin: 5px 0;
}

.commentlist .description {
	color: #ccc;
	line-height: 1.5;
}

.comment-text {
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

#review_form {
	margin-top: 40px;
}

#review_form .comment-reply-title {
	margin-bottom: 10px;
	font-size: 1.4rem;
	font-weight: 600;
}

#review_form .comment-notes {
	margin-bottom: 20px;
	font-size: 14px;
	opacity: 0.6;
}

#review_form form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#review_form textarea {
	width: 100%;
	min-height: 140px;
	padding: 12px;
	resize: none;
	border: 1px solid #444;
	background: transparent;
	color: #fff;
}

#review_form .comment-form-author,
#review_form .comment-form-email {
	width: 100%;
}

#review_form .comment-form {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
}

#review_form .comment-form-comment {
	grid-column: 1 / -1;
}

#review_form .comment-form-rating {
	grid-column: 1 / -1;
}

#review_form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 10px;
	grid-column: 1 / -1;
	font-size: 14px;
	opacity: 0.8;
}

#review_form input[type="text"],
#review_form input[type="email"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #444;
	background: transparent;
	color: #fff;
}

#review_form label {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
}

#review_form .form-submit {
	grid-column: 1 / -1;
	text-align: center;
}

#review_form .submit {
	margin-top: 15px;
	padding: 12px 30px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: 0.3s;
}

#review_form .submit:hover {
	background: #fff;
	color: #000;
}

.woocommerce-noreviews {
	margin: 40px 0;
	font-size: 18px;
	text-align: center;
	opacity: 0.5;
}
