/* Product Hero — breadcrumb row, gallery + buy box, mobile sticky buy bar
   (design.md §Product page).

   The gallery is WooCommerce's own (FlexSlider + zoom): its thumbnail list is
   laid out as a 96px column left of the square stage, the slider's prev/next
   become the stage's corner arrows, and product.js adds the counter. The buy
   box styles the add-to-cart form WooCommerce renders. */

/* ---- Breadcrumb row -------------------------------------------------------- */
.tt-product-crumbs {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px calc(50px + var(--tt-bleed));
	background: var(--wp--preset--color--ink, #141412);
}

.tt-product-crumbs__current:last-child {
	color: #fff;
}

.tt-product-crumbs__back {
	flex-shrink: 0;
	display: inline-flex;
	gap: 6px;
}

.tt-product-crumbs__back-short {
	display: none;
}

/* ---- Hero layout ----------------------------------------------------------- */
/* Between 1100 and 1728 the buy box and gap shrink with the viewport (layout-
   only clamp, system.md §7) — the export scales its whole canvas instead; at
   1728 both resolve to the design's 600px / 72px. */
.tt-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(440px, 34.72vw, 600px);
	align-items: start;
	gap: clamp(40px, 4.17vw, 72px);
	margin: 0 !important;
	padding: 48px calc(50px + var(--tt-bleed)) 96px;
	background: #000;
	color: #fff;
}

.tt-product-hero > * {
	margin: 0 !important;
}

.tt-product-hero__gallery {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
	animation: tt-product-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.tt-product-hero__buy {
	animation: tt-product-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both;
}

@keyframes tt-product-in {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}

/* ---- Gallery ---------------------------------------------------------------- */
.tt-product-hero .wp-block-woocommerce-product-image-gallery {
	width: 100% !important;
	max-width: none !important;
}

/* The buy box shows the sale state; WooCommerce's "Sale!" flash is redundant. */
.tt-product-hero .onsale {
	display: none !important;
}

/* FlexSlider sizes its slides from this element, so it must be exactly the
   stage's width: the 96px thumb column (+16px gap) sits outside it, to the
   left, absolutely positioned. (As a grid holding both, the slides were sized
   to the whole column and the first image opened shifted 112px left.) */
.tt-product-hero .woocommerce-product-gallery {
	position: relative;
	width: calc(100% - 112px) !important;
	margin: 0 0 0 112px !important;
	float: none !important;
	opacity: 1 !important;
}

.tt-product-hero .woocommerce-product-gallery__trigger {
	display: none !important;
}

.tt-product-hero .woocommerce-product-gallery .flex-viewport,
.tt-product-hero .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
	background: #fff;
}

.tt-product-hero .woocommerce-product-gallery__image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fff;
	cursor: zoom-in;
}

.tt-product-hero .woocommerce-product-gallery__image a,
.tt-product-hero .woocommerce-product-gallery__image img:not(.zoomImg) {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: 50% 0;
}

/* Thumbnails: a 96px column, 12px apart, 60% until active; a 2px red ring. */
.tt-product-hero .flex-control-thumbs {
	position: absolute;
	top: 0;
	left: -112px;
	width: 96px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.tt-product-hero .flex-control-thumbs li {
	position: relative;
	width: 96px !important;
	height: 96px;
	margin: 0 !important;
	overflow: hidden;
	background: #fff;
	float: none !important;
}

.tt-product-hero .flex-control-thumbs li::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--red, #cf2026);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.tt-product-hero .flex-control-thumbs li:has(.flex-active)::after {
	opacity: 1;
}

.tt-product-hero .flex-control-thumbs img {
	width: 100% !important;
	height: 100% !important; /* WooCommerce sets height: auto (wide video posters fell short) */
	object-fit: cover;
	opacity: 0.6 !important;
	cursor: pointer;
	transition: opacity 0.25s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tt-product-hero .flex-control-thumbs img.flex-active,
.tt-product-hero .flex-control-thumbs img:hover {
	opacity: 1 !important;
}

.tt-product-hero .flex-control-thumbs img:hover {
	transform: scale(1.08);
}

/* Product video slide (optional field): poster + red play square, then the
   player in place of the poster. Its thumbnail gets a dark wash + triangle. */
.tt-product-hero .tt-gallery-video {
	cursor: default;
}

.tt-gallery-video__play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
}

