/* صفحه‌ی محصول — فقط توکن‌های --tb-*، کلاس‌ها با پیشوند tb- */

.tb-product {
	padding-block: var(--tb-space-2) var(--tb-space-6);
}

.tb-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	font-size: var(--tb-fs-sm);
	color: var(--tb-color-text-muted);
	flex-wrap: wrap;
}

.tb-breadcrumb a {
	color: var(--tb-color-text-muted);
	text-decoration: none;
}

.tb-breadcrumb a:hover {
	color: var(--tb-color-brand-text);
}

.tb-breadcrumb [aria-current="page"] {
	color: var(--tb-color-text);
	font-weight: var(--tb-fw-semibold);
}

.tb-product__content {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
	min-width: 0;
}

.tb-product__top {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
	background: var(--tb-color-surface);
	border-radius: var(--tb-radius);
	padding: var(--tb-space-2);
}

.tb-product__media {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-1);
	min-width: 0;
}

.tb-product__image {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: var(--tb-radius);
	background: var(--tb-color-surface-2);
	display: grid;
	place-items: center;
	overflow: hidden;
	color: var(--tb-color-text-muted);
	font-size: var(--tb-fs-sm);
}

.tb-product__image-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.tb-product__dots {
	position: absolute;
	bottom: 12px;
	inset-inline: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
	z-index: 1;
}

.tb-product__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tb-color-line);
}

.tb-product__dot.is-active {
	width: 16px;
	border-radius: var(--tb-radius-sm);
	background: var(--tb-color-brand);
}

.tb-product__thumbs {
	display: none;
}

@media (min-width: 768px) {
	.tb-product__dots {
		display: none;
	}
}

.tb-product__summary {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
	min-width: 0;
}

.tb-product__heading {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-1);
}

.tb-product__title {
	margin: 0;
	font-size: var(--tb-fs-product-title);
	font-weight: var(--tb-fw-bold);
	line-height: var(--tb-lh-product-title);
	text-wrap: pretty;
}

.tb-product__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	min-height: 24px;
	font-size: var(--tb-fs-sm);
	color: var(--tb-color-text);
	text-decoration: none;
}

.tb-product__rating-stars,
.tb-reviews__stars,
.tb-review__stars {
	display: inline-flex;
	gap: 2px;
}

.tb-product__rating-value {
	font-family: var(--tb-font-num);
	font-feature-settings: var(--tb-num-features);
	font-weight: var(--tb-fw-bold);
}

.tb-product__rating-count {
	color: var(--tb-color-text-muted);
}

.tb-product__features {
	display: none;
}

/* ---------- Buy box ---------- */

.tb-buy-box {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
	min-width: 0;
}

.tb-buy-box--card {
	background: var(--tb-card-bg);
	border-radius: var(--tb-card-radius);
	padding: var(--tb-card-pad);
	box-shadow: var(--tb-card-shadow);
}

.tb-buy-box__prices {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tb-buy-box__old {
	display: flex;
	align-items: center;
	gap: var(--tb-space-1);
	flex-wrap: wrap;
	color: var(--tb-price-old-text);
	font-size: var(--tb-fs-price-old);
}

.tb-buy-box__old s {
	font-family: var(--tb-font-num);
	font-feature-settings: var(--tb-num-features);
}

.tb-buy-box__discount {
	background: var(--tb-discount-bg);
	color: var(--tb-discount-text);
	font-size: var(--tb-fs-sm);
	font-weight: var(--tb-fw-bold);
	padding: 2px var(--tb-space-1);
	border-radius: var(--tb-badge-radius);
	white-space: nowrap;
}

.tb-buy-box__price {
	display: flex;
	align-items: baseline;
	gap: var(--tb-space-half);
	flex-wrap: wrap;
}

.tb-buy-box__amount {
	font-size: var(--tb-fs-price-xl);
	font-weight: var(--tb-fw-price);
	line-height: 1.4;
	color: var(--tb-price-text);
}

.tb-buy-box__unit {
	font-size: var(--tb-fs-price-unit);
	font-weight: var(--tb-fw-medium);
	color: var(--tb-price-unit-text);
}

.tb-buy-box__form,
.tb-buy-box__button {
	width: 100%;
}

.tb-buy-box__meta {
	display: flex;
	align-items: center;
	gap: var(--tb-space-1);
	flex-wrap: wrap;
}

.tb-buy-box__ship {
	font-size: var(--tb-fs-sm);
	font-weight: var(--tb-fw-semibold);
}

.tb-low-stock {
	display: flex;
	align-items: center;
	gap: var(--tb-space-1);
	background: var(--tb-color-warning-soft);
	color: var(--tb-color-warning);
	border-radius: var(--tb-radius-sm);
	padding: var(--tb-space-1) 12px;
	font-size: var(--tb-fs-sm);
	font-weight: var(--tb-fw-semibold);
}

.tb-low-stock__icon {
	width: 12px;
	height: 10px;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	background: var(--tb-color-warning);
	flex: 0 0 auto;
}

.tb-buy-box__trust {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--tb-space-1);
	color: var(--tb-trust-text);
	font-size: var(--tb-fs-sm);
}

