/*
 * Quickselar redesign (theme 0.5.0): header, Browse menu, mobile menu, footer, product cards and banners.
 * Performance rules (docs/repositioning/home-redesign-brief.md): frosted glass only on the scrolled header,
 * no blend modes, no animated blur, and motion that moves layers rather than repainting them.
 */
:root {
	--qs-serif: Geist, ui-sans-serif, system-ui, sans-serif;
	--qs-ease: cubic-bezier(.2, .7, .2, 1);
	--qs-blue-50: #eef1fc;
	--qs-paper-2: #eef0f3;
	--qs-ink-2: #383c43;
	--qs-line-2: #d3d6dc;
	--qs-shadow-md: 0 1px 2px rgba(16, 24, 40, .04);
	--qs-shadow-lg: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -18px rgba(16, 24, 40, .16);
}
/* The scrollbar's space is kept even while a window stops scrolling, so the page never shifts sideways. */
html { scroll-padding-top: 96px; scrollbar-gutter: stable; }
/* Highlighted words in headings keep the heading's own typeface: no serif, no italics (theme 0.6.2). */
.quickselar-site h1 em, .quickselar-site h2 em, .quickselar-site h3 em { font-family: inherit; font-style: normal; }
/* Headings: Figtree, a rounded geometric sans in the spirit of the Klarheit headings on magnific.com; body text stays
   Geist (owner, 27 October 2026). */
.quickselar-site { --qs-display: Figtree, Geist, ui-sans-serif, system-ui, sans-serif; }
.quickselar-site h1, .quickselar-site h2, .quickselar-site .qs-ab-path h3, .quickselar-site .qs-p-path h3, .quickselar-site .qs-h-sell-box h2, .quickselar-site .qs-ab-statement { font-family: var(--qs-display); font-weight: 700; }

