/*
 * Product single — production-parity layout (transporter-core).
 *
 * Mirrors transportershop.ge's Woodmart layout-builder product template (#14505),
 * measured on the live site at 1260 / 1536 / 1920px:
 *   container 1560px max, 36px side padding · main row 3fr | 1fr, 48px gap ·
 *   gallery 55% | details 45%, 21px gap · title Bebas 48/900 #333 ·
 *   grey buy box #F1F1F1, 30px padding, 5px radius, sticky · 48px buttons ·
 *   tabs #F5F5F5 with a 2px #AB1F1F active underline · related title Bebas 48.
 *
 * Markup: templates/product-single-page.php. Everything is scoped to
 * .trc-ps-page; !important is used only where WooCommerce's own .button / form
 * styles would otherwise win (same approach as trc-archive.css).
 */

/* ── Tokens + container ─────────────────────────────────────────── */
.trc-ps-page {
	--trc-ps-red: #C62D3C;
	--trc-ps-dark-btn: #3F3F3F;
	--trc-ps-text: #767676;
	--trc-ps-heading: #333333;
	--trc-ps-ink: #242424;
	--trc-ps-box: #F1F1F1;
	--trc-ps-box-dark: #111;        /* buy box — same surface as the transport price card */
	--trc-ps-box-dark-line: #222;
	--trc-ps-tab-bg: #F5F5F5;
	--trc-ps-tab-line: #AB1F1F;
	--trc-ps-tab-hover: #CE3131;
	--trc-ps-heart: #D22424;
	--trc-ps-font-display: var(--tr-font-display, "Bebas", "Gilroy Geo", sans-serif);
	--trc-ps-font-body: "FiraGo", sans-serif;
	--trc-ps-font-button: "Gilroy Geo", sans-serif;
	--trc-ps-font-latin: "Open Sans", Arial, Helvetica, sans-serif;
	--trc-ps-sticky-top: calc(var(--tr-header-h, 128px) + 24px);

	box-sizing: border-box;
	width: 100%;
	max-width: 1560px;
	margin: 0 auto;
	padding: 20px 36px 0;
	color: var(--trc-ps-text);
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	line-height: 1.6;
}
.trc-ps-page *,
.trc-ps-page *::before,
.trc-ps-page *::after { box-sizing: border-box; }

.trc-ps-page .trc-ps-ic { display: block; width: 100%; height: 100%; fill: currentColor; }
.trc-ps-page .trc-ps-ic--stroke {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* WooCommerce notices (e.g. "added to cart") above the breadcrumbs */
.trc-ps-page .woocommerce-notices-wrapper:empty { display: none; }
.trc-ps-page .woocommerce-notices-wrapper { margin: 0 0 16px; font-family: var(--trc-ps-font-body); font-size: 14px; }

/* ── Head: breadcrumbs, title, brand badge ──────────────────────── */
.trc-ps-page .trc-ps-head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 40px;
}
.trc-ps-page .trc-ps-bc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 2px 0 1px; /* production's breadcrumb widget is 25px tall around a 22px line */
	padding: 0 120px 0 0;
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 22.4px;
	color: var(--trc-ps-text);
}
.trc-ps-page .trc-ps-bc__link { color: var(--trc-ps-text); text-decoration: none; transition: color 0.2s ease; }
.trc-ps-page .trc-ps-bc__link:hover { color: var(--trc-ps-ink); }
.trc-ps-page .trc-ps-bc__sep { margin: 0 8px; color: var(--trc-ps-text); }
.trc-ps-page .trc-ps-bc__current { font-weight: 600; color: var(--trc-ps-ink); }

.trc-ps-page .trc-ps-head__row { display: block; }
.trc-ps-page .trc-ps-title {
	width: 80%;
	max-width: 80%;
	margin: 0;
	padding: 0;
	font-family: var(--trc-ps-font-display);
	font-size: 48px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: var(--trc-ps-heading);
}
.trc-ps-page .trc-ps-brand {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: block;
	width: 100px;
	height: 100px;
	padding: 10px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.25s ease;
}
.trc-ps-page a.trc-ps-brand:hover { box-shadow: 0 0 9px rgba(0, 0, 0, 0.12); }
.trc-ps-page .trc-ps-brand img {
	display: block;
	width: 80px;
	max-width: 80px;
	height: 80px;
	object-fit: contain;
}

