/**
 * RBF 11.11 — The Everyday Edit (matches Everyday Edit preview).
 * Ivory / blush / burgundy · Cormorant Garamond + Inter · scoped under .rbf-ee
 */

.rbf-ee {
	--ee-ivory: #faf6f1;
	--ee-paper: #fff9f5;
	--ee-blush: #f2e3df;
	--ee-blush-2: #e8d5cf;
	--ee-burgundy: #843447;
	--ee-burgundy-deep: #6b2a38;
	--ee-ink: #352425;
	--ee-muted: #766562;
	--ee-line: #dfd1c8;
	--ee-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ee-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
	--ee-pad: 18px;

	background: var(--ee-ivory);
	color: var(--ee-ink);
	font-family: var(--ee-sans);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.rbf-ee *,
.rbf-ee *::before,
.rbf-ee *::after {
	box-sizing: border-box;
}

.rbf-ee h1,
.rbf-ee h2,
.rbf-ee h3,
.rbf-ee p,
.rbf-ee ul {
	margin: 0;
	padding: 0;
}

.rbf-ee ul {
	list-style: none;
}

.rbf-ee img {
	display: block;
	max-width: 100%;
	height: auto;
}

.rbf-ee a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.rbf-ee :focus-visible {
	outline: 2px solid var(--ee-burgundy);
	outline-offset: 3px;
}

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

.rbf-ee__wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 var(--ee-pad);
}

.rbf-ee-kicker {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ee-burgundy);
}

.rbf-ee-h2 {
	font-family: var(--ee-serif);
	font-weight: 500;
	font-size: clamp(28px, 7vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--ee-ink);
}

/* Buttons */
.rbf-ee-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 1.5px solid var(--ee-burgundy);
	border-radius: 2px;
	background: var(--ee-burgundy);
	color: #fff;
	font: 600 12px/1.2 var(--ee-sans);
	letter-spacing: 0.06em;
	text-transform: none;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rbf-ee a.rbf-ee-btn {
	color: #fff;
}

.rbf-ee-btn:hover,
.rbf-ee-btn:focus-visible {
	background: var(--ee-burgundy-deep);
	border-color: var(--ee-burgundy-deep);
	color: #fff;
}

.rbf-ee-btn--outline,
.rbf-ee a.rbf-ee-btn--outline {
	background: transparent;
	color: var(--ee-burgundy);
}

.rbf-ee-btn--outline:hover,
.rbf-ee-btn--outline:focus-visible,
.rbf-ee a.rbf-ee-btn--outline:hover,
.rbf-ee a.rbf-ee-btn--outline:focus-visible {
	background: var(--ee-burgundy);
	color: #fff;
}

.rbf-ee-btn--hero {
	width: 100%;
	max-width: 100%;
}

.rbf-ee-btn--card {
	width: 100%;
	min-height: 44px;
	margin-top: 12px;
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 600;
}

/* Notices — admins only; keep quiet */
.rbf-ee-admin-notice,
.rbf-ee-preview {
	margin: 0;
	padding: 8px var(--ee-pad);
	background: var(--ee-blush);
	color: var(--ee-burgundy-deep);
	font-size: 11px;
	text-align: center;
}

/* -------------------------------------------------------------------------
 * Hero — compact split: copy left, fabric right (art first on mobile)
 * ---------------------------------------------------------------------- */

.rbf-ee-hero {
	background: var(--ee-paper);
	overflow: hidden;
}

.rbf-ee-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.rbf-ee-hero__art {
	order: -1;
	margin: 0 calc(var(--ee-pad) * -1);
	height: 168px;
	background: var(--ee-blush);
	overflow: hidden;
}

.rbf-ee-hero__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.rbf-ee-hero__copy {
	padding: 22px 0 26px;
}

.rbf-ee-hero__title {
	margin: 10px 0 18px;
	font-family: var(--ee-serif);
	font-weight: 500;
	font-size: clamp(36px, 10vw, 48px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--ee-ink);
	max-width: 12ch;
}

