/* WordPress chrome on top of the studio design. */
.admin-bar .nav {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .nav {
		top: 46px;
	}
}

.foot .nc-lang {
	margin-right: auto;
}

.foot .nc-lang__list {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.foot .nc-lang__link {
	min-height: 0;
	padding: 0 0.35rem;
	background: transparent;
	color: #c8c4bf;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.foot .nc-lang__link[aria-current="true"],
.foot .nc-lang__link:hover {
	background: transparent;
	color: #fff;
}

.studio-note {
	margin: 28px auto 0;
	max-width: 1240px;
	padding: 14px 18px;
	border: 1px solid #f0d2b8;
	border-radius: 16px;
	background: #fff4e8;
	color: #1b1b1f;
}

.studio-woo {
	padding: 48px 0 80px;
}

.studio-woo .button,
.studio-woo button.button,
.studio-woo a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: #ec7a2e;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.studio-woo .button:hover,
.studio-woo button.button:hover,
.studio-woo a.button:hover {
	background: #d9681d;
	color: #fff;
}

.news-card .news-form {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 999px;
}

.news-card:has(.ribbon) {
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.news-card:has(.ribbon) .news-form {
	margin-right: 136px;
}

.news-card .news-form input[type="email"] {
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	min-height: 60px;
	font-size: 17px;
	padding: 0 22px;
	-webkit-appearance: none;
	appearance: none;
}

.news-card .news-form .btn {
	border-radius: 999px;
	flex-shrink: 0;
	min-height: 60px;
	padding: 0 32px;
	font-size: 16px;
}

@media (max-width: 1080px) {
	.news-card:has(.ribbon) {
		grid-template-columns: 1fr;
	}

	.news-card .news-form {
		margin-right: 0;
	}

	.news-card h2,
	.news-card p {
		padding-right: 96px;
	}

	.news-card .ribbon {
		top: 18px;
		right: 18px;
		bottom: auto;
		width: 84px;
	}
}

/* Team quote sits on the orange card. Contact Form 7, same grid as the design. */
.team-card .wpcf7 {
	position: relative;
	margin-top: 8px;
	padding-top: 36px;
}

.team-card .wpcf7 form.quote {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.team-card .wpcf7 form.quote > .full,
.team-card .wpcf7 .wpcf7-response-output {
	grid-column: 1 / -1;
}

.team-card .wpcf7 .hidden-fields-container,
.team-card .wpcf7 .screen-reader-response {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(1px, 1px, 1px, 1px);
}

.team-card .wpcf7 input[type="text"],
.team-card .wpcf7 input[type="email"],
.team-card .wpcf7 input[type="tel"],
.team-card .wpcf7 input[type="number"],
.team-card .wpcf7 select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 15px;
}

.team-card .wpcf7 input::placeholder {
	color: #ffe2ce;
}

.team-card .wpcf7 select option {
	color: #1b1b1f;
}

.team-card .wpcf7 input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	accent-color: #1b1b1f;
	flex: 0 0 auto;
}

.team-card .wpcf7 .consent {
	color: #fff;
	font-size: 13.5px;
	line-height: 1.45;
}

.team-card .wpcf7 .consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.team-card .wpcf7 .file label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	cursor: pointer;
}

.team-card .wpcf7 .consent a {
	color: #fff;
	text-decoration: underline;
}

.team-card .wpcf7 .file {
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
}

.team-card .wpcf7 .file .wpcf7-form-control-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.16);
	overflow: hidden;
}

.team-card .wpcf7 .file .wpcf7-form-control-wrap::before {
	content: "Attach logo";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	color: #1b1b1f;
	font-size: 14px;
	font-weight: 700;
}

.team-card .wpcf7 .file .wpcf7-form-control-wrap::after {
	content: "";
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.team-card .wpcf7 .file .wpcf7-form-control-wrap[data-file]:not([data-file=""])::before {
	content: "Change";
}

.team-card .wpcf7 .file .wpcf7-form-control-wrap[data-file]:not([data-file=""])::after {
	content: attr(data-file);
	color: #fff;
}

.team-card .wpcf7 input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 0;
}

.team-card .wpcf7 input[type="submit"] {
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: #1b1b1f;
	color: #fff;
	font-weight: 700;
	padding: 16px 30px;
	cursor: pointer;
}

.team-card .wpcf7 input[type="submit"]:hover {
	background: #000;
}

.team-card .wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.team-card .wpcf7 .wpcf7-response-output {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
}

.team-card .wpcf7 .wpcf7-spinner {
	margin: 0 0 0 8px;
}

@media (max-width: 640px) {
	.team-card .wpcf7 form.quote {
		grid-template-columns: 1fr;
	}

	.team-card .wpcf7 form.quote > .full {
		grid-column: auto;
	}
}