/* ── Main grid: [top | buy] / [tabs | buy] ──────────────────────── */
.trc-ps-page .trc-ps-main {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	grid-template-areas:
		"top  buy"
		"tabs buy";
	column-gap: 48px;
	row-gap: 21px;
	align-items: start;
}
.trc-ps-page .trc-ps-top {
	grid-area: top;
	display: grid;
	grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
	column-gap: 21px;
	align-items: start;
	padding-bottom: 30px;
	min-width: 0;
}
.trc-ps-page .trc-ps-tabs { grid-area: tabs; min-width: 0; }
.trc-ps-page .trc-ps-buy { grid-area: buy; align-self: stretch; min-width: 0; }

/* ── Gallery ─────────────────────────────────────────────────────── */
.trc-ps-page .trc-ps-gallery {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 30px;
	min-width: 0;
}
.trc-ps-page .trc-ps-gallery.has-thumbs { grid-template-columns: 60px minmax(0, 1fr); }

.trc-ps-page .trc-ps-gallery__thumbs {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-height: 400px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}
.trc-ps-page .trc-ps-gallery__thumbs::-webkit-scrollbar { display: none; }
.trc-ps-page .trc-ps-gallery__thumb {
	flex: 0 0 auto;
	display: block;
	width: 60px;
	height: 63px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.trc-ps-page .trc-ps-gallery__thumb:hover { opacity: 0.75; }
.trc-ps-page .trc-ps-gallery__thumb.is-active { opacity: 0.5; }
.trc-ps-page .trc-ps-gallery__thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
	mix-blend-mode: multiply;
}

.trc-ps-page .trc-ps-gallery__stage { position: relative; min-width: 0; }
.trc-ps-page .trc-ps-gallery__slide { position: relative; }
.trc-ps-page .trc-ps-gallery__slide[hidden] { display: none; }
.trc-ps-page .trc-ps-gallery__link { display: block; cursor: zoom-in; }
.trc-ps-page .trc-ps-gallery__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 400px;
	margin: 0 auto;
	object-fit: contain;
	/* Product photos ship on a baked-in white backdrop; multiply blends that white
	   into the page so the product sits on the page with no white box. */
	mix-blend-mode: multiply;
}

.trc-ps-page .trc-ps-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	min-height: 0;
	margin: -25px 0 0;
	padding: 13px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #333;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}
