/* WhiteFalcon Custom Wall Art builder. Colours follow the theme tokens, with fallbacks. */

.wfwa {
	--wfwa-accent: var(--wf-accent, #C2531A);
	--wfwa-accent-hover: var(--wf-accent-hover, #A94715);
	--wfwa-accent-ink: var(--wf-accent-ink, #B24C14);
	--wfwa-red: var(--wf-red, #722413);
	--wfwa-hi: var(--wf-highlight, #D86A27);
	--wfwa-ink: var(--wf-ink, #1A0E0D);
	--wfwa-ink-2: var(--wf-ink-2, #3D2F2B);
	--wfwa-muted: var(--wf-muted, #5B4A44);
	--wfwa-muted-2: var(--wf-muted-2, #6B5A55);
	--wfwa-faint: #7A665E;
	--wfwa-line: var(--wf-line, #EADDD2);
	--wfwa-line-2: var(--wf-line-2, #E3D5C9);
	--wfwa-chip-line: #E6D8CC;
	--wfwa-dash: #D2BFB1;
	--wfwa-tint: var(--wf-tint, #FFF1E6);
	--wfwa-tint-2: var(--wf-tint-2, #FFF4EA);
	--wfwa-on: #FFF6F0;
	--wfwa-cream: var(--wf-cream-light, #FBF6F0);
	--wfwa-error: var(--wf-error, #B3261E);
	--wfwa-success: var(--wf-success, #1E5B35);
	--wfwa-display: var(--wf-font-display, "Bricolage Grotesque", "Figtree", system-ui, sans-serif);
	--wfwa-dark: var(--wf-footer, #2B1714);
	color: var(--wfwa-ink);
}
.wfwa *, .wfwa *::before, .wfwa *::after { box-sizing: border-box; }
.wfwa [hidden] { display: none !important; }
.wfwa button { font-family: inherit; }
.wfwa svg { flex-shrink: 0; }

/* Heading */
.wfwa-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.wfwa .wfwa-title { margin: 0 0 10px; font-family: var(--wfwa-display); font-size: 50px; line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; color: var(--wfwa-red); }
.wfwa-lead p { margin: 0; font-size: 18px; color: var(--wfwa-muted); max-width: 62ch; }
.wfwa-from { flex-shrink: 0; display: flex; align-items: baseline; gap: 8px; margin: 0; }
.wfwa-from span { font-size: 15px; font-weight: 700; color: var(--wfwa-muted-2); }
.wfwa-from strong { font-family: var(--wfwa-display); font-size: 36px; line-height: 1; font-weight: 800; color: var(--wfwa-ink); }
.wfwa-noscript { margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: var(--wfwa-tint-2); font-weight: 700; }

/* Layout */
.wfwa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 32px; align-items: start; margin: 0; }
.wfwa-steps { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Step cards */
.wfwa-card {
	position: relative; background: #FFFFFF; border: 1px solid var(--wfwa-line); border-radius: 18px; padding: 28px;
	display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 20px; min-width: 0;
}
.wfwa-card:focus { outline: none; }
.wfwa-card.is-flash { animation: wfwa-flash 1.4s ease-out; }
@keyframes wfwa-flash {
	0% { box-shadow: 0 0 0 0 rgba(194, 83, 26, 0.55); }
	25% { box-shadow: 0 0 0 6px rgba(194, 83, 26, 0.28); }
	100% { box-shadow: 0 0 0 0 rgba(194, 83, 26, 0); }
}
.wfwa-card__head { display: flex; align-items: center; gap: 14px; }
.wfwa-num {
	width: 36px; height: 36px; flex-shrink: 0; border-radius: 999px; background: var(--wfwa-tint); color: var(--wfwa-red);
	font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.wfwa .wfwa-card__title { flex-grow: 1; margin: 0; font-family: var(--wfwa-display); font-size: 26px; line-height: 1.2; font-weight: 800; color: var(--wfwa-red); }
.wfwa-tick {
	width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; border: 2px solid #D9CBBF; background: #FFFFFF; color: #FFFFFF;
	display: flex; align-items: center; justify-content: center; transition: background-color .25s, border-color .25s;
}
.wfwa-tick svg { opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s; }
.wfwa-tick.is-done { background: var(--wfwa-hi); border-color: var(--wfwa-hi); }
.wfwa-tick.is-done svg { opacity: 1; transform: none; }
.wfwa-pill { padding: 4px 12px; border-radius: 999px; background: #F3ECE6; color: var(--wfwa-muted); font-size: 13px; font-weight: 700; }
.wfwa-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--wfwa-accent); color: #FFFFFF; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap; }

/* Step 1: subjects */
.wfwa-subjects { border: 0; margin: 0; padding: 0; min-width: 0; }
.wfwa-legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--wfwa-ink-2); }
.wfwa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wfwa-chip {
	height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 2px solid var(--wfwa-chip-line); background: #FFFFFF; color: var(--wfwa-ink-2);
	font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.wfwa-chip:hover { border-color: var(--wfwa-hi); }
.wfwa-chip[aria-pressed="true"] { border-color: var(--wfwa-hi); background: var(--wfwa-tint); color: var(--wfwa-red); font-weight: 800; }

/* Step 1: styles (grid on larger screens) */
.wfwa-styles { position: relative; }
.wfwa-styles__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wfwa-style {
	display: flex; flex-direction: column; min-width: 0; border-radius: 14px; overflow: hidden; background: #FFFFFF;
	border: 2px solid var(--wfwa-line); box-shadow: 0 1px 2px rgba(26, 14, 13, 0.05); transition: border-color .2s, box-shadow .2s;
}
.wfwa-style.is-selected { border-color: var(--wfwa-hi); box-shadow: 0 12px 28px rgba(216, 106, 39, 0.28); }
.wfwa-style__media {
	position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; overflow: hidden;
	background: var(--wfwa-bg, #F4DAC5); cursor: zoom-in;
}
.wfwa .wfwa-style__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.wfwa-style__media:hover img { transform: scale(1.035); }
.wfwa .is-loading { opacity: .35; }
.wfwa-style__badge { position: absolute; top: 10px; left: 10px; }
.wfwa-style__zoom {
	position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.92); color: var(--wfwa-ink-2); display: flex; align-items: center; justify-content: center;
}
.wfwa-style__chosen { display: none; }
.wfwa-style__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wfwa-style__name { font-family: var(--wfwa-display); font-size: 19px; line-height: 1.2; font-weight: 800; color: var(--wfwa-ink); text-align: center; }
.wfwa-pick {
	height: 44px; padding: 0 10px; border-radius: 10px; border: 2px solid var(--wfwa-red); background: #FFFFFF; color: var(--wfwa-red);
	font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.wfwa-pick:hover { background: var(--wfwa-tint-2); }
.wfwa-pick__icon { display: none; }
.wfwa-pick[aria-pressed="true"] { background: var(--wfwa-accent); border-color: var(--wfwa-accent); color: #FFFFFF; }
.wfwa-pick[aria-pressed="true"]:hover { background: var(--wfwa-accent-hover); border-color: var(--wfwa-accent-hover); }
.wfwa-pick[aria-pressed="true"] .wfwa-pick__icon,
.wfwa-btn[aria-pressed="true"] .wfwa-pick__icon { display: inline-flex; }
.wfwa-arrow { display: none; }
.wfwa-carousel-ui { display: none; }

/* Buttons */
.wfwa-btn {
	min-height: 48px; padding: 0 18px; border-radius: 12px; border: 2px solid transparent; font-size: 15px; font-weight: 800; line-height: 1.2;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.wfwa-btn--lg { min-height: 52px; font-size: 16px; }
.wfwa-btn--primary { background: var(--wfwa-accent); color: #FFFFFF; }
.wfwa-btn--primary:hover { background: var(--wfwa-accent-hover); color: #FFFFFF; }
.wfwa-btn--outline { background: #FFFFFF; border-color: var(--wfwa-red); color: var(--wfwa-red); }
.wfwa-btn--outline:hover { background: var(--wfwa-tint-2); color: var(--wfwa-red); }
.wfwa-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #FFFFFF; }
.wfwa-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }

/* Lightbox */
.wfwa-lightbox {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(26, 14, 13, 0.95); color: #FFF7F0; overscroll-behavior: contain;
}
.wfwa-lightbox::backdrop { background: rgba(26, 14, 13, 0.6); }
.wfwa-lightbox[open] { display: block; animation: wfwa-fade .2s ease-out; }
@keyframes wfwa-fade { from { opacity: 0; } to { opacity: 1; } }
.wfwa-lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 32px 24px; }
.wfwa-lightbox__figure {
	margin: 0; height: min(82vh, 760px); aspect-ratio: 3 / 4; flex-shrink: 1; min-width: 0; max-width: calc(100% - 420px);
	border-radius: 12px; overflow: hidden; background: #2B1714;
}
.wfwa .wfwa-lightbox__figure img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity .2s; }
.wfwa-lightbox__info { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.wfwa-lightbox__info .wfwa-badge { align-self: flex-start; }
.wfwa-lightbox__nav { display: flex; align-items: center; gap: 12px; }
.wfwa .wfwa-lightbox__title { margin: 0; font-family: var(--wfwa-display); font-size: 34px; line-height: 1.1; font-weight: 800; color: #FFFFFF; }
.wfwa-lightbox__caption { margin: 0; font-size: 15px; color: #E6D5CB; }
.wfwa-lightbox__info .wfwa-btn--primary { margin-top: 6px; }
.wfwa-lb-btn {
	width: 48px; height: 48px; flex-shrink: 0; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.14); color: #FFFFFF;
	display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s;
}
.wfwa-lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.wfwa-lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; z-index: 1; }
.wfwa-lightbox__mnav { display: none; }

/* Step 2: photos */
.wfwa-modes { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wfwa-mode {
	display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--wfwa-chip-line);
	background: #FFFFFF; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.wfwa-mode:hover { border-color: var(--wfwa-hi); }
.wfwa-mode.is-on { border-color: var(--wfwa-hi); background: var(--wfwa-on); }
.wfwa-mode input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--wfwa-accent); }
.wfwa-mode__text { display: flex; flex-direction: column; gap: 2px; }
.wfwa-mode__title { font-size: 16px; font-weight: 700; color: var(--wfwa-ink); }
.wfwa-mode__sub { font-size: 14px; color: var(--wfwa-muted-2); }
.wfwa-mode__sub--price { font-weight: 700; color: var(--wfwa-accent-ink); }

.wfwa-file { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; opacity: 0; }
.wfwa-drop:has(.wfwa-file:focus-visible),
.wfwa-tile:has(.wfwa-file:focus-visible) { outline: 3px solid var(--wfwa-accent); outline-offset: 2px; }

.wfwa-drop {
	position: relative; min-height: 150px; display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 14px;
	border: 2px dashed var(--wfwa-dash); background: #FFFDFB; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.wfwa-drop:hover, .wfwa-drop.is-over { border-color: var(--wfwa-hi); background: #FFF8F2; }
.wfwa-drop__icon {
	width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; background: var(--wfwa-tint); color: var(--wfwa-accent);
	display: flex; align-items: center; justify-content: center;
}
.wfwa-drop__preview {
	display: none; position: relative; width: 112px; height: 112px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #F3E7DC;
}
.wfwa .wfwa-drop__preview img, .wfwa .wfwa-tile__preview img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wfwa-fileicon {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	color: var(--wfwa-red); font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.wfwa-drop__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.wfwa-drop__title { font-size: 17px; font-weight: 800; color: var(--wfwa-ink); }
.wfwa-drop__sub { font-size: 14px; color: var(--wfwa-muted-2); }
.wfwa-drop__done { display: none; flex-direction: column; gap: 4px; min-width: 0; }
.wfwa-drop__ok { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--wfwa-red); }
.wfwa-drop__ok svg { color: var(--wfwa-accent); }
.wfwa-drop__name { font-size: 14px; color: var(--wfwa-muted); overflow-wrap: anywhere; }
.wfwa-drop__replace { font-size: 14px; font-weight: 700; color: var(--wfwa-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.wfwa-drop.is-done { border-style: solid; border-color: var(--wfwa-hi); background: var(--wfwa-on); }
.wfwa-drop.is-done .wfwa-drop__icon, .wfwa-drop.is-done .wfwa-drop__title, .wfwa-drop.is-done .wfwa-drop__sub,
.wfwa-drop.is-busy .wfwa-drop__icon, .wfwa-drop.is-busy .wfwa-drop__title, .wfwa-drop.is-busy .wfwa-drop__sub { display: none; }
.wfwa-drop.is-done .wfwa-drop__preview, .wfwa-drop.is-busy .wfwa-drop__preview { display: block; }
.wfwa-drop.is-done .wfwa-drop__done { display: flex; }
.wfwa-drop.is-error { border-color: var(--wfwa-error); }

.wfwa-progress { display: none; flex-direction: column; gap: 6px; width: 100%; max-width: 320px; }
.is-busy .wfwa-progress { display: flex; }
.wfwa-progress__bar { display: block; height: 8px; border-radius: 999px; background: #F1E4D8; overflow: hidden; }
.wfwa-progress__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--wfwa-accent); transition: width .2s; }
.wfwa-progress__text { font-size: 14px; font-weight: 700; color: var(--wfwa-red); }

.wfwa-multi { display: flex; flex-direction: column; gap: 16px; }
.wfwa-counter {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 10px 12px 10px 18px;
	border-radius: 14px; background: var(--wfwa-cream); border: 1px solid #EFE3D8;
}
.wfwa-counter__label { font-size: 16px; font-weight: 700; color: var(--wfwa-ink); }
.wfwa-counter__ctrl { display: flex; align-items: center; gap: 6px; }
.wfwa-round {
	width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 2px solid #D9C6B8; background: #FFFFFF; color: var(--wfwa-red);
	display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, opacity .2s;
}
.wfwa-round:hover:not(:disabled) { border-color: var(--wfwa-hi); }
.wfwa-round:disabled { opacity: .4; cursor: not-allowed; }
.wfwa-counter__value { width: 44px; text-align: center; font-family: var(--wfwa-display); font-size: 24px; font-weight: 800; color: var(--wfwa-ink); }
.wfwa-counter__cost { min-width: 74px; margin-left: 8px; font-size: 15px; font-weight: 800; color: var(--wfwa-accent-ink); text-align: right; }

.wfwa-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.wfwa-tile {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; border: 2px dashed var(--wfwa-dash); background: #FFFDFB;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px; text-align: center;
	color: var(--wfwa-accent); cursor: pointer; transition: border-color .2s;
}
.wfwa-tile:hover, .wfwa-tile.is-over { border-color: var(--wfwa-hi); }
.wfwa-tile__preview { display: none; position: absolute; inset: 0; background: #F3E7DC; }
.wfwa-tile__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wfwa-tile__empty span { font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--wfwa-ink-2); }
.wfwa-tile__tag {
	display: none; position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.95);
	font-size: 12px; font-weight: 800; line-height: 1.2; color: var(--wfwa-red); align-items: center; justify-content: center; gap: 4px;
}
.wfwa-tile__tag svg { color: var(--wfwa-accent); }
.wfwa-tile__err { display: none; position: relative; font-size: 11px; font-weight: 700; line-height: 1.2; color: var(--wfwa-error); }
.wfwa-progress--tile { position: absolute; left: 8px; right: 8px; bottom: 8px; width: auto; }
.wfwa-tile.is-done { border-style: solid; border-color: var(--wfwa-hi); }
.wfwa-tile.is-done .wfwa-tile__preview, .wfwa-tile.is-busy .wfwa-tile__preview { display: block; }
.wfwa-tile.is-done .wfwa-tile__empty, .wfwa-tile.is-busy .wfwa-tile__empty { display: none; }
.wfwa-tile.is-done .wfwa-tile__tag { display: flex; }
.wfwa-tile.is-error { border-color: var(--wfwa-error); }
.wfwa-tile.is-error .wfwa-tile__err { display: block; }

.wfwa-photos-status { margin: 0; font-size: 14px; font-weight: 600; color: var(--wfwa-muted); }
.wfwa-msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wfwa-msgs:empty { display: none; }
.wfwa-msgs li { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--wfwa-error); }
.wfwa-msgs li.is-warn { color: #8A4B0F; font-weight: 600; }
.wfwa-note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--wfwa-muted-2); }

/* Step 3: note */
.wfwa-note-label { font-size: 15px; color: var(--wfwa-muted); margin-top: -6px; }
.wfwa-textarea {
	display: block; width: 100%; min-height: 120px; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--wfwa-line-2); background: #FFFDFB;
	font: inherit; font-size: 16px; line-height: 1.5; color: var(--wfwa-ink); resize: vertical; margin-top: -6px;
}
.wfwa-textarea:focus { border-color: var(--wfwa-accent); }
.wfwa-count { align-self: flex-end; margin-top: -12px; font-size: 13px; color: var(--wfwa-muted-2); }

/* Step 4: finishes */
.wfwa-finishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wfwa-finish {
	display: flex; flex-direction: column; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid var(--wfwa-line); background: #FFFFFF;
	color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.wfwa-finish:hover:not(:disabled) { border-color: var(--wfwa-hi); }
.wfwa-finish[aria-pressed="true"] { border-color: var(--wfwa-hi); box-shadow: 0 12px 28px rgba(216, 106, 39, 0.25); }
.wfwa-finish:disabled { cursor: not-allowed; opacity: .6; }
.wfwa-finish__media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #EFE7DB; }
.wfwa .wfwa-finish__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wfwa-finish:disabled .wfwa-finish__media img { filter: grayscale(1); }
.wfwa-finish__check {
	display: none; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 999px; background: var(--wfwa-accent);
	color: #FFFFFF; align-items: center; justify-content: center;
}
.wfwa-finish[aria-pressed="true"] .wfwa-finish__check { display: flex; }
.wfwa-finish__body { width: 100%; padding: 14px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wfwa-finish__name { font-family: var(--wfwa-display); font-size: 19px; line-height: 1.2; font-weight: 800; color: var(--wfwa-ink); }
.wfwa-finish__size { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--wfwa-muted-2); }
.wfwa-finish__price { font-size: 18px; font-weight: 800; color: var(--wfwa-red); white-space: nowrap; }
.wfwa-finish:disabled .wfwa-finish__price { color: var(--wfwa-muted-2); }

/* Summary */
.wfwa-summary { position: sticky; top: 24px; min-width: 0; }
.wfwa-summary__card {
	background: #FFFFFF; border: 1px solid var(--wfwa-line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 18px;
	box-shadow: 0 14px 34px rgba(114, 36, 19, 0.08);
}
.wfwa-summary__head { display: flex; flex-direction: column; gap: 2px; }
.wfwa .wfwa-summary__title { margin: 0; font-family: var(--wfwa-display); font-size: 24px; line-height: 1.2; font-weight: 800; color: var(--wfwa-red); }
.wfwa-summary__sub { font-size: 14px; color: var(--wfwa-muted-2); }
.wfwa-summary__list { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.wfwa-summary__list > div, .wfwa-summary__lines > div { display: flex; justify-content: space-between; gap: 12px; }
.wfwa-summary__list dt { color: var(--wfwa-muted-2); }
.wfwa-summary__list dd { margin: 0; font-weight: 700; color: var(--wfwa-ink); text-align: right; }
.wfwa-summary__list dd.is-empty { color: var(--wfwa-faint); }
.wfwa-summary__lines { padding-top: 14px; border-top: 1px dashed var(--wfwa-line-2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--wfwa-ink-2); }
.wfwa-summary__lines span:last-child { font-weight: 700; white-space: nowrap; }
.wfwa-summary__total { padding-top: 14px; border-top: 1px solid var(--wfwa-line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wfwa-summary__total > span:first-child { font-size: 17px; font-weight: 800; }
.wfwa-summary__amount { font-family: var(--wfwa-display); font-size: 36px; line-height: 1; font-weight: 800; color: var(--wfwa-ink); }

.wfwa-action { display: flex; flex-direction: column; gap: 12px; }
.wfwa-add {
	height: 58px; border: 0; border-radius: 14px; background: var(--wfwa-accent); color: #FFFFFF; font-size: 17px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: background-color .2s, color .2s;
}
.wfwa-add:hover { background: var(--wfwa-accent-hover); }
.wfwa-add[aria-disabled="true"] { background: #EFE4DA; color: var(--wfwa-faint); cursor: not-allowed; }
.wfwa-add.is-busy { cursor: progress; opacity: .85; }
.wfwa-missing { margin: 0; display: flex; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--wfwa-muted); }
.wfwa-missing svg { color: var(--wfwa-accent); margin-top: 1px; }
.wfwa-error { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--wfwa-error); }

.wfwa-added {
	padding: 16px; border-radius: 14px; background: #EFF7F1; border: 1px solid #BFDCC8; display: flex; flex-direction: column; gap: 10px; outline: none;
}
.wfwa-added__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--wfwa-success); }
.wfwa-added__text { font-size: 14px; color: #2F4A39; }
.wfwa-added__actions { display: flex; gap: 8px; padding-top: 4px; }
.wfwa-added__actions .wfwa-btn { flex: 1 1 0; min-height: 46px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
.wfwa-added__cart { align-self: center; font-size: 14px; font-weight: 700; color: var(--wfwa-success); text-decoration: underline; text-underline-offset: 3px; }

.wfwa-trust {
	margin: 0; padding: 16px 0 0; border-top: 1px solid #F1E7DE; list-style: none; display: flex; flex-direction: column; gap: 10px;
	font-size: 14px; font-weight: 600; color: var(--wfwa-ink-2);
}
.wfwa-trust li { display: flex; align-items: center; gap: 10px; }
.wfwa-trust svg { color: var(--wfwa-accent); }

/* About */
.wfwa-about { margin-top: 40px; max-width: 820px; background: #FFFFFF; border: 1px solid var(--wfwa-line); border-radius: 18px; padding: 28px; }
.wfwa .wfwa-about__title { margin: 0 0 10px; font-family: var(--wfwa-display); font-size: 22px; font-weight: 800; color: var(--wfwa-red); }
.wfwa-about__body { font-size: 16px; line-height: 1.65; color: var(--wfwa-muted); }
.wfwa-about__body > * + * { margin-top: 1em; }

/* Mobile total bar */
.wfwa-bar { display: none; }

.wfwa-only-coarse { display: none; }
@media (pointer: coarse) {
	.wfwa-only-fine { display: none; }
	.wfwa-only-coarse { display: inline; }
}

/* Tablet */
@media (max-width: 1100px) {
	.wfwa-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
	.wfwa-card { padding: 24px; }
	.wfwa-styles__track { gap: 12px; }
	.wfwa-style__body { padding: 12px 10px; }
	.wfwa-style__name { font-size: 17px; }
	.wfwa-pick { font-size: 13px; }
	.wfwa-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.wfwa-finish__body { flex-direction: column; gap: 2px; padding: 12px 14px; }
	.wfwa-summary__card { padding: 22px; }
}

/* Phone and small tablet: one column */
@media (max-width: 900px) {
	.wfwa-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
	.wfwa .wfwa-title { font-size: 34px; margin-bottom: 8px; }
	.wfwa-lead p { font-size: 16px; }
	.wfwa-from strong { font-size: 26px; }
	.wfwa-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.wfwa-steps { gap: 16px; }
	.wfwa-summary { position: static; scroll-margin-top: 16px; }
	.wfwa-card { padding: 18px; gap: 16px; }
	.wfwa-card__head { gap: 12px; }
	.wfwa-num { width: 32px; height: 32px; font-size: 15px; }
	.wfwa .wfwa-card__title { font-size: 22px; }
	.wfwa-tick { width: 30px; height: 30px; border-radius: 8px; }
	.wfwa-modes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.wfwa-mode { padding: 14px 16px; }
	.wfwa-drop { min-height: 128px; gap: 16px; padding: 16px; }
	.wfwa-drop__icon { width: 52px; height: 52px; border-radius: 14px; }
	.wfwa-drop__preview { width: 88px; height: 88px; }
	.wfwa-drop__title, .wfwa-drop__ok { font-size: 16px; }
	.wfwa-drop__name { font-size: 13px; }
	.wfwa-counter { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; }
	.wfwa-counter__label { font-size: 15px; }
	.wfwa-counter__value { font-size: 22px; }
	.wfwa-counter__cost { margin-left: auto; }
	.wfwa-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.wfwa-tile { border-radius: 10px; padding: 4px; gap: 4px; }
	.wfwa-tile__empty span { font-size: 11px; }
	.wfwa-tile__tag { left: auto; right: 4px; bottom: 4px; width: 22px; height: 22px; padding: 0; border-radius: 999px; background: var(--wfwa-accent); color: #FFFFFF; }
	.wfwa-tile__tag svg { color: #FFFFFF; }
	.wfwa-tile__tag span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.wfwa-finishes { gap: 10px; }
	.wfwa-finish { border-radius: 12px; }
	.wfwa-finish__body { align-items: center; text-align: center; padding: 8px 6px 10px; }
	.wfwa-finish__name { font-size: 14px; }
	.wfwa-finish__size { display: block; font-size: 12px; }
	.wfwa-finish__price { font-size: 17px; }
	.wfwa-finish__check { top: 6px; right: 6px; width: 24px; height: 24px; }
	.wfwa-finish__check svg { width: 13px; height: 13px; }
	.wfwa-summary__card { padding: 20px; gap: 16px; }
	.wfwa-summary__amount { font-size: 34px; }
	.wfwa-added__actions .wfwa-btn { min-height: 48px; }
	.wfwa-about { margin-top: 24px; padding: 20px; }

	.wfwa-bar {
		position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
		display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px;
		background: var(--wfwa-dark); color: #FFFFFF; box-shadow: 0 12px 30px rgba(26, 14, 13, 0.3);
		transition: transform .28s ease, opacity .28s ease;
	}
	.wfwa-bar.is-away { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
	.wfwa-bar__total { display: flex; flex-direction: column; line-height: 1.15; }
	.wfwa-bar__total span { font-size: 12px; font-weight: 600; color: #CDB8AE; }
	.wfwa-bar__total strong { font-family: var(--wfwa-display); font-size: 22px; font-weight: 800; }
	.wfwa-bar__btn { height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--wfwa-accent); color: #FFFFFF; font-size: 15px; font-weight: 800; cursor: pointer; }
}

/* Phone: swipe carousel for the styles */
@media (max-width: 599px) {
	.wfwa-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; gap: 8px; scrollbar-width: none; }
	.wfwa-chips::-webkit-scrollbar { display: none; }
	.wfwa-chip { flex-shrink: 0; height: 44px; padding: 0 16px 0 12px; gap: 6px; }
	.wfwa-card--style { overflow: hidden; }
	.wfwa-styles { margin: 0 -18px; }
	.wfwa-styles__track {
		position: relative; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
		padding: 8px calc(50% - 108px) 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	.wfwa-styles__track::-webkit-scrollbar { display: none; }
	.wfwa-style {
		flex: 0 0 216px; scroll-snap-align: center; scroll-snap-stop: always; background: transparent; box-shadow: none; border-color: transparent;
		transform: scale(.86); opacity: .5; filter: blur(1.5px); transition: transform .35s ease, opacity .35s ease, filter .35s ease, border-color .2s, box-shadow .35s;
	}
	.wfwa-style.is-center { transform: none; opacity: 1; filter: none; box-shadow: 0 14px 30px rgba(114, 36, 19, 0.18); }
	.wfwa-style.is-selected { border-color: var(--wfwa-hi); }
	.wfwa-style__media { cursor: pointer; border-radius: 12px; }
	.wfwa-style__media:hover img { transform: none; }
	.wfwa-style__body { display: none; }
	.wfwa-style__zoom { display: none; }
	.wfwa-style.is-center .wfwa-style__zoom { display: flex; }
	.wfwa-style.is-selected .wfwa-style__chosen {
		display: flex; position: absolute; bottom: 10px; right: 10px; width: 30px; height: 30px; border-radius: 999px;
		background: var(--wfwa-accent); color: #FFFFFF; align-items: center; justify-content: center;
	}
	.wfwa-arrow {
		display: flex; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0; border-radius: 999px; border: 0;
		background: var(--wfwa-accent); color: #FFFFFF; box-shadow: 0 6px 16px rgba(114, 36, 19, 0.3); align-items: center; justify-content: center; cursor: pointer;
		transition: opacity .2s;
	}
	.wfwa-arrow--prev { left: 8px; }
	.wfwa-arrow--next { right: 8px; }
	.wfwa-arrow:disabled { opacity: .35; cursor: default; }
	.wfwa-carousel-ui { display: flex; flex-direction: column; gap: 12px; margin-top: -4px; }
	.wfwa-carousel-ui__name { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--wfwa-display); font-size: 24px; line-height: 1.2; font-weight: 800; }
	.wfwa-carousel-ui__name .wfwa-badge { font-family: inherit; font-size: 11px; padding: 4px 9px; }
	.wfwa-dots { display: flex; justify-content: center; gap: 6px; }
	.wfwa-dot { width: 8px; height: 8px; border-radius: 999px; background: #E2D3C7; transition: width .3s, background-color .3s; }
	.wfwa-dot.is-on { width: 22px; background: var(--wfwa-accent); }
	.wfwa-pick--big { height: 52px; border-radius: 14px; font-size: 16px; }
	.wfwa-hint { margin: 0; text-align: center; font-size: 13px; color: var(--wfwa-muted-2); }
	.wfwa-finish__body { padding: 8px 4px 10px; }
}

/* Lightbox on phones */
@media (max-width: 700px) {
	.wfwa-lightbox__inner { flex-direction: column; gap: 14px; padding: 64px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
	.wfwa-lightbox__side { display: none; }
	.wfwa-lightbox__figure { height: auto; width: min(100%, 360px, calc((100vh - 300px) * 0.75)); max-width: none; flex-shrink: 0; }
	@supports (height: 100dvh) {
		.wfwa-lightbox__figure { width: min(100%, 360px, calc((100dvh - 300px) * 0.75)); }
	}
	.wfwa-lightbox__info { width: 100%; max-width: 360px; align-items: center; gap: 10px; }
	.wfwa-lightbox__info .wfwa-badge { align-self: center; }
	.wfwa-lightbox__nav { width: 100%; justify-content: space-between; }
	.wfwa-lightbox__mnav { display: flex; width: 44px; height: 44px; }
	.wfwa .wfwa-lightbox__title { font-size: 24px; text-align: center; }
	.wfwa-lightbox__caption { font-size: 14px; text-align: center; }
	.wfwa-lightbox__info .wfwa-btn { width: 100%; }
	.wfwa-lightbox__info .wfwa-btn--ghost { display: none; }
	.wfwa-lightbox__close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.wfwa *, .wfwa *::before, .wfwa *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