.studio-woo input[type="text"],
.studio-woo input[type="email"],
.studio-woo input[type="tel"],
.studio-woo input[type="password"],
.studio-woo textarea,
.studio-woo select {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #ece5dd;
	border-radius: 12px;
	background: #fff;
}

/* ==========================================================================
   Try-on tool — controls added when the prototype customiser became a real
   personalisation tool backed by the catalogue.
   ========================================================================== */

.panel .field-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.panel .field-head label {
	margin: 0;
}

.panel .count {
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	color: #7A7A85;
}

.panel .count.over {
	color: #B4541C;
	font-weight: 600;
}

.panel .hint {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.5;
	color: #7A7A85;
}

.panel .hint:empty {
	display: none;
}

/* The product chooser can hold more than three products now, so it has to
   wrap rather than squeeze every label into one line. */
.panel .seg {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.panel .seg button {
	flex: 0 1 auto;
	white-space: nowrap;
}

.panel #fontRow,
.panel #colRow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.panel .sw {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid rgba(27, 27, 31, .12);
	cursor: pointer;
	padding: 0;
	transition: transform .15s ease, box-shadow .15s ease;
}

.panel .sw:hover {
	transform: scale(1.08);
}

.panel .sw.on {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px #EC7A2E;
}

.panel .sw:focus-visible {
	outline: 3px solid #EC7A2E;
	outline-offset: 3px;
}

.tryon-note {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #7A7A85;
}

.tryon-note .link {
	display: inline-block;
	margin-top: 4px;
}

/* An empty name still needs a placeholder on the product, shown faint, so
   the stage never looks broken before the customer types. */
.tryon-print span:empty::before {
	content: "Your name";
	opacity: .35;
}

.panel .btn[aria-disabled="true"] {
	opacity: .6;
	cursor: progress;
}

/* Product chooser: a photo strip. Ten products as a stack of full titles was
   unusable, and short labels alone do not tell you what you are previewing. */
.panel .seg.seg-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 8px;
	max-height: 232px;
	overflow-y: auto;
	padding: 2px;
	background: none;
	border: 0;
	border-radius: 0;
	scrollbar-width: thin;
}

.panel .segthumb {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 6px 6px 8px;
	background: #fff;
	border: 1.5px solid rgba(27, 27, 31, .10);
	border-radius: 12px;
	cursor: pointer;
	font: inherit;
	font-size: 11.5px;
	line-height: 1.25;
	font-weight: 600;
	color: #4A4A54;
	text-align: center;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.panel .segthumb img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	background: #F4F1EC;
	display: block;
}

.panel .segthumb:hover {
	border-color: rgba(236, 122, 46, .55);
	transform: translateY(-2px);
}

.panel .segthumb.on {
	border-color: #EC7A2E;
	box-shadow: 0 0 0 2px rgba(236, 122, 46, .28);
	color: #1B1B1F;
}

.panel .segthumb:focus-visible {
	outline: 3px solid #EC7A2E;
	outline-offset: 2px;
}

.sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* "Personalise" replaces "Quick add" on products that require an engraving:
   one-click add would be refused by validation, so the card sends the
   customer to the product instead. It is a link, so it needs the button's
   look back. */
.card .quick.quick-pers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

/* ==========================================================================
   Single product
   --------------------------------------------------------------------------
   The theme's own WooCommerce stylesheet is dequeued on studio views, so
   the product page is laid out here. The template splits the page into
   .nc-pdp__top (gallery + summary) and .nc-pdp__detail (tabs, related), and
   that split is what keeps the sticky gallery inside its own section.
   ========================================================================== */

.nc-pdp {
	display: block;
}

.nc-pdp__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	align-items: start;
	margin-bottom: 64px;
}

/* The sale flash is a sibling of the gallery, so the column is what it
   anchors to. */
.nc-pdp__media {
	position: relative;
}

@media (min-width: 900px) {
	.nc-pdp__top {
		grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
		gap: 56px;
	}

	.nc-pdp__media {
		position: sticky;
		top: 96px;
	}
}

/* Woo's layout stylesheet floats these and gives each a percentage width.
   Inside a grid those widths still apply and squeeze both columns — and the
   gallery is a child of the media column, not of the row, so it needs the
   reset too or the product photograph comes out a third of its column. */
.nc-pdp > *,
.nc-pdp__top > *,
.nc-pdp__media > *,
.nc-pdp__detail > * {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	clear: none !important;
}

/* The summary card. The prototype's own .summary rule made this sticky,
   which is what let it ride over the tabs; the sticky column is the
   gallery now, and it is bounded by .nc-pdp__top. */
.nc-pdp__summary.summary {
	position: static;
	padding: 32px;
	border-radius: var(--r-lg);
	background: var(--sand);
}

