/*
 * Second Walk single product page: page width and spacing, gallery and summary
 * layout, tabs, the details (additional information) table, reviews, review
 * photos and related pairs. Loaded on product pages only. Mobile first.
 */

/* ---------- Page width ---------- */

/* Hello Elementor caps .site-main at 500-1140px with 10px sides; use the site container instead. */
body.single-product:not([class*="elementor-page-"]) .site-main {
	width: 100%;
	max-width: calc(var(--sw-container) + 2 * var(--sw-gutter));
	margin-inline: auto;
	padding: var(--sw-page-top) var(--sw-gutter) var(--sw-page-bottom);
}

.single-product .woocommerce-breadcrumb {
	margin: 0 0 var(--sw-space-4);
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
}

.single-product .woocommerce-breadcrumb a {
	color: var(--sw-muted);
	text-decoration: none;
}

.single-product .woocommerce-breadcrumb a:hover {
	color: var(--sw-ink);
	text-decoration: underline;
}

/* ---------- Gallery and summary ---------- */

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sw-space-5);
	margin: 0;
}

.woocommerce div.product::before,
.woocommerce div.product::after {
	display: none;
}

.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .up-sells {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: var(--sw-space-6);
		row-gap: var(--sw-space-7);
		align-items: start;
	}
}

@media (min-width: 1024px) {
	.woocommerce div.product {
		column-gap: var(--sw-space-8);
	}
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images .flex-viewport {
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-paper);
}

/* Thumbnails: one row of six. A pair with more than six photos scrolls
   sideways instead of starting a second row. */
.woocommerce div.product div.images .flex-control-thumbs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 5 * var(--sw-space-2)) / 6);
	gap: var(--sw-space-2);
	margin: var(--sw-space-2) 0 0;
	padding: 0;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	scroll-snap-align: start;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	border: 1px solid transparent;
	border-radius: var(--sw-radius-sm);
	opacity: 0.6;
	transition: opacity var(--sw-duration) var(--sw-ease);
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
	border-color: var(--sw-navy);
	opacity: 1;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: var(--sw-space-3);
	right: var(--sw-space-3);
}

.woocommerce div.product .product_title {
	margin: 0 0 var(--sw-space-2);
	font-size: var(--sw-h2);
	line-height: var(--sw-leading-tight);
}

.woocommerce div.product div.summary p.price {
	margin: 0 0 var(--sw-space-5);
	font-size: var(--sw-h3);
}

.woocommerce div.product .woocommerce-product-details__short-description {
	margin: 0 0 var(--sw-space-5);
	color: var(--sw-muted);
	line-height: var(--sw-leading-body);
}

.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.woocommerce div.product div.summary .stock {
	margin: 0 0 var(--sw-space-4);
	font-size: var(--sw-text-sm);
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sw-space-3);
	margin: 0 0 var(--sw-space-6);
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
	display: none;
}

.woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1;
	float: none;
	min-height: 52px;
	font-size: var(--sw-text-md);
}

.woocommerce div.product .product_meta {
	display: grid;
	gap: var(--sw-space-2);
	padding-top: var(--sw-space-4);
	border-top: var(--sw-border);
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
}

.woocommerce div.product .product_meta > span > span,
.woocommerce div.product .product_meta a {
	color: var(--sw-ink);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
	text-decoration: underline;
}

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

.woocommerce div.product .woocommerce-tabs {
	min-width: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: var(--sw-space-5);
	margin: 0 0 var(--sw-space-5);
	padding: 0;
	border-bottom: var(--sw-border);
	overflow-x: auto;
	scrollbar-width: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	flex: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: var(--sw-space-3) 0;
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
	font-weight: 600;
	letter-spacing: var(--sw-tracking-label);
	text-transform: uppercase;
	white-space: nowrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--sw-ink);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	box-shadow: inset 0 -2px 0 var(--sw-navy);
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
}