.rbf-ee-hero__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--ee-burgundy);
}

/* Offer: single blush panel, two columns, vertical rule */
.rbf-ee-offer {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0;
	margin: 0 0 14px;
	padding: 14px 10px;
	background: var(--ee-blush);
	border-radius: 2px;
}

.rbf-ee-offer__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
	padding: 2px 8px;
}

.rbf-ee-offer__rule {
	width: 1px;
	align-self: stretch;
	background: #cba8a5;
	opacity: 0.85;
}

.rbf-ee-offer__label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ee-muted);
}

.rbf-ee-offer__value {
	font-family: var(--ee-serif);
	font-weight: 600;
	font-size: clamp(26px, 7vw, 34px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--ee-burgundy);
}

.rbf-ee-hero__text {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--ee-muted);
}

@media (min-width: 768px) {
	.rbf-ee {
		--ee-pad: 28px;
	}

	.rbf-ee-hero__inner.has-art {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: stretch;
		min-height: 320px;
	}

	.rbf-ee-hero__art {
		order: 0;
		margin: 0 calc(var(--ee-pad) * -1) 0 0;
		height: auto;
		min-height: 100%;
	}

	.rbf-ee-hero__copy {
		padding: 36px 28px 40px 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.rbf-ee-hero__title {
		font-size: clamp(48px, 5.2vw, 64px);
	}

	.rbf-ee-btn--hero {
		width: auto;
		align-self: flex-start;
		min-width: 220px;
	}

	.rbf-ee-offer {
		max-width: 380px;
		padding: 16px 12px;
	}
}

@media (min-width: 1100px) {
	.rbf-ee-hero__art {
		margin-right: 0;
	}

	.rbf-ee-hero__inner.has-art {
		min-height: 360px;
	}
}

/* -------------------------------------------------------------------------
 * Upsell banner
 * ---------------------------------------------------------------------- */

.rbf-ee-upsell {
	display: block;
	background: var(--ee-blush);
	border-top: 1px solid var(--ee-blush-2);
	border-bottom: 1px solid var(--ee-blush-2);
	color: var(--ee-ink);
}

.rbf-ee-upsell:hover {
	color: var(--ee-burgundy-deep);
}

.rbf-ee-upsell__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.rbf-ee-upsell__copy {
	font-size: 13px;
	line-height: 1.35;
}

.rbf-ee-upsell__copy strong {
	font-weight: 600;
	color: var(--ee-burgundy);
}

.rbf-ee-upsell__sep {
	margin: 0 4px;
	color: var(--ee-muted);
}

.rbf-ee-upsell__arrow {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ee-burgundy);
	color: #fff;
}

.rbf-ee-upsell__arrow img {
	width: 14px;
	height: 14px;
	filter: brightness(0) invert(1);
}

/* -------------------------------------------------------------------------
 * Product grid
 * ---------------------------------------------------------------------- */

.rbf-ee-shop {
	padding: 28px 0 12px;
	scroll-margin-top: 72px;
}

.rbf-ee-shop:focus {
	outline: none;
}

.rbf-ee-shop__head {
	margin-bottom: 18px;
}

.rbf-ee-shop__sub {
	margin-top: 6px;
	font-size: 13px;
	color: var(--ee-muted);
}

.rbf-ee-empty {
	padding: 36px 0;
	text-align: center;
	color: var(--ee-muted);
}

.rbf-ee-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 12px;
}

@media (min-width: 900px) {
	.rbf-ee-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px 18px;
	}

	.rbf-ee-shop {
		padding: 40px 0 20px;
	}
}

.rbf-ee-card {
	display: flex;
	flex-direction: column;
	background: transparent;
	border: 0;
	min-width: 0;
}

.rbf-ee-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	background: var(--ee-blush);
	overflow: hidden;
	border-radius: 2px;
}

.rbf-ee-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
	background: var(--ee-blush);
}

.rbf-ee-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--ee-blush-2);
}

.rbf-ee-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	padding: 5px 8px;
	background: var(--ee-burgundy);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	border-radius: 2px;
}