.woocommerce div.product .product_title {
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.06;
	margin: 0 0 14px;
	color: var(--ink);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	display: block;
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--ink);
}

.woocommerce div.product p.price del {
	margin-inline-end: 10px;
	font-size: 19px;
	font-weight: 600;
	color: var(--ink-3);
}

.woocommerce div.product p.price ins {
	text-decoration: none;
	color: var(--rust);
}

.woocommerce div.product .woocommerce-product-details__short-description {
	margin-bottom: 22px;
	color: var(--ink-2);
	font-size: 16px;
	line-height: 1.65;
}

.woocommerce div.product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--ink-2);
}

.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 24px 0 0;
}

.woocommerce div.product form.cart .quantity input {
	width: 86px;
	padding: 15px 10px;
	border: 1.5px solid var(--line);
	border-radius: var(--r-pill);
	background: #fff;
	font-weight: 700;
	text-align: center;
}

.woocommerce div.product form.cart .button {
	flex: 1 1 220px;
}

.woocommerce div.product .product_meta {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--ink-3);
}

.woocommerce div.product .product_meta a {
	color: var(--ink-2);
}

/* Gallery. WooCommerce hides it until flexslider fades it in, and that
   initialisation does not run reliably under a block theme. The product
   photograph must not depend on JavaScript. */
.woocommerce div.product .woocommerce-product-gallery {
	opacity: 1 !important;
	position: relative;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
	transform: none !important;
	display: grid;
	gap: 12px;
}

.woocommerce div.product .woocommerce-product-gallery__image {
	width: 100% !important;
	float: none !important;
}

.woocommerce div.product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--r-lg);
	background: var(--clay);
}

.woocommerce div.product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px -8px rgba(27, 27, 31, .45);
	font-size: 15px;
	text-decoration: none;
}

.woocommerce div.product .woocommerce-product-gallery__trigger img {
	width: 18px;
	height: 18px;
	aspect-ratio: auto;
	border-radius: 0;
	background: none;
}

/* The theme replaces WooCommerce's sale flash with its own badge. Both get
   the same treatment: a pill in the corner of the photograph, not a loose
   line of text above it. */
.nc-pdp__media .nc-badge,
.woocommerce span.onsale {
	/* The column reset above sets every child to full width, which turned
	   this pill into a banner. */
	width: auto !important;
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	z-index: 3;
	min-height: 0;
	min-width: 0;
	padding: 7px 15px;
	border-radius: var(--r-pill);
	background: var(--ink);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1;
}

.nc-pdp__media .nc-badge--sale {
	background: var(--rust);
}

/* Tabs. */
.woocommerce div.product .woocommerce-tabs {
	margin: 0 0 64px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 26px;
	padding: 6px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--sand);
	list-style: none;
	width: fit-content;
	max-width: 100%;
}

.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 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: var(--r-pill);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 11px 22px;
	border-radius: var(--r-pill);
	color: var(--ink-2);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background .18s, color .18s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 6px 16px -10px rgba(27, 27, 31, .4);
}

.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 76ch;
	color: var(--ink-2);
	font-size: 16px;
	line-height: 1.7;
}

.woocommerce div.product .woocommerce-tabs .panel > h2 {
	font-size: 24px;
	margin-bottom: 14px;
	color: var(--ink);
}

.woocommerce div.product .woocommerce-tabs .panel ul {
	margin: 12px 0 12px 20px;
}

.woocommerce div.product .shop_attributes th {
	width: 180px;
	padding: 12px 0;
	text-align: start;
	font-weight: 700;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
}

.woocommerce div.product .shop_attributes td {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-style: normal;
}

/* Related products use the studio card grid. */
.woocommerce div.product .related > h2,
.woocommerce div.product .up-sells > h2 {
	font-size: clamp(26px, 3vw, 34px);
	letter-spacing: -.03em;
	margin-bottom: 26px;
	color: var(--ink);
}

.woocommerce div.product .related ul.products,
.woocommerce div.product .up-sells ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .related ul.products li.product,
.woocommerce div.product .up-sells ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.woocommerce ul.products li.product img {
	border-radius: var(--r-md);
	background: var(--clay);
	aspect-ratio: 1;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 12px 0 4px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--ink);
}

.woocommerce ul.products li.product .price {
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}

/* Reviews. */
.woocommerce #reviews #comments ol.commentlist {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce #reviews .comment_container {
	display: flex;
	gap: 16px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: #fff;
}

.woocommerce #reviews .comment_container img.avatar {
	position: static;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	flex: none;
}

.woocommerce #reviews .comment-text {
	margin: 0;
	border: 0;
	padding: 0;
}

.woocommerce #review_form_wrapper {
	margin-top: 32px;
	padding: 28px;
	border-radius: var(--r-lg);
	background: var(--sand);
}

.woocommerce #review_form #respond textarea {
	min-height: 140px;
}