.tt-gallery-video__play img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	opacity: 0.7;
	transition: opacity 0.25s ease;
}

.tt-gallery-video__play:hover img {
	opacity: 0.85;
}

.tt-gallery-video__icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	background: var(--wp--preset--color--red, #cf2026);
}

.tt-gallery-video__icon::after {
	content: "";
	position: absolute;
	top: 25px;
	left: 30px;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 18px solid #fff;
}

.tt-gallery-video__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.tt-product-hero .flex-control-thumbs li:has(img[alt="Play video"])::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='18'%3E%3Cpath d='M0 0l14 9-14 9z' fill='%23fff'/%3E%3C/svg%3E") 54% 50% no-repeat;
	pointer-events: none;
}

/* Prev / next: 52px squares on the stage's bottom-right corner. */
.tt-product-hero .flex-direction-nav {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tt-product-hero .flex-direction-nav a {
	position: relative;
	display: block;
	width: 52px;
	height: 52px;
	overflow: hidden;
	background: rgba(20, 20, 18, 0.85);
	font-size: 0;
	transition: background-color 0.25s ease;
}

.tt-product-hero .flex-direction-nav a::before {
	content: "";
	position: absolute;
	top: 21px;
	left: 23px;
	width: 9px;
	height: 9px;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	transform: rotate(45deg);
}

.tt-product-hero .flex-direction-nav .flex-next::before {
	left: 19px;
	border-bottom: 0;
	border-left: 0;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
}

.tt-product-hero .flex-direction-nav a:hover {
	background: var(--wp--preset--color--red, #cf2026);
}

/* "01 / 06" (product.js) on the stage's bottom-left corner. */
.tt-product-hero__counter {
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 2;
	padding: 6px 12px;
	background: rgba(20, 20, 18, 0.85);
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 14px;
	letter-spacing: 1.12px;
	color: #fff;
	pointer-events: none;
}

/* ---- Buy box ---------------------------------------------------------------- */
.tt-product-hero__buy {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: clamp(28px, 2.31vw, 40px);
	background: #1c1c1a;
}

.tt-product-hero__buy > * {
	margin: 0 !important;
}

.tt-product-hero__top {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tt-product-hero__top > * {
	margin: 0 !important;
}

.tt-product-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tt-product-hero__badge {
	padding: 4px 12px;
	background: #878787;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 13px;
	line-height: 1.45;
	letter-spacing: 1.04px;
	text-transform: uppercase;
	color: #fff;
}

.tt-product-hero__badge--soldout {
	background: #000;
}

.tt-product-hero__title {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 42px !important;
	line-height: 1.1 !important;
	text-transform: none !important;
	color: #fff !important;
	text-wrap: balance;
}

.tt-product-hero__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
}

.tt-product-hero__price .tt-shop-card__now,
.tt-product-hero__price .tt-shop-card__was {
	white-space: nowrap;
}

.tt-product-hero__price .tt-shop-card__price {
	padding: 0;
}

.tt-product-hero__price .tt-shop-card__now {
	font-size: 30px;
}

/* Rating link: grey stars with a red fill clipped to the average. */
.tt-product-hero__rating {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	text-transform: none;
}

.tt-product-hero__stars,
.tt-product-reviews__stars {
	position: relative;
	display: inline-flex;
	gap: 3px;
}

.tt-product-hero__stars svg,
.tt-product-reviews__stars svg {
	width: 14px;
	height: 14px;
	fill: #434342;
}

.tt-product-hero__stars::after,
.tt-product-reviews__stars::after {
	content: "";
	position: absolute;
	inset: 0;
	width: var(--tt-rating, 0%);
	background: var(--wp--preset--color--red, #cf2026);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0l2.245 6.91h7.266l-5.878 4.27 2.245 6.91L10 13.82l-5.878 4.27 2.245-6.91L.489 6.91h7.266z'/%3E%3C/svg%3E") 0 0 / 17px 14px repeat-x;
}

.tt-product-hero__intro p,
.tt-product-hero__intro {
	margin: 0;
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 17px;
	line-height: 1.6;
	color: var(--wp--preset--color--grey-light, #adadad);
	text-wrap: pretty;
}

.tt-product-hero__intro .wp-block-post-excerpt__more-text {
	display: none;
}

/* 2×2 spec grid with hairlines. */
.tt-product-hero__specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	box-shadow: inset 1px 1px 0 #3c3c3a;
}

.tt-product-hero__spec {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	box-shadow: inset -1px -1px 0 #3c3c3a;
}

.tt-product-hero__spec dt {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 12px;
	letter-spacing: 1.44px;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-product-hero__spec dd {
	margin: 0;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 22px;
	color: #fff;
}

/* Model / Lever cards + availability note. */
.tt-product-hero__options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tt-product-hero__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tt-product-hero__card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	padding: 8px 18px;
	background: #000;
}

.tt-product-hero__card-icon {
	flex: 0 0 38px;
	width: 38px;
	height: auto;
}

.tt-product-hero__card-icon--lever {
	flex-basis: 16px;
	margin-inline: 11px;
}

.tt-product-hero__card-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.tt-product-hero__card-label {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 12px;
	letter-spacing: 1.44px;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-product-hero__card-value {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 20px;
	color: #fff;
}

.tt-product-hero__note {
	margin: 0;
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 14px;
	color: var(--wp--preset--color--grey-light, #adadad);
}

/* ---- Add to cart (WooCommerce's form) ---------------------------------------- */
.tt-product-hero__buy form.cart::before,
.tt-product-hero__buy form.cart::after {
	content: none !important; /* WooCommerce's clearfix would be a flex item */
}

.tt-product-hero__buy form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 !important;
}

.tt-product-hero__buy .stock {
	display: none;
}

/* Variation selector (Lever Type on variable products). */
.tt-product-hero__buy form.variations_form {
	flex-direction: column;
}

.tt-product-hero__buy table.variations {
	display: block;
	width: 100%;
	margin: 0 !important;
	border: 0;
}

.tt-product-hero__buy table.variations tbody,
.tt-product-hero__buy table.variations tr,
.tt-product-hero__buy table.variations th,
.tt-product-hero__buy table.variations td {
	display: block;
	padding: 0 !important;
	border: 0;
	background: none;
	text-align: left;
}

.tt-product-hero__buy table.variations label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 12px;
	letter-spacing: 1.44px;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-product-hero__buy table.variations select {
	width: 100%;
	height: 52px;
	padding: 0 44px 0 16px;
	border: 0;
	border-radius: 0;
	background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff'/%3E%3C/svg%3E") right 18px center no-repeat;
	box-shadow: inset 0 0 0 1px #73736f;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 17px;
	color: #fff;
	appearance: none;
}

.tt-product-hero__buy .reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 14px;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

.tt-product-hero__buy .single_variation_wrap,
.tt-product-hero__buy .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}

.tt-product-hero__buy .woocommerce-variation {
	width: 100%;
}

.tt-product-hero__buy .woocommerce-variation-price .price {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 22px;
	color: #fff;
}

/* Qty: −, number, + inside a 1px #73736f box (product.js adds the buttons). */
.tt-product-hero__buy .quantity {
	display: flex;
	align-items: center;
	height: 52px;
	margin: 0 !important;
	padding: 1px;
	box-shadow: inset 0 0 0 1px #73736f;
}

.tt-product-hero__buy .quantity input.qty {
	width: 32px;
	min-width: 0 !important; /* WooCommerce's input width + right margin widened the stepper */
	margin: 0 !important;
	box-sizing: border-box;
	height: 50px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 17px;
	text-align: center;
	color: #fff !important;
	appearance: textfield;
	-moz-appearance: textfield;
}

.tt-product-hero__buy .quantity:not(.tt-qty) input.qty {
	width: 70px;
}

.tt-product-hero__buy .quantity input.qty::-webkit-outer-spin-button,
.tt-product-hero__buy .quantity input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.tt-product-hero__buy .quantity input.qty.is-up {
	animation: tt-qty-up 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.tt-product-hero__buy .quantity input.qty.is-down {
	animation: tt-qty-down 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes tt-qty-up {
	from {
		opacity: 0;
		transform: scale(0.6);
	}
}

@keyframes tt-qty-down {
	from {
		opacity: 0;
		transform: scale(2.2);
	}
}

.tt-qty__btn {
	width: 48px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tt-qty__btn:hover {
	background: #30302e;
}

/* ADD TO CART — $X: the solid red .tt-btn--primary look on WooCommerce's button. */
.tt-product-hero__buy .single_add_to_cart_button,
.tt-product-hero__soldout-button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	flex: 1 1 250px; /* drops under the stepper, full width, when the box is narrow */
	min-width: 0;
	height: 52px;
	padding: 0 clamp(10px, 1.16vw, 20px) !important;
	white-space: nowrap;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--red, #cf2026);
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 17px !important;
	letter-spacing: 0.85px;
	text-transform: uppercase;
	color: #fff !important;
	cursor: pointer;
	transition: color 0.4s cubic-bezier(0.65, 0, 0.35, 1), transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tt-product-hero__buy .single_add_to_cart_button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wp--preset--color--red, #cf2026);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.tt-product-hero__buy .single_add_to_cart_button:active {
	transform: translateY(1px);
}

.tt-product-hero__buy .single_add_to_cart_button.disabled {
	opacity: 0.45;
}

@media (hover: hover) {
	.tt-product-hero__buy .single_add_to_cart_button:not(.disabled):hover {
		color: var(--wp--preset--color--red, #cf2026) !important;
	}

	.tt-product-hero__buy .single_add_to_cart_button:not(.disabled):hover::before {
		transform: scaleX(0);
	}
}

/* Sold out: the qty box outline + a disabled grey button. */
.tt-product-hero__soldout {
	display: flex;
	gap: 12px;
}

.tt-product-hero__qty-placeholder {
	width: 128px;
	height: 52px;
	box-shadow: inset 0 0 0 1px #30302e;
}

.tt-product-hero__soldout-button {
	background: #30302e !important;
	box-shadow: none;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
	cursor: not-allowed;
}

/* ---- Info rows + share ------------------------------------------------------- */
.tt-product-hero__links {
	display: flex;
	flex-direction: column;
	box-shadow: inset 0 1px 0 #3c3c3a;
}

.tt-product-hero__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 0;
	box-shadow: inset 0 -1px 0 #3c3c3a;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 16px;
	text-decoration: none !important;
	color: #fff !important;
}

.tt-product-hero__link-text,
.tt-product-hero__link-arrow {
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s ease;
}

.tt-product-hero__link:hover .tt-product-hero__link-text {
	color: var(--wp--preset--color--red-bright, #ff4349);
	transform: translateX(6px);
}

.tt-product-hero__link:hover .tt-product-hero__link-arrow {
	color: var(--wp--preset--color--red-bright, #ff4349);
	transform: translateX(4px);
}

.tt-product-hero__share {
	display: flex;
	align-items: center;
	gap: 20px;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 14px;
	letter-spacing: 0.7px;
}

.tt-product-hero__share-label {
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-product-hero .tt-product-hero__share-link {
	text-transform: none;
	color: var(--wp--preset--color--red-bright, #ff4349) !important;
}

.tt-product-hero .tt-product-hero__share-link:hover {
	color: #fff !important;
}

/* ---- Sticky buy bar (mobile only; product.js shows it) ------------------------ */
.tt-product-bar {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.tt-product-hero__gallery,
	.tt-product-hero__buy {
		animation: none;
	}
}

/* ---- Mobile --------------------------------------------------------------- */
@media (max-width: 1099px) {
	.tt-product-crumbs {
		gap: 12px;
		padding: 14px 16px;
	}

	.tt-product-crumbs__trail {
		flex-wrap: nowrap;
		gap: 8px;
		min-width: 0;
		font-size: 12px;
		white-space: nowrap;
	}

	/* Mobile trail is SHOP / CATEGORY — no Home, no product name. */
	.tt-product-crumbs__home,
	.tt-product-crumbs__current {
		display: none;
	}

	.tt-product-crumbs__trail a:last-of-type {
		color: #fff !important;
	}

	.tt-product-crumbs__back {
		align-items: center;
		min-height: 32px;
		font-size: 12px;
	}

	.tt-product-crumbs__back-full {
		display: none;
	}

	.tt-product-crumbs__back-short {
		display: inline;
	}

	.tt-product-hero {
		display: block;
		padding: 16px 16px 40px;
	}

	.tt-product-hero__gallery {
		position: static;
	}

	/* Gallery: stage on top, a row of 48px thumbs under it with the counter. */
	.tt-product-hero .woocommerce-product-gallery {
		width: 100% !important;
		margin: 0 !important;
	}

	.tt-product-hero .flex-control-thumbs {
		position: static;
		width: auto;
		margin-top: 12px !important;
		flex-direction: row;
		gap: 8px;
		padding-right: 70px !important;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tt-product-hero .flex-control-thumbs::-webkit-scrollbar {
		display: none;
	}

	.tt-product-hero .flex-control-thumbs li {
		flex: 0 0 48px;
		width: 48px !important;
		height: 48px;
	}

	.tt-product-hero .flex-control-thumbs img {
		opacity: 0.55 !important;
	}

	.tt-product-hero .flex-direction-nav {
		display: none;
	}

	.tt-product-hero__counter {
		top: auto;
		right: 0;
		bottom: 15px;
		left: auto;
		padding: 0;
		background: none;
		font-size: 13px;
		letter-spacing: 1.04px;
		color: var(--wp--preset--color--grey-light, #adadad);
	}

	.tt-product-hero__buy {
		gap: 22px;
		margin-top: 16px !important;
		padding: 24px 18px 28px;
	}

	.tt-product-hero__top {
		gap: 14px;
	}

	.tt-product-hero__badges {
		gap: 6px;
	}

	.tt-product-hero__badge {
		padding: 3px 10px;
		font-size: 12px;
		letter-spacing: 0.96px;
	}

	.tt-product-hero__badge--soldout {
		background: #30302e;
	}

	.tt-product-hero__title {
		font-size: 30px !important;
	}

	.tt-product-hero__price-row {
		flex-wrap: wrap;
		gap: 12px;
	}

	.tt-product-hero__price .tt-shop-card__now {
		font-size: 24px;
	}

	.tt-product-hero__rating {
		gap: 8px;
		min-height: 32px;
		font-size: 13px;
	}

	.tt-product-hero__stars {
		gap: 2px;
	}

	.tt-product-hero__stars svg {
		width: 13px;
		height: 13px;
	}

	.tt-product-hero__intro,
	.tt-product-hero__intro p {
		font-size: 16px;
	}

	.tt-product-hero__spec {
		gap: 4px;
		padding: 14px 16px;
	}

	.tt-product-hero__spec dt {
		font-size: 11px;
		letter-spacing: 1.32px;
	}

	.tt-product-hero__spec dd {
		font-size: 18px;
	}

	.tt-product-hero__cards {
		gap: 8px;
	}

	.tt-product-hero__card {
		min-width: 0;
		gap: 12px;
		padding: 8px 14px;
	}

	.tt-product-hero__card-icon {
		flex-basis: 32px;
		width: 32px;
	}

	.tt-product-hero__card-label {
		font-size: 11px;
		letter-spacing: 1.32px;
	}

	.tt-product-hero__card-value {
		font-size: 18px;
	}

	.tt-product-hero__note {
		font-size: 13px;
	}

	.tt-product-hero__buy form.cart,
	.tt-product-hero__soldout {
		gap: 10px;
	}

	.tt-qty__btn {
		width: 44px;
	}

	.tt-product-hero__buy .quantity input.qty {
		width: 28px;
	}

	.tt-product-hero__buy .single_add_to_cart_button,
	.tt-product-hero__soldout-button {
		flex: 1 1 226px; /* beside the stepper at 440; its own line on narrower phones */
		min-width: 0;
		padding: 0 10px !important;
		font-size: 16px !important;
		letter-spacing: 0.4px;
		white-space: nowrap;
	}

	.tt-product-hero__link {
		min-height: 54px;
		padding: 0;
		font-size: 15px;
		line-height: 1.35;
	}

	.tt-product-hero__share-link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	/* The sticky bar: fixed to the bottom, slides up once the buy row is gone. */
	.tt-product-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 40;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--ink, #141412);
		box-shadow: 0 -1px 0 #30302e;
		transform: translateY(110%);
		transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.tt-product-bar.is-visible {
		transform: none;
	}

	.tt-product-bar__meta {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-width: 0;
	}

	.tt-product-bar__name {
		overflow: hidden;
		font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
		font-size: 12px;
		line-height: 1.4;
		white-space: nowrap;
		text-overflow: ellipsis;
		color: var(--wp--preset--color--grey-light, #adadad);
	}

	.tt-product-bar__price {
		font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
		font-size: 17px;
		color: #fff;
	}

	.tt-product-bar__button {
		flex-shrink: 0;
		height: 48px;
		padding: 0 22px;
		font-size: 15px;
	}

	/* Room under the footer so the bar never covers it. */
	.single-product .wp-site-blocks > footer {
		padding-bottom: calc(68px + env(safe-area-inset-bottom));
	}
}
