/* WonderFil Color Wall — scoped to .wtqw (the wall) and .wtqw-layer (panels added to <body>).
   Sizes adapt to the space the theme gives the wall (container queries), not to the screen,
   so it fits with or without a sidebar. */
.wtqw,
.wtqw-layer {
	--wtqw-accent: #ff6b00;
	--wtqw-ink: #1f1b18;
	--wtqw-muted: #6f6760;
	--wtqw-line: #e7e1db;
	--wtqw-soft: #faf7f4;
	--wtqw-bg: #fff;
	--wtqw-ok: #2e7d4f;
	--wtqw-warn: #a35c00;
	--wtqw-r: 14px;
	--wtqw-shadow: 0 12px 32px rgba(31, 27, 24, .16);
	--wtqw-zoom: 1.6;
	--wtqw-fx: 50%;
	--wtqw-fy: 50%;
	--wtqw-sw: 54px;
	font-family: inherit; /* the wall.js script switches to the brand font when it is loaded */
	color: var(--wtqw-ink);
	font-size: 15px;
	line-height: 1.45;
	-webkit-text-size-adjust: 100%;
}
.wtqw *, .wtqw-layer * { box-sizing: border-box; }
.wtqw [hidden], .wtqw-layer [hidden] { display: none !important; }
.wtqw { container-type: inline-size; container-name: wtqw; margin: 0 0 32px; clear: both; width: 100%; max-width: 100%; overflow-x: clip; }
.wtqw ul, .wtqw-layer ul { list-style: none; margin: 0; padding: 0; }
.wtqw h2, .wtqw h3, .wtqw-layer h2, .wtqw-layer h3 { font-family: inherit; letter-spacing: normal; text-transform: none; }
.wtqw a, .wtqw-layer a { color: inherit; }
.wtqw :focus-visible, .wtqw-layer :focus-visible { outline: 3px solid var(--wtqw-accent); outline-offset: 2px; }

/* Buttons: reset the theme's button styles, then ours */
.wtqw .wtqw-btn, .wtqw-layer .wtqw-btn {
	appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	margin: 0; border: 1px solid transparent; border-radius: 999px; padding: 11px 18px; min-height: 44px;
	font: inherit; font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: normal; text-transform: none; text-decoration: none; text-shadow: none;
	box-shadow: none; cursor: pointer; white-space: nowrap; background: var(--wtqw-accent); color: #fff; transition: filter .15s;
}
.wtqw .wtqw-btn:hover, .wtqw-layer .wtqw-btn:hover { filter: brightness(.92); color: #fff; }
.wtqw .wtqw-btn-dark, .wtqw-layer .wtqw-btn-dark { background: var(--wtqw-ink); color: #fff; }
.wtqw .wtqw-btn-ghost, .wtqw-layer .wtqw-btn-ghost { background: var(--wtqw-bg); color: var(--wtqw-ink); border-color: var(--wtqw-line); }
.wtqw .wtqw-btn-ghost:hover, .wtqw-layer .wtqw-btn-ghost:hover { color: var(--wtqw-ink); filter: none; border-color: var(--wtqw-ink); }
.wtqw .wtqw-btn[disabled], .wtqw-layer .wtqw-btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.wtqw .wtqw-mini, .wtqw-layer .wtqw-mini { padding: 7px 14px; min-height: 36px; font-size: 13px; }
.wtqw .wtqw-btn.is-busy, .wtqw-layer .wtqw-btn.is-busy { opacity: .7; cursor: progress; }

.wtqw-preview-note { background: #fff4e5; border: 1px solid #ffd9a8; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 0 0 14px; }

/* Specs + technical details */
.wtqw-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px !important; }
.wtqw-specs li { margin: 0; background: var(--wtqw-soft); border: 1px solid var(--wtqw-line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.wtqw-specs small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--wtqw-muted); margin-right: 3px; }
.wtqw-tech { border: 1px solid var(--wtqw-line); border-radius: var(--wtqw-r); margin: 0 0 18px; background: var(--wtqw-bg); }
.wtqw-tech summary { cursor: pointer; padding: 12px 16px; font-size: 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wtqw-tech summary::-webkit-details-marker { display: none; }
.wtqw-tech summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--wtqw-accent); }
.wtqw-tech[open] summary::after { content: "–"; }
.wtqw-tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 24px; padding: 2px 16px 18px; }
.wtqw-tech-grid h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--wtqw-muted); margin: 0 0 6px; font-weight: 800; }
.wtqw-tech-grid p { margin: 0; }
.wtqw-tech-grid ul { list-style: disc; padding-left: 18px; }
.wtqw-tech-grid ul.wtqw-docs { list-style: none; padding: 0; }
.wtqw-kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; }
.wtqw-kv dt { font-weight: 700; } .wtqw-kv dd { margin: 0; }

