/* =========================================================================
   Vonsué — single product. Loaded only on product pages.
   ========================================================================= */

.single-product div.product {
	display: grid;
	gap: var(--sp-8);
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
	padding-block: var(--sp-8);
}

@media (min-width: 62em) {
	.single-product div.product {
		grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr);
		gap: var(--sp-16);
		align-items: start;
	}

	/*
	 * No sticky summary. On a fashion product the column is taller than the
	 * viewport, so sticking it made it scroll over the sections underneath.
	 */
	.single-product div.product .summary {
		position: static;
	}
}

/* --- Gallery ----------------------------------------------------------
   Mobile: one scroll-snap row plus dots.
   Desktop: thumbnail column beside a stacked stage.
   No JS is needed for the layout itself, only for keeping dots in step.
   -------------------------------------------------------------------- */

.pgallery {
	display: grid;
	gap: var(--sp-3);
}

.pgallery__thumbs {
	display: none;
}

.pgallery__stage {
	display: flex;
	gap: var(--sp-2);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	margin: 0;
}

.pgallery__stage::-webkit-scrollbar {
	display: none;
}

.pgallery__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin: 0;
	aspect-ratio: 3 / 4;
	background: var(--surface);
}

.pgallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pgallery__dots {
	display: flex;
	justify-content: center;
	gap: var(--sp-2);
}

.pgallery__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rule);
	transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.pgallery__dot.is-active {
	background: var(--ink);
	transform: scale(1.35);
}

@media (min-width: 48em) {
	.pgallery {
		grid-template-columns: 5.5rem minmax(0, 1fr);
		gap: var(--sp-3);
		align-items: start;
	}

	.pgallery__thumbs {
		display: flex;
		flex-direction: column;
		gap: var(--sp-2);
		max-height: 44rem;
		overflow-y: auto;
		scrollbar-width: none;
		overscroll-behavior: contain;
	}

	.pgallery__thumbs::-webkit-scrollbar {
		display: none;
	}

	.pgallery__thumb {
		flex: 0 0 auto;
		aspect-ratio: 3 / 4;
		background: var(--surface);
		opacity: 0.55;
		transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
	}

	.pgallery__thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.pgallery__thumb:hover {
		opacity: 0.85;
	}

	.pgallery__thumb.is-active {
		opacity: 1;
		box-shadow: inset 0 0 0 1px var(--ink);
	}

	/*
	 * Desktop keeps the same single-frame carousel as mobile; the thumbnails
	 * drive it instead of a swipe. One large image at a time, which is how the
	 * reference sites do it, rather than a long scroll through every shot.
	 */
	.pgallery__stage {
		scroll-snap-type: x mandatory;
	}

	.pgallery__dots {
		display: none;
	}
}

/* --- Summary ---------------------------------------------------------- */

.product_title {
	font-size: var(--step-3);
	letter-spacing: 0.03em;
}

.summary .price {
	display: flex;
	align-items: baseline;
	gap: var(--sp-3);
	margin-bottom: var(--sp-6);
	font-size: var(--step-1);
	font-variant-numeric: tabular-nums;
}

.summary .price del {
	color: var(--muted);
	font-size: var(--step-0);
}

.summary .price ins {
	color: var(--mark);
	text-decoration: none;
}

/* --- Swatches --------------------------------------------------------- */

.variations {
	display: grid;
	gap: var(--sp-6);
	margin-bottom: var(--sp-6);
	border: 0;
}

.variations th,
.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