/* The wishlist badge used to carry the .cart-count class too, which meant
   updateBadges() wrote the cart total into it and then overwrote that with
   the wishlist total — so the cart count never showed. Splitting the classes
   fixed the count but left the wishlist badge unpositioned, because only
   .cart-count was placed. Give it the same treatment. */
.icon-btn .wish-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: #B4541C;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

/* Neither badge should show a nought. */
.icon-btn .cart-count[data-n="0"],
.icon-btn .wish-count[data-n="0"] {
	display: none;
}

/* ==========================================================================
   Mobile: product grids must fit the phone
   --------------------------------------------------------------------------
   The design's product grid uses a fixed column minimum, so on a 375px
   screen the track is wider than its container and the cards run off the
   right edge with their names clipped. Give small screens two real columns
   that can shrink.
   ========================================================================== */

@media (max-width: 680px) {
	.grid-p,
	.grid-p.grid-3,
	.grid-p.grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.grid-p > * {
		min-width: 0;
	}

	.card .meta h4 {
		font-size: 15px;
		line-height: 1.3;
	}

	.card .meta small {
		font-size: 12px;
	}

	.card .pr {
		flex-wrap: wrap;
		gap: 4px 8px;
	}

	/* A promo tile spanning one narrow column is unreadable. */
	.promo-tile {
		grid-column: 1 / -1;
	}
}

/* Nothing on the page may push the document wider than the screen. */
@media (max-width: 680px) {
	html,
	body {
		overflow-x: hidden;
	}

	.wrap {
		max-width: 100%;
	}
}

/* ==========================================================================
   Product tabs and gallery, once enhanced
   --------------------------------------------------------------------------
   Nothing is hidden until woo.js has marked the wrapper, so with JavaScript
   off every panel and every photograph stays on the page.
   ========================================================================== */

.woocommerce-tabs.is-enhanced .panel,
.woocommerce-tabs.is-enhanced .wc-tab {
	display: none;
}

.woocommerce-tabs.is-enhanced .panel.is-open,
.woocommerce-tabs.is-enhanced .wc-tab.is-open {
	display: block;
}

.woocommerce-tabs.is-enhanced .panel > h2:first-child {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.woocommerce-product-gallery__wrapper.is-enhanced {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.woocommerce-product-gallery__wrapper.is-enhanced .woocommerce-product-gallery__image {
	grid-column: auto;
	cursor: pointer;
	border-radius: var(--r-sm);
	overflow: hidden;
	transition: opacity .18s;
}

.woocommerce-product-gallery__wrapper.is-enhanced .woocommerce-product-gallery__image:not(.is-current) {
	opacity: .62;
}

.woocommerce-product-gallery__wrapper.is-enhanced .woocommerce-product-gallery__image:not(.is-current):hover {
	opacity: 1;
}

.woocommerce-product-gallery__wrapper.is-enhanced .woocommerce-product-gallery__image.is-current {
	grid-column: 1 / -1;
	grid-row: 1;
	cursor: default;
}

.woocommerce-product-gallery__wrapper.is-enhanced .woocommerce-product-gallery__image:not(.is-current) img {
	border-radius: var(--r-sm);
}

/* ==========================================================================
   The try-on stage
   --------------------------------------------------------------------------
   The print is positioned as a percentage of this box, so the box and the
   photograph have to be the same shape — otherwise `cover` crops the
   product and the live name drifts off the thing it is printed on, and
   `contain` letterboxes it and does the same. The shots are square, so the
   stage is square, and the photograph then fills it exactly.
   ========================================================================== */

.stage .tryon {
	width: 100%;
	max-width: 620px;
	height: auto;
	aspect-ratio: 1;
	margin-inline: auto;
	border-radius: var(--r-lg);
	background: var(--clay);
}

.stage .tryon .tryon-photo {
	object-fit: contain;
}

/* ==========================================================================
   Design studio page
   --------------------------------------------------------------------------
   The studio itself is styled by its own plugin, which owns the feature.
   These are the two blocks the page around it adds.
   ========================================================================== */

.note-card {
	max-width: 760px;
	padding: 28px 30px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--rust);
	border-radius: var(--r-lg);
	background: var(--sand);
}

.note-card h3 {
	margin: 0 0 14px;
	font-size: 21px;
	letter-spacing: -.03em;
}

.note-card ul {
	margin: 0 0 16px;
	padding-inline-start: 20px;
	display: grid;
	gap: 8px;
	color: var(--ink-2);
	font-size: 15.5px;
	line-height: 1.6;
}

.note-card strong {
	color: var(--ink);
}

.note-card > p {
	margin: 0;
}

/* The studio's own panel sets its width; keep the page from squeezing it. */
.nc-studio {
	margin-block: 8px 48px;
}