/* Sets & packs band */
.wtqw-band { margin: 0 0 16px; }
.wtqw-band-list { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
.wtqw-card { flex: 0 0 min(340px, 86%); scroll-snap-align: start; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; gap: 4px 12px; align-items: center; background: var(--wtqw-soft); border: 1px solid var(--wtqw-line); border-radius: var(--wtqw-r); padding: 10px 12px; margin: 0; }
.wtqw-card-set { border-color: var(--wtqw-accent); }
.wtqw-card-img { grid-row: 1 / 3; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--wtqw-line); display: block; }
.wtqw-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.wtqw-card-body { display: grid; gap: 2px; min-width: 0; }
.wtqw-card-name { font-size: 15px; line-height: 1.3; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.wtqw-card-price { font-size: 14px; color: var(--wtqw-muted); }
.wtqw-card .wtqw-btn { justify-self: start; }

/* Toolbar */
/* Wall pages: nothing can drag the page sideways on iPhone (Safari ignores overflow-x on <body> alone). */
html:has(> body.wtqw-page) { overflow-x: clip; }
/* The toolbar scrolls with the page (a sticky bar that changes height moves the page on
   phones); once it is out of view, a small fixed search bar takes over (.wtqw-mini-bar). */
.wtqw-toolbar { border-bottom: 1px solid var(--wtqw-line); padding: 10px 0; margin: 0 0 6px; display: grid; gap: 10px; min-width: 0; }
.wtqw-mini-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 999960; display: flex; gap: 8px; align-items: center; padding: 8px max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--wtqw-line); box-shadow: 0 4px 14px rgba(31, 27, 24, .08); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, visibility 0s .15s; }
.wtqw-mini-bar.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .15s ease; }
@media (min-width: 900px) { .wtqw-mini-bar { display: none; } }
.wtqw-mini-bar .wtqw-search { flex: 1 1 auto; max-width: 560px; }
.wtqw-layer .wtqw-search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--wtqw-line); border-radius: 999px; padding: 0 14px; background: var(--wtqw-bg); min-width: 0; }
.wtqw-layer .wtqw-search svg { flex: none; color: var(--wtqw-muted); }
.wtqw-layer .wtqw-search:focus-within { border-color: var(--wtqw-ink); }
.wtqw-layer .wtqw-search input, .wtqw-layer .wtqw-search input:focus { border: 0; outline: 0; box-shadow: none !important; padding: 8px 0; margin: 0; width: 100%; min-width: 0; height: auto; background: transparent !important; font: inherit; font-size: 15px; color: inherit; -webkit-appearance: none; appearance: none; border-radius: 0; }
html.wtqw-locked .wtqw-mini-bar { visibility: hidden; }
.wtqw-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wtqw-row.wtqw-opts { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.wtqw-row.wtqw-opts::-webkit-scrollbar { display: none; }
.wtqw-row.wtqw-opts > * { flex: none; }
.wtqw-search { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 6px; border: 1px solid var(--wtqw-line); border-radius: 999px; padding: 0 14px; background: var(--wtqw-bg); }
.wtqw-search svg { flex: none; color: var(--wtqw-muted); }
.wtqw .wtqw-search input { border: 0; outline: 0; box-shadow: none; padding: 10px 0; margin: 0; width: 100%; min-width: 0; background: transparent; font: inherit; font-size: 15px; color: inherit; }
.wtqw-chips { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.wtqw-chips::-webkit-scrollbar { display: none; }
@container wtqw (min-width: 760px) { .wtqw-chips { flex-wrap: wrap; overflow: visible; } }
.wtqw .wtqw-chip, .wtqw .wtqw-toggle {
	appearance: none; flex: none; display: inline-flex; align-items: center; gap: 6px; margin: 0; min-height: 36px;
	border: 1px solid var(--wtqw-line); background: var(--wtqw-bg); color: var(--wtqw-ink); border-radius: 999px; padding: 6px 12px;
	font: inherit; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: normal; text-transform: none; box-shadow: none; cursor: pointer; user-select: none;
}
.wtqw .wtqw-chip small { font-weight: 600; opacity: .7; font-size: 12px; }
.wtqw .wtqw-chip[aria-pressed="true"] { background: var(--wtqw-ink); color: #fff; border-color: var(--wtqw-ink); }
.wtqw-chip-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); flex: none; }
.wtqw .wtqw-toggle input { accent-color: var(--wtqw-accent); margin: 0; width: 16px; height: 16px; }
/* Size: a compact pill; the real menu lies on top of it, invisible, so the phone's own picker opens. */
.wtqw .wtqw-pill { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 0; border: 1px solid var(--wtqw-ink); background: var(--wtqw-bg); color: var(--wtqw-ink); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; line-height: 1.2; cursor: pointer; max-width: 46vw; }
.wtqw .wtqw-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtqw .wtqw-pill svg { flex: none; }
.wtqw .wtqw-pill select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; padding: 0; border: 0; cursor: pointer; font-size: 16px; -webkit-appearance: none; appearance: none; }
.wtqw .wtqw-pill:focus-within { outline: 3px solid var(--wtqw-accent); outline-offset: 2px; }
/* Match fabric: the brand orange, white text */
.wtqw .wtqw-btn-match, .wtqw-layer .wtqw-btn-match { background: #ff6b00; color: #fff; border-color: #ff6b00; }
.wtqw .wtqw-btn-match:hover, .wtqw-layer .wtqw-btn-match:hover { color: #fff; }
.wtqw-count { font-size: 13px; color: var(--wtqw-muted); margin-left: auto; padding-left: 8px; font-variant-numeric: tabular-nums; }

/* Wall */
.wtqw-wall { padding-bottom: 8px; }
/* No content-visibility here: its placeholder heights make the page grow and shrink while
   scrolling, which Safari on iPhone shows as the page sliding. */
.wtqw-group { padding: 10px 0; }
.wtqw .wtqw-group-title { font-size: 16px; line-height: 1.3; font-weight: 800; margin: 0 0 10px; display: flex; gap: 8px; align-items: baseline; }
.wtqw-group-title small { color: var(--wtqw-muted); font-weight: 600; font-size: 13px; }
.wtqw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--wtqw-sw), 1fr)); gap: 14px 10px; }
@container wtqw (min-width: 560px) { .wtqw-grid { --wtqw-sw: 62px; } }
@container wtqw (min-width: 960px) { .wtqw-grid { --wtqw-sw: 68px; } }
.wtqw-grid li { margin: 0; padding: 0; min-width: 0; }
.wtqw a.wtqw-sw { display: grid; justify-items: center; gap: 5px; text-decoration: none; color: inherit; position: relative; -webkit-tap-highlight-color: transparent; border: 0; box-shadow: none; outline-offset: 4px; }
.wtqw-dot { display: block; width: 100%; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; background: #e9e5e1; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .08); transition: transform .15s ease; }
.wtqw-dot img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: cover; object-position: var(--wtqw-fx) var(--wtqw-fy); transform: scale(var(--wtqw-zoom)); border-radius: 0 !important; }
.wtqw a.wtqw-sw:hover .wtqw-dot { transform: scale(1.07); }
.wtqw a.wtqw-sw:focus-visible { outline: none; }
.wtqw a.wtqw-sw:focus-visible .wtqw-dot { outline: 3px solid var(--wtqw-accent); outline-offset: 3px; }
.wtqw-code { font-size: 11px; font-weight: 700; color: var(--wtqw-muted); font-variant-numeric: tabular-nums; line-height: 1.15; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtqw-nocodes .wtqw-code { display: none; }
.wtqw a.wtqw-sw.is-oos .wtqw-dot, .wtqw a.wtqw-sw.is-oos-size .wtqw-dot { opacity: .35; }
.wtqw a.wtqw-sw.is-oos .wtqw-dot::after, .wtqw a.wtqw-sw.is-oos-size .wtqw-dot::after { content: ""; position: absolute; left: 50%; top: -10%; width: 2px; height: 120%; background: var(--wtqw-muted); transform: rotate(45deg); }
.wtqw-check { position: absolute; top: -4px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--wtqw-accent); color: #fff; display: none; place-items: center; box-shadow: 0 0 0 2px var(--wtqw-bg); font-size: 13px; font-weight: 800; }
.wtqw a.wtqw-sw[aria-pressed="true"] .wtqw-check { display: grid; }
.wtqw a.wtqw-sw[aria-pressed="true"] .wtqw-dot { box-shadow: 0 0 0 3px var(--wtqw-accent); }
.wtqw-empty { padding: 36px 0; color: var(--wtqw-muted); text-align: center; }
.wtqw-finder { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--wtqw-line); padding: 18px 0 0; margin: 16px 0 0; color: var(--wtqw-muted); font-size: 15px; }
.wtqw-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.wtqw-selecting .wtqw { padding-bottom: 96px; }

