/* FABTRACK wishlist */
:root { --fwl-accent: #e11d48; --fwl-ink: #0f172a; --fwl-muted: #64748b; --fwl-line: #e2e8f0; --fwl-soft: #f8fafc; }

/* ── the heart ─────────────────────────────────────────────────────────── */
.fwl-heart { fill: transparent; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill .2s, stroke .2s, transform .2s; }
.fwl-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--fwl-ink); -webkit-tap-highlight-color: transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.fwl-btn:focus-visible { outline: 2px solid var(--fwl-accent); outline-offset: 2px; }
.fwl-btn--icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 10px rgba(15, 23, 42, .18); }
.fwl-btn--icon:hover { transform: scale(1.08); }
.fwl-btn--button { padding: 11px 18px; border: 1.5px solid var(--fwl-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; line-height: 1; }
.fwl-btn--button:hover { border-color: var(--fwl-accent); color: var(--fwl-accent); }
.fwl-btn--icon .fwl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fwl-btn.is-saved .fwl-heart { fill: var(--fwl-accent); stroke: var(--fwl-accent); }
.fwl-btn.is-saved.fwl-btn--button { border-color: var(--fwl-accent); color: var(--fwl-accent); background: color-mix(in srgb, var(--fwl-accent) 8%, #fff); }
.fwl-btn.is-pop .fwl-heart { animation: fwl-pop .45s cubic-bezier(.2, 1.6, .4, 1); }
.fwl-btn.is-shake { animation: fwl-shake .4s; }
@keyframes fwl-pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes fwl-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.fwl-host { position: relative; }
.fwl-over { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 5; }
.fwl-below { margin-top: 8px; }
.fwl-single { display: inline-flex; vertical-align: middle; margin: 8px 0 0 10px; }
.single-product .fwl-single:first-child, .fwl-single--block { margin-left: 0; }

/* ── counter, menu item, floating button ───────────────────────────────── */
.fwl-count { position: relative; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.fwl-count .fwl-heart { width: 22px; height: 22px; }
.fwl-count__n { position: absolute; top: -7px; inset-inline-end: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--fwl-accent); color: #fff; font: 700 11px/18px system-ui, sans-serif; text-align: center; }
.fwl-count__n[data-zero="1"] { display: none; }
.fwl-menu-item { list-style: none; }
.fwl-float { position: fixed; bottom: 22px; z-index: 9990; }
.fwl-float--right { inset-inline-end: 18px; }
.fwl-float--left { inset-inline-start: 18px; }
.fwl-count--float { width: 52px; height: 52px; justify-content: center; border-radius: 50%; background: #fff; color: var(--fwl-accent); box-shadow: 0 6px 22px rgba(15, 23, 42, .22); }
.fwl-count--float:hover { transform: translateY(-2px); }

/* ── toast and list sheet ──────────────────────────────────────────────── */
.fwl-toasts { position: fixed; inset-inline: 0; bottom: 18px; z-index: 100000; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.fwl-toast { pointer-events: auto; display: flex; align-items: center; gap: 14px; max-width: 520px; padding: 12px 16px; border-radius: 12px; background: #0f172a; color: #fff; font: 500 14px/1.35 system-ui, sans-serif; box-shadow: 0 10px 30px rgba(15, 23, 42, .35); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.fwl-toast.is-in { opacity: 1; transform: none; }
.fwl-toast__act { all: unset; cursor: pointer; font-weight: 700; color: #fda4af; text-decoration: underline; white-space: nowrap; }
.fwl-sheet { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 23, 42, .45); animation: fwl-fade .2s; }
.fwl-sheet__card { position: relative; width: 100%; max-width: 420px; max-height: 80vh; overflow: auto; padding: 20px; border-radius: 18px 18px 0 0; background: #fff; color: var(--fwl-ink); animation: fwl-up .25s ease-out; }
.fwl-sheet__title { margin: 0 0 12px; font: 700 16px/1.3 system-ui, sans-serif; }
.fwl-sheet__list { list-style: none; margin: 0 0 12px; padding: 0; }
.fwl-check { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--fwl-line); cursor: pointer; font: 500 15px/1.3 system-ui, sans-serif; }
.fwl-check input { width: 20px; height: 20px; accent-color: var(--fwl-accent); }
.fwl-sheet__new, .fwl-newform { display: flex; gap: 8px; }
.fwl-sheet__new input, .fwl-newform input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--fwl-line); border-radius: 10px; font: 15px system-ui, sans-serif; }
.fwl-sheet__done { all: unset; position: absolute; top: 12px; inset-inline-end: 14px; cursor: pointer; padding: 6px; color: var(--fwl-muted); font-size: 18px; }
@media (min-width: 640px) { .fwl-sheet { align-items: center; } .fwl-sheet__card { border-radius: 18px; } }
@keyframes fwl-fade { from { opacity: 0; } }
@keyframes fwl-up { from { transform: translateY(40px); opacity: 0; } }

/* ── the wishlist page ─────────────────────────────────────────────────── */
.fwl-root { color: var(--fwl-ink); }
.fwl-loading { padding: 40px 0; text-align: center; color: var(--fwl-muted); }
.fwl-tabs { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.fwl-tab { all: unset; cursor: pointer; flex: none; padding: 8px 16px; border: 1.5px solid var(--fwl-line); border-radius: 999px; font: 600 14px/1 system-ui, sans-serif; white-space: nowrap; }
.fwl-tab span { margin-inline-start: 6px; color: var(--fwl-muted); font-weight: 500; }
.fwl-tab.is-on { background: var(--fwl-ink); border-color: var(--fwl-ink); color: #fff; }
.fwl-tab.is-on span { color: #cbd5e1; }
.fwl-tab--new { border-style: dashed; color: var(--fwl-muted); }
.fwl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.fwl-title h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.fwl-sub { color: var(--fwl-muted); font-size: 14px; }
.fwl-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fwl-btn2 { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1.5px solid var(--fwl-line); border-radius: 10px; background: #fff; color: var(--fwl-ink); font: 600 14px/1.2 system-ui, sans-serif; text-decoration: none; transition: border-color .15s, background .15s; }
.fwl-btn2:hover { border-color: var(--fwl-ink); }
.fwl-btn2--primary { background: var(--fwl-ink); border-color: var(--fwl-ink); color: #fff; }
.fwl-btn2--primary:hover { background: var(--fwl-accent); border-color: var(--fwl-accent); }
.fwl-btn2:disabled { opacity: .5; cursor: default; }
.fwl-btn2:focus-visible, .fwl-iconbtn:focus-visible, .fwl-tab:focus-visible { outline: 2px solid var(--fwl-accent); outline-offset: 2px; }
.fwl-wa { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.fwl-iconbtn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--fwl-line); border-radius: 10px; background: #fff; color: var(--fwl-ink); }
.fwl-more { position: relative; }
.fwl-more summary { list-style: none; }
.fwl-more summary::-webkit-details-marker { display: none; }
.fwl-menu { position: absolute; inset-inline-end: 0; top: 46px; z-index: 20; min-width: 170px; padding: 6px; border: 1px solid var(--fwl-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .15); }
.fwl-menu button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 9px 12px; border-radius: 8px; font: 500 14px system-ui, sans-serif; }
.fwl-menu button:hover { background: var(--fwl-soft); }
.fwl-menu .is-danger { color: #dc2626; }
.fwl-newform--title input { font-size: 20px; font-weight: 700; }
.fwl-share { margin-bottom: 18px; padding: 16px; border: 1px solid var(--fwl-line); border-radius: 14px; background: var(--fwl-soft); }
.fwl-switch { display: flex; align-items: center; gap: 10px; font: 600 14px system-ui, sans-serif; cursor: pointer; }
.fwl-switch input { width: 18px; height: 18px; accent-color: var(--fwl-accent); }
.fwl-share__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fwl-share__row input { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--fwl-line); border-radius: 10px; background: #fff; font: 14px system-ui, sans-serif; }

.fwl-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.fwl-item { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--fwl-line); border-radius: 16px; background: #fff; transition: box-shadow .2s, opacity .25s, transform .25s; }
.fwl-item:hover { box-shadow: 0 8px 26px rgba(15, 23, 42, .09); }
.fwl-item.is-leaving { opacity: 0; transform: scale(.96); }
.fwl-item.is-out .fwl-img img { filter: grayscale(1); opacity: .6; }
.fwl-img { display: block; aspect-ratio: 1 / 1; background: var(--fwl-soft); }
.fwl-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fwl-item__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 8px; flex: 1; }
.fwl-name { color: var(--fwl-ink); font: 600 15px/1.35 system-ui, sans-serif; text-decoration: none; }
.fwl-name:hover { color: var(--fwl-accent); }
.fwl-vars, .fwl-date { color: var(--fwl-muted); font-size: 13px; }
.fwl-price { font-weight: 700; }
.fwl-price del { color: var(--fwl-muted); font-weight: 400; margin-inline-end: 4px; }
.fwl-price ins { text-decoration: none; }
.fwl-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.fwl-badge { padding: 3px 9px; border-radius: 999px; font: 600 12px/1.3 system-ui, sans-serif; }
.fwl-badge--drop { background: #dcfce7; color: #15803d; }
.fwl-badge--low { background: #fef3c7; color: #b45309; }
.fwl-badge--out { background: #f1f5f9; color: #475569; }
.fwl-item__side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px 14px; }
.fwl-item__side .fwl-btn2 { flex: 1; }
.fwl-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--fwl-line); border-radius: 10px; overflow: hidden; }
.fwl-qty button { all: unset; cursor: pointer; width: 34px; height: 38px; text-align: center; font: 600 18px/38px system-ui, sans-serif; }
.fwl-qty button:hover { background: var(--fwl-soft); }
.fwl-qty span { min-width: 26px; text-align: center; font: 600 14px system-ui, sans-serif; }
.fwl-move { width: 100%; padding: 8px 10px; border: 1.5px solid var(--fwl-line); border-radius: 10px; background: #fff; color: var(--fwl-muted); font: 14px system-ui, sans-serif; }
.fwl-x { all: unset; position: absolute; top: 10px; inset-inline-end: 10px; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(15, 23, 42, .18); text-align: center; font: 400 20px/30px system-ui, sans-serif; color: var(--fwl-ink); }
.fwl-x:hover { background: #fee2e2; color: #dc2626; }

/* list layout */
.fwl-table .fwl-items { display: block; }
.fwl-table .fwl-item { flex-direction: row; align-items: center; margin-bottom: 10px; }
.fwl-table .fwl-img { flex: none; width: 96px; aspect-ratio: 1 / 1; }
.fwl-table .fwl-item__body { padding: 12px 16px; }
.fwl-table .fwl-item__side { flex: none; width: 250px; padding: 12px 56px 12px 8px; }
.fwl-table .fwl-x { top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
	.fwl-title h2 { font-size: 22px; }
	.fwl-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.fwl-item__body { padding: 10px 10px 6px; }
	.fwl-item__side { padding: 4px 10px 10px; }
	.fwl-table .fwl-img { width: 76px; }
	.fwl-table .fwl-item { flex-wrap: wrap; }
	.fwl-table .fwl-item__side { width: 100%; padding: 0 12px 12px; }
	.fwl-table .fwl-x { top: 8px; transform: none; }
	.fwl-actions .fwl-btn2 { flex: 1 1 auto; }
}

.fwl-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 16px; text-align: center; color: var(--fwl-muted); }
.fwl-empty__icon { width: 64px; height: 64px; fill: transparent; stroke: #cbd5e1; stroke-width: 1.5; }
.fwl-empty p { margin: 0; max-width: 340px; font-size: 16px; }
.fwl-cta { padding: 12px 22px; border-radius: 10px; background: var(--fwl-ink); color: #fff; font: 600 14px system-ui, sans-serif; text-decoration: none; }
.fwl-cta:hover { background: var(--fwl-accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.fwl-btn, .fwl-heart, .fwl-toast, .fwl-item, .fwl-sheet, .fwl-sheet__card { transition: none; animation: none; }
}

/* ── email alerts ──────────────────────────────────────────────────────── */
.fwl-alerts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid #fecdd3; border-radius: 14px; background: #fff1f2; color: var(--fwl-ink); }
.fwl-alerts.is-on { border-color: #bbf7d0; background: #f0fdf4; }
.fwl-alerts__title { flex: 0 0 100%; font: 700 15px system-ui, sans-serif; }
.fwl-alerts__help { flex: 0 0 100%; color: var(--fwl-muted); font-size: 13px; }
.fwl-alerts__msg { flex: 1; font: 600 14px system-ui, sans-serif; }
.fwl-alerts__off { all: unset; cursor: pointer; color: var(--fwl-muted); font: 600 13px system-ui, sans-serif; text-decoration: underline; }
.fwl-alertform { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1 1 100%; }
.fwl-alertform input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--fwl-line); border-radius: 10px; background: #fff; font: 15px system-ui, sans-serif; }
.fwl-consent { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 100%; font: 13px/1.4 system-ui, sans-serif; color: var(--fwl-muted); cursor: pointer; }
.fwl-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--fwl-accent); }
.fwl-sheet__card .fwl-alerts__help { margin: 0 0 12px; }