/* The tab already names the panel; the repeated heading is kept for screen readers only. */
.woocommerce div.product .woocommerce-Tabs-panel--additional_information > h2,
.woocommerce div.product .woocommerce-Tabs-panel--description > h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ---------- Details table (additional information) ---------- */

.woocommerce table.shop_attributes {
	width: 100%;
	max-width: 640px;
	margin: 0;
	border: var(--sw-border);
	border-radius: var(--sw-radius-sm);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: var(--sw-space-3) var(--sw-space-4);
	border: 0;
	border-bottom: var(--sw-border);
	font-size: var(--sw-text-sm);
	line-height: var(--sw-leading-snug);
	text-align: left;
	vertical-align: middle;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
	border-bottom: 0;
}

.woocommerce table.shop_attributes th {
	width: 38%;
	background-color: var(--sw-paper);
	color: var(--sw-muted);
	font-weight: 600;
}

.woocommerce table.shop_attributes td {
	background-color: var(--sw-white);
	color: var(--sw-ink);
	font-style: normal;
	font-weight: 600;
}

.woocommerce table.shop_attributes tr:nth-child(even) th,
.woocommerce table.shop_attributes tr:nth-child(even) td {
	background-color: inherit;
}

.woocommerce table.shop_attributes tr:nth-child(even) th {
	background-color: var(--sw-paper);
}

.woocommerce table.shop_attributes td p {
	margin: 0;
	padding: 0;
}

.woocommerce table.shop_attributes td a {
	color: var(--sw-ink);
	text-decoration: none;
}

.woocommerce table.shop_attributes td a:hover {
	text-decoration: underline;
}

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

@media (min-width: 1024px) {
	.woocommerce #reviews {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		gap: var(--sw-space-7);
		align-items: start;
	}
}

.woocommerce #reviews .clear {
	display: none;
}

.woocommerce #reviews #comments h2,
.woocommerce #reviews .woocommerce-Reviews-title {
	margin: 0 0 var(--sw-space-4);
	font-size: var(--sw-h3);
}

.woocommerce #reviews .woocommerce-noreviews {
	margin: 0;
	color: var(--sw-muted);
}

.woocommerce #reviews #comments ol.commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce #reviews #comments ol.commentlist li {
	position: static;
	margin: 0;
	padding-block: var(--sw-space-5);
	border-top: var(--sw-border);
	background: none;
}

.woocommerce #reviews #comments ol.commentlist li:first-child {
	padding-top: var(--sw-space-2);
	border-top: 0;
}

/* Avatar column only when avatars are switched on in Settings > Discussion. */
.woocommerce #reviews #comments ol.commentlist li .comment_container:has(> img.avatar) {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: var(--sw-space-3);
	align-items: start;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
	position: static;
	float: none;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--sw-radius-round);
	background-color: var(--sw-paper);
	box-shadow: none;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating {
	order: 2;
	float: none;
	margin: 0 0 var(--sw-space-2);
	font-size: var(--sw-text-sm);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
	order: 1;
	margin: 0 0 var(--sw-space-1);
	font-size: var(--sw-text-sm);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .woocommerce-review__author {
	color: var(--sw-ink);
	font-weight: 700;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .woocommerce-review__dash {
	margin-inline: 4px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description,
.woocommerce #reviews #comments ol.commentlist li .comment-text .sw-review-photos__list {
	order: 3;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description p {
	margin: 0 0 var(--sw-space-2);
	line-height: var(--sw-leading-body);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description p:last-child {
	margin-bottom: 0;
}

/* Review form: a quiet card. */
.woocommerce #review_form_wrapper {
	padding: var(--sw-space-5);
	border: var(--sw-border);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-paper);
}

.woocommerce #reviews #comments + #review_form_wrapper {
	margin-top: var(--sw-space-6);
}

@media (min-width: 1024px) {
	.woocommerce #reviews #comments + #review_form_wrapper {
		margin-top: 0;
	}
}

.woocommerce #review_form #respond {
	margin: 0;
	padding: 0;
}