/* Panels added to <body> */
.wtqw-layer { position: relative; z-index: 999990; }
.wtqw-scrim { position: fixed; inset: 0; background: rgba(31, 27, 24, .4); z-index: 999990; animation: wtqw-fade .18s ease; }
.wtqw-sheet { position: fixed; z-index: 999991; background: var(--wtqw-bg); box-shadow: var(--wtqw-shadow); display: flex; flex-direction: column; left: 0; right: 0; bottom: 0; max-height: 90vh; max-height: 90dvh; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); animation: wtqw-up .22s ease; }
@media (min-width: 900px) { .wtqw-sheet { left: auto; top: 0; width: 430px; max-height: none; border-radius: 0; animation: wtqw-side .22s ease; padding-top: env(safe-area-inset-top, 0px); } }
@keyframes wtqw-up { from { transform: translateY(32px); opacity: .6; } }
@keyframes wtqw-side { from { transform: translateX(32px); opacity: .6; } }
@keyframes wtqw-fade { from { opacity: 0; } }
.wtqw-grab { width: 42px; height: 5px; border-radius: 3px; background: var(--wtqw-line); margin: 8px auto 0; flex: none; }
@media (min-width: 900px) { .wtqw-grab { display: none; } }
.wtqw-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--wtqw-line); flex: none; }
.wtqw-sheet-head strong { font-size: 15px; }
.wtqw-layer .wtqw-x { appearance: none; margin: 0; padding: 0; border: 1px solid var(--wtqw-line); background: var(--wtqw-bg); color: var(--wtqw-ink); border-radius: 999px; width: 40px; height: 40px; min-height: 0; cursor: pointer; font-size: 22px; line-height: 1; display: grid; place-items: center; box-shadow: none; }
.wtqw-sheet-body { overflow: auto; overscroll-behavior: contain; padding: 14px 16px 18px; display: grid; gap: 14px; grid-auto-rows: max-content; align-content: start; min-height: 0; }
.wtqw-photo { position: relative; border-radius: var(--wtqw-r); background: var(--wtqw-soft); overflow: hidden; aspect-ratio: 1; max-height: 44vh; max-width: 100%; margin: 0 auto; width: 100%; }
@media (min-width: 900px) { .wtqw-photo { max-height: none; } }
.wtqw-photo img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; }
.wtqw-photo .wtqw-photo-fill { position: absolute; inset: 18%; border-radius: 50%; }
.wtqw-tabs { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.wtqw-layer .wtqw-tabs button { appearance: none; margin: 0; min-height: 0; border: 1px solid var(--wtqw-line); background: var(--wtqw-bg); color: var(--wtqw-ink); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
.wtqw-layer .wtqw-tabs button[aria-pressed="true"] { background: var(--wtqw-ink); color: #fff; border-color: var(--wtqw-ink); }
.wtqw-id { display: flex; gap: 12px; align-items: center; }
.wtqw-id .wtqw-dot { width: 46px; flex: none; }
.wtqw-layer .wtqw-id h3 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 800; }
.wtqw-meta { color: var(--wtqw-muted); font-size: 13px; }
.wtqw-price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wtqw-price { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wtqw-stock { font-size: 13px; font-weight: 700; color: var(--wtqw-ok); }
.wtqw-stock.is-low { color: var(--wtqw-warn); }
.wtqw-stock.is-out { color: var(--wtqw-muted); }
.wtqw-sizes { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; background: transparent; }
.wtqw-sizes legend { font-size: 13px; font-weight: 800; padding: 0; margin: 0 0 6px; }
.wtqw-layer .wtqw-size { appearance: none; margin: 0; min-height: 44px; border: 1px solid var(--wtqw-line); background: var(--wtqw-bg); color: var(--wtqw-ink); border-radius: 12px; padding: 7px 12px; font: inherit; font-size: 14px; font-weight: 700; text-align: left; display: grid; gap: 1px; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1.2; }
.wtqw-layer .wtqw-size small { font-weight: 600; color: var(--wtqw-muted); font-size: 12px; }
.wtqw-layer .wtqw-size[aria-checked="true"] { border-color: var(--wtqw-ink); box-shadow: inset 0 0 0 1px var(--wtqw-ink); }
.wtqw-layer .wtqw-size.is-out { opacity: .5; text-decoration: line-through; }
.wtqw-qty { display: inline-flex; border: 1px solid var(--wtqw-line); border-radius: 999px; overflow: hidden; height: 44px; }
.wtqw-layer .wtqw-qty button { appearance: none; margin: 0; border: 0; background: var(--wtqw-soft); color: var(--wtqw-ink); width: 44px; min-height: 0; padding: 0; cursor: pointer; font-size: 20px; line-height: 1; box-shadow: none; }
.wtqw-layer .wtqw-qty input { width: 48px; text-align: center; border: 0; margin: 0; padding: 0; font: inherit; font-weight: 800; background: var(--wtqw-bg); color: inherit; -moz-appearance: textfield; box-shadow: none; }
.wtqw-qty input::-webkit-outer-spin-button, .wtqw-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wtqw-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wtqw-actions.is-one { grid-template-columns: 1fr; }
.wtqw-nav { display: flex; justify-content: space-between; font-size: 14px; }
.wtqw-layer .wtqw-nav button { appearance: none; background: none; border: 0; margin: 0; padding: 8px 0; min-height: 0; color: var(--wtqw-ink); font: inherit; font-weight: 800; cursor: pointer; box-shadow: none; text-transform: none; }
.wtqw-link { font-size: 14px; font-weight: 700; color: var(--wtqw-ink); }

/* Hover preview (mouse and trackpad only) */
.wtqw-peek { position: fixed; z-index: 999980; width: 220px; background: var(--wtqw-bg); border: 1px solid var(--wtqw-line); border-radius: var(--wtqw-r); box-shadow: var(--wtqw-shadow); padding: 10px; pointer-events: none; display: grid; gap: 6px; font-size: 13px; }
.wtqw-peek .wtqw-peek-ph { aspect-ratio: 1; border-radius: 10px; background: var(--wtqw-soft); overflow: hidden; display: grid; place-items: center; }
.wtqw-peek .wtqw-peek-ph img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.wtqw-peek .wtqw-peek-ph i { width: 70%; aspect-ratio: 1; border-radius: 50%; }
.wtqw-peek b { font-size: 14px; }
.wtqw-peek .wtqw-peek-r { display: flex; justify-content: space-between; color: var(--wtqw-muted); gap: 8px; }
.wtqw-peek .wtqw-peek-r strong { color: var(--wtqw-ink); }

/* Selection bar */
.wtqw-selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999970; background: var(--wtqw-ink); color: #fff; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.wtqw-selbar .wtqw-sum { font-weight: 800; margin-right: auto; font-variant-numeric: tabular-nums; }
.wtqw-layer .wtqw-selbar .wtqw-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.wtqw-layer .wtqw-selbar .wtqw-btn-light { background: #fff; color: var(--wtqw-ink); }
.wtqw-selbar .wtqw-sel-size { flex-basis: 100%; display: flex; gap: 8px; align-items: center; font-size: 13px; }
.wtqw-selbar .wtqw-sel-size select { font: inherit; font-weight: 700; border-radius: 999px; padding: 4px 10px; border: 0; color: var(--wtqw-ink); background: #fff; max-width: 70vw; }
.wtqw-selbar .wtqw-sel-promo { flex-basis: 100%; font-size: 13px; font-weight: 700; color: #ffd9bf; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wtqw-layer .wtqw-selbar .wtqw-sel-promo button { appearance: none; margin: 0; min-height: 0; background: var(--wtqw-accent); border: 0; color: #fff; border-radius: 999px; padding: 4px 12px; font: inherit; font-weight: 800; cursor: pointer; }
.wtqw-selbar .wtqw-nudge { flex-basis: 100%; font-size: 13px; color: #ffd9bf; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wtqw-layer .wtqw-selbar .wtqw-nudge button { appearance: none; margin: 0; min-height: 0; background: none; border: 1px solid #ffd9bf; color: #fff; border-radius: 999px; padding: 3px 10px; font: inherit; font-weight: 700; cursor: pointer; }

/* Notions under Add to cart ("Enhance your experience") */
.wtqw-enhance { border-top: 1px solid var(--wtqw-line); padding-top: 12px; display: grid; gap: 8px; }
.wtqw-layer .wtqw-enhance h4, .wtqw-layer .wtqw-suggest h4 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--wtqw-muted); font-weight: 800; }
.wtqw-offer, .wtqw-suggest-item { display: flex; gap: 10px; align-items: center; font-size: 14px; min-width: 0; }
.wtqw-offer img, .wtqw-suggest-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; margin: 0; background: var(--wtqw-soft); }
.wtqw-offer-t { flex: 1 1 auto; min-width: 0; display: grid; }
.wtqw-offer-t a { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtqw-offer-t small { color: var(--wtqw-muted); }
.wtqw-offer .wtqw-btn, .wtqw-suggest-item .wtqw-btn { flex: none; }

/* Build your own box */
.wtqw-promo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; background: #fff4eb; border: 1px solid #ffd2b0; border-radius: var(--wtqw-r); padding: 10px 14px; margin: 0 0 12px; font-size: 14px; }
.wtqw-promo svg { flex: none; color: var(--wtqw-accent); }
.wtqw-promo-t { flex: 1 1 auto; min-width: 0; }
.wtqw-promo-prog { flex: none; min-width: 8.5em; text-align: center; font-weight: 800; font-size: 13px; background: var(--wtqw-bg); border: 1px solid #ffd2b0; border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.wtqw-promo-prog.is-done { background: var(--wtqw-ok); border-color: var(--wtqw-ok); color: #fff; }
.wtqw-promo-prog.is-need { background: var(--wtqw-accent); border-color: var(--wtqw-accent); color: #fff; }
@container wtqw (max-width: 520px) { .wtqw-promo { grid-template-columns: auto minmax(0, 1fr); align-items: start; } .wtqw-promo-t strong { display: block; } .wtqw-promo-prog { grid-column: 2; justify-self: start; } }
.wtqw-promo-msg { margin: 0; }
.wtqw-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wtqw-layer .wtqw-box { appearance: none; margin: 0; display: grid; gap: 4px; justify-items: center; text-align: center; border: 1px solid var(--wtqw-line); background: var(--wtqw-bg); color: var(--wtqw-ink); border-radius: 12px; padding: 10px; cursor: pointer; font: inherit; font-size: 14px; box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; }
.wtqw-layer .wtqw-box img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; margin: 0; }
.wtqw-layer .wtqw-box small { color: var(--wtqw-muted); }
.wtqw-layer .wtqw-box[aria-checked="true"] { border-color: var(--wtqw-accent); box-shadow: inset 0 0 0 2px var(--wtqw-accent); }

/* Toast and suggestions */
.wtqw-toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 999995; background: var(--wtqw-ink); color: #fff; border-radius: 16px; padding: 10px 16px; font-weight: 700; font-size: 14px; box-shadow: var(--wtqw-shadow); max-width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; animation: wtqw-fade .18s ease; }
.wtqw-toast a { color: #fff; text-decoration: underline; }
.wtqw-toast.is-error { background: #9b1c1c; }
.wtqw-suggest { position: fixed; z-index: 999975; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100% - 32px)); max-height: min(70vh, 560px); max-height: min(70dvh, 560px); overflow: auto; overscroll-behavior: contain; background: var(--wtqw-bg); border: 1px solid var(--wtqw-line); border-radius: 16px; box-shadow: var(--wtqw-shadow); padding: 14px; display: grid; gap: 10px; animation: wtqw-up .22s ease; }
.wtqw-suggest-list { display: grid; gap: 8px; }
body.wtqw-selecting .wtqw-suggest { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.wtqw-layer .wtqw-suggest h3 { margin: 0; font-size: 16px; font-weight: 800; padding-right: 36px; }
.wtqw-suggest .wtqw-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; font-size: 18px; }
.wtqw-layer .wtqw-linkbtn { appearance: none; background: none; border: 0; margin: 0; padding: 0; min-height: 0; color: var(--wtqw-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; justify-self: start; box-shadow: none; }

/* Match fabric */
.wtqw-modal { position: fixed; inset: 0; z-index: 999991; display: grid; place-items: center; padding: 16px; }
.wtqw-modal-card { background: var(--wtqw-bg); border-radius: 18px; box-shadow: var(--wtqw-shadow); width: min(760px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; display: grid; gap: 14px; padding: 18px; align-content: start; }
.wtqw-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wtqw-layer .wtqw-modal-head h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.2; }
/* Phones: the modal is a sheet from the bottom, full width */
@media (max-width: 599px) {
	.wtqw-modal { place-items: end stretch; padding: 0; }
	.wtqw-modal-card { width: 100%; border-radius: 18px 18px 0 0; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); animation: wtqw-up .22s ease; }
}
.wtqw-mf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 720px) { .wtqw-mf { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.wtqw-mf-left, .wtqw-mf-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.wtqw-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.wtqw-drop { border: 2px dashed var(--wtqw-line); border-radius: var(--wtqw-r); min-height: 150px; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--wtqw-muted); }
.wtqw-drop-in { display: grid; gap: 10px; justify-items: center; }
.wtqw-drop-in p { margin: 0; font-size: 14px; }
.wtqw-drop.has-photo { border: 0; padding: 0; min-height: 0; background: var(--wtqw-soft); }
.wtqw-drop canvas { display: block; width: auto !important; height: auto !important; max-width: 100%; max-height: 38vh; max-height: 38dvh; border-radius: 10px; cursor: crosshair; touch-action: none; }
.wtqw-mf-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wtqw-layer label.wtqw-btn { cursor: pointer; }
.wtqw-picked { display: flex; gap: 10px; align-items: center; font-weight: 700; flex-wrap: wrap; }
.wtqw-picked i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.wtqw-picked input[type="color"] { width: 44px; height: 32px; border: 1px solid var(--wtqw-line); border-radius: 8px; padding: 2px; background: var(--wtqw-bg); }
.wtqw-matches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wtqw-layer .wtqw-match { appearance: none; margin: 0; padding: 0; min-height: 0; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 4px; font: inherit; color: inherit; box-shadow: none; text-transform: none; }
.wtqw-layer .wtqw-match .wtqw-dot { width: min(64px, 100%); }
.wtqw-layer .wtqw-match span:last-child { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.wtqw-note { font-size: 12px; color: var(--wtqw-muted); margin: 0; }

/* iPhone / iPad: Safari zooms the whole page into any text field or menu whose text is smaller
   than 16px, which shifts the layout while typing. Fields on touch screens use 16px, and the
   search field drops Safari's own styling. */
.wtqw .wtqw-search input, .wtqw .wtqw-search input:focus { -webkit-appearance: none; appearance: none; border-radius: 0; background: transparent !important; box-shadow: none !important; outline: 0; border: 0; }
.wtqw .wtqw-search:focus-within { border-color: var(--wtqw-ink); }
.wtqw .wtqw-search input::-webkit-search-decoration { -webkit-appearance: none; }
@media (pointer: coarse) {
	.wtqw input, .wtqw select, .wtqw textarea,
	.wtqw-layer input, .wtqw-layer select, .wtqw-layer textarea { font-size: 16px !important; }
	.wtqw .wtqw-search input { padding: 9px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.wtqw *, .wtqw-layer * { animation: none !important; transition: none !important; }
}
