/*
 * Product page on phones (Figma Mobile Design "Product Detail" 1300:36837), see inc/mobile-product.php.
 * Template: Bricks "Product Detail — Neela Jaal" (699), ids #brxe-… (sections by their CSS ids #pdp-…).
 * Phones only: 767px = mobile_landscape.
 * The blocks are the desktop ones, re-ordered and re-styled; mobile-product.js moves the review summary
 * and the offers next to the reviews / description and adds the section headings + collapsible sections.
 */
@media (max-width: 767px) {
	/* ---------- Shell: action bar instead of the tab bar; no breadcrumb ---------- */
	/* The tab bar goes invisible rather than display: none, because the WhatsApp bubble (which Figma keeps
	   on this page, above the action bar) is inside it. Invisible parts don't take taps. */
	.single-product #brxe-mnvsec {
		visibility: hidden;
	}

	.single-product #brxe-mwabtn {
		visibility: visible;
	}

	.single-product #brxe-bcins1,
	.single-product #frame-8-breadcrumb {
		display: none;
	}

	.single-product {
		padding-bottom: var(--mbar-h, 91px);
	}

	/* The site header floats over the page and inner pages clear it with the breadcrumb section's top
	   padding; without the breadcrumb, put the header back in the flow. */
	.single-product #brx-header {
		position: relative;
	}

	.single-product::after {
		content: "";
		position: fixed;
		inset: auto 0 0;
		z-index: 39;
		height: var(--mbar-h, 91px);
		background: rgba(255, 255, 255, 0.9);
		box-shadow: 5px -6px 24px rgba(0, 0, 0, 0.11);
	}

	/* ---------- Main: gallery, then the details on white (Figma padding 20 / 20 / 40) ---------- */
	.single-product #pdp-main {
		padding: 0;
	}

	.single-product #brxe-901rpt,
	.single-product #brxe-8is6ex {
		width: 100%;
		max-width: none;
	}

	.single-product #brxe-901rpt {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.single-product #brxe-rr1lo6 {
		width: auto;
		max-width: none;
		margin: 0;
		padding: 5px 5px 10px;
	}

	/* Gallery: full width, rounded photos, dots instead of thumbnails, no zoom button. */
	.single-product #brxe-rr1lo6 .woocommerce-product-gallery__trigger {
		display: none;
	}

	.single-product #brxe-rr1lo6 .woocommerce-product-gallery__image img {
		border-radius: var(--radius-card);
	}

	.single-product #brxe-rr1lo6 .flex-control-thumbs {
		display: flex;
		justify-content: center;
		gap: 9px;
		margin: var(--space-15) 0 0;
		padding: 0;
	}

	.single-product #brxe-rr1lo6.ctm-product-gallery .flex-control-thumbs li {
		position: relative;
		flex: none;
		width: 10px;
		min-width: 10px;
		max-width: none;
		height: 10px;
		margin: 0;
		border-radius: var(--radius-pill);
		background: var(--color-border-subtle);
	}

	.single-product #brxe-rr1lo6.ctm-product-gallery .flex-control-thumbs li:has(img.flex-active) {
		background: var(--color-brand-deep);
	}

	.single-product #brxe-rr1lo6.ctm-product-gallery .flex-control-thumbs li img {
		position: absolute;
		inset: -8px; /* Bigger tap target than the dot. */
		width: auto;
		height: auto;
		opacity: 0;
	}

	.single-product #brxe-8is6ex {
		display: flex;
		flex-direction: column;
		gap: var(--space-20);
		padding: var(--space-20) var(--space-20) 0;
		background: var(--color-on-accent);
	}

	/* The add-to-cart form's wrappers step aside so its parts can be ordered with the rest. */
	.single-product #brxe-13se2s,
	.single-product #brxe-7xme75,
	.single-product #brxe-zshnae,
	.single-product #brxe-tjkd3n,
	.single-product #brxe-tjkd3n form.cart,
	.single-product #brxe-tjkd3n .single_variation_wrap,
	.single-product #brxe-tjkd3n form.cart .woocommerce-variation-add-to-cart.variations_button {
		display: contents;
	}

	.single-product #brxe-tjkd3n form.cart .woocommerce-variation-add-to-cart.variations_button::before {
		display: none;
	}

	.single-product #brxe-428z8p { order: 1; }
	.single-product #brxe-k3fv54 { order: 2; }
	.single-product #brxe-tjkd3n table.variations { order: 3; }
	.single-product #brxe-k1yzuh { order: 4; }
	.single-product #brxe-tjkd3n .woocommerce-variation { order: 4; }
	.single-product #brxe-4jp8b3 { order: 5; }
	.single-product #brxe-dodaut { order: 6; }
	.single-product .sng-qty-field { order: 7; }
	.single-product #brxe-tjkd3n .added_to_cart { order: 7; } /* "View cart" after adding: under the quantity. */
	.single-product #brxe-7xrcug { order: 8; }
	.single-product #brxe-h6092v { order: 9; }
	.single-product #brxe-qygh2e { order: 10; }
	.single-product #brxe-sngsa1 { order: 4; } /* Back-in-stock form (out of stock only): right after the "Out of stock" text (same order as the price / stock, later in the page). */

	.single-product #brxe-sngsa1:empty {
		display: none;
	}

	/* Badge | wishlist + share (Figma 30px square buttons). */
	.single-product #brxe-428z8p {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.single-product #brxe-6v3zbp {
		display: flex;
		align-items: center;
		gap: var(--space-10);
	}

	.single-product #brxe-ve0ths,
	.single-product #brxe-bmb4ux {
		display: none;
	}

	.single-product #brxe-e9oncj {
		order: 2; /* Wishlist, then share (Figma). */
	}

	.single-product #brxe-y4jgfr,
	.sng-share-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		padding: 0;
		border: var(--hairline-md) solid var(--color-border-subtle);
		border-radius: var(--radius-sm);
		background: var(--color-surface-sand);
		color: var(--color-ink);
		cursor: pointer;
	}

	.sng-share-btn svg {
		width: 14px;
		height: 14px;
	}

	/* Share links appear only when the phone has no share sheet (mobile-product.js). */
	.single-product #brxe-e9oncj.is-open #brxe-bmb4ux {
		display: flex;
		position: absolute;
		z-index: 5;
		margin-top: 40px;
		padding: var(--space-8);
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: var(--radius-sm);
		background: var(--color-surface-cream);
	}

	.single-product #brxe-k3fv54,
	.single-product #brxe-k3fv54 .product_title {
		margin: 0;
		font-family: var(--font-display);
		font-size: 30px;
		font-weight: 600;
		line-height: 1;
		color: var(--color-ink);
	}

	/* Bed size | Colour as two drop-downs (Figma 174×36 pills) instead of the swatches. */
	.single-product #brxe-tjkd3n table.variations,
	.single-product #brxe-tjkd3n table.variations tbody {
		display: block;
		width: 100%;
		margin: 0;
	}

	.single-product #brxe-tjkd3n table.variations tbody {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-15);
	}

	.single-product #brxe-tjkd3n table.variations tr {
		display: flex;
		flex-direction: column;
		gap: var(--space-10);
		min-width: 0;
	}

	.single-product #brxe-tjkd3n table.variations tr:has(select[name="attribute_pa_size"]) {
		order: -1;
	}

	.single-product #brxe-tjkd3n table.variations th,
	.single-product #brxe-tjkd3n table.variations td {
		display: block;
		padding: 0;
	}

	.single-product #brxe-tjkd3n table.variations th label {
		font-family: var(--font-body);
		font-size: 13px;
		font-weight: 600;
		line-height: 1.17;
		letter-spacing: 0;
		text-transform: uppercase;
		color: var(--color-ink);
	}

	.single-product #brxe-tjkd3n .bricks-variation-swatches,
	.single-product #brxe-tjkd3n .reset_variations {
		display: none;
	}

	/* !important: the swatches script hides the select's wrapper with an inline style. */
	.single-product #brxe-tjkd3n td.value > div {
		display: block !important;
	}

	.single-product #brxe-tjkd3n table.variations td.value select { /* Outranks product-variations' select rule. */
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		height: 36px;
		margin: 0;
		padding: 0 36px 0 var(--space-16);
		line-height: 34px;
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: var(--radius-pill);
		background: var(--color-surface-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%232B2016' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
		font-family: var(--font-body);
		font-size: 13px;
		font-weight: 600;
		color: var(--color-ink);
		appearance: none;
		-webkit-appearance: none;
	}

	/* WooCommerce repeats the chosen size's price under the form; the main price already shows it
	   (product-variations.js). Stock messages stay. */
	.single-product #brxe-tjkd3n .woocommerce-variation-price,
	.single-product #brxe-tjkd3n .woocommerce-variation-description:empty {
		display: none;
	}

	/* Without a stock message the box is empty but would still add a flex gap. !important: WooCommerce
	   opens it with an inline display: block. */
	/* Stock message ("Only 5 left!"): WooCommerce's 30px bottom margin left a gap before the rating. */
	.single-product #brxe-tjkd3n .woocommerce-variation {
		margin-bottom: 0;
	}

	.single-product #brxe-tjkd3n .woocommerce-variation:not(:has(.stock:not(:empty))) {
		display: none !important;
	}

	/* Price: ₹2,190  ₹2,590  [15% off], MRP note under it. */
	.single-product #brxe-k1yzuh {
		display: flex;
		flex-direction: column;
		gap: var(--space-5);
	}

	.single-product #brxe-kj9od0 {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: var(--space-10);
	}

	.single-product #brxe-a5bz6t .price {
		display: flex;
		align-items: baseline;
		flex-wrap: wrap;
		gap: 0 var(--space-10);
		margin: 0;
		font-family: var(--font-display);
		font-size: 28px;
		font-weight: 600;
		line-height: 1;
		color: var(--color-ink);
	}

	.single-product #brxe-a5bz6t .price del {
		order: 2;
		font-family: var(--font-body);
		font-size: 16px;
		font-weight: 400;
		color: var(--color-ink-muted);
	}

	.single-product #brxe-a5bz6t .price ins {
		order: 1;
		text-decoration: none;
	}

	.single-product #brxe-0vr24f .onsale {
		padding: 4px 8px;
		border-radius: var(--radius-pill);
		background: var(--color-sale);
		font-family: var(--font-body);
		font-size: 12px;
		font-weight: 600;
		line-height: 1.17;
		color: var(--color-on-accent);
	}

	.single-product #brxe-yhknqk {
		font-size: 12px;
		font-weight: 600;
		line-height: 1.4;
		color: var(--color-ink-soft);
	}

	.single-product #brxe-4jp8b3 {
		display: flex;
		align-items: center;
		gap: var(--space-20);
		font-size: 13px;
		color: var(--color-ink);
	}

	.single-product #brxe-dodaut,
	.single-product #brxe-dodaut p {
		margin: 0;
		font-size: 14px;
		line-height: 18px;
		color: var(--color-ink);
	}

	/* Quantity: label over a 124×36 stepper. */
	.sng-qty-field {
		display: flex;
		flex-direction: column;
		gap: var(--space-10);
	}

	.sng-qty-field__label {
		font-family: var(--font-body);
		font-size: 13px;
		font-weight: 600;
		line-height: 1.17;
		text-transform: uppercase;
		color: var(--color-ink);
	}

	.sng-qty-field .quantity {
		display: flex;
		align-self: flex-start;
		height: 36px;
		overflow: hidden;
		border: var(--hairline-md) solid var(--color-border-subtle);
		border-radius: var(--radius-pill);
		background: var(--color-on-accent);
	}

	.sng-qty-field .quantity .action {
		display: flex;
		align-items: center;
		justify-content: center;
		order: 0;
		width: 40px;
		height: 100%;
		background: var(--color-surface-sand);
	}

	.sng-qty-field .quantity .action.plus {
		order: 2;
	}

	.sng-qty-field .quantity input.qty {
		order: 1;
		width: 40px;
		height: 100%;
		border: 0;
		background: var(--color-surface-cream);
		text-align: center;
	}

	.single-product #brxe-tjkd3n .added_to_cart {
		align-self: flex-start;
		margin: calc(var(--space-10) * -1) 0 0;
		padding: 0;
		border: 0;
		background: none;
		font-family: var(--font-body);
		font-size: 14px;
		font-weight: 600;
		color: var(--color-brand-deep);
		text-decoration: underline;
	}

	/* Action bar (Figma "Bottom"): Buy it now | Add to cart. */
	.single-product #brxe-tjkd3n .single_add_to_cart_button,
	.single-product #brxe-tjkd3n .brxe-a2ad87,
	.single-product #brxe-tjkd3n #btn-1cc-pdp {
		position: fixed;
		bottom: var(--space-20);
		z-index: 40;
		display: flex;
		align-items: center;
		justify-content: center;
		width: calc(50% - 25px);
		height: 51px;
		margin: 0;
		padding: 0;
		border-radius: var(--radius-pill);
		font-family: var(--font-body);
		font-size: 16px;
		font-weight: 600;
	}

	/* Buy it now = Razorpay Magic Checkout's own button (#btn-1cc-pdp, opens its popup). */
	.single-product #brxe-tjkd3n .brxe-a2ad87,
	.single-product #brxe-tjkd3n #btn-1cc-pdp {
		left: var(--space-20);
		min-width: 0; /* Razorpay sets 200px + padding: two equal halves as in Figma. */
		text-transform: none;
		letter-spacing: normal;
		line-height: 1;
		border: var(--hairline-md) solid var(--color-ink);
		background: transparent;
		color: var(--color-ink);
	}

	.single-product #brxe-tjkd3n .single_add_to_cart_button {
		right: var(--space-20);
		border: 0;
		background: var(--color-brand-accent);
		color: var(--color-on-accent);
		opacity: 1;
	}

	/* Sand band: free shipping, pincode check, trust cards (Figma padding 40 / 20, gap 20). */
	.single-product #brxe-7xrcug,
	.single-product #brxe-h6092v,
	.single-product #brxe-qygh2e {
		width: auto;
		max-width: none;
		margin: 0 calc(var(--space-20) * -1);
		padding: 0 var(--space-20);
		border: 0;
		border-radius: 0;
		background: var(--color-surface-sand);
	}

	.single-product #brxe-7xrcug {
		margin-top: var(--space-20);
		padding-top: var(--space-40);
		padding-bottom: var(--space-20);
		/* Rule under the free-shipping line, inset to the content width (Figma). */
		background: linear-gradient(var(--color-border-subtle), var(--color-border-subtle)) no-repeat var(--space-20) 100% / calc(100% - 2 * var(--space-20)) 1px, var(--color-surface-sand);
	}

	.single-product #brxe-bnv73b {
		font-family: var(--font-body);
		font-size: 14px;
		font-weight: 500;
		line-height: 1.5;
		color: var(--color-ink);
	}

	.single-product #brxe-h6092v,
	.single-product #brxe-qygh2e {
		margin-top: calc(var(--space-20) * -1);
		padding-top: var(--space-20);
	}

	.single-product #brxe-qygh2e {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
		gap: var(--space-10);
		padding-bottom: var(--space-40);
	}

	.single-product #brxe-qygh2e > div {
		width: auto;
		min-width: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--space-10);
		padding: var(--space-10);
		border: 0;
		border-radius: var(--radius-card);
		background: var(--color-surface-cream);
		text-align: center;
	}

	.single-product #brxe-qygh2e > div > div {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
	}

	/* ---------- Tabs become stacked sections (Figma: Additional Information, Reviews, Description …) ---------- */
	.single-product #pdp-tabs {
		padding: 0;
	}

	.single-product #brxe-dlpzf7 {
		display: none;
	}

	.single-product #brxe-8tm3p1 {
		display: flex;
		flex-direction: column;
		padding: 0;
	}

	/* All panes show: mobile-product.js marks them .brx-open (Bricks' own "display: none !important" for
	   closed panes sits in a cascade layer, so no unlayered rule can override it). */
	.single-product #brxe-8tm3p1 > .tab-pane,
	.single-product #brxe-8tm3p1 > #brxe-sqzbss {
		display: block !important; /* .ctm-pdp-des (description pane) is "display: flex !important". */
		min-height: 0 !important; /* .ctm-pdp-des sets 250px !important for the desktop tab. */
		margin: 0;
		padding: var(--space-40) var(--space-20);
		background: var(--color-on-accent);
	}

	.single-product #brxe-a4uo3i { order: 1; }
	.single-product #brxe-n604o1 { order: 2; background: var(--color-surface-cream); padding-bottom: var(--space-20); }
	/* Description, Offers, FAQ are rows straight under each other (the pane rule above would give each 40px top and bottom,
	   80px between collapsed rows): #brxe-8tm3p1 > … so these win over it. */
	.single-product #brxe-8tm3p1 > #brxe-w07uzj { order: 3; padding-bottom: 0; }
	.single-product #brxe-8tm3p1 > #brxe-sqzbss { order: 4; padding-block: 0; }
	.single-product #brxe-8tm3p1 > #brxe-z6bmky { order: 5; padding-top: 0; }

	.sng-pdp-heading,
	.single-product #brxe-ahvylo {
		margin: 0 0 var(--space-15);
		font-family: var(--font-display);
		font-size: 20px;
		font-weight: 600;
		line-height: 1.25;
		color: var(--color-ink);
	}

	/* Additional information: label | value rows with a rule between them. */
	.single-product #brxe-28sug5 table {
		width: 100%;
		margin: 0;
		border: 0;
		border-collapse: collapse;
	}

	.single-product #brxe-28sug5 tr {
		display: flex;
		gap: var(--space-24);
		padding: var(--space-10) 0;
		border-bottom: var(--hairline) solid var(--color-border-subtle);
	}

	.single-product #brxe-28sug5 tr:last-child {
		border-bottom: 0;
	}

	.single-product #brxe-28sug5 th,
	.single-product #brxe-28sug5 td {
		padding: 0;
		border: 0;
		background: none;
		font-family: var(--font-body);
		font-size: 15px;
		line-height: 1.75;
		text-align: left;
	}

	.single-product #brxe-28sug5 th {
		flex: 0 0 130px;
		font-weight: 500;
		color: var(--color-ink);
	}

	.single-product #brxe-28sug5 td {
		flex: 1;
		color: var(--color-ink-muted);
	}

	.single-product #brxe-28sug5 td p {
		margin: 0;
	}

	/* Reviews: summary card (moved here) above the list. */
	.single-product #brxe-n604o1 #brxe-qaousv {
		display: flex;
		align-items: center;
		gap: var(--space-16);
		margin-bottom: var(--space-20);
		padding: var(--space-10);
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: var(--radius-card);
		background: var(--color-surface-sand);
		box-shadow: 0 4px 11px rgba(0, 0, 0, 0.11);
	}

	.single-product #brxe-n604o1 #brxe-rb7u75 {
		flex: 1;
		min-width: 0;
	}

	.single-product #brxe-n604o1 .woocommerce-Reviews-title,
	.single-product #brxe-n604o1 .comment-reply-title {
		display: none; /* "Reviews (N)" heading above replaces them (Figma). */
	}

	.single-product #brxe-n604o1 .must-log-in {
		margin: var(--space-20) 0 0;
		text-align: center;
		font-size: 18px;
		font-weight: 500;
	}

	.single-product #brxe-n604o1 .must-log-in a {
		color: var(--color-brand-accent);
	}

	/* Collapsible sections: Description (open), Offers and FAQ (closed). */
	.sng-pdp-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 0;
		padding: 18px 0;
		border: 0;
		border-bottom: var(--hairline) solid var(--color-border-subtle);
		background: none;
		font-family: var(--font-display);
		font-size: 20px;
		font-weight: 600;
		line-height: 1.25;
		color: var(--color-ink);
		text-align: left;
		cursor: pointer;
	}

	.sng-pdp-toggle::after {
		content: "";
		width: 14px;
		height: 9px;
		background: currentColor;
		transform: rotate(180deg);
		transition: transform 0.2s;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	.sng-pdp-toggle[aria-expanded="false"]::after {
		transform: none;
	}

	.single-product #brxe-w07uzj .sng-pdp-toggle {
		padding-top: 0;
		border-bottom: 0;
	}

	/* Collapsed, the Description row gets the same divider as the FAQ / Offers rows (open, the line sits under its text). */
	.single-product #brxe-w07uzj .sng-pdp-toggle[aria-expanded="false"] {
		border-bottom: var(--hairline) solid var(--color-border-subtle);
	}

	.sng-pdp-collapsible[hidden] {
		display: none;
	}

	.single-product #brxe-w07uzj .sng-pdp-collapsible {
		display: flex;
		flex-direction: column;
		gap: var(--space-10);
		padding-bottom: var(--space-15);
		border-bottom: var(--hairline) solid var(--color-border-subtle);
	}

	.single-product #brxe-w07uzj .sng-pdp-collapsible[hidden] {
		display: none;
	}

	/* Description photo above the text (desktop pins it to the right edge), fading out at the bottom. */
	.single-product #brxe-dmxjnj {
		position: relative;
		inset: auto;
		display: block;
		order: -1;
		width: 100%;
		max-width: none; /* Desktop: 53% at the pane's right edge. */
		height: 219px;
		overflow: hidden;
		border-radius: 5px;
	}

	.single-product #brxe-dmxjnj::before {
		display: none; /* Desktop's sideways fade. */
	}

	.single-product #brxe-dmxjnj img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.single-product #brxe-dmxjnj::after {
		content: "";
		position: absolute;
		inset: auto 0 0;
		height: 106px;
		background: linear-gradient(rgba(255, 255, 255, 0), var(--color-on-accent));
	}

	.single-product #brxe-xxfxci p {
		font-size: 16px;
		line-height: 1.6;
		color: var(--color-ink-muted);
	}

	/* Offers: same row style as the other collapsible sections. */
	.single-product #brxe-8tm3p1 #brxe-sqzbss {
		border: 0;
		border-radius: 0;
	}

	.single-product #brxe-8tm3p1 #brxe-k1sc0c {
		padding: 0;
		border: 0;
		background: none;
	}

	.single-product #brxe-8tm3p1 #brxe-n4cheq {
		padding: 18px 0;
		border-bottom: var(--hairline) solid var(--color-border-subtle);
	}

	.single-product #brxe-8tm3p1 #brxe-eypl62 {
		font-size: 20px;
		font-weight: 600;
		line-height: 1.25;
	}

	.single-product #brxe-8tm3p1 #brxe-g25am3 {
		transform: rotate(90deg); /* Chevron points down while closed, like the other sections. */
	}

	.single-product #brxe-8tm3p1 .brx-open #brxe-g25am3 {
		transform: rotate(-90deg);
	}

	.single-product #brxe-8tm3p1 #brxe-m69v82 {
		padding-top: var(--space-15);
	}

	/* ---------- Related products: one swipeable row of 178px cards on sand; no trust strip ---------- */
	.single-product #pdp-related {
		padding: var(--space-40) 0;
		background: var(--color-surface-sand);
	}

	.single-product #brxe-597mtv {
		gap: var(--space-15);
		padding: 0;
	}

	.single-product #brxe-z5wyvj {
		padding: 0 var(--space-20);
		font-size: 24px;
		font-weight: 700;
		line-height: 1.15;
	}

	.single-product #brxe-wu89hf {
		position: relative;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: var(--space-10);
		padding: 0 var(--space-20);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--space-20); /* Snap cards to the 20px gutter, not the screen edge. */
		scrollbar-width: none;
	}

	.single-product #brxe-wu89hf::-webkit-scrollbar {
		display: none;
	}

	.single-product #brxe-wu89hf > .brxe-xjyqvn {
		flex: 0 0 178px;
		width: 178px;
		scroll-snap-align: start;
	}

	.single-product #brxe-hmo5z1,
	.single-product #brxe-wu89hf .brxe-e4931a {
		display: none; /* Trust strip and colour-dot pills: not in the phone design. */
	}

	/* ---------- Explore From Categories: 3 columns of 83px circles ---------- */
	.single-product #pdp-categories {
		padding: var(--space-40) var(--space-20);
	}

	.single-product #brxe-tfpm3g {
		width: 100%;
		font-size: 24px;
		font-weight: 700;
		line-height: 1;
		text-align: center;
	}

	.single-product #pdp-categories #bl-category-strip {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-20) var(--space-15);
		padding: 0;
	}

	.single-product #pdp-categories #bl-category-strip > .brxe-block {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--space-10);
		width: auto;
		min-width: 0;
	}

	.single-product #pdp-categories #bl-category-strip > .brxe-block > .brxe-block {
		width: 83px;
		height: 83px;
		overflow: hidden;
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: var(--radius-pill);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	}

	.single-product #pdp-categories #bl-category-strip img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.single-product #pdp-categories #bl-category-strip > .brxe-block > .brxe-text-basic {
		font-family: var(--font-body);
		font-size: 14px;
		font-weight: 500;
		line-height: 1.17;
		color: var(--color-ink);
		text-align: center;
	}

	/* ---------- Related products (Figma Product Detail 1300:36837): the same card as the homepage's New This Month
	   (rules copied from mobile-home.css, scoped here). Add to cart + Buy now, as on every card. ---------- */
	/* the card: no panel, photo first, text underneath */
	.single-product #brxe-wu89hf .sng-card {
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 10px;
		height: auto;
		padding: 0;
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		transform: none;
	}

	.single-product #brxe-wu89hf .sng-card:hover {
		box-shadow: none;
		transform: none;
	}

	.single-product #brxe-wu89hf .sng-card__thumb {
		position: relative;
		flex: none;
		height: 196px;
		border-radius: 10px;
		overflow: hidden;
	}

	.single-product #brxe-wu89hf .sng-card__thumb a.brxe-image,
	.single-product #brxe-wu89hf .sng-card__thumb img {
		display: block;
		width: 100%;
		height: 100%;
	}

	.single-product #brxe-wu89hf .sng-card__thumb img {
		object-fit: cover;
		transform: none;
		scale: none;
		transition: none;
	}

	/* badges: pills, top left; "New" is green */
	.single-product #brxe-wu89hf .sng-card .brxe-6c58ba {
		top: 8px;
		left: 8px;
	}

	/* All of the product's badges, as on desktop (each is a Bricks condition in the card component: New, Bestseller,
	   Luxe, Best Value, Sale, Out of Stock, product tag); they wrap and stop short of the wishlist heart. */
	.single-product #brxe-wu89hf .sng-card .brxe-6c58ba {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
		max-width: calc(100% - 52px);
	}

	.single-product #brxe-wu89hf .sng-card .brxe-6c58ba > .brxe-text-basic {
		padding: 5px 10px;
		border-radius: 999px;
		font-family: "Work Sans", sans-serif;
		font-size: 11px;
		font-weight: 600;
		line-height: 12.9px;
	}

	/* wishlist heart: white circle, top right */
	.single-product #brxe-wu89hf .sng-card .brxe-202d3c {
		top: 8px;
		right: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		background: #fff;
		border-radius: 50%;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-sngchv {
		display: none;
	}

	/* text: name, rating, price */
	.single-product #brxe-wu89hf .sng-card .brxe-266273 {
		display: flex;
		flex-direction: column;
		gap: 5px;
		padding: 0;
		background: none;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-jscwab {
		display: flex;
		flex-direction: column;
		gap: 5px;
		padding: 0;
		border: 0;
	}

	.single-product #brxe-wu89hf .sng-card h3.brxe-683ea5,
	.single-product #brxe-wu89hf .sng-card h3.brxe-683ea5 a {
		margin: 0;
		font-family: "Work Sans", sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 21px;
		color: var(--color-ink);
	}

	.single-product #brxe-wu89hf .sng-card h3.brxe-683ea5 {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-rating {
		display: flex;
		align-items: center;
		gap: 5px;
	}

	/* one star, then the rating */
	.single-product #brxe-wu89hf .sng-card .sng-card-rating__stars {
		position: relative;
		flex: none;
		width: 12px;
		height: 12px;
		overflow: hidden;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-rating__fill {
		display: none;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-rating__base svg:not(:first-child) {
		display: none;
	}

	/* The one star is drawn at the 12px box size (the base star is 15px, so the box used to clip it). */
	.single-product #brxe-wu89hf .sng-card .sng-card-rating__base svg {
		width: 12px;
		height: 12px;
		min-width: 0; /* Bricks gives svg:not([width]) a 1em (15px) minimum. */
		min-height: 0;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-rating__base svg {
		width: 12px;
		height: 12px;
		min-width: 0; /* Bricks gives svg:not([width]) a 1em (15px) minimum. */
		min-height: 0;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-rating__base svg,
	.single-product #brxe-wu89hf .sng-card .sng-card-rating__base svg path {
		color: #d97706;
		fill: #d97706;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-rating__text {
		font-family: "Work Sans", sans-serif;
		font-size: 12px;
		font-weight: 600;
		line-height: 16.8px;
		color: #9c8f7c;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-389d65,
	.single-product #brxe-wu89hf .sng-card .brxe-homnvw {
		display: flex;
		flex-direction: row;
		align-items: baseline;
		flex-wrap: wrap;
		gap: 5px;
		margin: 0;
		padding: 0;
		border: 0;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-9aa3ce p.price {
		display: flex;
		align-items: baseline;
		gap: 5px;
		margin: 0;
		font-family: "Work Sans", sans-serif;
		font-size: 16px;
		font-weight: 700;
		line-height: 18.8px;
		color: var(--color-ink);
	}

	.single-product #brxe-wu89hf .sng-card .brxe-9aa3ce p.price ins {
		order: 1;
		text-decoration: none;
		background: none;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-9aa3ce p.price del {
		order: 2;
		font-size: 12px;
		font-weight: 400;
		line-height: 14.1px;
		color: #9c8f7c;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-6e8d74 {
		padding: 0;
		background: none;
		border-radius: 0;
		font-family: "Work Sans", sans-serif;
		font-size: 12px;
		font-weight: 600;
		line-height: 16.8px;
		color: #4f5c3f;
	}

	.single-product #brxe-wu89hf .sng-card {
		background: var(--color-surface-cream);
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: 10px;
		box-shadow: 0 2px 8px rgba(43, 32, 22, 0.08);
		overflow: hidden;
		gap: 0;
	}

	.single-product #brxe-wu89hf .sng-card:hover {
		box-shadow: 0 2px 8px rgba(43, 32, 22, 0.08);
	}

	.single-product #brxe-wu89hf .sng-card__thumb {
		border-radius: 0;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-266273 {
		padding: 10px;
		gap: 5px;
	}

	.single-product #brxe-wu89hf .sng-card h3.brxe-683ea5,
	.single-product #brxe-wu89hf .sng-card h3.brxe-683ea5 a {
		font-family: var(--font-display);
		font-size: 17px;
		font-weight: 600;
		line-height: 20px;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-6e8d74 {
		padding: 4px 9px;
		background: #900010;
		border-radius: 999px;
		font-size: 11px;
		font-weight: 600;
		line-height: 15.4px;
		color: #fff;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-6e8d74:empty {
		display: none;
	}

	.single-product #brxe-wu89hf .sng-card .brxe-e3bed8 {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		margin: 5px 0 0;
		padding: 0;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-actions {
		display: flex;
		flex-direction: column;
		gap: 6px;
		width: 100%;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-actions > a.button,
	.single-product #brxe-wu89hf .sng-card .sng-card-actions > button.sng-card-buy-now {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		height: 36px;
		min-height: 36px;
		margin: 0;
		padding: 0 var(--space-10);
		font-size: 13px;
		font-weight: 600;
		line-height: 15.6px;
		white-space: nowrap;
		border-radius: 999px;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-actions > a.button {
		background: var(--color-brand-deep);
		color: var(--color-on-accent);
		font-size: 13px;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-actions > a.button::before {
		content: none;
	}

	.single-product #brxe-wu89hf .sng-card .sng-card-actions > a.button > span {
		display: inline;
	}


	/* Trust strip (Quality Fabrics / Authentic Prints / ...; component eexkew) is not in the phone design. A component
	   instance ignores Bricks' per-breakpoint display setting, so it is hidden here. */
	.single-product #brxe-597mtv > .brxe-eexkew {
		display: none;
	}

	/* ---------- Photo slider (Figma Product Detail: 382px photos, radius 10, 5px gap, next photo peeks in) ---------- */
	/* WooCommerce's gallery stays in the page (its zoom view opens from the strip) but out of sight. */
	.sng-pgal-on.single-product .woocommerce-product-gallery {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0);
		opacity: 0;
		pointer-events: none;
	}

	.single-product .sng-pgal {
		display: flex;
		flex-direction: column;
		gap: 15px;
		width: 100%;
		padding-bottom: 10px;
	}

	.single-product .sng-pgal__track {
		display: flex;
		gap: 5px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 0;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.single-product .sng-pgal__track::-webkit-scrollbar {
		display: none;
	}

	.single-product .sng-pgal__slide {
		flex: 0 0 calc(100% - 10px); /* 382 of 392 (the gallery box has Figma's 5px padding): the next photo peeks in. */
		aspect-ratio: 1;
		margin: 0;
		padding: 0;
		overflow: hidden;
		border: 0;
		border-radius: 10px;
		background: var(--color-surface-sand);
		scroll-snap-align: start;
		cursor: zoom-in;
	}

	.single-product .sng-pgal__slide img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.single-product .sng-pgal__dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
	}

	.single-product .sng-pgal__dot {
		width: 10px;
		height: 10px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--color-border-subtle);
		cursor: pointer;
	}

	.single-product .sng-pgal__dot.is-active {
		width: 13px;
		height: 13px;
		background: var(--color-brand-deep);
	}

	/* ---------- Bed size / Colour drop-downs open a bottom sheet (Figma prototype) ---------- */
	.single-product #brxe-tjkd3n .sng-var-trigger {
		position: absolute;
		inset: 0;
		z-index: 2;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: var(--radius-pill);
		background: transparent;
		cursor: pointer;
	}

	.single-product #brxe-tjkd3n .sng-var-trigger:focus-visible {
		outline: 2px solid var(--color-brand-deep);
		outline-offset: 2px;
	}

	.sng-vsheet-open,
	.sng-vsheet-open body {
		overflow: hidden;
	}

	.sng-vsheet {
		position: fixed;
		inset: 0;
		z-index: 1000; /* Over the action bar, WhatsApp button and bottom navigation. */
	}

	.sng-vsheet[hidden] {
		display: none;
	}

	.sng-vsheet__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(43, 32, 22, 0.45);
		animation: sng-vsheet-fade 0.2s ease-out;
	}

	.sng-vsheet__panel {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		overflow: hidden;
		border-radius: 20px 20px 0 0;
		background: var(--color-surface-cream);
		animation: sng-vsheet-up 0.3s ease-out; /* Figma: Move in, 300ms, ease out. */
	}

	.sng-vsheet__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 18px var(--space-20);
		border-bottom: var(--hairline) solid var(--color-border-subtle);
		background: #fff;
	}

	.sng-vsheet__title {
		margin: 0;
		font-family: var(--font-body);
		font-size: 16px;
		font-weight: 500;
		line-height: 1.2;
		letter-spacing: 0.02em;
		text-transform: uppercase;
		color: var(--color-ink);
	}

	.sng-vsheet__close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 26px;
		height: 26px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--color-brand-deep);
		color: #fff;
		cursor: pointer;
	}

	.sng-vsheet__close svg {
		width: 11px;
		height: 11px;
	}

	.sng-vsheet__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
		padding: var(--space-20) var(--space-20) calc(var(--space-20) + 10px + env(safe-area-inset-bottom, 0px));
	}

	.sng-vsheet__tile {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-height: 56px;
		margin: 0;
		padding: 12px 6px;
		overflow: hidden;
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: 6px;
		background: #fff;
		font-family: var(--font-body);
		color: var(--color-ink);
		cursor: pointer;
	}

	.sng-vsheet__tile.is-selected {
		border-color: var(--color-brand-deep);
		background: var(--color-surface-sand);
	}

	.sng-vsheet__oos {
		padding-bottom: 6px;
		font-size: 11px;
		font-weight: 500;
		line-height: 1.2;
		color: var(--color-sale, #900010);
	}

	.sng-vsheet__tile.is-oos img {
		opacity: 0.55;
	}

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

	.sng-vsheet__tile:focus-visible {
		outline: 2px solid var(--color-brand-deep);
		outline-offset: 2px;
	}

	.sng-vsheet__name {
		font-size: 15px;
		font-weight: 600;
		line-height: 1.2;
		text-align: center;
	}

	.sng-vsheet__price {
		font-size: 13px;
		font-weight: 500;
		line-height: 1.2;
		color: var(--color-brand-deep);
	}

	/* Colour tiles: the colour's photo, name under it. */
	.sng-vsheet__grid--images .sng-vsheet__tile {
		justify-content: flex-start;
		gap: 0;
		padding: 0;
	}

	.sng-vsheet__grid--images .sng-vsheet__tile img,
	.sng-vsheet__grid--images .sng-vsheet__noimg {
		display: block;
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		background: var(--color-surface-sand);
	}

	.sng-vsheet__grid--images .sng-vsheet__name {
		padding: 10px 4px;
	}

	@keyframes sng-vsheet-up {
		from { transform: translateY(100%); }
		to { transform: none; }
	}

	@keyframes sng-vsheet-fade {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	@media (prefers-reduced-motion: reduce) {
		.sng-vsheet__panel,
		.sng-vsheet__backdrop {
			animation: none;
		}

		.single-product .sng-pgal__track {
			scroll-behavior: auto;
		}
	}

	/* ---------- Out of stock (body.sng-oos, stock-alert.js) on phones: the sticky bar stays, both buttons greyed out
	   and not tappable (product-page.css hides them on desktop, where "Notify Me" takes their place); no quantity. ---------- */
	body.sng-oos.single-product #brxe-tjkd3n .woocommerce-variation-add-to-cart {
		height: auto !important;
		overflow: visible !important;
		visibility: visible !important;
	}

	body.sng-oos.single-product #brxe-tjkd3n .sng-qty-field,
	body.sng-oos.single-product #brxe-tjkd3n .quantity {
		display: none !important;
	}

	body.sng-oos.single-product #brxe-tjkd3n .single_add_to_cart_button,
	body.sng-oos.single-product #brxe-tjkd3n #btn-1cc-pdp,
	body.sng-oos.single-product .sng-oos-bar button {
		display: flex !important;
		opacity: 1;
		pointer-events: none;
		cursor: not-allowed;
	}

	/* Solid muted colours (not see-through, the page scrolls under the bar). */
	body.sng-oos.single-product #brxe-tjkd3n #btn-1cc-pdp,
	body.sng-oos.single-product .sng-oos-bar__buy {
		border-color: var(--color-border-subtle) !important;
		background: #fff !important;
		color: #b7ab9c !important;
	}

	body.sng-oos.single-product #brxe-tjkd3n .single_add_to_cart_button,
	body.sng-oos.single-product .sng-oos-bar__add {
		background: #e3d6c4 !important;
		color: #8f8170 !important;
	}

	/* Simple products that are out of stock have no form at all: stock-alert-bar buttons from mobile-product.js. */
	body.single-product:not(.sng-oos) .sng-oos-bar {
		display: none;
	}

	.single-product .sng-oos-bar button {
		position: fixed;
		bottom: var(--space-20);
		z-index: 40;
		align-items: center;
		justify-content: center;
		width: calc(50% - 25px);
		height: 51px;
		margin: 0;
		padding: 0;
		border-radius: var(--radius-pill);
		font-family: var(--font-body);
		font-size: 16px;
		font-weight: 600;
	}

	.single-product .sng-oos-bar__buy {
		left: var(--space-20);
		border: var(--hairline-md) solid var(--color-ink);
		background: transparent;
		color: var(--color-ink);
	}

	.single-product .sng-oos-bar__add {
		right: var(--space-20);
		border: 0;
		background: var(--color-brand-accent);
		color: var(--color-on-accent);
	}

	/* ---------- Add a review (phones): one sand card like "Sold out for now"; labels like BED SIZE / QUANTITY;
	   full-width cream fields; the ACF Location / Photo fields styled like WooCommerce's; full-width button.
	   Builds on product-page.css (desktop, Figma 472:12991). ---------- */
	/* Logged out there is no form, only "Please login to add a review" (Figma: the link alone, centred): no card. */
	.single-product #brxe-6alp8h #review_form_wrapper:not(:has(form)) {
		max-width: none;
		margin-top: var(--space-20);
		padding: 0;
		border: 0;
		background: none;
	}

	.single-product #brxe-6alp8h #review_form_wrapper:not(:has(form)) .comment-reply-title:empty,
	.single-product #brxe-6alp8h #review_form_wrapper:not(:has(form)) #reply-title {
		display: none;
	}

	.single-product #brxe-6alp8h #review_form_wrapper:not(:has(form)) .must-log-in,
	.single-product #brxe-6alp8h #review_form_wrapper:not(:has(form)) p {
		margin: 0;
		text-align: center;
	}

	.single-product #brxe-6alp8h #review_form_wrapper:has(form) {
		max-width: none;
		margin-top: var(--space-20);
		padding: var(--space-20);
		border: var(--hairline) solid var(--color-border-subtle);
		border-radius: 16px;
		background: var(--color-surface-sand);
	}

	.single-product #brxe-6alp8h .comment-reply-title {
		margin: 0 0 var(--space-16);
		font-size: 20px;
		line-height: 1.2;
	}

	.single-product #brxe-6alp8h .comment-form {
		gap: var(--space-16);
	}

	.single-product #brxe-6alp8h .comment-form > p,
	.single-product #brxe-6alp8h .comment-form .comment-form-rating,
	.single-product #brxe-6alp8h .comment-form .acf-fields {
		flex: 1 1 100%;
		width: 100%;
		margin: 0;
	}

	.single-product #brxe-6alp8h .comment-form .comment-form-rating {
		display: flex;
		flex-direction: column;
		gap: var(--space-8);
	}

	/* Labels as the BED SIZE / QUANTITY labels. */
	.single-product #brxe-6alp8h .comment-form label,
	.single-product #brxe-6alp8h .comment-form .acf-label label {
		display: block;
		margin: 0;
		font-family: var(--font-body);
		font-size: 12px;
		font-weight: 600;
		line-height: 1.3;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--color-ink);
	}

	.single-product #brxe-6alp8h .comment-form .required,
	.single-product #brxe-6alp8h .comment-form .acf-required {
		color: var(--color-brand-deep);
	}

	/* Stars: 30px, evenly spaced, gold when chosen. */
	.single-product #brxe-6alp8h .comment-form p.stars,
	.single-product #brxe-6alp8h .comment-form p.stars > span {
		display: flex;
		gap: var(--space-10);
	}

	.single-product #brxe-6alp8h .comment-form p.stars a {
		width: 30px;
		height: 30px;
		margin: 0;
		font-size: 30px;
	}

	.single-product #brxe-6alp8h .comment-form input[type="text"],
	.single-product #brxe-6alp8h .comment-form input[type="email"],
	.single-product #brxe-6alp8h .comment-form textarea {
		box-sizing: border-box;
		width: 100%;
		min-height: 46px;
		padding: 12px 16px;
		font-size: 14px;
		line-height: 1.4;
		background: var(--color-surface-cream);
		border-radius: 12px;
	}

	.single-product #brxe-6alp8h .comment-form textarea {
		height: 120px;
		min-height: 120px;
	}

	/* ACF fields (Location, Photo): no ACF boxes or padding, same spacing as the WooCommerce fields. */
	.single-product #brxe-6alp8h .comment-form .acf-fields {
		display: flex;
		flex-direction: column;
		gap: var(--space-16);
		border: 0;
		background: none;
	}

	.single-product #brxe-6alp8h .comment-form .acf-field {
		display: flex;
		flex-direction: column;
		gap: var(--space-8);
		margin: 0;
		padding: 0;
		border: 0;
	}

	.single-product #brxe-6alp8h .comment-form .acf-label {
		display: flex;
		flex-direction: column;
		gap: 2px;
		margin: 0;
	}

	.single-product #brxe-6alp8h .comment-form .acf-label .description {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.4;
		text-decoration: none;
		color: var(--color-ink-muted);
	}

	.single-product #brxe-6alp8h .comment-form .acf-input {
		margin: 0;
	}

	/* Photo: "No image selected" + a light outline "Add Image" button; a chosen photo shows as a 64px rounded thumb. */
	.single-product #brxe-6alp8h .acf-image-uploader .hide-if-value p {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--space-10);
		margin: 0;
		font-size: 13px;
		color: var(--color-ink-muted);
	}

	.single-product #brxe-6alp8h .acf-image-uploader .acf-button,
	.single-product #brxe-6alp8h .acf-image-uploader input[type="file"]::file-selector-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 38px;
		margin: 0;
		padding: 0 var(--space-16);
		border: var(--hairline-md) solid var(--color-brand-deep);
		border-radius: var(--radius-pill);
		background: #fff;
		box-shadow: none;
		font-family: var(--font-body);
		font-size: 13px;
		font-weight: 600;
		line-height: 1;
		color: var(--color-brand-deep);
		text-decoration: none;
	}

	.single-product #brxe-6alp8h .acf-image-uploader input[type="file"] {
		font-size: 13px;
		color: var(--color-ink-muted);
	}

	.single-product #brxe-6alp8h .acf-image-uploader .image-wrap {
		max-width: 64px !important;
	}

	.single-product #brxe-6alp8h .acf-image-uploader .image-wrap img {
		width: 64px;
		height: 64px;
		object-fit: cover;
		border-radius: 12px;
	}

	/* Submit: full width, like the sticky bar buttons. */
	.single-product #brxe-6alp8h .comment-form > p.form-submit {
		align-items: stretch;
		margin-top: var(--space-4, 4px);
	}

	.single-product #brxe-6alp8h .comment-form .form-submit .submit {
		width: 100%;
		height: 48px;
		padding: 0;
		font-size: 15px;
	}

	/* "Notify Me" (out of stock, inc/back-in-stock.php) the same size as Add to cart / Buy now. */
	.single-product #brxe-wu89hf .sng-card .sng-card-notify {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		height: 36px;
		min-height: 36px;
		margin: 0;
		padding: 0 var(--space-10);
		border-radius: 999px;
		font-size: 13px;
		font-weight: 600;
		line-height: 15.6px;
		white-space: nowrap;
	}
}