.variations label {
	display: block;
	margin-bottom: var(--sp-3);
	font-size: var(--step--1);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.swatches {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

/*
 * Elementor's global kit emits rules like `.elementor-kit-12 button { ... }`,
 * which set background, padding and radius on every button on the page and
 * outrank a single class. The theme's component has to win that, so these
 * declarations are marked. Confined to this one component on purpose.
 */
.swatches .swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.25rem;
	width: auto !important;
	min-height: 2.75rem;
	height: auto !important;
	padding: 0 var(--sp-3) !important;
	border: 1px solid var(--rule) !important;
	border-radius: 0 !important;
	background: var(--paper) !important;
	background-image: none !important;
	color: var(--ink) !important;
	box-shadow: none;
	font-family: var(--font-body) !important;
	font-size: var(--step--1) !important;
	font-weight: 400 !important;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: none !important;
	transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.swatches .swatch:hover:not(:disabled) {
	border-color: var(--ink) !important;
}

.swatches .swatch.is-selected {
	border-color: var(--ink) !important;
	box-shadow: inset 0 0 0 1px var(--ink);
}

/* Unavailable rather than hidden: a struck-through size tells the customer
   the size exists and is gone, which is information. Hiding it just looks
   like you never made it. */
.swatches .swatch.is-unavailable {
	color: var(--muted) !important;
	border-color: var(--rule) !important;
	cursor: not-allowed;
	background-image: linear-gradient(
		to top left,
		transparent calc(50% - 1px),
		var(--rule) 50%,
		transparent calc(50% + 1px)
	) !important;
}

.swatches.swatches--color .swatch--chip {
	width: 2.25rem !important;
	min-width: 0;
	height: 2.25rem !important;
	aspect-ratio: 1;
	min-height: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--swatch-color, var(--surface)) !important;
	background-image: none !important;
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

.swatches.swatches--color .swatch--chip.is-selected {
	box-shadow:
		inset 0 0 0 1px rgb(0 0 0 / 0.12),
		0 0 0 1px var(--paper),
		0 0 0 2px var(--ink);
}

.swatches.swatches--color .swatch--chip.is-unavailable {
	opacity: 0.35;
	background-image: none !important;
}

/* --- Stock states ----------------------------------------------------- */

.stock {
	margin: 0 0 var(--sp-4);
	font-size: var(--step--1);
	letter-spacing: 0.06em;
}

.stock.low-stock {
	color: var(--mark);
}

.stock.preorder::before,
.stock.low-stock::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-end: var(--sp-2);
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
}

.stock.out-of-stock {
	color: var(--muted);
}

/* --- Add to cart ------------------------------------------------------ */

form.cart {
	display: grid;
	gap: var(--sp-4);
}

.single_add_to_cart_button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3.25rem;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.single_add_to_cart_button:hover:not(.disabled) {
	background: var(--paper);
	color: var(--ink);
}

.single_add_to_cart_button.disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

form.cart .quantity,
.woocommerce-variation-add-to-cart .quantity,
form.cart .qty,
form.cart label.screen-reader-text[for^="quantity"] {
	display: none !important;
}

/* --- Sticky add to cart ----------------------------------------------- */

.sticky-atc {
	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 90;
	background: var(--paper);
	border-top: 1px solid var(--rule);
	transform: translateY(100%);
	transition: transform var(--dur) var(--ease);
	padding-bottom: env(safe-area-inset-bottom, 0);
}

.sticky-atc.is-visible {
	transform: none;
}

.sticky-atc__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	max-width: var(--container);
	margin-inline: auto;
	padding: var(--sp-3) var(--gutter);
}

.sticky-atc__media img {
	width: 3rem;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--surface);
}

.sticky-atc__text {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 2px;
}

.sticky-atc__title {
	font-size: var(--step--1);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sticky-atc__price {
	font-size: var(--step--1);
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.sticky-atc .btn {
	flex: 0 0 auto;
	min-height: 2.75rem;
	padding-inline: var(--sp-6);
}

@media (max-width: 30em) {
	.sticky-atc__media,
	.sticky-atc__title {
		display: none;
	}

	.sticky-atc .btn {
		flex: 1;
	}
}

/* --- UGC -------------------------------------------------------------- */

.ugc {
	grid-column: 1 / -1;
	margin-top: var(--sp-16);
	padding-top: var(--sp-12);
	border-top: 1px solid var(--rule);
}

.ugc__head {
	margin-bottom: var(--sp-8);
}

.ugc__title {
	font-size: var(--step-2);
	letter-spacing: 0.04em;
}

.ugc__text {
	color: var(--muted);
	font-size: var(--step--1);
}

.ugc__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--sp-2);
	margin: 0 0 var(--sp-8);
	padding: 0;
	list-style: none;
}

@media (min-width: 48em) {
	.ugc__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--sp-4);
	}
}

.ugc__item {
	margin: 0;
	aspect-ratio: 3 / 4;
	background: var(--surface);
	overflow: hidden;
}

.ugc__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Related and recently viewed -------------------------------------- */