.tb-buy-box__trust a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tb-buy-box__out-label {
	font-size: var(--tb-fs-h3);
	font-weight: var(--tb-fw-extrabold);
	line-height: 1.6;
	color: var(--tb-color-text-muted);
}

.tb-notify {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-1);
	scroll-margin-top: 80px;
}

.tb-notify__title {
	margin: 0;
	font-size: var(--tb-fs-body);
	font-weight: var(--tb-fw-bold);
}

.tb-notify__note {
	margin: 0;
	font-size: var(--tb-fs-sm);
	line-height: var(--tb-lh-sm);
	color: var(--tb-color-text-muted);
}

.tb-notify__form {
	display: flex;
	gap: var(--tb-space-1);
	margin-top: var(--tb-space-1);
}

.tb-notify__input {
	flex: 1 1 0%;
	min-width: 0;
	height: var(--tb-btn-height);
	padding-inline: var(--tb-space-2);
	border: 0;
	border-radius: var(--tb-radius-sm);
	background: var(--tb-color-surface);
	box-shadow: inset 0 0 0 1px var(--tb-color-line);
	color: var(--tb-color-text);
	font-size: var(--tb-fs-body);
}

.tb-notify__input::placeholder {
	color: var(--tb-color-text-muted);
}

.tb-notify__submit {
	flex: 0 0 auto;
	padding-inline: var(--tb-space-2);
}

.tb-notify__error {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--tb-color-error);
	font-size: var(--tb-fs-sm);
	line-height: var(--tb-lh-sm);
}

.tb-notify__error::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tb-color-error);
	flex: 0 0 auto;
}

.tb-notify__done {
	display: flex;
	align-items: center;
	gap: var(--tb-space-1);
	font-size: var(--tb-fs-body);
	font-weight: var(--tb-fw-semibold);
}

.tb-notify__done-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tb-color-success);
	flex: 0 0 auto;
}

/* ---------- Sections ---------- */

.tb-product__tabs {
	display: none;
}

.tb-product__section,
.tb-reviews {
	background: var(--tb-color-surface);
	border-radius: var(--tb-radius);
	padding: var(--tb-space-3);
	scroll-margin-top: 80px;
}

.tb-product__section-title {
	margin: 0 0 var(--tb-space-1);
	font-size: var(--tb-fs-h3);
	font-weight: var(--tb-fw-extrabold);
}

.tb-product__spec-row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: var(--tb-space-2);
	padding-block: var(--tb-space-1);
	border-bottom: 1px solid var(--tb-color-line);
	font-size: 14px;
	line-height: 1.7;
}

.tb-product__spec-label {
	color: var(--tb-color-text-muted);
}

.tb-product__spec-value {
	font-weight: var(--tb-fw-semibold);
}

.tb-product__description {
	font-size: var(--tb-fs-body);
	line-height: var(--tb-lh-body);
	max-width: 68ch;
}

/* ---------- Reviews ---------- */

.tb-reviews {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-3);
}

.tb-reviews__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--tb-space-2);
	flex-wrap: wrap;
}

.tb-reviews__title {
	margin: 0;
	font-size: var(--tb-fs-h3);
	font-weight: var(--tb-fw-extrabold);
}

.tb-reviews__body {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-4);
}

.tb-reviews__summary {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
}

.tb-reviews__average {
	display: flex;
	align-items: center;
	gap: var(--tb-space-2);
}

.tb-reviews__average-value {
	font-size: 40px;
	font-weight: var(--tb-fw-extrabold);
	line-height: 1.2;
}

.tb-reviews__average-meta {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-half);
}