.rbf-ee-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px 2px 0;
}

.rbf-ee-card__title {
	font-family: var(--ee-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
	min-height: 2.5em;
}

.rbf-ee-card__title a:hover {
	color: var(--ee-burgundy);
}

.rbf-ee-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
}

.rbf-ee-swatch {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--rbf-ee-swatch, #ccc);
	border: 1px solid rgba(53, 36, 37, 0.2);
}

.rbf-ee-swatch-more {
	font-size: 11px;
	color: var(--ee-muted);
}

.rbf-ee-price {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 10px;
}

.rbf-ee-price__regular {
	font-size: 11px;
	color: var(--ee-muted);
	text-decoration: line-through;
	font-weight: 400;
}

.rbf-ee-price__single {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ee-ink);
	letter-spacing: -0.01em;
}

.rbf-ee-price__label {
	font-size: 10px;
	letter-spacing: 0.02em;
	color: var(--ee-muted);
}

.rbf-ee-card__hint {
	margin: 4px 0 0;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--ee-burgundy);
}

@media (min-width: 768px) {
	.rbf-ee-card__title {
		font-size: 18px;
	}

	.rbf-ee-price__single {
		font-size: 18px;
	}
}

/* -------------------------------------------------------------------------
 * Fit help
 * ---------------------------------------------------------------------- */

.rbf-ee-fit {
	padding: 28px 0 32px;
	border-top: 1px solid var(--ee-line);
	margin-top: 12px;
}

.rbf-ee-fit .rbf-ee-h2 {
	margin-bottom: 16px;
}

.rbf-ee-fit__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.rbf-ee-fit__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--ee-burgundy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rbf-ee-fit__link:hover {
	color: var(--ee-burgundy-deep);
}

.rbf-ee-fit__wa {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	flex: 0 0 auto;
}

.rbf-ee-fit__link--wa {
	text-decoration: none;
}

.rbf-ee-fit__link--wa:hover {
	text-decoration: underline;
}

@media (min-width: 640px) {
	.rbf-ee-fit__row {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		max-width: 520px;
	}
}

/* -------------------------------------------------------------------------
 * Fabric strip
 * ---------------------------------------------------------------------- */

.rbf-ee-strip {
	position: relative;
	min-height: 140px;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--ee-burgundy-deep);
	color: #fffaf7;
	text-align: center;
}

.rbf-ee-strip__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.rbf-ee-strip__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(53, 36, 37, 0.45), rgba(53, 36, 37, 0.62));
}

.rbf-ee-strip__copy {
	position: relative;
	z-index: 1;
	padding: 36px var(--ee-pad);
}

