/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 08 2026 | 12:06:40 */
/* =====================================================================
   Карточка товара: артикул, заголовок, таблица вариаций / исполнения
   (сниппет 013), цена.
   (08.10.2026, сведено из записей «Карточка товара», части Tables и Text.)
   ===================================================================== */

/* ===== Таблица вариаций / исполнения ===== */
table.prod_attr_table {
	border: 1px solid white;
}
table.prod_attr_table td {
	vertical-align: middle;
}
table.prod_attr_table a.image {
	display: inline-block;
	overflow: hidden;
	vertical-align: middle;
	border: 1px solid white;
}
table.prod_attr_table a img {
	transition: transform 0.3s ease;
	display: block;
}
table.prod_attr_table a:hover img {
	transform: scale(1.1);
}

/* ===== Артикул и заголовок ===== */
.woocommerce .prod-art {
	display: block;
}
@media (orientation: landscape) and (max-width: 1024px) {
	#content h1.product_title {
		margin-top: 0;
		margin-bottom: 0.5em;
	}
	.prod-art {
		margin-top: 0.5em;
		display: block;
	}
}
@media (orientation: portrait) and (max-width: 1024px) {
	#content h1.product_title {
		margin-top: 0;
		margin-bottom: 0.5em;
	}
	.prod-art {
		margin-top: 0.5em;
		display: block;
	}
}

/* Пустые ячейки, которыми выравниваются строки таблицы вариаций */
td.empty-td {
	padding: 0 !important;
}

.prod_attr_table {
	border-radius: 2px;
}

/* Основной блок карточки — на всю ширину */
body.single-product div.product .summary {
	width: 100%;
	float: none;
	overflow: auto;
}
body.single-product .widget-area .widget_product_categories {
	display: block;
}
body.single-product .prod-art {
	font-size: 1.5em;
	color: gray;
}

td.variation-image {
	width: 5%;
}
td.variation-image img {
	max-width: none;
	max-height: 200px;
	width: auto;
}

.single-product div.product p.price {
	margin: 0;
}

@media (max-width: 768px) {
	.single-product div.product .summary {
		margin-bottom: 0 !important;
	}
}
