/* Название товара */
.single-product .product_title {
	font-size: 28px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0;
	line-height: 1.3;
}

/* Рейтинг и отзывы */
.woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	margin: 0 !important;
}

span.onsale {
	background: #39cb74;
	border-radius: 6px;
	padding: 5px;
	font-size: 10px;
}

.woocommerce-product-rating .star-rating {
	font-size: 16px;
	color: #f39c12;
}

.woocommerce-product-rating .woocommerce-review-link {
	color: #3498db;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.woocommerce-product-rating .woocommerce-review-link:hover {
	color: #2980b9;
}

/* Цена товара */
.single-product .price {
	font-size: 32px !important;
	font-weight: 700;
	color: #2c3e50;
	padding: 0;
	margin-bottom: 20px;
}

.single-product .price del {
	opacity: 0.6;
	font-size: 24px;
	font-weight: 400;
	color: #718096;
	margin-right: 15px;
}

.single-product .price ins {
	text-decoration: none;
	color: #e74c3c;
}

/* Таблица оптовых цен */
.wc-qty-tier-pricing {
	background: rgba(52, 152, 219, 0.05);
	padding: 20px;
	border-radius: 8px;
	margin: 20px 0;
}

.wc-qty-tier-pricing h4 {
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0 0 15px;
}

.wc-qty-tier-pricing table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
}

.wc-qty-tier-pricing table tr {
	background: #ffffff;
	transition: all 0.3s ease;
}

.wc-qty-tier-pricing table tr:hover {
	transform: translateX(5px);
	box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.wc-qty-tier-pricing table td {
	padding: 12px 16px;
	font-size: 14px;
	color: #2c3e50;
}

.wc-qty-tier-pricing table td:first-child {
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	font-weight: 500;
}

.wc-qty-tier-pricing table td:last-child {
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	text-align: right;
	font-weight: 600;
	color: #3498db;
}

.wc-qty-tier-pricing small {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: #718096;
	font-style: italic;
}

/* Количество товара */
.single-product .quantity {
	display: flex;
	align-items: center;
	background: #f7fafc;
	border-radius: 6px;
	padding: 5px;
	gap: 5px;
}

.single-product .quantity input.qty {
	width: 60px !important;
	height: 40px !important;
	text-align: center;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px !important;
	font-size: 16px;
	font-weight: 600;
	color: #2c3e50;
	transition: border-color 0.3s ease;
}

.single-product .quantity input.qty:focus {
	outline: none;
	border-color: #3498db;
}

/* Кнопки +/- */
.single-product .quantity .minus,
.single-product .quantity .plus {
	width: 35px !important;
	height: 35px !;
	background: #ffffff;
	border: 1px solid #e0e0e0 !important;
	border-radius: 6px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	color: #2c3e50;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.single-product .quantity .minus:hover,
.single-product .quantity .plus:hover {
	background: #3498db !important;
	color: #ffffff !important;
	border-color: #3498db !important;
	transform: scale(1.1);
}

.woocommerce div.product form.cart .button {
	vertical-align: middle;
	float: left;
	background: linear-gradient(135deg, #3498db, #2980b9);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.single-product span.onsale {
	background: #39cb74;
	border-radius: 6px !important;
	padding: 5px !important;
	font-size: 10px !important;
}

.woocommerce div.product form.cart div.quantity {
	background: transparent !important;
}

/* Мета информация о товаре */
.single-product .product_meta {
	padding: 20px;
	background: rgba(52, 152, 219, 0.05);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.8;
	border-top: 0;
}

.single-product .product_meta span {
	display: block;
	color: #4a5568;
}

.single-product .product_meta a {
	color: #3498db;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.single-product .product_meta a:hover {
	color: #2980b9;
}

/* Табы (Описание, Отзывы) */
.woocommerce-tabs {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	padding: 12px;
	margin-top: 30px;
}


/* Контент табов */
.woocommerce-Tabs-panel {
	padding: 20px 0;
}

.woocommerce-Tabs-panel h2 {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 20px;
}

.woocommerce-Tabs-panel h3 {
	font-size: 20px;
	font-weight: 600;
	color: #2c3e50;
	margin: 25px 0 15px;
}

.woocommerce-Tabs-panel p {
	font-size: 15px;
	line-height: 1.7;
	color: #4a5568;
	margin-bottom: 15px;
}

.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
	margin-left: 30px;
	margin-bottom: 15px;
}

.woocommerce-Tabs-panel li {
	font-size: 15px;
	line-height: 1.7;
	color: #4a5568;
	margin-bottom: 8px;
}

/* Форма отзывов */
#review_form_wrapper {
	margin-top: 30px;
}

#respond {
	background: rgba(52, 152, 219, 0.05);
	padding: 25px;
	border-radius: 8px;
}

#respond .comment-reply-title {
	font-size: 20px;
	font-weight: 600;
	color: #2c3e50;
	margin: 0 0 20px;
}

#commentform .comment-form-rating {
	margin-bottom: 20px;
}

#commentform .stars {
	display: flex;
	gap: 5px;
}

#commentform .stars a {
	color: #e0e0e0;
	font-size: 24px;
	text-decoration: none;
	transition: color 0.3s ease;
}

#commentform .stars a:hover,
#commentform .stars a.active {
	color: #f39c12;
}

#commentform textarea {
	width: 100%;
	padding: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
	resize: vertical;
	min-height: 120px;
	transition: border-color 0.3s ease;
}

#commentform textarea:focus {
	outline: none;
	border-color: #3498db;
}

#commentform .form-submit input[type="submit"] {
	background: linear-gradient(135deg, #3498db, #2980b9);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 12px 30px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

#commentform .form-submit input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Похожие товары */
.related.products {
	margin-top: 50px;
}

.separate-containers .inside-article {
	border-radius: 8px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}



@media screen and (max-width: 768px) {
	.woocommerce div.product form.cart div.quantity {
		width: 100%;
		justify-content: center;
	}

	.woocommerce div.product form.cart .button {
		width: 100%;
		margin-top: 20px;
	}
}