/* Built-in favorites and comparison. Shared tokens follow the theme palette. */
.ft-lists-toast{position:fixed;right:24px;bottom:24px;z-index:90;max-width:min(420px,calc(100% - 32px));padding:16px 20px;background:var(--panel);border:1px solid var(--orange);border-left:4px solid var(--orange);border-radius:3px;color:var(--paper);box-shadow:0 12px 40px #0009;font-size:14px;line-height:1.5}
.ft-lists-toast:empty{display:none}
.ft-list-open{position:relative;flex-shrink:0}
.ft-list-count{position:absolute;top:-3px;right:-4px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 3px;background:var(--orange);color:#111;font-size:11px;font-weight:700;line-height:1;border-radius:50%}
.ft-product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.ft-list-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid var(--line);background:transparent;color:var(--paper);font-size:12px;line-height:1.2;border-radius:2px}
.ft-list-toggle .icon{width:17px;height:17px}
.ft-list-toggle:hover{border-color:var(--orange);color:var(--orange)}
.ft-list-toggle[aria-pressed="true"]{color:var(--orange);border-color:var(--orange);background:color-mix(in srgb,var(--orange) 9%,transparent)}
.ft-list-toggle[data-ft-list-toggle="wishlist"][aria-pressed="true"] .icon{fill:var(--orange);stroke:var(--orange)}
.ft-card-media{position:relative;isolation:isolate}
.ft-card-media>a{display:block}
.ft-card-media>.ft-product-actions{position:absolute;top:12px;right:12px;z-index:2;display:flex;flex-direction:column;flex-wrap:nowrap;gap:8px;margin:0;opacity:1;transition:opacity .18s ease,transform .18s ease}
.ft-card-media .ft-list-toggle{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:var(--ink);border:1px solid var(--line);color:var(--paper);box-shadow:0 3px 10px #0003}
.ft-card-media .ft-list-toggle .icon{width:19px;height:19px}
.ft-card-media .ft-list-toggle [data-ft-list-label]{display:none}
.ft-card-media .ft-list-toggle:hover,.ft-card-media .ft-list-toggle[aria-pressed="true"]{background:var(--ink);border-color:var(--orange);color:var(--orange)}
.ft-card-media .ft-list-toggle:focus-visible{outline-offset:3px}
.woocommerce ul.products li.product .ft-card-media a img{margin-bottom:0}
.woocommerce ul.products li.product .ft-card-media{margin-bottom:1em}
.woocommerce ul.products li.product .ft-card-media .onsale{top:12px;left:12px;right:auto;margin:0;z-index:1}
@media(min-width:761px) and (hover:hover) and (pointer:fine){.ft-card-media>.ft-product-actions{opacity:0;pointer-events:none;transform:translateY(-5px)}.ft-card-media:hover>.ft-product-actions,.ft-card-media:focus-within>.ft-product-actions{opacity:1;pointer-events:auto;transform:none}}
@media(any-pointer:coarse){.ft-card-media>.ft-product-actions{opacity:1;pointer-events:auto;transform:none}}
.ft-lists-dialog{position:fixed;inset:0;width:min(1160px,calc(100% - 40px));max-width:none;max-height:88dvh;margin:auto;padding:32px;background:var(--ink);color:var(--paper);border:1px solid #515550;border-radius:5px;box-shadow:0 25px 100px #0008;overscroll-behavior:contain}
.ft-lists-dialog::backdrop{background:#000c;backdrop-filter:blur(4px)}
.ft-lists-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}
.ft-lists-heading h2{margin:0;font:700 clamp(32px,4vw,48px)/1 var(--display)}
.ft-lists-heading .icon-button{flex-shrink:0;border:1px solid var(--line);border-radius:50%}
.ft-lists-eyebrow{color:var(--orange);font-size:10px;font-weight:600;letter-spacing:1.6px;margin:0 0 10px}
.ft-lists-note{margin:18px 0;color:var(--muted);font-size:13px}
.ft-lists-storage-warning{padding:12px 16px;background:#382617;border:1px solid var(--orange);font-size:14px}
.ft-lists-toolbar{display:flex;align-items:center;gap:16px;min-height:42px;padding:0 0 14px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.ft-list-toolbar-spacer{flex:1}
.ft-list-text-button{padding:8px 0;border:0;background:transparent;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:4px;line-height:1.4}
.ft-list-text-button:hover{color:var(--orange)}
.ft-list-text-button:disabled{opacity:.4;cursor:default}
.ft-list-differences{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}
.ft-list-differences input{width:17px;height:17px;accent-color:var(--orange);margin:0}
.ft-lists-body{min-height:150px}
.ft-lists-loading{padding:50px 20px;text-align:center;color:var(--muted)}
.ft-lists-empty{text-align:center;padding:30px 20px 40px;max-width:560px;margin:auto}
.ft-list-empty-mark{display:block;color:var(--orange);font-size:58px;line-height:1;margin-bottom:22px}
.ft-lists-empty h3{font-size:24px;margin-bottom:12px}
.ft-lists-empty p{color:var(--muted);margin-bottom:26px}
.ft-lists-empty .button{font-size:14px}
.ft-lists-message{min-height:1.5em;color:var(--orange);font-size:13px;line-height:1.5;margin:20px 0 0}
.ft-list-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}
.ft-list-card{min-width:0;display:flex;flex-direction:column}
.ft-list-image-link{display:block;margin-bottom:15px}
.ft-list-product-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:var(--paper);padding:15px}
.ft-list-card h3{font:600 17px/1.4 var(--font);margin:0 0 10px;overflow-wrap:anywhere}
.ft-list-price{color:var(--orange);font-weight:600;font-size:16px;line-height:1.5}
.ft-list-price del{color:var(--muted);font-weight:400;margin-right:6px;font-size:.9em}
.ft-list-price ins{background:transparent;text-decoration:none}
.ft-list-price small{display:block;font-size:11px;color:var(--muted);font-weight:400}
.ft-list-availability{font-size:12px;color:var(--muted);margin:7px 0 13px}
.ft-list-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;border-top:1px solid var(--line)}
.ft-list-view{font-size:12px;font-weight:600;color:var(--paper)}
.ft-list-remove{font-size:12px}
.ft-lists-hint{font-size:14px;color:var(--muted);margin:0 0 20px}
.ft-comparison-scroll{overflow:auto;max-width:100%;overscroll-behavior-x:contain;padding-bottom:8px}
.ft-comparison-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px}
.ft-comparison-table th,.ft-comparison-table td{text-align:left;vertical-align:top;padding:18px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:210px;overflow-wrap:anywhere}
.ft-comparison-table tr>*:last-child{border-right:0}
.ft-comparison-table .ft-comparison-label{width:145px;min-width:145px;font-weight:500;color:var(--muted);position:sticky;left:0;background:var(--ink);z-index:1}
.ft-comparison-table thead th{padding-top:0}
.ft-comparison-product{width:220px;font-weight:600}
.ft-comparison-product-link{display:flex;flex-direction:column;gap:15px;font-size:16px;line-height:1.4}
.ft-comparison-product-link .ft-list-product-image{height:175px;aspect-ratio:auto}
.ft-comparison-product .ft-list-remove{margin-top:7px}
.ft-comparison-different td{background:color-mix(in srgb,var(--orange) 5%,var(--ink))}
.ft-comparison-table .ft-list-price{font-size:15px}
@media(max-width:1000px){.ft-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ft-comparison-table{table-layout:auto}.ft-comparison-table .ft-comparison-label{min-width:130px}.ft-comparison-table th,.ft-comparison-table td{min-width:210px}}
@media(max-width:760px){.ft-lists-dialog{width:calc(100% - 20px);padding:22px 16px;max-height:92dvh}.ft-lists-heading{gap:15px}.ft-lists-note{font-size:12px;max-width:90%;line-height:1.5}.ft-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.ft-list-card h3{font-size:15px}.ft-list-product-image{padding:10px}.ft-list-card-actions{flex-wrap:wrap;gap:3px}.ft-list-card-actions .ft-list-text-button{margin-left:auto}.ft-product-actions{gap:6px}.ft-list-toggle{padding:8px;gap:5px;min-height:38px;font-size:11px}.ft-list-toggle .icon{width:16px;height:16px}.ft-comparison-table th,.ft-comparison-table td{padding:14px 12px;min-width:175px}.ft-comparison-table .ft-comparison-label{min-width:100px;width:100px;font-size:12px}.ft-comparison-product-link{font-size:14px}.ft-comparison-product-link .ft-list-product-image{height:145px}.ft-lists-toolbar{gap:12px}.ft-list-differences{font-size:12px;gap:6px}.ft-lists-empty{padding:20px 0 30px}.ft-lists-empty h3{font-size:21px}.ft-lists-empty p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ft-lists-dialog::backdrop{backdrop-filter:none}.ft-card-media>.ft-product-actions{transition:none;transform:none}}