.trc-ps-page .trc-ps-gallery__nav--prev { left: 0; transform: translateX(-10px); }
.trc-ps-page .trc-ps-gallery__nav--next { right: 0; transform: translateX(10px); }
.trc-ps-page .trc-ps-gallery__stage:hover .trc-ps-gallery__nav,
.trc-ps-page .trc-ps-gallery__nav:focus-visible { opacity: 1; transform: none; }
.trc-ps-page .trc-ps-gallery__nav:hover { color: #000; }

/* Round zoom button, bottom-left of the image */
.trc-ps-page .trc-ps-zoom {
	position: absolute;
	left: 15px;
	bottom: 15px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	min-height: 0;
	margin: 0;
	padding: 16px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
	color: #666;
	cursor: pointer;
	transition: color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.trc-ps-page .trc-ps-zoom:hover { color: #333; box-shadow: 0 0 9px rgba(0, 0, 0, 0.15); }

/* ── Details column ─────────────────────────────────────────────── */
.trc-ps-page .trc-ps-details {
	display: flex;
	flex-direction: column;
	gap: 21px;
	min-width: 0;
}
.trc-ps-page .trc-ps-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}
.trc-ps-page .trc-ps-meta__row {
	display: block;
	width: 100%;
	font-family: var(--trc-ps-font-latin);
	font-size: 15px;
	line-height: 24px;
	color: var(--trc-ps-text);
}
.trc-ps-page .trc-ps-meta__label {
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 22.4px;
	color: var(--trc-ps-heading);
}
.trc-ps-page .trc-ps-meta__value,
.trc-ps-page .trc-ps-meta__value a {
	font-family: var(--trc-ps-font-latin);
	font-size: 15px;
	font-weight: 400;
	color: var(--trc-ps-text);
}
.trc-ps-page .trc-ps-meta__value a { text-decoration: none; transition: color 0.2s ease; }
.trc-ps-page .trc-ps-meta__value a:hover { color: var(--trc-ps-ink); }

.trc-ps-page .trc-ps-short {
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 22.4px;
	color: var(--trc-ps-text);
	overflow-wrap: break-word;
}
.trc-ps-page .trc-ps-short p { margin: 0 0 20px; }
.trc-ps-page .trc-ps-short > :last-child { margin-bottom: 0; }
.trc-ps-page .trc-ps-short strong,
.trc-ps-page .trc-ps-short b { font-weight: 600; color: inherit; }
.trc-ps-page .trc-ps-short ul,
.trc-ps-page .trc-ps-short ol { margin: 0 0 20px; padding-left: 17px; }

.trc-ps-page .trc-ps-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 27px;
}
.trc-ps-page .trc-ps-share__label {
	font-family: var(--trc-ps-font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	color: var(--trc-ps-heading);
}
.trc-ps-page .trc-ps-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 27px;
	padding: 6px 3px;
	color: rgba(0, 0, 0, 0.6);
	text-decoration: none;
	transition: color 0.2s ease;
}
.trc-ps-page .trc-ps-share__link:hover { color: rgba(0, 0, 0, 0.9); }

.trc-ps-page .trc-ps-divider {
	display: block;
	width: 100%;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid rgba(16, 16, 16, 0.1);
	background: none;
}

/* ── Dark buy box ────────────────────────────────────────────────────
   Matches the transport single's .price-card (#111 on #222, white price,
   red primary + outline secondary) so both single-page types read as one
   design system. Was a light grey (--trc-ps-box) panel. */
.trc-ps-page .trc-ps-buy__box {
	position: sticky;
	top: var(--trc-ps-sticky-top);
	display: flex;
	flex-direction: column;
	gap: 21px;
	padding: 30px;
	background: var(--trc-ps-box-dark);
	border: 1px solid var(--trc-ps-box-dark-line);
	border-radius: 5px;
	color: #fff;
}

.trc-ps-page .trc-ps-price {
	margin: 0;
	font-family: var(--trc-ps-font-display);
	font-size: 36px;
	font-weight: 900;
	line-height: 43.2px;
	color: #fff;
}
.trc-ps-page .trc-ps-price .woocommerce-Price-amount,
.trc-ps-page .trc-ps-price bdi { font: inherit; color: inherit; }
.trc-ps-page .trc-ps-price ins { background: none; color: inherit; text-decoration: none; }
.trc-ps-page .trc-ps-price del { margin-right: 8px; font-size: 24px; color: rgba(255, 255, 255, 0.45); opacity: 1; }
.trc-ps-page .trc-ps-price del .woocommerce-Price-amount { color: rgba(255, 255, 255, 0.45); }
.trc-ps-page .trc-ps-price .woocommerce-price-suffix { color: rgba(255, 255, 255, 0.55); }
.trc-ps-page .trc-ps-price .woocommerce-price-suffix { font-family: var(--trc-ps-font-body); font-size: 13px; font-weight: 400; }

.trc-ps-page .trc-ps-cart { min-width: 0; }
.trc-ps-page .trc-ps-cart form.cart {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
}
.trc-ps-page .trc-ps-cart .quantity { display: none !important; }

.trc-ps-page .trc-ps-cart .single_add_to_cart_button,
.trc-ps-page .trc-ps-cart .trc-ps-buynow {
	display: flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px;
	margin: 0 !important;
	padding: 5px 20px !important;
	border: 0 !important;
	border-radius: 5px !important;
	background: var(--trc-ps-red) !important;
	color: #fff !important;
	font-family: var(--trc-ps-font-button) !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-align: center;
	text-transform: capitalize !important;
	text-shadow: none !important;
	white-space: normal;
	box-shadow: none !important;
	opacity: 1;
	cursor: pointer;
	transition: box-shadow 0.25s ease, opacity 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}
/* Secondary CTA: outline on the dark box, matching .kw-product .btn-outline. */
.trc-ps-page .trc-ps-cart .trc-ps-buynow {
	background: transparent !important;
	border: 1px solid #444 !important;
	color: #ccc !important;
	font-size: 13px !important;
}
.trc-ps-page .trc-ps-cart .trc-ps-buynow:hover {
	border-color: #666 !important;
	color: #fff !important;
}
.trc-ps-page .trc-ps-cart .single_add_to_cart_button:hover,
.trc-ps-page .trc-ps-cart .trc-ps-buynow:hover { box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.1) !important; }
.trc-ps-page .trc-ps-cart .single_add_to_cart_button.disabled,
.trc-ps-page .trc-ps-cart .single_add_to_cart_button:disabled { opacity: 0.5; cursor: not-allowed; }
.trc-ps-page .trc-ps-cart .single_add_to_cart_button.loading { opacity: 0.7; }