/* Soft colours chosen by position (never by which term it is) */
.qs-tone-0 { --tone-bg: #e3e8fb; --tone-fg: #193bb5; }
.qs-tone-1 { --tone-bg: #fbe9df; --tone-fg: #c9561f; }
.qs-tone-2 { --tone-bg: #e8e5f2; --tone-fg: #4a3fc0; }
.qs-tone-3 { --tone-bg: #e6ebdc; --tone-fg: #2e5a40; }
.qs-tone-4 { --tone-bg: #f3eee2; --tone-fg: #8a5a1c; }
.qs-tone-5 { --tone-bg: #dfe8f0; --tone-fg: #1d4a7a; }

/* ---------- Announcement bar ---------- */
.quickselar-site .qs-announcement { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; padding: 9px 16px; font-size: 13px; line-height: 1.4; }
.qs-announcement > svg { width: 13px; height: 13px; flex: none; color: #ffc7a6; }
.quickselar-site .qs-announcement a { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.qs-announcement a svg { width: 14px; height: 14px; transition: transform .25s var(--qs-ease); }
.qs-announcement a:hover svg { transform: translateX(3px); }
.qs-announcement::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-100%); animation: qs-sweep 8s var(--qs-ease) infinite; }
@keyframes qs-sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Header ---------- */
.quickselar-site .qs-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(16, 24, 40, .06); transition: background .3s, border-color .3s; }
@media (min-width: 783px) { .admin-bar.quickselar-site .qs-header { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar.quickselar-site .qs-header { top: 46px; } }
/* Frosted only on wide screens: on phones the header holds the full-screen menu, which a blur would trap. */
@media (min-width: 1101px) {
	.quickselar-site .qs-header.is-scrolled { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.home.quickselar-site .qs-header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; }
.quickselar-site .qs-header-row { position: relative; height: 72px; gap: 18px; }
.quickselar-site .qs-header .qs-logo { flex: none; font-size: 24px; }
.quickselar-site .qs-header .qs-logo-symbol { width: 31px; height: 31px; font-size: 31px; padding-bottom: 6px; transition: transform .5s var(--qs-ease); }
.quickselar-site .qs-header .qs-logo:hover .qs-logo-symbol { transform: rotate(-8deg) scale(1.05); }

.quickselar-site .qs-nav { display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 500; }
.qs-nav-item { position: static; }
.qs-nav-has-drop { position: relative; }
.quickselar-site .qs-nav-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 999px; color: var(--qs-ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.qs-nav-link svg { width: 15px; height: 15px; transition: transform .3s var(--qs-ease); }
.quickselar-site .qs-nav-link:hover,
.qs-nav-item:hover > .qs-nav-link,
.qs-nav-item:focus-within > .qs-nav-link,
.qs-nav-item.is-open > .qs-nav-link { background: rgba(25, 59, 181, .07); color: var(--qs-blue); }
.qs-nav-item:hover > .qs-nav-link svg,
.qs-nav-item:focus-within > .qs-nav-link svg,
.qs-nav-item.is-open > .qs-nav-link svg { transform: rotate(180deg); }

/* Dropdowns */
.qs-dropdown { position: absolute; top: calc(100% - 6px); z-index: 30; background: #fff; border: 1px solid var(--qs-line); border-radius: 14px; box-shadow: var(--qs-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transform-origin: top left; transition: opacity .22s var(--qs-ease), transform .22s var(--qs-ease), visibility 0s linear .22s; }
.qs-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.qs-nav-item:hover > .qs-dropdown,
.qs-nav-item:focus-within > .qs-dropdown,
.qs-nav-item.is-open > .qs-dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--qs-ease) .06s, transform .22s var(--qs-ease) .06s, visibility 0s; }
.qs-nav-item.is-closed > .qs-dropdown { opacity: 0 !important; visibility: hidden !important; }

/* Browse menu: groups on the left, what the hovered one holds on the right */
.qs-mega { left: 0; width: min(1120px, 100%); display: grid; grid-template-columns: 290px minmax(0, 1fr); padding: 10px; }
.qs-mm-rail { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 6px 10px 6px 4px; border-right: 1px solid var(--qs-line); }
.qs-mm-indicator { position: absolute; left: 4px; right: 10px; top: 0; height: 52px; border-radius: 12px; background: var(--qs-blue-50); pointer-events: none; transition: transform .3s var(--qs-ease), height .3s var(--qs-ease); }
.quickselar-site .qs-mm-tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; color: var(--qs-ink); }
.qs-mm-tab b { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: color .2s; }
.qs-mm-tab > svg { width: 16px; height: 16px; flex: none; color: var(--qs-blue); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s var(--qs-ease); }
.qs-mm-tab.is-active b { color: var(--qs-blue); }
.qs-mm-tab.is-active > svg { opacity: 1; transform: none; }
.qs-mm-tab-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--qs-line); color: var(--qs-blue); font-size: 15px; font-weight: 700; transition: background .25s, border-color .25s, color .25s; }
.qs-mm-tab-ic svg { width: 18px; height: 18px; }
.qs-mm-tab-ic[class*="qs-tone-"] { background: var(--tone-bg); color: var(--tone-fg); border-color: transparent; }
.qs-mm-tab-ic.has-image { padding: 0; border-color: transparent; }
.qs-mm-tab-ic.has-image img, .qs-mm-ic.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qs-mm-tab.is-active .qs-mm-tab-ic:not(.has-image) { background: var(--qs-blue); border-color: var(--qs-blue); color: #fff; }
.qs-mm-panels { position: relative; padding: 12px 12px 8px 20px; }
.qs-mm-panel { display: none; }
.qs-mm-panel.is-active { display: block; animation: qs-mm-in .3s var(--qs-ease); }
@keyframes qs-mm-in { from { opacity: 0; transform: translateX(10px); } }
.qs-mm-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 4px 4px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--qs-line); }
.quickselar-site .qs-mm-title { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--qs-ink); }
.quickselar-site .qs-mm-head .qs-text-link { flex: none; gap: 8px; font-size: 13.5px; }
.qs-mm-head .qs-text-link svg { width: 16px; height: 16px; transition: transform .3s var(--qs-ease); }
.qs-mm-head .qs-text-link:hover svg { transform: translateX(3px); }
.qs-mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.quickselar-site .qs-mm-card { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--qs-ink); transition: background .2s; }
.quickselar-site .qs-mm-card:hover { background: var(--qs-paper-2); color: var(--qs-ink); }
.qs-mm-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; overflow: hidden; border-radius: 10px; background: var(--tone-bg, var(--qs-blue-50)); color: var(--tone-fg, var(--qs-blue)); font-size: 18px; font-weight: 700; transition: transform .35s var(--qs-ease); }
.qs-mm-card:hover .qs-mm-ic { transform: scale(1.07) rotate(-5deg); }
.qs-mm-txt { min-width: 0; flex: 1; }
.qs-mm-txt b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.qs-mm-txt small { display: block; margin-top: 1px; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: var(--qs-muted); white-space: nowrap; text-overflow: ellipsis; }
.qs-mm-count { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--qs-paper-2); font-size: 12px; font-weight: 600; color: var(--qs-muted); transition: background .2s, color .2s; }
.qs-mm-card:hover .qs-mm-count { background: #fff; color: var(--qs-blue); }

/* Dropdown list (header menu items with sub-items, such as Learn) */
.qs-drop-list { left: -10px; width: 320px; padding: 10px; }
.quickselar-site .qs-drop-list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--qs-ink); transition: background .2s; }
.quickselar-site .qs-drop-list a:hover { background: var(--qs-blue-50); color: var(--qs-ink); }
.qs-drop-list b { display: block; font-size: 14px; font-weight: 600; transition: color .2s; }
.qs-drop-list a:hover b { color: var(--qs-blue); }
.qs-drop-list span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--qs-muted); }

