/**
 * Mobile homepage sections (Figma Mobile Design, Homepage 1098:14) — layout and styling only.
 * Content (categories, images, links, names) always comes from the page / component data.
 */
@media (max-width: 767px) {
	/* Shop by category: round images in a row, label underneath (the category cards are a Bricks component). */
	/* Figma: 20px between the heading and the circles. */
	#shop-by-price #brxe-sbpwrp {
		gap: var(--space-20);
	}

	/* Figma: Newsreader Bold 24px / 24px, centred, #2B2016. */
	#shop-by-price #brxe-xjfxko {
		font-size: var(--text-h4);
		line-height: 1;
		text-align: center;
	}

	#shop-by-price .collections-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* beats the older .collections-grid one-column rule */
		gap: var(--space-20) var(--space-15);
		align-items: start;
	}

	#shop-by-price .collections-grid .brxe-78438f {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--space-10);
		padding: 0;
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		text-decoration: none;
	}

	#shop-by-price .collections-grid .brxe-8e37a1 {
		width: 83px;
		height: 83px;
		aspect-ratio: 1;
		flex: none;
		border-radius: 50%;
		overflow: hidden;
		box-shadow: var(--elev-sm);
	}

	#shop-by-price .collections-grid .brxe-8e37a1 img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 50%;
	}

	#shop-by-price .collections-grid .brxe-f122c9 {
		width: 100%;
		padding: 0;
		background: none;
		align-items: center;
		justify-content: center;
	}

	#shop-by-price .collections-grid .brxe-e1c67c {
		width: 100%;
		align-items: center;
		text-align: center;
	}

	#shop-by-price .collections-grid h3.brxe-fa9ca5 {
		width: 100%;
		margin: 0;
		font-family: "Work Sans", sans-serif;
		font-size: var(--text-sm);
		font-weight: 500;
		line-height: 16.4px; /* Figma: Work Sans Medium 14px / 16.4px, centred */
		text-align: center;
	}

	#shop-by-price .collections-grid p.brxe-76e3db,
	#shop-by-price .collections-grid .brxe-d5a5f6 {
		display: none;
	}

	/* Tap / hover / focus. PRD's desktop hover turns the label white on a brown panel; there is no panel here, so
	   the label would vanish. Touch screens keep the hover state "stuck" after a tap, so there the label stays
	   as it is and only the press (:active) shows brand brown; devices that really hover get brand brown on hover. */
	#shop-by-price .collections-grid .brxe-78438f {
		-webkit-tap-highlight-color: transparent;
	}

	#shop-by-price .collections-grid .brxe-78438f:focus:not(:focus-visible) {
		outline: none;
	}

	#shop-by-price .collections-grid .brxe-78438f:hover,
	#shop-by-price .collections-grid .brxe-78438f:hover .brxe-f122c9 {
		background: none;
	}

	#shop-by-price .collections-grid .brxe-78438f:hover h3.brxe-fa9ca5 {
		color: var(--color-ink);
	}

	#shop-by-price .collections-grid .brxe-78438f:hover .brxe-8e37a1 {
		box-shadow: var(--elev-sm);
	}

	#shop-by-price .collections-grid .brxe-78438f:active h3.brxe-fa9ca5,
	#shop-by-price .collections-grid .brxe-78438f:focus-visible h3.brxe-fa9ca5 {
		color: var(--color-brand-deep);
	}

	#shop-by-price .collections-grid .brxe-78438f:active .brxe-8e37a1 {
		box-shadow: var(--elev-md);
	}

	@media (hover: hover) {
		#shop-by-price .collections-grid .brxe-78438f:hover h3.brxe-fa9ca5 {
			color: var(--color-brand-deep);
		}

		#shop-by-price .collections-grid .brxe-78438f:hover .brxe-8e37a1 {
			box-shadow: var(--elev-md);
		}
	}

	/* No zoom on the round images (PRD's desktop card zooms the image on hover / focus). */
	#shop-by-price .collections-grid .brxe-8e37a1,
	#shop-by-price .collections-grid .brxe-78438f:hover .brxe-8e37a1,
	#shop-by-price .collections-grid .brxe-78438f:focus .brxe-8e37a1,
	#shop-by-price .collections-grid .brxe-78438f:focus-visible .brxe-8e37a1,
	#shop-by-price .collections-grid .brxe-78438f:active .brxe-8e37a1 {
		scale: none;
		transform: none;
	}

	#shop-by-price .collections-grid .brxe-8e37a1 img {
		transition: none;
		transform: none;
	}

	/* Bestselling Prints slider (Figma 1218:14380) — this is the settled / no-JS state; assets/js/mobile-home.js
	   drives the tilt continuously while the slider moves (class sng-fan-on): the centred card is upright; the neighbouring cards peek in
	   scaled to ~93%; the one after leans 5° clockwise, the one before 5° anti-clockwise. PRD's card wrapper has 35px top/bottom padding, so the turn
	   isn't clipped by the slider track. */
	#bestsellers:not(.sng-fan-on) .splide__slide .sng-card {
		transition: transform 0.35s ease;
	}

	#bestsellers:not(.sng-fan-on) .splide__slide:not(.is-active) .sng-card {
		transform: translateX(12px) scale(0.933) rotate(5deg);
	}

	/* The card before the centred one leans the other way, so the cards fan out (Figma prototype). */
	#bestsellers:not(.sng-fan-on) .splide__slide.is-prev .sng-card {
		transform: translateX(-12px) scale(0.933) rotate(-5deg);
	}

	@media (prefers-reduced-motion: reduce) {
		#bestsellers .splide__slide .sng-card {
			transition: none;
		}
	}

	/* Figma: heading -> card 25px, card -> section end 40px. PRD's card wrapper keeps 35px above and below the
	   cards (room for the shadow and the tilt of the neighbouring cards); pull the slider back by the same 35px. */
	#bestsellers #brxe-bs4sld {
		margin-top: calc(-1 * var(--space-35, 35px));
		margin-bottom: calc(-1 * var(--space-35, 35px));
	}

	/* Add to cart and Buy now: same width and height (Figma: 46px, Work Sans SemiBold 18px, pill). */
	#bestsellers .sng-card-actions > .button {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		height: 46px;
		min-height: 46px;
		margin: 0;
		padding: 0 var(--space-20, 20px);
		font-size: 18px;
		font-weight: 600;
		line-height: 21.6px;
		border-radius: 999px;
	}

	/* Shop by Bed Size (Figma 1218:14382): 2 x 2 tiles — photo on top, name + size and a round arrow underneath.
	   The tiles are the same Bricks component as the category cards, so they are styled here, scoped to this section. */
	#shop-by-bed-size #brxe-bs5grd {
		align-items: stretch;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-78438f {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		height: 100%;
		padding: 0;
		overflow: hidden;
		background: var(--color-surface-cream);
		border: 1px solid var(--color-border-subtle);
		border-radius: 10px;
		box-shadow: 0 4px 20px rgba(70, 70, 70, 0.2);
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-8e37a1 {
		width: 100%;
		height: 120px;
		flex: none;
		border-radius: 0;
		overflow: hidden;
		scale: none;
		transform: none;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-8e37a1 img {
		position: static;
		inset: auto; /* PRD's .cat-crop-* classes offset the photo; here the photo simply fills the box */
		width: 100%;
		height: 100%;
		max-width: none;
		aspect-ratio: auto;
		object-fit: cover;
		object-position: center;
		transition: none;
		transform: none;
		scale: none;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-f122c9,
	#shop-by-bed-size #brxe-bs5grd .brxe-78438f:hover .brxe-f122c9 {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		width: 100%;
		padding: 10px;
		background: none;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-e1c67c {
		display: flex;
		flex-direction: column;
		gap: 5px;
		min-width: 0;
	}

	#shop-by-bed-size #brxe-bs5grd h3.brxe-fa9ca5,
	#shop-by-bed-size #brxe-bs5grd .brxe-78438f:hover h3.brxe-fa9ca5 {
		margin: 0;
		font-family: Newsreader, serif;
		font-size: 18px;
		font-weight: 600;
		line-height: 20.7px;
		color: var(--color-ink);
	}

	#shop-by-bed-size #brxe-bs5grd p.brxe-76e3db,
	#shop-by-bed-size #brxe-bs5grd .brxe-78438f:hover p.brxe-76e3db {
		margin: 0;
		font-family: "Work Sans", sans-serif;
		font-size: 11px;
		font-weight: 400;
		line-height: 13.2px;
		color: #9c8f7c;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-d5a5f6 {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 28px;
		height: 28px;
		background: #f3ece0;
		border: 0;
		border-radius: 999px;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-fca2c7,
	#shop-by-bed-size #brxe-bs5grd .brxe-78438f:hover .brxe-fca2c7 {
		color: var(--color-brand-deep);
		font-size: 14px;
		transform: none;
	}

	#shop-by-bed-size #brxe-bs5grd .brxe-78438f:active {
		box-shadow: 0 2px 10px rgba(70, 70, 70, 0.2);
	}

	/* ---- New This Month (Figma prototype 1828:2026): 2 x 2 grid of compact cards, no slider on phones ---- */
	#new-this-month #brxe-n6innr {
		padding-bottom: 35px;
	}

	/* New This Month is a swiping row (Figma Homepage 1098:14): Splide slide mode, 178px cards, 10px gap, 20px side padding
	   (set in the slider's own options in the page data, breakpoint 767). */
	#new-this-month #brxe-n6sldr .splide__arrows {
		display: none;
	}

	#new-this-month #brxe-n6sldr .splide__slide {
		height: auto;
	}

	/* the card: no panel, photo first, text underneath */
	#new-this-month .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;
	}

	#new-this-month .sng-card:hover {
		box-shadow: none;
		transform: none;
	}

	#new-this-month .sng-card__thumb {
		position: relative;
		flex: none;
		height: 196px;
		border-radius: 10px;
		overflow: hidden;
	}

	#new-this-month .sng-card__thumb a.brxe-image,
	#new-this-month .sng-card__thumb img {
		display: block;
		width: 100%;
		height: 100%;
	}

	#new-this-month .sng-card__thumb img {
		object-fit: cover;
		transform: none;
		scale: none;
		transition: none;
	}

	/* badges: pills, top left; "New" is green */
	#new-this-month .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. */
	#new-this-month .sng-card .brxe-6c58ba {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
		max-width: calc(100% - 52px);
	}

	#new-this-month .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 */
	#new-this-month .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%;
	}

	#new-this-month .sng-card .brxe-sngchv {
		display: none;
	}

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

	#new-this-month .sng-card .brxe-jscwab {
		display: flex;
		flex-direction: column;
		gap: 5px;
		padding: 0;
		border: 0;
	}

	#new-this-month .sng-card h3.brxe-683ea5,
	#new-this-month .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);
	}

	#new-this-month .sng-card h3.brxe-683ea5 {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	#new-this-month .sng-card .sng-card-rating {
		display: flex;
		align-items: center;
		gap: 5px;
	}

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

	#new-this-month .sng-card .sng-card-rating__fill {
		display: none;
	}

	#new-this-month .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). */
	#new-this-month .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;
	}

	#new-this-month .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;
	}

	#new-this-month .sng-card .sng-card-rating__base svg,
	#new-this-month .sng-card .sng-card-rating__base svg path {
		color: #d97706;
		fill: #d97706;
	}

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

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

	#new-this-month .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);
	}

	#new-this-month .sng-card .brxe-9aa3ce p.price ins {
		order: 1;
		text-decoration: none;
		background: none;
	}

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

	#new-this-month .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;
	}

	/* No quick-add "+" button on the photo (removed on request); Add to cart / Buy now are hidden on phones here. */
	#new-this-month .sng-card .brxe-e3bed8 {
		display: none;
	}

	/* (unused now, kept for reference) quick add: round "+" on the photo, bottom right */
	#new-this-month .sng-card .brxe-e3bed8--unused {
		position: absolute;
		top: 152px;
		right: 8px;
		z-index: 3;
		width: 36px;
		height: 36px;
		margin: 0;
		padding: 0;
	}

	#new-this-month .sng-card .sng-card-actions {
		display: block;
	}

	#new-this-month .sng-card .sng-card-actions > a.button {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		min-height: 36px;
		margin: 0;
		padding: 0;
		font-size: 0;
		line-height: 0;
		background: var(--color-brand-deep);
		border: 0;
		border-radius: 50%;
		box-shadow: none;
	}

	#new-this-month .sng-card .sng-card-actions > a.button > span {
		display: none;
	}

	#new-this-month .sng-card .sng-card-actions > a.button::before {
		content: "+";
		font-family: "Work Sans", sans-serif;
		font-size: 24px;
		font-weight: 400;
		line-height: 1;
		color: #fff;
	}

	#new-this-month .sng-card .sng-card-actions > .sng-card-buy-now,
	#new-this-month .sng-card .sng-card-actions > a.added_to_cart {
		display: none;
	}

	/* PRD's card wrapper has 35px above and below the cards (room for the slider shadow); not needed in the grid */
	#new-this-month #brxe-n6sldr .brxe-nmcard {
		padding: 0;
		height: auto;
	}

	/* "See all >" next to the heading */
	#new-this-month .sng-see-all {
		flex: none;
		white-space: nowrap;
	}

	#new-this-month .sng-see-all::after {
		content: "";
		width: 14px;
		height: 14px;
		margin-left: 2px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 2.5 9.5 7 5 11.5'/></svg>") center / contain no-repeat;
		mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 2.5 9.5 7 5 11.5'/></svg>") center / contain no-repeat;
		align-self: center;
	}

	/* FAQ text (Figma 1218:15437): question Work Sans SemiBold 15/21, answer Work Sans 13/18.9 #6B5D4D, 18px icon */
	#faq #brxe-q9innr {
		padding-bottom: 40px;
	}

	#faq #brxe-q9accd .accordion-title-wrapper {
		align-items: center;
		gap: 10px;
		padding: 0;
	}

	#faq #brxe-q9accd .accordion-title-wrapper h3 {
		margin: 0;
		font-family: "Work Sans", sans-serif;
		font-size: 15px;
		font-weight: 600;
		line-height: 21px;
		color: var(--color-ink);
	}

	#faq #brxe-q9accd .accordion-content-wrapper {
		padding: 0; /* the 10px between question and answer comes from the item's own gap */
	}

	#faq #brxe-q9accd .accordion-content-wrapper p {
		margin: 0;
		font-family: "Work Sans", sans-serif;
		font-size: 13px;
		font-weight: 400;
		line-height: 18.9px;
		color: #6b5d4d;
	}

	#faq #brxe-q9accd .faq-icon {
		flex: none;
		font-size: 18px;
		color: var(--color-brand-deep);
	}

	/* ---- Reviews (Figma 1218:16445): text sizes only; content stays PRD's ---- */
	#brxe-r8innr #brxe-r8gstr {
		font-size: 16px;
		line-height: 24px;
	}

	#brxe-r8innr #brxe-r8gtxt {
		font-size: 16px;
		line-height: 25.6px;
	}

	#brxe-r8innr .brxe-r8cstr {
		font-size: 13px;
		line-height: 15.2px;
	}

	#brxe-r8innr .brxe-r8ctxt {
		font-size: 13px;
		line-height: 18px;
	}

	#brxe-r8innr .brxe-r8anam,
	#brxe-r8innr .brxe-r8acit {
		font-size: 12px;
		line-height: 14.1px;
	}

	/* ---------- New This Month cards as in Figma Homepage 1098:14 (same card as the shop): panel card, Newsreader name, price + red
	   discount pill, full-width "Add to cart" and "Buy now" (no colour dots: PRD already has one card per colour) ---------- */
	#new-this-month .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;
	}

	#new-this-month .sng-card:hover {
		box-shadow: 0 2px 8px rgba(43, 32, 22, 0.08);
	}

	#new-this-month .sng-card__thumb {
		border-radius: 0;
	}

	#new-this-month .sng-card .brxe-266273 {
		padding: 10px;
		gap: 5px;
	}

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

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

	#new-this-month .sng-card .brxe-6e8d74:empty {
		display: none;
	}

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

	#new-this-month .sng-card .sng-card-actions {
		display: flex;
		flex-direction: column;
		gap: 6px;
		width: 100%;
	}

	#new-this-month .sng-card .sng-card-actions > a.button,
	#new-this-month .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;
	}

	#new-this-month .sng-card .sng-card-actions > a.button {
		background: var(--color-brand-deep);
		color: var(--color-on-accent);
		font-size: 13px;
	}

	#new-this-month .sng-card .sng-card-actions > a.button::before {
		content: none;
	}

	#new-this-month .sng-card .sng-card-actions > a.button > span {
		display: inline;
	}

	/* "Notify Me" (out of stock, inc/back-in-stock.php) the same size as Add to cart / Buy now. */
	#new-this-month .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;
	}
}

