/* ==========================================================================
   find.css — progressive-disclosure wizard at /najit
   Editorial/magazine aesthetic: high contrast, warm cream canvas, soft
   terracotta accents, ring-outline selected state (no harsh black fill).
   Distinct from shopstyle.bg's basic grid-of-logos approach.
   ========================================================================== */

.fd-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 28px 160px;   /* bottom padding leaves room for sticky footer */
	color: #1a1a1a;
	background: #fdfbf7;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	min-height: 100vh;
}
@media (max-width: 560px) { .fd-wrap { padding: 24px 16px 160px; } }

/* Kill the bootstrap container cage for the wizard page too */
body:has(.fd-wrap) .content_container.container,
body:has(.fd-wrap) .content_container.container > .row,
body:has(.fd-wrap) .content_container.container > .row > .content {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* ---- Crumbs ---- */
.fd-crumbs { font-size: 13px; color: #1a1a1a; margin-bottom: 18px; font-weight: 500; }
.fd-crumbs a { color: #1a1a1a; text-decoration: none; font-weight: 600; }
.fd-crumbs a:hover { color: #c4512f; }
.fd-crumbs__sep { margin: 0 8px; color: #b2a896; }

/* ---- Hero — soft cream card with sparkle accent (2026-04-29 redesign) ---- */
.fd-hero {
	position: relative;
	text-align: center;
	padding: 36px 24px 40px;
	margin: 0 0 30px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 18% 16%, rgba(255,154,60,0.18) 0%, transparent 42%),
		radial-gradient(circle at 82% 84%, rgba(196,81,47,0.14) 0%, transparent 46%),
		linear-gradient(135deg, #fff7ed 0%, #fef3e3 55%, #fde7d2 100%);
	box-shadow:
		inset 0 0 0 1px rgba(196,81,47,0.16),
		0 18px 40px rgba(255,154,60,0.16),
		0 6px 14px rgba(0,0,0,0.05);
	overflow: hidden;
	isolation: isolate;
}
.fd-hero::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 22px;
	padding: 1px;
	background: linear-gradient(135deg, rgba(255,154,60,0.55), rgba(196,81,47,0.20) 45%, transparent 80%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask-composite: exclude;
	pointer-events: none;
	z-index: 0;
}
.fd-hero::after {
	content: "\f005 \f005 \f005";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	top: 14px; right: 18px;
	font-size: 13px;
	letter-spacing: 4px;
	color: rgba(196,81,47,0.32);
	pointer-events: none;
	z-index: 1;
}
.fd-hero > * { position: relative; z-index: 2; }
.fd-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11.5px; font-weight: 800; letter-spacing: 2.4px;
	text-transform: uppercase;
	color: #c4512f;
	margin: 0 0 14px;
	padding: 7px 16px;
	background: rgba(255,255,255,0.92);
	border: 1.5px solid rgba(196,81,47,0.22);
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(196,81,47,0.10);
}
.fd-hero__kicker::before {
	content: "\f135";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #ff7a00; font-size: 11px;
}
.fd-hero__title {
	font-family: 'Poppins','Open Sans',system-ui,sans-serif;
	font-size: clamp(30px, 7.4vw, 52px);
	font-weight: 800;
	letter-spacing: -1.4px;
	margin: 0 0 14px;
	line-height: 1.05;
	color: #1f1208;
	background: linear-gradient(135deg, #1f1208 0%, #c4512f 70%, #ff7a00 100%);
	-webkit-background-clip: text;
	        background-clip: text;
	-webkit-text-fill-color: transparent;
}
.fd-hero__sub {
	font-size: 15.5px;
	color: #5a3a1f;
	max-width: 460px;
	margin: 0 auto;
	line-height: 1.55;
	font-weight: 500;
}
@media (max-width: 480px) {
	.fd-hero {
		padding: 28px 18px 30px;
		margin-bottom: 22px;
		border-radius: 18px;
	}
	.fd-hero::after { top: 10px; right: 14px; font-size: 11px; letter-spacing: 3px; }
	.fd-hero__kicker { font-size: 10.5px; letter-spacing: 1.6px; padding: 6px 13px; }
	.fd-hero__title { font-size: clamp(26px, 8vw, 36px); letter-spacing: -1px; }
	.fd-hero__sub { font-size: 14.5px; }
}

/* ---- Progress bar ---- */
.fd-progress {
	display: flex; align-items: center; justify-content: center;
	gap: 14px;
	padding: 14px 22px;
	background: #1a1a1a;
	color: #fff;
	border-radius: 999px;
	margin: 0 auto 22px;
	max-width: 540px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.fd-progress__dots { display: flex; gap: 8px; }
.fd-progress__dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: rgba(255,255,255,0.2);
	transition: all .28s ease;
}
.fd-progress__dot.is-done { background: #c4512f; }
.fd-progress__dot.is-active { background: #fff; width: 28px; border-radius: 999px; }
.fd-progress__label { color: rgba(255,255,255,0.78); letter-spacing: 0.4px; }
.fd-progress__label span { color: #fff; font-weight: 800; }

/* ---- Live count pill (shown under progress bar, updates in real-time) ---- */
.fd-live {
	text-align: center;
	margin: 0 auto 24px;
	padding: 10px 20px;
	background: rgba(46,139,87,0.08);
	border: 1px solid rgba(46,139,87,0.22);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #1a1a1a;
	font-weight: 600;
}
.fd-live::before {
	content: '';
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #2e8b57;
	box-shadow: 0 0 0 4px rgba(46,139,87,0.18);
	animation: fd-pulse 1.8s ease-in-out infinite;
}
@keyframes fd-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.55; transform: scale(0.85); }
}
.fd-live strong {
	color: #c4512f;
	font-weight: 900;
	font-size: 17px;
	letter-spacing: 0.2px;
}
.fd-live-wrap { text-align: center; margin: 0 0 24px; }

/* ---- Chip bar ---- */
.fd-chips {
	display: flex; flex-wrap: wrap; gap: 8px;
	justify-content: center;
	margin: 0 auto 34px;
	max-width: 960px;
	min-height: 0;
	transition: min-height .2s ease;
}
.fd-chips.has-items { min-height: 42px; }
.fd-chip {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff;
	border: 2px solid #1a1a1a;
	color: #1a1a1a;
	padding: 7px 14px 7px 16px;
	border-radius: 999px;
	font-size: 13px; font-weight: 700;
	cursor: pointer;
	transition: all .18s ease;
	font-family: inherit;
}
.fd-chip:hover { background: #c4512f; border-color: #c4512f; color: #fff; transform: translateY(-1px); }
.fd-chip i { font-size: 10px; opacity: 0.72; }

/* ---- Steps ---- */
.fd-step { display: none; margin-bottom: 48px; }
.fd-step.is-active { display: block; animation: fd-fade-in .4s ease; }
.fd-step--hidden { display: none !important; }

@keyframes fd-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.fd-step__head {
	display: flex; gap: 22px; align-items: flex-start;
	margin-bottom: 32px;
	padding-bottom: 22px;
	border-bottom: 1px solid #e7d9c3;
}
.fd-step__num {
	font-family: "Poppins", serif;
	width: 68px; height: 68px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid #1a1a1a;
	color: #1a1a1a;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; font-weight: 900;
	flex-shrink: 0;
	position: relative;
}
.fd-step__num::before {
	content: '';
	position: absolute;
	top: -6px; right: -6px;
	width: 18px; height: 18px;
	background: #c4512f;
	border-radius: 50%;
	border: 3px solid #fdfbf7;
}
.fd-step__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; letter-spacing: -1.1px; margin: 4px 0 6px; line-height: 1.05; color: #c4512f; }
.fd-step__sub { font-size: 16px; color: #1a1a1a; margin: 0; line-height: 1.55; max-width: 640px; font-weight: 500; }

/* ---- Tile grid ---- */
.fd-tiles { display: grid; gap: 14px; }
.fd-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.fd-tiles--5 { grid-template-columns: repeat(5, 1fr); }
.fd-tiles--6 { grid-template-columns: repeat(6, 1fr); }
.fd-tiles--7 { grid-template-columns: repeat(7, 1fr); }
.fd-tiles--8 { grid-template-columns: repeat(8, 1fr); }
.fd-tiles--swatches { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
@media (max-width: 960px) { .fd-tiles--5 { grid-template-columns: repeat(4, 1fr); } .fd-tiles--8 { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 960px) { .fd-tiles--6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px) { .fd-tiles--4 { grid-template-columns: repeat(2, 1fr); } .fd-tiles--7 { grid-template-columns: repeat(3, 1fr); } .fd-tiles--5, .fd-tiles--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .fd-tiles--5, .fd-tiles--8 { grid-template-columns: repeat(3, 1fr); } .fd-tiles--7, .fd-tiles--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fd-tiles--4 { grid-template-columns: repeat(2, 1fr); } .fd-tiles--7, .fd-tiles--6 { grid-template-columns: repeat(2, 1fr); } .fd-tiles--5 { grid-template-columns: repeat(3, 1fr); } }
/* 2026-05-03 — step 2 type tiles: AI image rendered as a SMALL CIRCULAR ICON,
   not a full-bleed photo. Same compact-tile shape as other steps. */
.fd-tile--type { padding: 18px 12px 14px; }
.fd-tile__visual--photo {
    width: 86px; height: 86px; border-radius: 50%; overflow: hidden;
    margin: 0 auto 12px; background: #f5efe3; position: relative;
    box-shadow: 0 8px 22px rgba(0,0,0,.08), inset 0 0 0 2px rgba(196,81,47,.18);
    transition: transform .25s ease, box-shadow .25s ease;
}
.fd-tile__visual--photo picture, .fd-tile__visual--photo img {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
.fd-tile--type:hover .fd-tile__visual--photo {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 30px rgba(196,81,47,.22), inset 0 0 0 2px rgba(196,81,47,.4);
}
.fd-tile--type input:checked ~ .fd-tile__visual--photo {
    box-shadow: 0 14px 30px rgba(255,122,0,.35), inset 0 0 0 3px #ff7a00;
}
.fd-tile--type input:checked ~ .fd-tile__visual--photo::after {
    content:"\f00c"; font-family:"Font Awesome 6 Free","Font Awesome 5 Free"; font-weight:900;
    position:absolute; top:-4px; right:-4px;
    width:26px; height:26px; background:#ff7a00; color:#fff; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:13px;
    box-shadow:0 4px 10px rgba(0,0,0,.25);
}
.fd-tile--type .fd-tile__label { padding: 0; font-size: 14px; font-weight: 700; }
.fd-tile--type .fd-tile__count {
    display: block; font-size: 11px; color: #888; margin-top: 4px; font-weight: 500;
}
@media (max-width: 560px) {
    .fd-tile--type { padding: 14px 8px 10px; }
    .fd-tile__visual--photo { width: 72px; height: 72px; margin-bottom: 10px; }
    .fd-tile--type .fd-tile__label { font-size: 13px; }
}

/* ---- Tile — soft editorial selected state (not harsh black fill) ---- */
.fd-tile {
	position: relative;
	display: flex; flex-direction: column; align-items: center;
	padding: 18px 14px;
	background: #fff;
	border: 2px solid #e7d9c3;
	border-radius: 16px;
	cursor: pointer;
	transition: all .2s ease;
	text-align: center;
}
.fd-tile:hover { border-color: #1a1a1a; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.fd-tile input { position: absolute; opacity: 0; pointer-events: none; }

.fd-tile.is-selected {
	border-color: #c4512f;
	background: #fff;
	box-shadow:
		0 0 0 4px rgba(196,81,47,0.12),
		0 12px 30px rgba(196,81,47,0.18);
	transform: translateY(-4px);
}
.fd-tile.is-selected .fd-tile__label { color: #c4512f; }
.fd-tile.is-selected .fd-tile__icon { color: #c4512f; }
.fd-tile.is-selected::after {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free', FontAwesome;
	font-weight: 900;
	position: absolute; top: -8px; right: -8px;
	width: 26px; height: 26px; border-radius: 50%;
	background: #c4512f; color: #fff;
	border: 3px solid #fdfbf7;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px;
	box-shadow: 0 4px 12px rgba(196,81,47,0.32);
}

.fd-tile__visual {
	width: 100%; aspect-ratio: 1/1;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 12px; overflow: hidden;
	border-radius: 12px;
	background: #f5ece2;
}
.fd-tile--compact .fd-tile__visual { aspect-ratio: 1/0.65; }
.fd-tile--lg .fd-tile__visual { aspect-ratio: 1/1.1; border-radius: 14px; }
.fd-tile__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fd-tile:hover .fd-tile__visual img { transform: scale(1.05); }
.fd-tile__icon { font-size: 40px; color: #1a1a1a; }
.fd-tile__label { font-size: 15px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.2px; }
.fd-tile__count { font-size: 11.5px; color: #1a1a1a; margin-top: 4px; font-weight: 600; }

.fd-tile--size { padding: 20px 10px; }
.fd-tile--size .fd-tile__label { font-size: 18px; font-weight: 800; letter-spacing: 0.3px; }

/* Swatch */
.fd-tile--swatch { padding: 14px 10px; }
.fd-swatch {
	display: block; width: 64px; height: 64px; border-radius: 50%;
	border: 1px solid rgba(0,0,0,.1); margin: 0 auto 10px;
	box-shadow: inset 0 1px 4px rgba(0,0,0,.1);
}
/* 2026-05-02: white swatch needs an explicit dark outline so it's visible
   against the off-white card background. Targets any swatch whose inline
   background is rendered as white (#fff / #ffffff / white). */
.fd-swatch[style*="#fff"],
.fd-swatch[style*="#FFF"],
.fd-swatch[style*=":white"],
.fd-swatch[style*=": white"] {
	border: 1.5px solid #c8c8c8;
	box-shadow: inset 0 1px 4px rgba(0,0,0,.06);
}

/* ---- Brand search input ---- */
.fd-brand-search {
	position: relative;
	margin-bottom: 22px;
	max-width: 540px;
}
.fd-brand-search i {
	position: absolute; top: 50%; left: 22px;
	transform: translateY(-50%);
	color: #1a1a1a; font-size: 15px;
}
.fd-brand-search input {
	width: 100%;
	padding: 16px 22px 16px 52px;
	border: 2px solid #e7d9c3;
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	font-family: inherit;
	color: #1a1a1a;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fd-brand-search input::placeholder { color: #1a1a1a; }
.fd-brand-search input:focus { border-color: #1a1a1a; box-shadow: 0 0 0 4px rgba(26,26,26,0.06); }

/* ---- Brand tiles ---- */
.fd-brands {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
	gap: 12px;
	max-height: 620px;
	overflow-y: auto;
	padding: 6px;
	scrollbar-width: thin;
}
.fd-brand {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 18px 10px;
	background: #fff;
	border: 2px solid #e7d9c3;
	border-radius: 14px;
	cursor: pointer;
	transition: all .2s ease;
	text-align: center;
	gap: 10px;
	min-height: 120px;
}
.fd-brand:hover { border-color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.fd-brand input { position: absolute; opacity: 0; pointer-events: none; }
.fd-brand.is-selected {
	border-color: #c4512f;
	box-shadow:
		0 0 0 4px rgba(196,81,47,0.12),
		0 10px 26px rgba(196,81,47,0.2);
}
.fd-brand.is-selected .fd-brand__name { color: #c4512f; }
.fd-brand.is-selected::after {
	content: '\f00c'; font-family: 'Font Awesome 5 Free', FontAwesome; font-weight: 900;
	position: absolute; top: -8px; right: -8px;
	width: 24px; height: 24px; border-radius: 50%;
	background: #c4512f; color: #fff;
	border: 3px solid #fdfbf7;
	display: flex; align-items: center; justify-content: center; font-size: 10px;
	box-shadow: 0 4px 12px rgba(196,81,47,0.3);
}
.fd-brand__logo {
	max-width: 100%; max-height: 54px; width: auto; height: auto;
	object-fit: contain;
}
.fd-brand__initials {
	display: inline-flex; align-items: center; justify-content: center;
	width: 54px; height: 54px;
	background: #f5ece2;
	color: #1a1a1a;
	border-radius: 50%;
	font-size: 18px; font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.fd-brand__name { font-size: 12.5px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.fd-brand-empty { padding: 24px; color: #1a1a1a; font-size: 14px; text-align: center; font-style: italic; }

/* ---- Floating sticky footer (2026-05-03 v2: reverted from inline back to
   fixed-bottom per user request; keeps the thicker orange outline). ---- */
.fd-sticky {
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	display: flex; align-items: center; justify-content: center; gap: 14px;
	padding: 14px 22px;
	background: #fff;
	border: 2.5px solid #ff7a00;
	border-radius: 999px;
	box-shadow: 0 14px 38px rgba(255,122,0,.20), 0 4px 14px rgba(0,0,0,.10);
	max-width: calc(100vw - 28px);
	z-index: 60;
	flex-wrap: nowrap;
}
@media (max-width: 560px) {
	.fd-sticky { bottom: 12px; padding: 11px 14px; gap: 8px; border-radius: 999px; max-width: calc(100vw - 16px); }
	.fd-sticky .fd-btn { padding: 11px 16px; font-size: 13.5px; min-height: 46px; }
	.fd-sticky .fd-btn--link { padding: 11px 8px; font-size: 12.5px; }
}

.fd-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 14.5px; font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .18s ease;
	white-space: nowrap;
	font-family: inherit;
	letter-spacing: 0.2px;
}
.fd-btn:disabled { opacity: .35; cursor: not-allowed; transform: none !important; }
/* 2026-05-03: thicker orange outline on the primary CTA. */
.fd-btn--primary {
	background: #ff7a00; color: #fff;
	border: 3px solid #ff7a00;
	box-shadow: 0 6px 18px rgba(255,122,0,.32);
}
.fd-btn--primary:not(:disabled):hover {
	background: #ff5e00; border-color: #ff5e00; color: #fff;
	transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,122,0,.42); text-decoration: none;
}
.fd-btn--ghost { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.fd-btn--ghost:not(:disabled):hover { background: #1a1a1a; color: #fff; text-decoration: none; }
.fd-btn--link { background: transparent; color: #1a1a1a; padding: 14px 14px; }
.fd-btn--link:hover { color: #ff7a00; text-decoration: underline; }

/* 2026-05-03 — dynamic option narrowing: hide tiles whose count is 0 under
   the current selection (set by JS via /najit/zbyva). */
.fd-hidden-by-narrow { display: none !important; }

/* 2026-05-03 — even-out grid layouts. Tiles fill rows naturally; the last
   partial row is left-aligned but each tile keeps its column width via
   minmax so they don't stretch awkwardly. justify-content centers when there
   are fewer tiles than columns. */
.fd-tiles { justify-content: start; }
.fd-tiles--types,
.fd-tiles--swatches { justify-content: center; }

/* ================ Results page ================ */
.fd-results-head {
	padding: 24px 0 32px;
	border-bottom: 1px solid #e7d9c3;
	margin-bottom: 36px;
}
.fd-results-head__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -1.2px; margin: 0 0 18px; color: #0f0f0f; line-height: 1.05; }
.fd-results-head__filters { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 14px; color: #1a1a1a; }
.fd-results-head__filters li { padding: 7px 16px; background: #f5ece2; border-radius: 999px; font-weight: 600; }
.fd-results-head__filters li strong { font-weight: 800; color: #c4512f; margin-right: 4px; }

/* Relaxed-filters notice — shown when the wizard had to drop constraints to find products */
.fd-relaxed {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff6e8;
	border: 1.5px solid #c4512f;
	border-left-width: 5px;
	border-radius: 12px;
	padding: 14px 18px;
	margin: 0 0 18px;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 1.5;
}
.fd-relaxed i { color: #c4512f; font-size: 20px; margin-top: 1px; flex-shrink: 0; }
.fd-relaxed strong { color: #c4512f; }

.fd-results-head__actions { display: flex; gap: 10px; }

.fd-results { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
@media (max-width: 1100px) { .fd-results { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .fd-results { grid-template-columns: repeat(2, 1fr); } }

.fd-prod { display: block; background: #fff; border: 1px solid #e7d9c3; border-radius: 12px; overflow: hidden; transition: all .2s; text-decoration: none; color: inherit; }
.fd-prod:hover { border-color: #1a1a1a; box-shadow: 0 12px 28px rgba(0,0,0,.09); transform: translateY(-3px); text-decoration: none; color: inherit; }
.fd-prod__img { display: block; position: relative; aspect-ratio: 3/4; background: #fbf7ef; overflow: hidden; }
.fd-prod__img img { width: 100%; height: 100%; object-fit: contain; }
.fd-prod__discount { position: absolute; top: 10px; left: 10px; background: #c4512f; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.fd-prod__meta { padding: 14px; }
.fd-prod__title { font-size: 13px; line-height: 1.38; color: #1a1a1a; margin-bottom: 8px; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fd-prod__price-now { font-size: 15.5px; font-weight: 800; color: #0f0f0f; }
.fd-prod__price-old { font-size: 12px; text-decoration: line-through; color: #1a1a1a; margin-left: 6px; }

.fd-empty { padding: 80px 24px; text-align: center; background: #f5ece2; border-radius: 18px; }
.fd-empty p { font-size: 18px; color: #1a1a1a; margin-bottom: 22px; font-weight: 600; }

/* 2026-05-03 — submit guard: shown when user clicks Continue on the final
   step but the current selection has 0 matching products. Prevents the
   user from ever landing on a 0-result page. */
.fd-zero-alert {
    display: flex; align-items: center; gap: 12px;
    margin: 24px auto 12px; max-width: 760px;
    padding: 16px 22px;
    background: #fff5e6;
    border: 2px solid #ff7a00;
    border-radius: 14px;
    color: #1a1a1a; font-size: 14.5px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(255,122,0,.18);
}
.fd-zero-alert .fas { color: #ff7a00; font-size: 20px; flex-shrink: 0; }

/* 2026-05-03 — spinner shown ONLY during the submit-guard count check
   (preflight before showing results). Other interactions are fast enough
   to not need a spinner. */
.fd-btn.is-loading::before {
    content: '';
    width: 14px; height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    margin-right: 4px;
    display: inline-block;
    animation: fd-spin .7s linear infinite;
}
/* 2026-05-03 v4 — keyframes MUST include the centering translate. The prior
   `to { transform: rotate(360deg) }` overwrote the static
   `transform: translate(-50%,-50%)` rule below, making the spinner jump to
   the top-left corner mid-animation. Fix: animate a CSS variable instead so
   the static transform stays composed with the rotation. */
.fd-step { position: relative; }
.fd-step.fd-narrowing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(253,251,247,0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9;
    pointer-events: none;
    border-radius: 18px;
    animation: fd-fade-in .12s ease;
}
.fd-step.fd-narrowing::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    border: 5px solid rgba(255,122,0,0.18);
    border-top-color: #ff7a00;
    border-radius: 50%;
    animation: fd-spin .7s linear infinite;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
}
@keyframes fd-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@media (max-width: 560px) {
    .fd-step.fd-narrowing::after { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-width: 4px; }
}
