

/* Start:/local/templates/tpropm/components/bitrix/catalog.element/.default/style.css?17811231886710*/
.product-main {
	padding: 2rem 0 4rem;
}
.product-grid {
	display: grid;
	grid-template-columns: 4fr 5fr;
	gap: var(--gutter);
	align-items: start;
}

/* Gallery */
.gallery-main {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	margin-bottom: 1rem;
	position: relative;
}
.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}
.gallery-main:hover img {
	transform: scale(1.03);
}
.gallery-thumbs {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}
.gallery-thumb {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: var(--radius-sm);
	border: 2px solid var(--border);
	overflow: hidden;
	cursor: pointer;
	background: var(--bg);
	transition: border-color 0.2s;
}
.gallery-thumb.active,
.gallery-thumb:hover {
	border-color: var(--accent);
}
.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.3rem 0.75rem;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
}

/* Product info */
.product-info {
	min-width: 0;
}
.product-info h1 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: 0.75rem;
}
.product-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.product-rating .stars {
	color: var(--accent);
	letter-spacing: 2px;
	font-size: 0.9375rem;
}
.product-rating .reviews {
	font-size: 0.8125rem;
	color: var(--muted);
}
.product-price {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--fg);
	margin-bottom: 1.5rem;
}
.product-price .old-price {
	font-size: 1.125rem;
	font-weight: 400;
	color: var(--muted);
	text-decoration: line-through;
	margin-left: 0.75rem;
}
.product-actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}

/* Specs table */
.specs-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
.specs-table tr {
	border-bottom: 1px solid var(--border);
}
.specs-table td {
	padding: 0.75rem 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.specs-table td:first-child {
	color: var(--muted);
	width: 140px;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Color chips */
.color-chips {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}
.color-chip {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--border);
	cursor: pointer;
	transition: border-color 0.2s, transform 0.2s;
	position: relative;
}
.color-chip:hover,
.color-chip.active {
	border-color: var(--fg);
	transform: scale(1.1);
}
.color-chip.active::after {
	content: '';
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	border: 2px solid #fff;
}

/* Tabs */
.product-tabs {
	margin-top: 3rem;
	border-top: 1px solid var(--border);
}
.tab-nav {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--border);
}
.tab-btn {
	padding: 1rem 1.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted);
	background: none;
	border: none;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover {
	color: var(--fg);
}
.tab-btn.active {
	color: var(--fg);
	border-bottom-color: var(--accent);
}
.tab-content {
	padding: 2rem 0;
	display: none;
}
.tab-content.active {
	display: block;
}
.tab-content p {
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.8;
	max-width: 680px;
}
.tab-content ul {
	margin-top: 1rem;
	display: grid;
	gap: 0.75rem;
}
.tab-content ul li {
	padding-left: 1.5rem;
	position: relative;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.tab-content ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

/* Related */
.related-section {
	padding: 4rem 0;
	border-top: 1px solid var(--border);
}
.related-section h2 {
	margin-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 0;
	font-size: 0.8125rem;
	color: var(--muted);
}
.breadcrumbs a {
	color: var(--muted);
	transition: color 0.2s;
}
.breadcrumbs a:hover {
	color: var(--fg);
}
.breadcrumbs span {
	color: var(--fg);
}


/* ── Price Table ── */
.price-table-wrap {
	margin-bottom: 2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.price-table-title {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1rem;
}
.price-table {
	width: 100%;
	min-width: 580px;
	border-collapse: collapse;
	font-size: 0.875rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.price-table thead {
	background: oklch(from var(--accent) l c h / 0.06);
}
.price-table th {
	padding: 0.875rem 1rem;
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: var(--fg);
	text-align: left;
	border-bottom: 2px solid var(--border);
	line-height: 1.4;
	white-space: nowrap;
}
.price-table th:first-child {
	padding-left: 1.25rem;
}
.price-table th small {
	font-weight: 400;
	font-size: 0.6875rem;
	color: var(--muted);
	display: block;
	line-height: 1.3;
	margin-top: 2px;
}
.price-table td {
	padding: 1rem;
	border-bottom: 1px solid var(--border);
	line-height: 1.5;
	vertical-align: top;
}
.price-table td:first-child {
	font-weight: 600;
	color: var(--fg);
	white-space: nowrap;
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
}
.price-table td:not(:first-child) {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
}
.price-table td small {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--muted);
	display: block;
	margin-top: 1px;
}
.price-table tbody tr:last-child td {
	border-bottom: none;
}
.price-table tbody tr:hover {
	background: oklch(from var(--accent) l c h / 0.03);
}
.price-table-note {
	font-size: 0.75rem;
	color: var(--muted);
	margin-top: 0.75rem;
	line-height: 1.5;
}


/* Responsive */
@media (max-width: 900px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
	.gallery-thumbs {
		justify-content: flex-start;
	}
}
@media (max-width: 768px) {
	.tab-nav {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.tab-btn {
		padding: 0.75rem 1rem;
		font-size: 0.8125rem;
		white-space: nowrap;
	}
}
/* End */
/* /local/templates/tpropm/components/bitrix/catalog.element/.default/style.css?17811231886710 */