.tb-reviews__count {
	font-size: var(--tb-fs-sm);
	color: var(--tb-color-text-muted);
}

.tb-reviews__bars {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tb-reviews__bar-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 24px;
	gap: var(--tb-space-1);
	align-items: center;
	font-size: var(--tb-fs-sm);
}

.tb-reviews__bar-label {
	color: var(--tb-color-text-muted);
}

.tb-reviews__bar-track {
	display: flex;
	height: 8px;
	border-radius: 8px;
	background: var(--tb-color-surface-2);
	overflow: hidden;
}

.tb-reviews__bar-fill {
	background: var(--tb-color-brand);
	border-radius: 8px;
}

.tb-reviews__bar-count {
	text-align: end;
	color: var(--tb-color-text-muted);
}

.tb-reviews__list {
	display: flex;
	flex-direction: column;
}

.tb-review {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-1);
	padding-block: var(--tb-space-2);
	border-bottom: 1px solid var(--tb-color-line);
}

.tb-review__head {
	display: flex;
	align-items: center;
	gap: var(--tb-space-1);
	flex-wrap: wrap;
	font-size: var(--tb-fs-sm);
}

.tb-review__author {
	font-weight: var(--tb-fw-semibold);
	white-space: nowrap;
}

.tb-review__date {
	color: var(--tb-color-text-muted);
	white-space: nowrap;
}

.tb-review__text {
	margin: 0;
	font-size: var(--tb-fs-body);
	line-height: var(--tb-lh-body);
	text-wrap: pretty;
}

.tb-reviews__all {
	padding-top: var(--tb-space-2);
	font-size: 14px;
	font-weight: var(--tb-fw-bold);
	color: var(--tb-color-brand-text);
	text-decoration: none;
}

.tb-reviews__empty {
	color: var(--tb-color-text-muted);
}

.tb-review-form {
	border-top: 1px solid var(--tb-color-line);
	padding-top: var(--tb-space-3);
	scroll-margin-top: 80px;
}

.tb-review-form__note,
.tb-reviews__note {
	font-size: var(--tb-fs-sm);
	line-height: var(--tb-lh-sm);
	color: var(--tb-color-text-muted);
}

.tb-reviews__note {
	margin: 0;
}

.tb-field--rating {
	border: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tb-field--rating legend {
	padding: 0 0 4px;
	font-size: var(--tb-fs-sm);
	font-weight: var(--tb-fw-semibold);
}

.tb-rating-stars {
	display: flex;
	gap: 0;
}

.tb-rating-stars__option {
	position: relative;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--tb-color-error);
}

.tb-rating-stars__option input {
	position: absolute;
	inset: 0;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	box-shadow: none;
	background: transparent;
}

.tb-rating-stars__option svg {
	pointer-events: none;
}

.tb-rating-stars__option input:checked ~ svg,
.tb-rating-stars__option.is-filled svg {
	fill: currentColor;
}

.tb-rating-stars__option input:focus-visible ~ svg {
	outline: 2px solid var(--tb-color-brand);
	outline-offset: 2px;
	border-radius: 4px;
}

.tb-field__note {
	font-size: var(--tb-fs-sm);
	line-height: var(--tb-lh-sm);
	color: var(--tb-color-text-muted);
}

/* ---------- Related products ---------- */

.tb-related {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
}

.tb-related__title {
	margin: 0;
	font-size: var(--tb-fs-h2);
	font-weight: var(--tb-fw-extrabold);
}

.tb-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tb-space-2);
}

/* ---------- Sticky mobile buy bar ---------- */

.tb-buy-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--tb-space-2);
	background: var(--tb-color-surface);
	border-start-start-radius: var(--tb-radius);
	border-start-end-radius: var(--tb-radius);
	box-shadow: 0 -12px 32px -16px rgb(20 24 38 / 0.25);
	padding: var(--tb-space-2) var(--tb-space-2) calc(var(--tb-space-3) + env(safe-area-inset-bottom, 0px));
	transform: translateY(110%);
	transition: transform var(--tb-dur) var(--tb-ease);
}

.tb-buy-bar.is-visible {
	transform: none;
}