/* Stock line printed by WooCommerce above the form / for out-of-stock items */
.trc-ps-page .trc-ps-cart .stock {
	margin: 0 0 10px;
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--trc-ps-text);
}
.trc-ps-page .trc-ps-cart .stock.out-of-stock { margin: 0; color: var(--trc-ps-red); }

/* Variable products */
.trc-ps-page .trc-ps-cart table.variations {
	display: table;
	width: 100%;
	margin: 0 0 10px;
	border: 0;
	border-collapse: collapse;
	background: none;
}
.trc-ps-page .trc-ps-cart table.variations tr { display: table-row; }
.trc-ps-page .trc-ps-cart table.variations th,
.trc-ps-page .trc-ps-cart table.variations td {
	display: table-cell;
	padding: 0 0 10px;
	border: 0;
	background: none;
	text-align: left;
	vertical-align: middle;
}
.trc-ps-page .trc-ps-cart table.variations th.label { width: 1%; padding-right: 20px; white-space: nowrap; }
.trc-ps-page .trc-ps-cart table.variations th.label label {
	margin: 0;
	font-family: var(--trc-ps-font-latin);
	font-size: 15px;
	font-weight: 400;
	color: var(--trc-ps-text);
}
.trc-ps-page .trc-ps-cart table.variations select {
	width: 100% !important;
	max-width: 100%;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 30px 0 15px !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	border-radius: 5px !important;
	background-color: #fff !important;
	box-shadow: none !important;
	color: var(--trc-ps-text) !important;
	font-family: var(--trc-ps-font-latin);
	font-size: 14px;
}
.trc-ps-page .trc-ps-cart .reset_variations {
	display: inline-block;
	margin-top: 6px;
	font-family: var(--trc-ps-font-body);
	font-size: 13px;
	color: var(--trc-ps-text);
	text-decoration: underline;
}
.trc-ps-page .trc-ps-cart .single_variation_wrap { display: flex; flex-direction: column; gap: 10px; }
.trc-ps-page .trc-ps-cart .woocommerce-variation:empty,
.trc-ps-page .trc-ps-cart .single_variation:empty { display: none; }
.trc-ps-page .trc-ps-cart .woocommerce-variation-price .price {
	font-family: var(--trc-ps-font-display);
	font-size: 28px;
	font-weight: 900;
	line-height: 1.2;
	color: #000;
}
.trc-ps-page .trc-ps-cart .woocommerce-variation-description p,
.trc-ps-page .trc-ps-cart .woocommerce-variation-availability p { margin: 0; }
.trc-ps-page .trc-ps-cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Wishlist link (TRC_Wishlist engine, restyled from the round heart) */
.trc-ps-page .trc-ps-wish {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	width: auto;
	height: auto;
	min-height: 17px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #000;
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 14px;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transform: none;
}
.trc-ps-page .trc-ps-wish:hover,
.trc-ps-page .trc-ps-wish.is-active { color: #000; transform: none; }
.trc-ps-page .trc-ps-wish:hover .trc-ps-wish__text { color: var(--trc-ps-heading); }
.trc-ps-page .trc-ps-wish .trc-wish-heart {
	display: inline-flex;
	flex: 0 0 auto;
	margin-right: 5px;
	color: var(--trc-ps-heart);
}
.trc-ps-page .trc-ps-wish .trc-wish-ic {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}
.trc-ps-page .trc-ps-wish.is-active .trc-wish-ic { fill: var(--trc-ps-heart); stroke: var(--trc-ps-heart); }
.trc-ps-page .trc-ps-wish.trc-wish-pulse { animation: none; }
.trc-ps-page .trc-ps-wish.trc-wish-pulse .trc-wish-heart { animation: trcWishPulse 0.35s ease; }
.trc-ps-page .trc-ps-wish__text--remove,
.trc-ps-page .trc-ps-wish.is-active .trc-ps-wish__text--add { display: none; }
.trc-ps-page .trc-ps-wish.is-active .trc-ps-wish__text--remove { display: inline; }

/* ── Everything else that sits inside the (now dark) buy box ─────────── */
.trc-ps-page .trc-ps-buy__box .trc-ps-wish,
.trc-ps-page .trc-ps-buy__box .trc-ps-wish .trc-ps-wish__text { color: rgba(255, 255, 255, 0.78); }
.trc-ps-page .trc-ps-buy__box .trc-ps-wish:hover,
.trc-ps-page .trc-ps-buy__box .trc-ps-wish.is-active,
.trc-ps-page .trc-ps-buy__box .trc-ps-wish:hover .trc-ps-wish__text { color: #fff; }

.trc-ps-page .trc-ps-buy__box .stock { color: rgba(255, 255, 255, 0.75); }
.trc-ps-page .trc-ps-buy__box .stock.out-of-stock { color: #ff6b6b; }

/* Variable products inside the dark box */
.trc-ps-page .trc-ps-buy__box table.variations th.label label { color: rgba(255, 255, 255, 0.8); }
.trc-ps-page .trc-ps-buy__box table.variations select {
	border-color: #3a3a3a !important;
	background-color: #1a1a1a !important;
	color: #eee !important;
}
.trc-ps-page .trc-ps-buy__box .reset_variations { color: rgba(255, 255, 255, 0.6); }
.trc-ps-page .trc-ps-buy__box .woocommerce-variation-price,
.trc-ps-page .trc-ps-buy__box .woocommerce-variation-price .amount { color: #fff; }
.trc-ps-page .trc-ps-buy__box .woocommerce-variation-availability p { color: rgba(255, 255, 255, 0.75); }

/* ── Tabs ────────────────────────────────────────────────────────── */
.trc-ps-page .trc-ps-tabs {
	display: flex;
	flex-direction: column;
	gap: 48px;
}
.trc-ps-page .trc-ps-tabs__nav {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
}
.trc-ps-page .trc-ps-tabs__tab {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin: 0;
	padding: 15px 35px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: var(--trc-ps-tab-bg);
	box-shadow: none;
	color: #000;
	font-family: var(--trc-ps-font-display);
	font-size: 18px;
	font-weight: 900;
	line-height: 21.6px;
	letter-spacing: normal;
	text-align: center;
	text-transform: capitalize;
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}
.trc-ps-page .trc-ps-tabs__tab:hover { color: var(--trc-ps-tab-hover); background: var(--trc-ps-tab-bg); }
.trc-ps-page .trc-ps-tabs__tab.is-active { border-bottom-color: var(--trc-ps-tab-line); color: #000; }
.trc-ps-page .trc-ps-tabs__tab:focus-visible { outline: 2px solid var(--trc-ps-tab-line); outline-offset: -2px; }

.trc-ps-page .trc-ps-tabs__panel {
	display: flex;
	flex-direction: column;
	gap: 21px;
	min-width: 0;
	outline: none;
}
.trc-ps-page .trc-ps-tabs__panel[hidden] { display: none; }

/* Description: two text columns, then bordered image squares */
.trc-ps-page .trc-ps-desc {
	columns: 2;
	column-gap: 21px;
	font-family: var(--trc-ps-font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	color: var(--trc-ps-text);
	overflow-wrap: break-word;
}
.trc-ps-page .trc-ps-desc p { margin: 0 0 20px; }
.trc-ps-page .trc-ps-desc ul,
.trc-ps-page .trc-ps-desc ol { margin: 0; padding: 0 0 0 17px; }
.trc-ps-page .trc-ps-desc ul { list-style: disc outside; }
.trc-ps-page .trc-ps-desc ol { list-style: decimal outside; }
.trc-ps-page .trc-ps-desc li { margin: 0 0 10px; }
.trc-ps-page .trc-ps-desc strong,
.trc-ps-page .trc-ps-desc b { font-weight: 600; }
.trc-ps-page .trc-ps-desc a { color: var(--trc-ps-red); }
.trc-ps-page .trc-ps-desc img { max-width: 100%; height: auto; }
.trc-ps-page .trc-ps-desc h2,
.trc-ps-page .trc-ps-desc h3,
.trc-ps-page .trc-ps-desc h4 {
	margin: 0 0 12px;
	font-family: var(--trc-ps-font-button);
	font-weight: 800;
	line-height: 1.3;
	color: var(--trc-ps-heading);
	break-after: avoid;
}

.trc-ps-page .trc-ps-desc__media {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 10px 0 0;
	padding: 0 5px;
}
.trc-ps-page .trc-ps-desc__figure { position: relative; margin: 0; }
.trc-ps-page .trc-ps-desc__link { display: block; cursor: zoom-in; }
.trc-ps-page .trc-ps-desc__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 400px;
	aspect-ratio: 1 / 1;
	padding: 30px;
	border: 1px solid #DFDFDF;
	background: #fff;
	object-fit: contain;
}
.trc-ps-page .trc-ps-desc__figure .trc-ps-zoom { left: 10px; bottom: 15px; }

/* Specifications (ACF specifications_group, else visible attributes) */
.trc-ps-page .trc-ps-specs { font-family: var(--trc-ps-font-body); }
.trc-ps-page .trc-ps-specs__content {
	position: relative;
	max-height: 450px;
	overflow: hidden;
	transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.trc-ps-page .trc-ps-specs.is-expanded .trc-ps-specs__content { max-height: 6000px; }
.trc-ps-page .trc-ps-specs__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 70px;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 50%, #fff);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.trc-ps-page .trc-ps-specs.is-collapsible .trc-ps-specs__fade { opacity: 1; }
.trc-ps-page .trc-ps-specs.is-expanded .trc-ps-specs__fade { opacity: 0; }
.trc-ps-page .trc-ps-specs__group + .trc-ps-specs__group { margin-top: 30px; }
.trc-ps-page .trc-ps-specs__title {
	margin: 0 0 12px;
	font-family: var(--trc-ps-font-button);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.3;
	text-transform: none;
	color: var(--trc-ps-heading);
}
.trc-ps-page .trc-ps-specs__list { margin: 0; padding: 0; list-style: none; }
.trc-ps-page .trc-ps-specs__row {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid #D2D2D2;
	font-size: 14px;
	line-height: 1.5;
	color: var(--trc-ps-heading);
}
.trc-ps-page .trc-ps-specs__row:last-child { border-bottom: 0; }
.trc-ps-page .trc-ps-specs__name { flex: 1 1 auto; min-width: 0; font-weight: 400; }
.trc-ps-page .trc-ps-specs__value { flex: 0 0 50%; margin-left: 20px; font-weight: 500; text-align: left; }
.trc-ps-page .trc-ps-specs__row.is-value-only .trc-ps-specs__value { flex-basis: 100%; margin-left: 0; }
.trc-ps-page .trc-ps-specs__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--trc-ps-heading);
	font-family: var(--trc-ps-font-body);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.trc-ps-page .trc-ps-specs__toggle[hidden] { display: none; }
.trc-ps-page .trc-ps-specs__toggle:hover { color: var(--trc-ps-red); }
.trc-ps-page .trc-ps-specs__toggle-arrow {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.trc-ps-page .trc-ps-specs.is-expanded .trc-ps-specs__toggle-arrow { transform: rotate(180deg); }

.trc-ps-page .trc-ps-empty {
	margin: 0;
	font-family: var(--trc-ps-font-body);
	font-size: 15px;
	font-weight: 500;
	color: var(--trc-ps-text);
}

/* Delivery terms */
.trc-ps-page .trc-ps-delivery {
	max-width: 820px;
	font-family: var(--trc-ps-font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	color: var(--trc-ps-text);
}
.trc-ps-page .trc-ps-delivery p { margin: 0 0 16px; }
.trc-ps-page .trc-ps-delivery ol,
.trc-ps-page .trc-ps-delivery ul { margin: 0; padding: 0 0 0 20px; }
.trc-ps-page .trc-ps-delivery li { margin: 0 0 8px; }
.trc-ps-page .trc-ps-delivery > :last-child { margin-bottom: 0; }

/* ── Similar products (archive card grid) ───────────────────────── */
.trc-ps-page .trc-ps-related {
	position: relative;
	margin: 20px 0 0;
	padding: 48px 0;
}
.trc-ps-page .trc-ps-related__watermark {
	position: absolute;
	top: 0;
	right: -36px;
	z-index: 0;
	display: block;
	width: 800px;
	max-width: calc(100% + 36px);
	height: auto;
	opacity: 0.02;
	filter: brightness(0);
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}
.trc-ps-page .trc-ps-related__title {
	position: relative;
	z-index: 1;
	margin: 0 0 20px;
	padding: 0;
	font-family: var(--trc-ps-font-display);
	font-size: 48px;
	font-weight: 900;
	line-height: 67.2px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--trc-ps-ink);
}
/* The archive wrapper is reused for its card + button styling only. */
.trc-ps-page .trc-ps-related__wrap.trc-archive-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
.trc-ps-page .trc-ps-related .trc-products-grid.products { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }

/* ── Lightbox (moved to <body> by the script) ───────────────────── */
.trc-ps-lb {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 72px;
	background: rgba(12, 12, 12, 0.94);
}
.trc-ps-lb[hidden] { display: none; }
.trc-ps-lb .trc-ps-ic { display: block; width: 100%; height: 100%; }
.trc-ps-lb .trc-ps-ic--stroke { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trc-ps-lb__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
}
.trc-ps-lb__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	-webkit-user-select: none;
	user-select: none;
}
.trc-ps-lb__close,
.trc-ps-lb__nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s ease, background 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.trc-ps-lb__close:hover,
.trc-ps-lb__nav:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.trc-ps-lb__close { top: 14px; right: 14px; width: 46px; height: 46px; padding: 12px; }
.trc-ps-lb__nav { top: 50%; width: 56px; height: 56px; margin-top: -28px; padding: 14px; }
.trc-ps-lb__nav--prev { left: 10px; }
.trc-ps-lb__nav--next { right: 10px; }
.trc-ps-lb__counter {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	font-family: "FiraGo", sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
}
html.trc-ps-lb-open { overflow: hidden; }

/* ══ Responsive ═══════════════════════════════════════════════════ */

/* Related grid: 3 columns until there is room for 6 */
@media (max-width: 1200px) {
	.trc-ps-page .trc-ps-related .trc-products-grid.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Tablet: gallery left; details + buy box stacked right; tabs full width */
@media (max-width: 1024px) {
	.trc-ps-page { padding-top: 10px; }
	.trc-ps-page .trc-ps-title { width: auto; max-width: calc(100% - 100px); }
	.trc-ps-page .trc-ps-brand { width: 80px; height: 80px; }
	.trc-ps-page .trc-ps-brand img { width: 60px; max-width: 60px; height: 60px; }

	.trc-ps-page .trc-ps-main {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
		grid-template-areas:
			"gallery details"
			"gallery buy"
			"tabs    tabs";
		column-gap: 21px;
		row-gap: 21px;
	}
	.trc-ps-page .trc-ps-top { display: contents; }
	.trc-ps-page .trc-ps-gallery { grid-area: gallery; align-self: start; }
	.trc-ps-page .trc-ps-details { grid-area: details; }
	.trc-ps-page .trc-ps-buy { grid-area: buy; }
	.trc-ps-page .trc-ps-buy__box { position: static; padding: 24px; }
	.trc-ps-page .trc-ps-price { font-size: 30px; line-height: 1.2; }
	.trc-ps-page .trc-ps-tabs { margin-top: 9px; }
}

/* Mobile: single column — gallery, details, buy box, tabs, similar products */
@media (max-width: 768px) {
	.trc-ps-page { padding: 15px 15px 0; }

	.trc-ps-page .trc-ps-head { margin-bottom: 24px; }
	.trc-ps-page .trc-ps-bc { padding-right: 0; }
	.trc-ps-page .trc-ps-bc__current,
	.trc-ps-page .trc-ps-bc__sep--current { display: none; }
	.trc-ps-page .trc-ps-bc__link--last { font-weight: 600; color: var(--trc-ps-ink); }
	.trc-ps-page .trc-ps-head__row {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
	}
	.trc-ps-page .trc-ps-title {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
		max-width: none;
		font-size: 36px;
		line-height: 1.15;
		overflow-wrap: anywhere;
	}
	.trc-ps-page .trc-ps-brand {
		position: static;
		flex: 0 0 auto;
		width: 64px;
		height: 64px;
		padding: 7px;
	}
	.trc-ps-page .trc-ps-brand img { width: 50px; max-width: 50px; height: 50px; }

	.trc-ps-page .trc-ps-main {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"gallery"
			"details"
			"buy"
			"tabs";
		row-gap: 24px;
	}
	.trc-ps-page .trc-ps-gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
	.trc-ps-page .trc-ps-gallery__thumbs { display: none; }
	.trc-ps-page .trc-ps-gallery__img { max-height: 360px; }
	.trc-ps-page .trc-ps-gallery__nav { opacity: 1; transform: none; }

	.trc-ps-page .trc-ps-buy__box { padding: 22px; }
	.trc-ps-page .trc-ps-tabs { gap: 16px; margin-top: 0; }
	.trc-ps-page .trc-ps-tabs__nav {
		flex-wrap: nowrap;
		margin-right: -15px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.trc-ps-page .trc-ps-tabs__nav::-webkit-scrollbar { display: none; }
	.trc-ps-page .trc-ps-tabs__tab {
		flex: 0 0 auto;
		padding: 13px 22px;
		font-size: 16px;
		white-space: nowrap;
	}
	.trc-ps-page .trc-ps-desc { columns: 1; }
	.trc-ps-page .trc-ps-desc__media { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
	.trc-ps-page .trc-ps-desc__img { padding: 18px; }

	.trc-ps-page .trc-ps-specs__row { flex-direction: column; align-items: flex-start; padding: 12px 0; }
	.trc-ps-page .trc-ps-specs__name,
	.trc-ps-page .trc-ps-specs__value { flex: none; width: 100%; margin-left: 0; }
	.trc-ps-page .trc-ps-specs__value { margin-top: 4px; }

	.trc-ps-page .trc-ps-related { margin-top: 10px; padding: 24px 0; }
	.trc-ps-page .trc-ps-related__watermark { top: 6px; right: -15px; max-width: calc(100% + 15px); }
	.trc-ps-page .trc-ps-related__title { font-size: 32px; line-height: 32px; margin-bottom: 12px; }
	.trc-ps-page .trc-ps-related .trc-products-grid.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

	.trc-ps-lb { padding: 56px 10px; }
	.trc-ps-lb__nav { width: 44px; height: 44px; margin-top: -22px; padding: 11px; }
	.trc-ps-lb__nav--prev { left: 4px; }
	.trc-ps-lb__nav--next { right: 4px; }
}

@media (max-width: 480px) {
	.trc-ps-page .trc-ps-title { font-size: 30px; }
	.trc-ps-page .trc-ps-gallery__img { max-height: 320px; }
}