.related,
.upsells,
.vonsue-recent {
	grid-column: 1 / -1;
	margin-top: var(--sp-16);
}

.section-title,
.related > h2,
.upsells > h2 {
	margin-bottom: var(--sp-8);
	font-size: var(--step-2);
	letter-spacing: 0.04em;
}

/* --- Tabs ------------------------------------------------------------- */

.woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: var(--sp-12);
}

.woocommerce-tabs .tabs {
	display: flex;
	gap: var(--sp-6);
	margin: 0 0 var(--sp-6);
	padding: 0 0 var(--sp-3);
	border-bottom: 1px solid var(--rule);
	list-style: none;
	font-size: var(--step--1);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.woocommerce-tabs .tabs li.active a {
	box-shadow: 0 1px 0 var(--ink);
}


/* --- Breadcrumb and eyebrow ------------------------------------------- */

.single-product .crumbs {
	grid-column: 1 / -1;
	margin-bottom: var(--sp-2);
	font-size: var(--step--1);
	color: var(--muted);
	letter-spacing: 0.04em;
}

.crumb__sep {
	margin-inline: 0.4em;
	color: var(--rule);
}

.product__eyebrow {
	display: block;
	margin-bottom: var(--sp-2);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

/* --- Trust rows -------------------------------------------------------- */

.trust {
	display: grid;
	gap: var(--sp-2);
	margin: var(--sp-6) 0 0;
	padding: 0;
	list-style: none;
}

.trust__item {
	position: relative;
	padding-left: 1.1rem;
	font-size: var(--step--1);
	color: var(--muted);
}

.trust__item::before {
	content: "";
	position: absolute;
	inset-block-start: 0.55em;
	inset-inline-start: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ink);
}

/* --- Accordions --------------------------------------------------------
   Built on <details>, so they open and close with no JavaScript at all and
   are keyboard accessible for free.
   -------------------------------------------------------------------- */

.accordions {
	margin-top: var(--sp-8);
	border-top: 1px solid var(--rule);
}

.accordion {
	border-bottom: 1px solid var(--rule);
}

.accordion__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-4) 0;
	cursor: pointer;
	list-style: none;
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.accordion__head::-webkit-details-marker {
	display: none;
}

.accordion__icon {
	position: relative;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
}

.accordion__icon::before,
.accordion__icon::after {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 0;
	width: 12px;
	height: 1px;
	background: var(--ink);
	transition: transform 240ms var(--ease);
}

.accordion__icon::after {
	transform: rotate(90deg);
}

.accordion[open] .accordion__icon::after {
	transform: rotate(0deg);
}

.accordion__body {
	padding-bottom: var(--sp-5);
	font-size: var(--step--1);
	line-height: 1.7;
	color: var(--muted);
}

.accordion__body > *:first-child {
	margin-top: 0;
}

.accordion__body > *:last-child {
	margin-bottom: 0;
}

.specs {
	display: grid;
	gap: var(--sp-2);
	margin: var(--sp-3) 0 0;
}

.spec {
	display: grid;
	grid-template-columns: 8rem 1fr;
	gap: var(--sp-3);
}

.spec dt {
	color: var(--ink);
}

.spec dd {
	margin: 0;
}


/* --- Full width blocks under the two columns --------------------------- */

.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells,
.single-product div.product > .vonsue-recent,
.single-product div.product > .worn-by,
.single-product div.product > .ugc {
	grid-column: 1 / -1;
	clear: both;
}

/* --- Worn by ----------------------------------------------------------- */

.worn-by {
	margin-top: var(--sp-16);
	padding-top: var(--sp-12);
	border-top: 1px solid var(--rule);
}

.worn-by__title {
	margin-bottom: var(--sp-8);
	font-size: var(--step-2);
	letter-spacing: 0.04em;
}

.worn-by__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 72%;
	gap: var(--sp-3);
	margin: 0;
	padding: 0 0 var(--sp-3);
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.worn-by__grid::-webkit-scrollbar {
	display: none;
}

@media (min-width: 48em) {
	.worn-by__grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, 1fr);
		gap: var(--sp-4);
		overflow: visible;
	}
}

.worn-by__item {
	scroll-snap-align: start;
}

.worn-by__link {
	display: block;
}