.tb-buy-bar__prices {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.tb-buy-bar__old {
	display: flex;
	align-items: center;
	gap: var(--tb-space-1);
	font-size: var(--tb-fs-sm);
	color: var(--tb-price-old-text);
}

.tb-buy-bar__discount {
	background: var(--tb-discount-bg);
	color: var(--tb-discount-text);
	padding: 0 6px;
	border-radius: var(--tb-badge-radius);
	font-size: var(--tb-fs-sm);
	font-weight: var(--tb-fw-bold);
}

.tb-buy-bar__price {
	display: flex;
	align-items: baseline;
	gap: var(--tb-space-half);
}

.tb-buy-bar__price .tb-num {
	font-size: 20px;
	font-weight: var(--tb-fw-price);
}

.tb-buy-bar__unit {
	font-size: var(--tb-fs-sm);
	color: var(--tb-price-unit-text);
}

.tb-buy-bar__form {
	flex: 0 0 auto;
}

.tb-buy-bar__out {
	display: flex;
	align-items: center;
	gap: var(--tb-space-2);
}

.tb-buy-bar__out-label {
	font-size: var(--tb-fs-body);
	font-weight: var(--tb-fw-extrabold);
	color: var(--tb-color-text-muted);
}

/* ---------- Seller and warranty ---------- */

.tb-seller {
	display: flex;
	flex-direction: column;
	background: var(--tb-color-surface);
	border-radius: var(--tb-radius);
	padding: var(--tb-space-3);
}

.tb-seller__title {
	margin: 0 0 var(--tb-space-1);
	font-size: 16px;
	font-weight: var(--tb-fw-extrabold);
}

.tb-seller__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-block: 10px;
	border-bottom: 1px solid var(--tb-color-line);
	font-size: 14px;
}

.tb-seller__label {
	color: var(--tb-color-text-muted);
	white-space: nowrap;
}

.tb-seller__value {
	font-weight: var(--tb-fw-semibold);
	text-align: end;
}

.tb-seller__seller {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: end;
}

.tb-seller__seller-name {
	font-weight: var(--tb-fw-extrabold);
}

.tb-seller__seller-note {
	font-size: 13px;
	color: var(--tb-color-text-muted);
}

.tb-seller__return {
	color: var(--tb-color-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tb-seller__link {
	margin-top: var(--tb-space-1);
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	align-self: flex-start;
	font-size: 14px;
	font-weight: var(--tb-fw-bold);
	color: var(--tb-color-brand-text);
	text-decoration: none;
}

/* ---------- Questions and answers ---------- */

.tb-qna {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
	background: var(--tb-color-surface);
	border-radius: var(--tb-radius);
	padding: var(--tb-space-3);
	scroll-margin-top: 80px;
}

.tb-qna__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tb-qna__title {
	margin: 0;
	font-size: var(--tb-fs-h3);
	font-weight: var(--tb-fw-extrabold);
}

.tb-qna__note {
	font-size: 13px;
	line-height: var(--tb-lh-sm);
	color: var(--tb-color-text-muted);
}

.tb-qna__list {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-2);
}

.tb-qna__item {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-1);
	padding-bottom: var(--tb-space-2);
	border-bottom: 1px solid var(--tb-color-line);
}

.tb-qna__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.tb-qna__question {
	margin: 0;
	font-size: 15px;
	font-weight: var(--tb-fw-bold);
	line-height: var(--tb-lh-body);
}

.tb-qna__answer {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px var(--tb-space-2);
	border-radius: var(--tb-radius-sm);
	background: var(--tb-color-surface-2);
	font-size: 15px;
	line-height: var(--tb-lh-body);
}

.tb-qna__answer-label {
	font-size: 13px;
	font-weight: var(--tb-fw-bold);
	color: var(--tb-color-brand-text);
}

.tb-qna__answer p {
	margin: 0;
}

.tb-qna__empty {
	padding: var(--tb-space-2);
	border-radius: var(--tb-radius-sm);
	background: var(--tb-color-surface-2);
	font-size: 15px;
	font-weight: var(--tb-fw-bold);
}

.tb-qna__form {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-1);
}

.tb-qna__form-title {
	margin: 0;
	font-size: 15px;
	font-weight: var(--tb-fw-extrabold);
}

.tb-qna__field {
	margin: 0;
}

.tb-qna__hint {
	font-size: 13px;
	line-height: var(--tb-lh-sm);
	color: var(--tb-color-text-muted);
}

.tb-qna__error {
	font-size: 13px;
	line-height: var(--tb-lh-sm);
	color: var(--tb-color-error);
}

.tb-qna__error--form {
	padding: 10px 12px;
	border-radius: var(--tb-radius-sm);
	background: var(--tb-color-error-soft);
	font-size: 14px;
}