/* Shop by Bed Size: no size / pillow-cover line under the bed name, on phones and desktop (requested 2026-11-12).
   The text stays in the card data; remove this rule to show it again. */
#shop-by-bed-size #brxe-bs5grd .brxe-76e3db {
	display: none !important;
}

/* Shop by Bed Size: the tiles are a loop over the Bed Size attribute and skip sizes without products; if no size
   has any product, hide the whole section instead of showing a heading with nothing under it. */
#shop-by-bed-size:not(:has(#brxe-bs5grd .brxe-78438f)) {
	display: none;
}

/* Hero dandiya sticks (#brxe-mhrdco, Figma "Dandiya Bottom Left" 1218:16581): as in Figma, the sticks reach
   the banner's right edge and end 8px above its bottom (they used to hang 11px below it). The PNG has
   transparent margins (sticks at 59–496 × 85–475 of 585 × 550 px; shown 195.3px wide = 0.334×), so the image
   box sits past the edges by those margins. Overrides the Bricks variables (-54.3px / -35.64px) here only. */
@media (max-width: 767px) {
	#brxe-mhrsec {
		--mhero-deco-right: -29.7px;
		--mhero-deco-bottom: -17px;
	}
}

/* ---------- Figma fixes 2026-11-16 (Homepage 1098:14), phones only ---------- */
@media (max-width: 767px) {
	/* Shop by category: plain cream section (no sand band, no decorative ring); photos with a 1px border and
	   Figma's shadow (0 4px 20px 20%), which the tile no longer clips. */
	body #shop-by-price {
		background-color: var(--color-surface-cream);
	}

	body #shop-by-price #brxe-sbpdec {
		display: none;
	}

	#shop-by-price .collections-grid .brxe-78438f {
		overflow: visible;
	}

	#shop-by-price .collections-grid .brxe-8e37a1 {
		border: 1px solid #DDD2C0;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	}

	/* Shop by Bed Size: the booti pattern at Figma's size (one 160px tile, not stretched to cover). */
	body #shop-by-bed-size {
		background-size: 159.6px 159.6px;
	}

	/* New This Month: room under the cards so their shadow isn't cut by the slider track. */
	#new-this-month #brxe-n6sldr-track {
		padding-bottom: 12px;
	}

	#new-this-month #brxe-n6innr {
		padding-bottom: 23px;
	}

	/* Instagram: Figma's #FFDD87 at 30% on the cream page. */
	body #instagram {
		background-color: #FCEFD2;
	}

	/* Section order (Figma): … New This Month, FAQ, Instagram, Reviews. */
	.home #brx-content {
		display: flex;
		flex-direction: column;
	}

	.home #brx-content > #faq {
		order: 1;
	}

	.home #brx-content > #instagram {
		order: 2;
	}

	.home #brx-content > #brxe-r8innr {
		order: 3;
	}

	.home #brx-content > :is(#faq, #instagram, #brxe-r8innr) ~ :not(#faq, #instagram, #brxe-r8innr) {
		order: 4;
	}
}