.woocommerce #review_form #respond .comment-reply-title {
	display: block;
	margin: 0 0 var(--sw-space-4);
	color: var(--sw-ink);
	font-size: var(--sw-h4);
	font-weight: 700;
	line-height: var(--sw-leading-snug);
}

.woocommerce #review_form #respond form {
	display: grid;
	gap: var(--sw-space-4);
	margin: 0;
}

.woocommerce #review_form #respond form > p,
.woocommerce #review_form #respond form > div {
	margin: 0;
	padding: 0;
}

.woocommerce #review_form #respond .comment-notes,
.woocommerce #review_form #respond .logged-in-as {
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
}

.woocommerce #review_form #respond label {
	display: block;
	margin-bottom: 6px;
	color: var(--sw-ink);
	font-size: var(--sw-text-sm);
	font-weight: 600;
}

.woocommerce #review_form #respond .required {
	color: var(--sw-error);
	text-decoration: none;
}

.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond input[type="url"],
.woocommerce #review_form #respond textarea {
	width: 100%;
	min-height: var(--sw-control-h);
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--sw-line-strong);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-white);
	color: var(--sw-ink);
	font-size: var(--sw-text-md);
	line-height: 1.4;
}

.woocommerce #review_form #respond textarea {
	min-height: 128px;
	resize: vertical;
}

.woocommerce #review_form #respond input:focus,
.woocommerce #review_form #respond textarea:focus {
	border-color: var(--sw-navy);
	outline: none;
}

.woocommerce #review_form #respond p.stars {
	margin: 0;
	line-height: 1;
}

.woocommerce #review_form #respond p.stars a {
	width: 1.75rem;
	height: 1.75rem;
	font-size: 1.5rem;
}

.woocommerce #review_form #respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: var(--sw-space-2);
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
}

.woocommerce #review_form #respond .comment-form-cookies-consent input {
	flex: none;
	margin: 3px 0 0;
	accent-color: var(--sw-navy);
}

.woocommerce #review_form #respond .comment-form-cookies-consent label {
	margin: 0;
	color: var(--sw-muted);
	font-weight: 400;
}

.woocommerce #review_form #respond .form-submit input#submit {
	width: 100%;
}

/* ---------- Review photos ---------- */

/* Uploads need JavaScript to send the form as multipart, so hide the field without it. */
html:not(.sw-js) .sw-review-photos {
	display: none;
}

.sw-review-photos__hint {
	margin: 0 0 var(--sw-space-2);
	color: var(--sw-muted);
	font-size: var(--sw-text-xs);
}

.sw-review-photos input[type="file"] {
	width: 100%;
	padding: var(--sw-space-2);
	border: 1px dashed var(--sw-line-strong);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-white);
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
	cursor: pointer;
}

.sw-review-photos input[type="file"]::file-selector-button {
	margin-inline-end: var(--sw-space-3);
	padding: 0.5rem var(--sw-space-4);
	border: 1px solid var(--sw-navy);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-white);
	color: var(--sw-navy);
	font-family: inherit;
	font-size: var(--sw-text-sm);
	font-weight: 600;
	cursor: pointer;
}

.sw-review-photos input[type="file"]::file-selector-button:hover {
	background-color: var(--sw-navy);
	color: var(--sw-white);
}

.sw-review-photos input[type="file"]:focus-visible {
	outline: 2px solid var(--sw-navy);
	outline-offset: 2px;
}

.sw-review-photos__error {
	margin: var(--sw-space-2) 0 0;
	color: var(--sw-error);
	font-size: var(--sw-text-sm);
}

.sw-review-photos__previews:not(:empty),
.sw-review-photos__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sw-space-2);
	margin-top: var(--sw-space-3);
}

.sw-review-photos__previews img,
.sw-review-photos__list img {
	display: block;
	width: 72px;
	height: 72px;
	border: var(--sw-border);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-paper);
	object-fit: cover;
}

.sw-review-photos__list a {
	display: block;
	border-radius: var(--sw-radius-sm);
}

.sw-review-photos__list a:hover img {
	border-color: var(--sw-navy);
}

