/*
 * Offers / Sale on phones (page 1323, Figma Mobile Design "Offers / Sale" 1416:20340), loaded by
 * inc/mobile-pages.php. "Offers / Sale" title bar without a back button (it is a tab: mobile-shell.css).
 * Section order as in Figma: Sale Hero, Coupons, Shop by Deal, Deal Spotlight ("Upgrade your bedroom"),
 * Shop by Category (not in Figma), Today's flash deals, Trust strip.
 * Sale Hero / Coupon Strip / Shop by Deal / Today's Deals / Trust Strip are switched off in Bricks while
 * there is no sale; these styles are ready for when they are switched on. Phones only (767px).
 */
@media (max-width: 767px) {
	.page-id-1323 #brxe-ydcvtd > #brxe-nbcz96   { order: 1; }
	.page-id-1323 #brxe-ydcvtd > #coupon-codes  { order: 2; }
	.page-id-1323 #brxe-ydcvtd > #shop-by-deal  { order: 3; }
	.page-id-1323 #brxe-ydcvtd > #deal-spotlight { order: 4; }
	.page-id-1323 #brxe-ydcvtd > #shop-by-price { order: 5; }
	.page-id-1323 #brxe-ydcvtd > #todays-deals  { order: 6; }
	.page-id-1323 #brxe-ydcvtd > #brxe-sgtrs1   { order: 7; }

	/* Section heads: orange eyebrow, 24px heading, muted lead (Figma). */
	.page-id-1323 :is(#brxe-g7jseg, #brxe-64pjl8, #brxe-0tx26p) {
		font-family: "Work Sans", sans-serif;
		font-size: 12px;
		font-weight: 600;
		line-height: 16.8px;
		letter-spacing: 0.72px;
		text-transform: uppercase;
		color: var(--color-brand-accent);
	}

	.page-id-1323 :is(#brxe-pu2ala, #brxe-4jw0qk, #brxe-amilz0) {
		font-size: 24px;
		font-weight: 700;
		line-height: 27.6px;
	}

	.page-id-1323 :is(#brxe-in0m80, #brxe-f1sai5, #brxe-5thti0) {
		font-size: 14px;
		line-height: 21px;
	}

	.page-id-1323 :is(#brxe-kkqom4, #brxe-vysezj, #brxe-o988cr) {
		gap: 5px;
	}

	/* Coupons and flash deals: heads on the left; Shop by Deal stays centred (Figma). */
	.page-id-1323 :is(#brxe-kkqom4, #brxe-o988cr) {
		align-items: flex-start;
	}

	.page-id-1323 :is(#brxe-kkqom4, #brxe-o988cr) > * {
		text-align: left;
	}

	/* ---------- Sale Hero ---------- */
	.page-id-1323 #brxe-nbcz96 {
		padding: 40px 20px;
	}

	.page-id-1323 #brxe-7ad4xj {
		align-items: center;
		gap: 20px;
		padding: 30px 20px;
		border-radius: 10px;
		text-align: center;
	}

	.page-id-1323 #brxe-s0ter4 {
		font-size: 32px;
		line-height: 36.8px;
		text-align: center;
	}

	.page-id-1323 #brxe-khoy64 :is(p, .brxe-text-basic) {
		font-size: 14px;
		line-height: 21px;
		text-align: center;
		color: #F6E9D9;
	}

	.page-id-1323 #brxe-h5il1g {
		gap: 4px;
		justify-content: center;
		width: 100%;
	}

	.page-id-1323 #brxe-h5il1g .field {
		flex: 1 1 0;
		max-width: 71px;
		padding: 15px 5px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 5px;
	}

	.page-id-1323 #brxe-japu7i {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		height: auto;
	}

	.page-id-1323 #brxe-japu7i > .bricks-button {
		justify-content: center;
		width: 200px;
		min-height: 50px;
		padding: 16px 26px;
		font-size: 15px;
	}

	.page-id-1323 #brxe-japu7i > .bricks-button:not(#brxe-enawet) {
		border: 1.5px solid #DDD2C0;
		border-radius: var(--radius-pill);
		color: var(--color-on-accent);
	}

	/* ---------- Coupons: one card per screen width, swipe for more ---------- */
	.page-id-1323 #coupon-codes {
		padding: 40px 20px;
	}

	.page-id-1323 #brxe-fk0jsv {
		gap: 15px;
	}

	.page-id-1323 #brxe-3od8h5 {
		display: flex;
		gap: 10px;
		margin-right: -20px;
		padding-right: 20px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.page-id-1323 #brxe-3od8h5::-webkit-scrollbar {
		display: none;
	}

	.page-id-1323 #brxe-3od8h5 > .brxe-xsol1k {
		flex: 0 0 100%;
		gap: 16px;
		margin: 0;
		padding: 20px;
		border: 1px solid var(--color-brand-deep);
		border-radius: 10px;
		scroll-snap-align: start;
	}

	.page-id-1323 #brxe-3od8h5 .brxe-3q0dd8 {
		font-size: 20px;
		line-height: 25px;
		color: var(--color-brand-deep);
	}

	.page-id-1323 #brxe-3od8h5 .brxe-edjlmb {
		font-size: 14px;
		font-weight: 500;
		line-height: 21px;
		color: #6B5D4D;
	}

	.page-id-1323 #brxe-3od8h5 .brxe-rtlovp {
		justify-content: space-between;
		align-items: center;
		padding: 10px 15px;
		border: 1px solid #DDD2C0;
		border-radius: 4px;
	}

	.page-id-1323 #brxe-3od8h5 .brxe-mn8gch {
		font-size: 14px;
		font-weight: 600;
		line-height: 22.4px;
		letter-spacing: 1.4px;
		text-transform: uppercase;
	}

	/* ---------- Shop by Deal: 2 × 2 tiles ---------- */
	.page-id-1323 #shop-by-deal {
		padding: 40px 20px;
	}

	.page-id-1323 #brxe-akzdx0 {
		gap: 15px;
	}

	.page-id-1323 #brxe-vysezj,
	.page-id-1323 #brxe-vysezj > * {
		align-items: center;
		text-align: center;
	}

	.page-id-1323 #brxe-fjrk66 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px;
	}

	.page-id-1323 #brxe-fjrk66 > .brxe-e2232e {
		overflow: hidden;
		border: 1px solid #DDD2C0;
		border-radius: 10px;
		background-color: var(--color-surface-cream);
		box-shadow: 0 4px 20px rgba(70, 70, 70, 0.2);
	}

	.page-id-1323 #brxe-fjrk66 .brxe-a95999 {
		position: relative;
		width: 100%;
		height: 150px;
		overflow: hidden;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-a95999 > img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		transform: none;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-6aee1e {
		position: absolute;
		top: 10px;
		left: 10px;
		z-index: 1;
		padding: 5px 10px;
		border-radius: var(--radius-pill);
		font-size: 12px;
		font-weight: 500;
		line-height: 1;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-114e0e {
		justify-content: space-between;
		align-items: center;
		gap: 6px;
		padding: 10px;
		background-color: transparent;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-7d730c {
		gap: 5px;
		min-width: 0;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-dad044 {
		font-size: 18px;
		line-height: 20.7px;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-f8f3df {
		font-size: 11px;
		line-height: 13.2px;
		color: #9C8F7C;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-9eeb9e {
		flex: 0 0 28px;
		width: 28px;
		height: 28px;
	}

	.page-id-1323 #brxe-fjrk66 .brxe-d716f0 {
		font-size: 14px;
	}

	/* ---------- Deal Spotlight ("Upgrade your bedroom"): photo behind, text left, badge right ---------- */
	.page-id-1323 #deal-spotlight {
		padding: 40px 20px;
	}

	.page-id-1323 #brxe-yy3xhh {
		position: relative;
		isolation: isolate;
		min-height: 233px;
		padding: 20px;
		overflow: hidden;
		border: 1px solid #DDD2C0;
		border-radius: 10px;
		box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
	}

	.page-id-1323 #brxe-c4g6gw {
		position: absolute;
		inset: 0;
		z-index: -2;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: right center;
	}

	/* Cream wash on the left so the copy reads (Figma's blurred cream layer). */
	.page-id-1323 #brxe-ukd1ib {
		position: absolute;
		inset: 0;
		z-index: -1;
		display: block;
		width: auto;
		height: auto;
		filter: none;
		background: linear-gradient(90deg, var(--color-surface-cream) 0%, var(--color-surface-cream) 45%, rgba(250, 247, 242, 0) 80%);
	}

	.page-id-1323 #brxe-z56mz3 {
		gap: 10px;
		max-width: 254px;
	}

	.page-id-1323 #brxe-stoqc3 {
		font-size: 24px;
		line-height: 27.6px;
	}

	.page-id-1323 #brxe-137pb7 {
		max-width: 190px;
		font-size: 14px;
		line-height: 20.3px;
		color: #6B5D4D;
	}

	.page-id-1323 #brxe-gsjpce {
		align-self: flex-start;
		margin-top: 10px;
		padding: 10px 20px;
		font-size: 14px;
		line-height: 16.8px;
	}

	.page-id-1323 #brxe-s9znu8 {
		position: absolute;
		right: 70px;
		bottom: 25px;
		top: auto;
		left: auto;
		width: 72px;
		height: 72px;
		border: 1px dashed var(--color-brand-accent);
		border-radius: 50%;
	}

	.page-id-1323 #brxe-logvc0 {
		font-family: var(--font-display);
		font-size: 20px;
		font-weight: 700;
		line-height: 20px;
		color: var(--color-brand-deep);
	}

	/* ---------- Today's flash deals: swipe row of product cards ---------- */
	.page-id-1323 #todays-deals {
		padding: 40px 20px;
	}

	.page-id-1323 #brxe-44p2u4 {
		gap: 15px;
	}

	.page-id-1323 #brxe-dmfsl2 {
		display: flex;
		gap: 10px;
		margin-right: -20px;
		padding-right: 20px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.page-id-1323 #brxe-dmfsl2::-webkit-scrollbar {
		display: none;
	}

	.page-id-1323 #brxe-dmfsl2 > * {
		flex: 0 0 178px;
		scroll-snap-align: start;
	}

	/* ---------- Trust strip: one card, rows with dividers ---------- */
	.page-id-1323 #brxe-sgtrs1 {
		padding: 0 20px 40px;
	}

	.page-id-1323 #brxe-sgtrs1 .brxe-eexkew {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 20px;
		padding: 25px 20px;
		border: 1px solid #DDD2C0;
		border-radius: 20px;
		background-color: var(--color-surface-cream);
		box-shadow: 0 4px 20px rgba(70, 70, 70, 0.2);
	}

	.page-id-1323 #brxe-sgtrs1 .brxe-eexkew > * {
		width: 100%;
		padding-left: 0;
	}

	.page-id-1323 #brxe-sgtrs1 .brxe-eexkew > * + * {
		padding-top: 20px;
		border-top: 1px solid #DDD2C0;
		border-left: 0;
	}
}