.rbf-ee-strip__title {
	font-family: var(--ee-serif);
	font-size: clamp(24px, 6vw, 36px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.rbf-ee-strip__meta {
	margin-top: 8px;
	font-size: 11px;
	letter-spacing: 0.06em;
	opacity: 0.9;
}

/* -------------------------------------------------------------------------
 * Homepage teaser
 * ---------------------------------------------------------------------- */

.rbf-ee--teaser {
	background: var(--ee-paper);
	border-top: 1px solid var(--ee-line);
	border-bottom: 1px solid var(--ee-line);
}

.rbf-ee-teaser {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 1120px;
	margin: 0 auto;
}

.rbf-ee-teaser__copy {
	padding: 28px var(--ee-pad);
}

.rbf-ee-teaser__title {
	margin: 10px 0 12px;
	font-family: var(--ee-serif);
	font-size: clamp(32px, 8vw, 48px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
}

.rbf-ee-teaser__offer {
	margin: 0 0 8px;
	font-family: var(--ee-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--ee-burgundy);
}

.rbf-ee-teaser__text {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--ee-muted);
}

.rbf-ee-teaser__art {
	height: 180px;
	background: var(--ee-blush);
	overflow: hidden;
}

.rbf-ee-teaser__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

@media (min-width: 768px) {
	.rbf-ee-teaser {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: stretch;
		min-height: 280px;
	}

	.rbf-ee-teaser__art {
		height: auto;
		order: 0;
	}

	.rbf-ee-teaser__copy {
		padding: 40px 32px 40px var(--ee-pad);
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

/* -------------------------------------------------------------------------
 * Inactive
 * ---------------------------------------------------------------------- */

.rbf-ee-closed {
	padding: 64px 0;
	text-align: center;
}

.rbf-ee-closed__title {
	margin: 12px 0 10px;
	font-family: var(--ee-serif);
	font-size: 36px;
	font-weight: 500;
}

.rbf-ee-closed__copy {
	margin: 0 auto 20px;
	max-width: 40ch;
	color: var(--ee-muted);
}

.rbf-ee-closed__admin {
	margin-top: 18px;
	font-size: 12px;
}

.rbf-ee-closed__admin a {
	color: var(--ee-burgundy);
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * Cart / checkout Everyday Edit status
 * ---------------------------------------------------------------------- */

.rbf-ee-cart-banner {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 2px;
	background: #843447;
	color: #fff;
	font: 500 14px/1.4 var(--ee-sans);
}

.rbf-ee-cart-banner--nudge {
	background: #f2e3df;
	color: #352425;
}

.rbf-ee-cart-banner p {
	margin: 0;
}

.rbf-ee-cart-banner__unlocked {
	margin: 0;
}

.rbf-ee-saving th,
.rbf-ee-saving td {
	color: #843447 !important;
	font-weight: 600;
}

.rbf-ee-saving--blocks {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
	padding: 8px 0;
	color: #843447;
	font: 600 14px/1.4 var(--ee-sans);
}

.rbf-1111-cart-tag {
	display: block;
	margin-top: 4px;
	color: #843447;
	font: 600 11px/1.3 var(--ee-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rbf-1111-was {
	color: #766562;
	margin-right: 4px;
}

.rbf-1111-now {
	color: #843447;
	font-weight: 600;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * PDP / sticky campaign price
 * ---------------------------------------------------------------------- */

.rbf-ee-pdp-price {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.rbf-ee-pdp-price__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}
.rbf-ee-pdp-price__regular {
	font-size: 0.92em;
	font-weight: 400;
	color: #766562;
	text-decoration: line-through;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.rbf-ee-pdp-price__single {
	font-size: 1.05em;
	font-weight: 700;
	color: #352425;
	text-decoration: none;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.rbf-ee-pdp-price__label {
	font-size: 12px;
	color: #766562;
}
.rbf-ee-pdp-price__hint {
	font-size: 12px;
	font-weight: 600;
	color: #843447;
	line-height: 1.35;
}
.rbf-sticky-atc [data-rbf-sticky-price] .rbf-ee-pdp-price__hint,
.rbf-sticky-atc [data-rbf-sticky-price] .rbf-ee-pdp-price__label {
	display: none;
}
.rbf-sticky-atc [data-rbf-sticky-price] .rbf-ee-pdp-price__row {
	gap: 8px;
}

/* Compact catalogue cards (2-col mobile grid). */
.rbf-product-card .rbf-ee-pdp-price--card,
.rbf-product-card .rbf-ee-pdp-price {
	gap: 2px;
	max-width: 100%;
	min-width: 0;
}
.rbf-product-card .rbf-ee-pdp-price__row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	max-width: 100%;
	min-width: 0;
}
.rbf-product-card .rbf-ee-pdp-price__regular {
	font-size: 0.78rem;
}
.rbf-product-card .rbf-ee-pdp-price__single {
	font-size: 0.92rem;
}
.rbf-product-card .rbf-ee-pdp-price__label,
.rbf-product-card .rbf-ee-pdp-price__hint {
	display: block;
	max-width: 100%;
	min-width: 0;
	font-size: 10px;
	line-height: 1.35;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}
.rbf-product-card .rbf-ee-pdp-price__hint {
	font-weight: 600;
}

/* Avoid duplicate native sale badges when EE price block is present. */
.rbf-product-card:has(.rbf-ee-pdp-price) .onsale,
.rbf-product-card:has(.rbf-ee-pdp-price) .rbf-card-price--sale {
	display: none;
}

/* -------------------------------------------------------------------------
 * Cart / checkout Everyday Edit
 * ---------------------------------------------------------------------- */

body.woocommerce-cart.rbf-1111-active .entry-header,
body.woocommerce-cart.rbf-1111-active .wp-block-post-title,
body.woocommerce-cart h1.wp-block-post-title {
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	letter-spacing: -0.02em;
}

body.woocommerce-cart.rbf-1111-active .wp-block-woocommerce-cart,
body.woocommerce-cart.rbf-1111-active .woocommerce {
	padding-top: 0;
}

.rbf-ee-price-overlay,
.rbf-ee-line-price,
.rbf-ee-block-price,
body.rbf-1111-active .woocommerce-cart .wc-block-components-product-price,
body.rbf-1111-active .woocommerce-checkout .wc-block-components-product-price,
body.rbf-1111-active .wc-block-cart-item__prices,
body.rbf-1111-active .wc-block-components-product-price__value {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 8px !important;
	row-gap: 4px !important;
	column-gap: 8px !important;
	white-space: normal !important;
}

/* Hide React-owned price node once overlay is present (keeps SR text off-screen). */
body.rbf-1111-active .wc-block-cart-item__prices .rbf-ee-native-price-hidden,
body.rbf-1111-active .rbf-ee-native-price-hidden.wc-block-components-product-price {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

body.rbf-1111-active .wc-block-cart-item__prices {
	position: relative;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 4px !important;
}

.rbf-ee-price-overlay {
	width: 100%;
}

body.rbf-1111-active .wc-block-components-product-price del + span,
body.rbf-1111-active .wc-block-components-product-price del + ins,
body.rbf-1111-active .wc-block-components-product-price .wc-block-components-product-price__regular + .wc-block-components-product-price__value {
	margin-left: 0 !important;
}

.rbf-ee-line-price__was,
.woocommerce-cart .wc-block-components-product-price del,
.woocommerce-checkout .wc-block-components-product-price del {
	font-size: 0.85em;
	font-weight: 400;
	color: #766562;
	text-decoration: line-through;
}

.rbf-ee-line-price__now,
.woocommerce-cart .wc-block-components-product-price ins,
.woocommerce-checkout .wc-block-components-product-price ins {
	font-size: 1em;
	font-weight: 700;
	color: #352425;
	text-decoration: none;
	background: transparent;
}

.rbf-ee-line-price__each {
	font-size: 0.85em;
	font-weight: 500;
	color: #766562;
}

.rbf-ee-line-subtotal {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}
.rbf-ee-line-subtotal__note {
	font-size: 11px;
	color: #766562;
	font-weight: 500;
}

.rbf-ee-summary-panel {
	display: grid;
	gap: 8px;
	margin: 0 0 14px;
	padding: 12px 0;
	border-bottom: 1px solid #e3d4ca;
	font: 500 14px/1.4 "Inter", system-ui, sans-serif;
}
.rbf-ee-summary-panel__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	color: #352425;
}
.rbf-ee-summary-panel__row > span:first-child,
.rbf-ee-summary-panel__row [data-rbf-ee-before-label],
.rbf-ee-summary-panel__row [data-rbf-ee-save-label],
.rbf-ee-summary-panel__row [data-rbf-ee-paid-label] {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	hyphens: auto;
}
.rbf-ee-summary-panel__row > span:last-child,
.rbf-ee-summary-panel__row [data-rbf-ee-original],
.rbf-ee-summary-panel__row [data-rbf-ee-save],
.rbf-ee-summary-panel__row [data-rbf-ee-paid] {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.rbf-ee-summary-panel__row--save {
	color: #843447;
	font-weight: 600;
}
.rbf-ee-summary-panel__row--paid {
	font-weight: 700;
	font-size: 1.05em;
}
.rbf-ee-summary-panel__note {
	margin: 2px 0 0;
	font-size: 12px;
	color: #766562;
	font-weight: 400;
}

/* Keep “PKR 3,325.11” as one token (campaign + native WC totals on bag/checkout). */
body.rbf-1111-active .woocommerce-Price-amount,
body.rbf-1111-active .wc-block-formatted-money-amount,
body.rbf-1111-active .wc-block-components-product-price,
body.rbf-1111-active .rbf-ee-line-price__was,
body.rbf-1111-active .rbf-ee-line-price__now,
body.rbf-1111-active .rbf-ee-amount,
body.woocommerce-cart .woocommerce-Price-amount,
body.woocommerce-cart .wc-block-formatted-money-amount,
body.woocommerce-checkout .woocommerce-Price-amount,
body.woocommerce-checkout .wc-block-formatted-money-amount,
body.woocommerce-cart .rbf-ee-amount,
body.woocommerce-checkout .rbf-ee-amount {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
body.rbf-1111-active .wc-block-components-totals-item__value,
body.rbf-1111-active .wc-block-components-totals-footer-item-tax-value,
body.rbf-1111-active .wc-block-components-order-summary-item__total-price,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item-tax-value,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item-tax-value,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	white-space: nowrap;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.rbf-ee-saving th,
.rbf-ee-saving td,
.rbf-ee-summary--original th,
.rbf-ee-summary--original td {
	color: #843447 !important;
	font-weight: 600;
}

.rbf-ee-cart-wa {
	margin: 14px 0 0;
}
.rbf-ee-cart-wa__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: #843447;
	font: 600 14px/1.3 "Inter", system-ui, sans-serif;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rbf-ee-cart-wa__icon {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
}

/* Burgundy checkout CTA while campaign active */
body.rbf-1111-active .wc-block-cart__submit-button,
body.rbf-1111-active .wc-block-components-checkout-place-order-button,
body.rbf-1111-active .checkout-button,
body.rbf-1111-active a.checkout-button {
	background: #843447 !important;
	border-color: #843447 !important;
	color: #fff !important;
	min-height: 48px;
}
body.rbf-1111-active .wc-block-cart__submit-button:hover,
body.rbf-1111-active .wc-block-components-checkout-place-order-button:hover {
	background: #6b2a38 !important;
	border-color: #6b2a38 !important;
}

/* Compact cart line items */
body.rbf-1111-active .wc-block-cart-items__row {
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}
body.rbf-1111-active .wc-block-cart-item__image img {
	border-radius: 2px;
}

/* Homepage hero campaign slot (inside existing hero) */
.rbf-hero__campaign {
	margin: 0 0 14px;
	padding: 12px 14px;
	background: rgba(250, 246, 241, 0.92);
	border: 1px solid rgba(132, 52, 71, 0.18);
	border-radius: 2px;
	max-width: 28rem;
}
.rbf-hero__campaign-kicker {
	margin: 0 0 8px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #843447;
}
.rbf-hero__campaign-offers {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
	font-size: 13px;
	line-height: 1.35;
	color: #352425;
	font-weight: 500;
}
.rbf-hero--cover .rbf-hero__campaign {
	backdrop-filter: blur(6px);
}

/* Modest mobile hero tightening so offer + sale CTA appear sooner. */
@media (max-width: 767px) {
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__layout {
		padding-block: 1.75rem;
		align-items: flex-end;
	}
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__copy {
		padding: 1rem 1rem 1.15rem;
	}
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__title {
		margin-top: 0.7rem;
	}
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__subhead {
		margin-bottom: 0.65rem;
	}
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__campaign {
		margin-bottom: 10px;
		padding: 10px 12px;
	}
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__ctas {
		gap: 0.55rem;
	}
	.rbf-hero--cover:has(.rbf-hero__campaign) .rbf-hero__ctas a {
		min-height: 44px;
	}
}

/* Sale page: keep theme header visible (no unintended hide-on-scroll). */
body.rbf-1111-page #site-header,
body.page-template-sale-1111 #site-header {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
	pointer-events: auto;
}