.sw-review-photos__list a:focus-visible {
	outline: 2px solid var(--sw-navy);
	outline-offset: 2px;
}

/* ---------- Related pairs ---------- */

.woocommerce div.product .related > h2,
.woocommerce div.product .up-sells > h2 {
	margin: 0 0 var(--sw-space-4);
	font-size: var(--sw-h3);
}

.woocommerce div.product .related ul.products {
	margin-bottom: 0;
}

/* ---------- Photo zoom lens (desktop mouse only, see product-zoom.js) ---------- */

.woocommerce div.product .woocommerce-product-gallery__image {
	position: relative;
	overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
	.woocommerce div.product .woocommerce-product-gallery__image a {
		cursor: zoom-in;
	}
}

.sw-zoom-lens {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 180px;
	height: 180px;
	border: 2px solid var(--sw-white);
	border-radius: var(--sw-radius-round);
	background-color: var(--sw-paper);
	background-repeat: no-repeat;
	box-shadow: var(--sw-shadow-overlay), 0 0 0 1px rgba(5, 28, 59, 0.12);
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity var(--sw-duration) var(--sw-ease);
}

.sw-zoom-lens.is-visible {
	opacity: 1;
}

@media (min-width: 1280px) {
	.sw-zoom-lens {
		width: 200px;
		height: 200px;
	}
}
/* ---------- Summary: brand, rating, size and condition ---------- */

.sw-product__brand {
	margin: 0 0 var(--sw-space-1);
	font-size: var(--sw-text-xs);
	font-weight: 600;
	letter-spacing: var(--sw-tracking-label);
	text-transform: uppercase;
}

.sw-product__brand a {
	color: var(--sw-muted);
	text-decoration: none;
}

.sw-product__brand a:hover {
	color: var(--sw-ink);
}

.sw-product__rating {
	display: inline-flex;
	align-items: center;
	gap: var(--sw-space-2);
	margin: 0 0 var(--sw-space-3);
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
	text-decoration: none;
}

.sw-product__rating:hover span:last-child {
	text-decoration: underline;
}

/* ---------- Summary: facts ---------- */

.sw-product__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 var(--sw-space-2);
	border: var(--sw-border);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-line);
	overflow: hidden;
}

.sw-product__facts > div {
	padding: var(--sw-space-3) var(--sw-space-4);
	background-color: var(--sw-white);
}

.sw-product__facts dt {
	margin: 0 0 2px;
	color: var(--sw-muted);
	font-size: var(--sw-text-xs);
	font-weight: 600;
	letter-spacing: var(--sw-tracking-label);
	text-transform: uppercase;
}

.sw-product__facts dd {
	margin: 0;
	color: var(--sw-ink);
	font-size: var(--sw-text-sm);
	font-weight: 600;
}

/* Two per row on every screen. An odd number of facts: the last one spans the row. */
.sw-product__facts > div:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}


.sw-product__hint {
	margin: 0 0 var(--sw-space-5);
	color: var(--sw-muted);
	font-size: var(--sw-text-xs);
	line-height: 1.5;
}

.sw-product__id {
	margin: 0;
	padding-top: var(--sw-space-4);
	border-top: var(--sw-border);
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
}