/* Header search */
.quickselar-site .qs-header-search { flex: 1 1 auto; max-width: 340px; margin-left: auto; height: 42px; padding: 0 6px 0 14px; gap: 9px; border-color: var(--qs-line-2); transition: opacity .3s var(--qs-ease), transform .3s var(--qs-ease), visibility 0s, border-color .2s, box-shadow .2s; }
.qs-header-search svg { width: 17px; height: 17px; }
.quickselar-site .qs-header-search input { height: 40px !important; font-size: 13.5px; }
.qs-kbd { flex: none; padding: 3px 6px; border: 1px solid var(--qs-line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--qs-paper); font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1; color: var(--qs-muted); }
/* On the homepage the small search waits until the big one scrolls away. */
.home .qs-header:not(.show-search) .qs-header-search { opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .3s var(--qs-ease), transform .3s var(--qs-ease), visibility 0s linear .3s; }

/* Header buttons */
.quickselar-site .qs-header-actions { gap: 4px; margin-left: auto; }
.quickselar-site .qs-header-actions .qs-icon-button { width: 40px; height: 40px; border-radius: 50%; border-color: transparent; transition: background .2s, color .2s; }
.quickselar-site .qs-header-actions .qs-icon-button:hover { background: rgba(25, 59, 181, .07); border-color: transparent; color: var(--qs-blue); }
.qs-header-actions .qs-icon-button svg { width: 20px; height: 20px; }
.quickselar-site .qs-login { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.quickselar-site .qs-login:hover { background: rgba(25, 59, 181, .07); }
.quickselar-site .qs-button.qs-header-sell { margin-left: 6px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; background: var(--qs-blue); box-shadow: none; }
.quickselar-site .qs-button.qs-header-sell:hover { background: linear-gradient(180deg, #2447c4, #102b92); }

@media (max-width: 1240px) {
	.quickselar-site .qs-header-search { max-width: 240px; }
	.quickselar-site .qs-header-search .qs-kbd { display: none; }
}
@media (max-width: 1100px) {
	.quickselar-site .qs-header-actions { margin-left: auto; }
}
@media (max-width: 640px) {
	.quickselar-site .qs-header-row { height: 64px; gap: 8px; }
	.quickselar-site .qs-announcement { font-size: 12px; padding: 8px 12px; }
	.quickselar-site .qs-header-actions .qs-icon-button { width: 38px; height: 38px; }
}

/* ---------- Mobile menu ---------- */
/* The sticky header keeps the menu in its layer, so for logged-in users the menu starts below the admin bar. */
.admin-bar .qs-drawer { top: 32px; }
@media (max-width: 782px) { .admin-bar .qs-drawer { top: 46px; } }
.quickselar-site .qs-drawer-panel { gap: 12px; }
.quickselar-site .qs-drawer-search { display: flex; align-items: center; gap: 10px; height: 48px; max-width: none; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--qs-line-2); }
/* No blue ring when the phone menu's search box is tapped (owner, 27 October 2026); the border darkens a little instead. */
.qs-drawer-search:focus-within { border-color: #c4c8cf; box-shadow: none; }
.quickselar-site .qs-drawer-search input:focus, .quickselar-site .qs-drawer-search input:focus-visible { outline: 0 !important; box-shadow: none !important; }
.qs-drawer-search svg { width: 18px; height: 18px; flex: none; color: var(--qs-muted); }
.quickselar-site .qs-drawer-search input { flex: 1; min-width: 0; height: 46px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; }
.qs-acc { border-bottom: 1px solid var(--qs-line); }
.qs-acc summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.qs-acc summary::-webkit-details-marker { display: none; }
.qs-acc summary svg { width: 18px; height: 18px; transition: transform .3s var(--qs-ease); }
.qs-acc[open] > summary svg { transform: rotate(180deg); }
.qs-acc-body { padding: 0 0 12px; }
.quickselar-site .qs-acc-label { margin: 10px 0 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--qs-muted); }
.quickselar-site .qs-drawer-nav .qs-acc-body a { display: block; padding: 8px 0; border: 0; font-size: 15px; font-weight: 450; color: var(--qs-ink-2); }
/* Groups inside Browse: a lighter, indented row each, opening one at a time */
.qs-acc-sub { border-bottom: 0; }
.qs-acc-sub + .qs-acc-sub { border-top: 1px solid var(--qs-line); }
.qs-acc-sub summary { padding: 11px 2px 11px 12px; font-size: 15px; font-weight: 550; color: var(--qs-ink-2); }
.qs-acc-sub summary svg { width: 16px; height: 16px; color: var(--qs-muted); }
.qs-acc-sub > .qs-acc-body { padding: 0 0 8px 24px; }
.qs-acc summary { -webkit-tap-highlight-color: transparent; }
.qs-acc summary:focus { outline: 0; }
.qs-acc summary:focus-visible { outline: 2px solid var(--qs-blue); outline-offset: 2px; border-radius: 8px; }
.quickselar-site .qs-drawer-nav .qs-drawer-link { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--qs-line); font-size: 16px; font-weight: 550; }
.qs-drawer-link svg { width: 20px; height: 20px; color: var(--qs-blue); }
.quickselar-site .qs-drawer-cta { margin-top: 8px; border-radius: 999px; }
.qs-drawer-small { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.quickselar-site .qs-drawer-small a { color: var(--qs-muted); }

/* ---------- Footer ---------- */
.quickselar-site .qs-footer { position: relative; overflow: hidden; margin-top: 110px; padding-top: 64px; border-top: 1px solid var(--qs-line); }
.quickselar-site .qs-footer-grid { grid-template-columns: minmax(220px, 1.5fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 28px; padding-bottom: 0; }
.quickselar-site .qs-footer-brand p { max-width: 280px; font-size: 14px; }
.quickselar-site .qs-footer-grid h2 { margin-bottom: 14px; font-size: 13.5px; font-weight: 600; }
.quickselar-site .qs-footer-grid .qs-footer-col a { display: block; width: fit-content; margin: 0; padding: 4px 0; font-size: 14px; color: var(--qs-muted); transition: color .2s, transform .25s var(--qs-ease); }
.quickselar-site .qs-footer-grid .qs-footer-col a:hover { color: var(--qs-blue); transform: translateX(3px); }
.quickselar-site .qs-footer-bottom { margin-top: 56px; padding: 26px 0; font-size: 13px; }
.qs-wordmark { margin-bottom: -.1em; font-size: clamp(84px, 19.5vw, 290px); font-weight: 700; letter-spacing: -.065em; line-height: .78; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(180deg, rgba(25, 59, 181, .13), rgba(25, 59, 181, 0) 85%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }
@media (max-width: 1100px) {
	.quickselar-site .qs-footer-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.quickselar-site .qs-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.quickselar-site .qs-footer { margin-top: 80px; padding-top: 48px; }
	.quickselar-site .qs-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
	.quickselar-site .qs-footer-grid .qs-footer-col a { font-size: 14px; }
	.quickselar-site .qs-footer-bottom { flex-direction: column; gap: 6px; margin-top: 40px; font-size: 12px; }
}

/* ---------- Product cards ---------- */
.quickselar-site .qs-card { border-radius: 14px; transition: transform .45s var(--qs-ease), box-shadow .45s var(--qs-ease), border-color .45s; }
.quickselar-site .qs-card:hover { transform: translateY(-5px); box-shadow: var(--qs-shadow-lg); border-color: rgba(25, 59, 181, .2); }
.quickselar-site .qs-card-media img { transition: transform .8s var(--qs-ease); }
.quickselar-site .qs-card:hover .qs-card-media img { transform: scale(1.05); }
.quickselar-site .qs-card-badge-free { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--qs-blue); font-weight: 700; box-shadow: var(--qs-shadow-md); }
.qs-card-badge-free svg { width: 12px; height: 12px; color: var(--qs-orange); }
.quickselar-site .qs-card-kind { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--qs-blue); }
.qs-card-kind span { color: var(--qs-muted); }
.quickselar-site .qs-card-tools { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.qs-card-tools span { padding: 2px 8px; border-radius: 999px; background: var(--qs-paper-2); border: 1px solid var(--qs-line); font-size: 11px; font-weight: 550; color: var(--qs-ink-2); }
.quickselar-site .qs-card-meta { padding-top: 10px; border-top: 1px dashed var(--qs-line); }
.quickselar-site .qs-card-price.is-free { color: var(--qs-blue); }

/* ---------- Banner ads (Banners in wp-admin) ---------- */
.qs-banner-slot { position: relative; margin: 0; }
.quickselar-site .qs-banner-link { display: block; overflow: hidden; border-radius: 16px; border: 1px solid var(--qs-line); background: #fff; transition: transform .45s var(--qs-ease), box-shadow .45s var(--qs-ease); }
.quickselar-site .qs-banner-link:hover { transform: translateY(-3px); box-shadow: var(--qs-shadow-lg); }
.qs-banner-link picture, .qs-banner-link img { display: block; width: 100%; height: auto; }
.quickselar-site .qs-banner-label { margin: 10px 2px 0; font-size: 12px; color: var(--qs-muted); text-align: right; }
.qs-banner-label span { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--qs-paper-2); border: 1px solid var(--qs-line); font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--qs-ink-2); }
.quickselar-site .qs-banner-label a { color: var(--qs-muted); text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.qs-announcement::after { animation: none; display: none; }
	.qs-mm-panel.is-active { animation: none; }
	.qs-dropdown, .qs-mm-indicator, .quickselar-site .qs-card, .quickselar-site .qs-card-media img { transition: none; }
}

/* ---------- Search window (theme 0.6.2): opened by the header's magnifier, Ctrl K or "/" ---------- */
/* Scrolling stops while the window is open. The lock goes on body: on html it would make body (which the parent
   theme gives overflow-x: hidden) the scroller, and the sticky header would jump. */
body.qs-sw-lock { overflow: hidden !important; }
.qs-sw { position: fixed; inset: 0; z-index: 99995; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; }
.qs-sw[hidden] { display: none; }
.qs-sw-backdrop { position: absolute; inset: 0; background: rgba(15, 17, 21, .45); animation: qs-sw-fade .2s ease; }
.qs-sw-panel { position: relative; display: flex; flex-direction: column; width: min(620px, 100%); max-height: min(540px, 72vh); overflow: hidden; border: 1px solid var(--qs-line); border-radius: 14px; background: #fff; box-shadow: 0 24px 64px -28px rgba(0, 0, 0, .35); animation: qs-sw-rise .22s var(--qs-ease); }
@keyframes qs-sw-fade { from { opacity: 0; } }
@keyframes qs-sw-rise { from { opacity: 0; transform: translateY(-8px) scale(.985); } }
.qs-sw-bar { display: flex; flex: none; align-items: center; gap: 12px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--qs-line); }
.qs-sw-bar > svg { flex: none; width: 20px; height: 20px; color: var(--qs-muted); }
.quickselar-site .qs-sw-bar input[type="search"] { flex: 1; min-width: 0; height: 62px !important; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; font-size: 17px; color: var(--qs-ink); outline: 0; -webkit-appearance: none; appearance: none; }
.qs-sw-bar input::-webkit-search-cancel-button { display: none; }
.qs-sw-esc { display: inline-flex; align-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.qs-sw-cancel { display: none; font-size: 15px; font-weight: 500; color: var(--qs-blue); }
.qs-sw kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--qs-line); border-radius: 6px; background: var(--qs-paper); font-family: inherit; font-size: 11.5px; font-weight: 500; line-height: 1; color: var(--qs-muted); }
.qs-sw-body { flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 8px; }
.qs-sw-body[hidden], .qs-sw-idle[hidden], .qs-sw-results[hidden] { display: none; }
.quickselar-site .qs-sw-label { margin: 14px 8px 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--qs-muted); }
.qs-sw-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.quickselar-site .qs-sw-row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 7px 10px; border-radius: 10px; color: var(--qs-ink); }
.quickselar-site .qs-sw-row:hover, .quickselar-site .qs-sw-row.is-active { background: var(--qs-paper); color: var(--qs-ink); }
.qs-sw-row > svg { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--qs-muted); opacity: 0; transition: opacity .15s; }
.qs-sw-row:hover > svg, .qs-sw-row.is-active > svg { opacity: 1; }
.qs-sw-ic, .qs-sw-thumb { display: grid; flex: none; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 10px; background: var(--tone-bg, var(--qs-paper)); font-size: 16px; font-weight: 700; color: var(--tone-fg, var(--qs-ink)); }
.qs-sw-ic svg { width: 19px; height: 19px; }
/* Popular searches: a plain list, quieter than results. */
.quickselar-site .qs-sw-row.is-query { min-height: 44px; }
.qs-sw-row.is-query .qs-sw-ic { width: 30px; height: 30px; border-radius: 8px; background: none; color: var(--qs-muted); }
.qs-sw-row.is-query .qs-sw-ic svg { width: 16px; height: 16px; }
.qs-sw-ic img, .qs-sw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qs-sw-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.qs-sw-text b { overflow: hidden; font-size: 14.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.qs-sw-text small { font-size: 12.5px; color: var(--qs-muted); }
.qs-sw-price { flex: none; font-size: 14px; font-weight: 600; color: var(--qs-ink); }
.quickselar-site .qs-sw-all { display: flex; align-items: center; margin: 4px 0 0; padding: 12px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--qs-blue); }
.quickselar-site .qs-sw-all:hover, .quickselar-site .qs-sw-all.is-active { background: var(--qs-paper); color: var(--qs-blue); }
.quickselar-site .qs-sw-empty { margin: 16px 10px 4px; font-size: 14.5px; color: var(--qs-muted); }
.qs-sw-wait { display: grid; gap: 8px; padding: 12px 6px; }
.qs-sw-wait i { display: block; height: 46px; border-radius: 10px; background: linear-gradient(90deg, var(--qs-paper) 25%, #e9ebef 50%, var(--qs-paper) 75%); background-size: 200% 100%; animation: qs-sw-shine 1.2s linear infinite; }
@keyframes qs-sw-shine { to { background-position: -200% 0; } }
@media (max-width: 640px) {
	.qs-sw { align-items: stretch; padding: 0; }
	.qs-sw-panel { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
	.qs-sw-esc kbd { display: none; }
	.qs-sw-cancel { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
	.qs-sw-backdrop, .qs-sw-panel, .qs-sw-wait i { animation: none; }
}
/* While new results load, the previous ones fade a little. */
.qs-sw-results { transition: opacity .15s; }
.qs-sw.is-searching .qs-sw-results { opacity: .55; }