.worn-by__link:hover {
	text-decoration: none;
}

.worn-by__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--surface);
}

.worn-by__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--ease);
}

@media (hover: hover) {
	.worn-by__link:hover .worn-by__media img {
		transform: scale(1.04);
	}
}

.worn-by__name {
	display: block;
	margin-top: var(--sp-3);
	font-size: var(--step--1);
	letter-spacing: 0.02em;
}

.worn-by__role {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

/* --- Payment marks ----------------------------------------------------- */

.pay {
	margin-top: var(--sp-5);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--rule);
}

.pay__label {
	display: block;
	margin-bottom: var(--sp-2);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.pay__marks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
}

.pay__marks img {
	height: 1.5rem;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
}

.pay__name {
	padding: 0.25rem 0.5rem;
	border: 1px solid var(--rule);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	color: var(--muted);
}

/* --- Checkout address note --------------------------------------------- */

.address-note {
	margin: var(--sp-1) 0 0;
	font-size: var(--step--1);
	color: var(--muted);
}

/* --- Live stock signal -------------------------------------------------
   A slow pulse reads as "live". A blink reads as an error, so the dot
   breathes instead: scale and opacity, no colour flashing.
   -------------------------------------------------------------------- */

.stock.live {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 var(--sp-4);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
}

.stock.live::before {
	content: none;
}

.live__dot {
	position: relative;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.live__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: currentColor;
	animation: vonsue-breathe 2.4s var(--ease) infinite;
}

.stock.is-low {
	color: var(--warn);
}

.stock.is-last {
	color: var(--urgent);
}

.stock.is-last .live__dot::after {
	animation-duration: 1.6s;
}

@keyframes vonsue-breathe {
	0% {
		transform: scale(1);
		opacity: 0.55;
	}
	70% {
		transform: scale(2.6);
		opacity: 0;
	}
	100% {
		transform: scale(2.6);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.live__dot::after {
		animation: none;
	}
}

.stock.out-of-stock {
	color: var(--muted);
}

/* --- Payment strip ----------------------------------------------------- */

.pay__strip,
.pay__logo {
	height: 1.6rem;
	width: auto;
	max-width: none;
	margin: 0;
	object-fit: contain;
}

/* A single strip holding every logo is wider than it is tall, so let it run. */
.pay__marks:has(> .pay__logo:only-child) .pay__logo {
	height: auto;
	max-width: min(100%, 22rem);
}

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

.reviews {
	grid-column: 1 / -1;
	margin-top: var(--sp-16);
	padding-top: var(--sp-12);
	border-top: 1px solid var(--rule);
}

.reviews__title {
	margin-bottom: var(--sp-6);
	font-size: var(--step-2);
	letter-spacing: 0.04em;
}

.woocommerce-cart .reviews {
	margin-top: var(--sp-12);
}

/* --- Mobile overflow guards --------------------------------------------
   Grid items default to min-width: auto, so a wide child, a review widget
   with a fixed width or a scroll container can push the whole column past
   the viewport. These pin every item to the column instead.
   -------------------------------------------------------------------- */

.single-product div.product > * {
	min-width: 0;
	max-width: 100%;
}

.pgallery,
.pgallery__stage,
.pgallery__thumbs {
	min-width: 0;
}

.pgallery__dots {
	width: 100%;
}

/* Third party review widgets bring their own widths. Let them scroll inside
   their own block rather than widening the page. */
.reviews {
	overflow-x: auto;
	overscroll-behavior-x: contain;
}

.reviews > * {
	max-width: 100%;
}

@media (max-width: 47.99em) {
	.single-product div.product {
		gap: var(--sp-6);
	}

	.summary .price {
		margin-bottom: var(--sp-4);
	}
}

/* --- Size help ---------------------------------------------------------- */

.size-help {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-2);
	margin-top: var(--sp-3);
}

.size-help__note {
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
}

.size-help__link {
	font-size: var(--step--1);
	letter-spacing: 0.06em;
	color: var(--ink);
	border-bottom: 1px solid var(--rule);
	padding-bottom: 1px;
	transition: border-color var(--dur) var(--ease);
}

.size-help__link:hover {
	border-bottom-color: var(--ink);
}

/* --- Size guide dialog --------------------------------------------------- */