.sw-product__id span {
	color: var(--sw-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ---------- Summary: Add to cart, Buy now, wishlist ---------- */

.woocommerce div.product form.cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 52px;
	gap: var(--sw-space-2);
}

.woocommerce div.product form.cart div.quantity {
	display: none;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .sw-buy-now {
	width: 100%;
	min-height: 52px;
	margin: 0;
	font-size: var(--sw-text-md);
}

/* Add to cart is the quieter of the two; Buy now is the main action. */
.woocommerce div.product form.cart .single_add_to_cart_button {
	border-color: var(--sw-navy);
	background-color: var(--sw-white);
	color: var(--sw-navy);
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background-color: var(--sw-paper);
	color: var(--sw-navy);
}

/* ---------- Phones and tablets: buy bar ---------- */

.sw-buy-bar {
	position: fixed;
	inset: auto 0 0;
	z-index: 45;
	display: flex;
	align-items: center;
	gap: var(--sw-space-3);
	padding: var(--sw-space-2) var(--sw-gutter) calc(var(--sw-space-2) + env(safe-area-inset-bottom, 0px));
	border-top: var(--sw-border);
	background-color: var(--sw-white);
	box-shadow: var(--sw-shadow-overlay);
	transform: translateY(110%);
	transition: transform var(--sw-duration) var(--sw-ease);
}

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

.sw-buy-bar__info {
	display: grid;
	flex: 1;
	min-width: 0;
}

.sw-buy-bar__name {
	overflow: hidden;
	font-size: var(--sw-text-sm);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sw-buy-bar__price {
	font-size: var(--sw-text-sm);
}

.sw-buy-bar__add {
	flex: none;
	min-width: 140px;
}

body.sw-has-buy-bar {
	padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
	.sw-buy-bar {
		display: none;
	}

	body.sw-has-buy-bar {
		padding-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sw-buy-bar {
		transition: none;
	}
}

/* ---------- Reviews: summary, stars, verified ---------- */

.sw-review-summary {
	display: grid;
	gap: var(--sw-space-4);
	margin: 0 0 var(--sw-space-5);
	padding: var(--sw-space-5);
	border: var(--sw-border);
	border-radius: var(--sw-radius-sm);
}

.sw-review-summary .sw-rating-summary {
	gap: var(--sw-space-4);
}

.sw-review-summary .sw-rating-summary__count {
	margin: var(--sw-space-1) 0 0;
}

.sw-review-summary .sw-rating-bars {
	margin: 0;
	max-width: none;
}

@media (min-width: 768px) {
	.sw-review-summary {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: var(--sw-space-7);
	}
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .sw-stars {
	order: 2;
	margin: 0 0 var(--sw-space-2);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sw-space-1) var(--sw-space-3);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .woocommerce-review__published-date {
	color: var(--sw-muted);
}

.sw-verified .sw-icon {
	flex: none;
}

.sw-review-note {
	margin: 0;
	color: var(--sw-muted);
	font-size: var(--sw-text-xs);
}

.woocommerce #reviews .woocommerce-review__awaiting-approval {
	color: var(--sw-muted);
	font-style: normal;
}

.woocommerce #reviews nav.woocommerce-pagination {
	margin-top: var(--sw-space-5);
	text-align: left;
}

/* ---------- Review photo viewer ---------- */

.sw-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	place-items: center;
	padding: var(--sw-space-7) var(--sw-space-4);
	overflow: hidden;
}

.sw-lightbox[open] {
	display: grid;
}

.sw-lightbox__figure {
	display: grid;
	place-items: center;
	gap: var(--sw-space-3);
	width: 100%;
	height: 100%;
	margin: 0;
}

.sw-lightbox__figure img {
	max-height: calc(100dvh - 140px);
	border-radius: var(--sw-radius-sm);
}

.sw-lightbox__count {
	color: var(--sw-cream);
	font-size: var(--sw-text-sm);
	font-variant-numeric: tabular-nums;
}

.sw-lightbox__btn,
.sw-lightbox__btn:hover,
.sw-lightbox__btn:focus {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: var(--sw-radius-round);
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--sw-white);
}

.sw-lightbox__btn:hover {
	background-color: rgba(255, 255, 255, 0.24);
}

.sw-lightbox__btn:focus-visible {
	outline: 2px solid var(--sw-cream);
	outline-offset: 2px;
}

.sw-lightbox__close {
	top: var(--sw-space-3);
	right: var(--sw-space-3);
}

.sw-lightbox__prev,
.sw-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.sw-lightbox__prev {
	left: var(--sw-space-3);
}

.sw-lightbox__next {
	right: var(--sw-space-3);
}

.sw-lightbox.is-single .sw-lightbox__prev,
.sw-lightbox.is-single .sw-lightbox__next {
	display: none;
}

.sw-review-photos__list a {
	cursor: zoom-in;
}

/* ---------- Similar pairs ---------- */

.woocommerce div.product .sw-similar {
	padding-top: var(--sw-space-6);
	border-top: var(--sw-border);
}
/* ---------- Summary: condition (grade and notes, apart from the facts) ---------- */

.sw-condition {
	margin: 0 0 var(--sw-space-5);
	padding: var(--sw-space-4);
	border: var(--sw-border);
	border-radius: var(--sw-radius-sm);
	background-color: var(--sw-paper);
}

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

.sw-condition__title {
	margin: 0;
	font-size: var(--sw-text-xs);
	font-weight: 600;
	letter-spacing: var(--sw-tracking-label);
	text-transform: uppercase;
}

.sw-condition__grade {
	min-height: 32px;
	padding-inline: var(--sw-space-3);
	font-size: var(--sw-text-sm);
}

.sw-condition__about {
	margin: var(--sw-space-2) 0 0;
	color: var(--sw-muted);
	font-size: var(--sw-text-sm);
}

.sw-condition__label {
	margin: var(--sw-space-4) 0 0;
	padding-top: var(--sw-space-4);
	border-top: var(--sw-border);
	font-size: var(--sw-text-sm);
	font-weight: 650;
	letter-spacing: 0;
}

.sw-condition__hint {
	margin: 2px 0 var(--sw-space-2);
	color: var(--sw-muted);
	font-size: var(--sw-text-xs);
	line-height: 1.5;
}

.sw-condition__notes {
	margin: 0;
	font-size: var(--sw-text-sm);
	line-height: var(--sw-leading-body);
}

/* ---------- Summary: promises under Add to cart ---------- */

.sw-promises {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sw-space-2) var(--sw-space-4);
	margin: var(--sw-space-5) 0;
	padding: 0;
	list-style: none;
}