.tb-qna__submit {
	align-self: flex-start;
	margin-top: var(--tb-space-1);
}

.tb-qna__done {
	display: flex;
	gap: var(--tb-space-1);
	padding: var(--tb-space-2);
	border-radius: var(--tb-radius-sm);
	background: var(--tb-color-success-soft);
	font-size: 15px;
	line-height: var(--tb-lh-body);
}

.tb-qna__done-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tb-color-success);
	flex: 0 0 auto;
	margin-top: 9px;
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
	.tb-product__layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: var(--tb-space-4);
		align-items: start;
	}

	.tb-product__content {
		gap: var(--tb-space-3);
	}

	.tb-product__aside {
		display: block;
	}

	.tb-product__aside-inner {
		position: sticky;
		top: 88px;
	}

	.tb-product__top {
		display: grid;
		grid-template-columns: 400px minmax(0, 1fr);
		gap: var(--tb-space-4);
		align-items: start;
	}

	.tb-product__image {
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.tb-product__thumbs {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--tb-space-1);
		margin-top: var(--tb-space-1);
	}

	.tb-product__thumb {
		aspect-ratio: 1 / 1;
		border-radius: var(--tb-radius-sm);
		background: var(--tb-color-surface);
		overflow: hidden;
	}

	.tb-product__thumb-img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.tb-product__summary {
		gap: var(--tb-space-3);
		padding-top: var(--tb-space-1);
	}

	.tb-product__title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		font-size: 24px;
		font-weight: var(--tb-fw-extrabold);
		line-height: 1.6;
	}

	.tb-product__features {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.tb-product__features-title {
		margin: 0 0 var(--tb-space-1);
		font-size: 15px;
		font-weight: var(--tb-fw-bold);
	}

	.tb-product__feature-row {
		display: grid;
		grid-template-columns: 140px minmax(0, 1fr);
		gap: var(--tb-space-2);
		padding-block: 10px;
		border-bottom: 1px solid var(--tb-color-line);
		font-size: 14px;
	}

	.tb-product__feature-label {
		color: var(--tb-color-text-muted);
	}

	.tb-product__feature-value {
		font-weight: var(--tb-fw-semibold);
	}

	.tb-product__feature-more {
		padding-top: 12px;
		font-size: 14px;
		font-weight: var(--tb-fw-bold);
		text-decoration: none;
	}

	.tb-buy-box--inline,
	.tb-seller--inline {
		display: none;
	}

	.tb-trust {
		grid-template-columns: auto repeat(3, minmax(0, 1fr));
		gap: var(--tb-space-4);
		align-items: center;
	}

	.tb-trust__item:not(.tb-trust__item--enamad) {
		border-inline-start: 1px solid var(--tb-color-line);
		padding-inline-start: var(--tb-space-3);
	}

	.tb-product__tabs {
		display: flex;
		gap: var(--tb-space-1);
		border-bottom: 1px solid var(--tb-color-line);
	}

	.tb-product__tabs a {
		display: inline-flex;
		align-items: center;
		height: 48px;
		padding-inline: var(--tb-space-2);
		font-size: var(--tb-fs-body);
		font-weight: var(--tb-fw-bold);
		color: var(--tb-color-text-muted);
		text-decoration: none;
	}

	.tb-product__tabs a:first-child {
		color: var(--tb-color-text);
		box-shadow: inset 0 -2px 0 var(--tb-color-brand);
	}

	.tb-product__spec-row {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: var(--tb-space-2);
		padding-block: 12px;
		font-size: 15px;
	}

	.tb-product__section-title {
		font-size: var(--tb-fs-h3);
	}

	.tb-reviews__body {
		display: grid;
		grid-template-columns: 280px minmax(0, 1fr);
		gap: var(--tb-space-4);
		align-items: start;
	}

	.tb-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--tb-space-3);
	}

	.tb-buy-bar {
		display: none;
	}
}

/* The 480 gallery + 360 buy column need a slightly wider container than the
   rest of the site so the full title fits in three lines (fixes-product.md 7). */
@media (min-width: 1300px) {
	.tb-product .tb-container {
		max-width: 1300px;
	}
}

@media (min-width: 1200px) {
	.tb-product__top {
		grid-template-columns: 480px minmax(0, 1fr);
	}
}

@media (max-width: 1023px) {
	.tb-product__aside {
		display: none;
	}
}