.sg {
	width: min(44rem, calc(100vw - 2rem));
	max-height: min(80vh, 44rem);
	padding: 0;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	overflow: hidden;
}

.sg::backdrop {
	background: rgb(0 0 0 / 0.45);
}

.sg__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-6);
	border-bottom: 1px solid var(--rule);
}

.sg__title {
	margin: 0;
	font-size: var(--step-0);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sg__body {
	padding: var(--sp-6);
	overflow-y: auto;
	max-height: calc(80vh - 4rem);
	font-size: var(--step--1);
	line-height: 1.6;
}

.sg__body table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.sg__body th,
.sg__body td {
	padding: var(--sp-3) var(--sp-2);
	border-bottom: 1px solid var(--rule);
	text-align: left;
}

.sg__body th {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.sg__body tr:last-child th,
.sg__body tr:last-child td {
	border-bottom: 0;
}

/* --- The floating bag must never sit on the add to cart button ---------- */

.single-product .fab {
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

body.has-sticky-atc .fab {
	opacity: 0;
	transform: translateY(1rem);
	pointer-events: none;
}

/* --- Stars --------------------------------------------------------------
   One element, filled by a gradient stop, so a 4.3 shows as 4.3 rather than
   being rounded to whole stars.
   -------------------------------------------------------------------- */

.stars {
	display: inline-block;
	width: 5.2em;
	height: 1em;
	font-size: 0.72rem;
	background:
		linear-gradient(to right, var(--ink) var(--rating, 0%), var(--rule) var(--rating, 0%));
	-webkit-mask: var(--star-mask);
	mask: var(--star-mask);
	--star-mask: repeat-x left center / 1.04em 1em
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.4-5.8-3-5.8 3 1.1-6.4L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E");
}

.card__rating {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.2rem;
}

.card__rating-count {
	font-size: 0.68rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

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

.previews {
	grid-column: 1 / -1;
	margin-top: var(--sp-16);
	padding-top: var(--sp-12);
	border-top: 1px solid var(--rule);
}

#reviews h2 {
	font-size: var(--step-2);
	letter-spacing: 0.04em;
	margin-bottom: var(--sp-8);
}

.commentlist {
	display: grid;
	gap: var(--sp-8);
	margin: 0 0 var(--sp-12);
	padding: 0;
	list-style: none;
}

@media (min-width: 62em) {
	.commentlist {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--sp-8) var(--sp-12);
	}
}

.commentlist .review {
	margin: 0;
	padding: 0;
	border: 0;
}

.comment_container {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: var(--sp-4);
	align-items: start;
}

.comment_container img.avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--surface);
}

.comment-text {
	display: grid;
	gap: var(--sp-2);
}

.comment-text .star-rating {
	display: none;
}

.comment-text p.meta {
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
}

.comment-text p.meta strong {
	color: var(--ink);
	font-weight: 500;
}

.comment-text .woocommerce-review__verified {
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
}

.comment-text .description {
	font-size: var(--step-0);
	line-height: 1.6;
}

/* --- Review form ---------------------------------------------------------- */

#review_form_wrapper {
	max-width: 40rem;
	padding-top: var(--sp-8);
	border-top: 1px solid var(--rule);
}

#review_form .comment-reply-title {
	display: block;
	margin-bottom: var(--sp-4);
	font-size: var(--step-1);
	letter-spacing: 0.04em;
}

#review_form .comment-form > p {
	margin-bottom: var(--sp-4);
}

#review_form label {
	display: block;
	margin-bottom: var(--sp-2);
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
	width: 100%;
	min-height: 3rem;
	padding: var(--sp-3);
	border: 1px solid var(--rule);
	background: var(--paper);
	font-size: var(--step-0);
}

#review_form textarea {
	min-height: 8rem;
	resize: vertical;
}

#review_form .stars a {
	color: var(--rule);
	font-size: 1.1rem;
	text-decoration: none;
}

#review_form .stars a:hover,
#review_form .stars.selected a.active,
#review_form .stars.selected a:not(.active) {
	color: var(--ink);
}

#review_form .submit {
	min-height: 3rem;
	padding: 0 var(--sp-8);
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

#review_form .submit:hover {
	background: var(--paper);
	color: var(--ink);
}

.woocommerce-noreviews {
	color: var(--muted);
}