.sw-promises li {
	display: flex;
	align-items: flex-start;
	gap: var(--sw-space-2);
	margin: 0;
	color: var(--sw-ink);
	font-size: var(--sw-text-sm);
	line-height: 1.4;
}

.sw-promises .sw-icon {
	flex: none;
	margin-top: 1px;
	color: var(--sw-navy);
}

/* ---------- Recently viewed, under similar pairs ---------- */

.woocommerce div.product > .sw-products-section {
	grid-column: 1 / -1;
	margin-top: 0;
	padding-top: var(--sw-space-6);
	border-top: var(--sw-border);
}

/* Help links under the pair's details (inc/info.php). */
.sw-product__help {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--sw-space-4);
	margin: var(--sw-space-3) 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--sw-text-sm);
}

.sw-product__help a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--sw-navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--sw-line-strong);
	text-underline-offset: 4px;
}

.sw-product__help a:hover {
	text-decoration-color: var(--sw-navy);
}

/* Enlarge button on the main photo (product.js). */
.woocommerce div.product div.images.sw-has-enlarge .flex-viewport,
.woocommerce div.product div.images.sw-has-enlarge .woocommerce-product-gallery__wrapper {
	position: relative;
}

.woocommerce div.product div.images .sw-gallery-enlarge,
.woocommerce div.product div.images .sw-gallery-enlarge:hover,
.woocommerce div.product div.images .sw-gallery-enlarge:focus {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 9;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--sw-line);
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.94);
	box-shadow: 0 6px 18px rgba(5, 28, 59, 0.14);
	color: var(--sw-navy);
	cursor: zoom-in;
	transition: background-color var(--sw-duration) var(--sw-ease), color var(--sw-duration) var(--sw-ease), transform 200ms var(--sw-ease);
}

.woocommerce div.product div.images .sw-gallery-enlarge:hover {
	background-color: var(--sw-navy);
	color: var(--sw-white);
	transform: scale(1.06);
}

.woocommerce div.product div.images .sw-gallery-enlarge:focus-visible {
	outline: 2px solid var(--sw-navy);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce div.product div.images .sw-gallery-enlarge {
		transition: none;
	}
}