/* Bunyad Storefront 1.10 — Minimal and Rich looks. Colours come only from the --bny-* variables. */

.bny-sf {
	--sf-line: color-mix(in srgb, var(--bny-ink, #1d1d1f) 9%, transparent);
	--sf-mute: var(--bny-ink-3, #787774);
	--sf-r: 12px;
	--sf-card-w: 148px;
	--sf-gap: 12px;
	font-family: var(--bny-font, inherit);
	color: var(--bny-ink, #1d1d1f);
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px 40px;
	box-sizing: border-box;
}
.bny-sf *, .bny-sf *::before, .bny-sf *::after { box-sizing: border-box; }
.bny-sf.bny-sf-bare { padding: 0; }
.bny-sf a { color: inherit; text-decoration: none; }
.bny-sf img { display: block; max-width: 100%; }
.bny-sf-i { flex: none; }
.bny-sf-page { display: block; background: var(--bny-paper, #fff); }
body.bny-sf-on .site-content > .ast-container { display: block; max-width: none; padding: 0; }

/* ---------- Section frame ---------- */
.bny-sf-sec { margin-top: 28px; }
.bny-sf-sec-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.bny-sf-sec-head > div { flex: 1; min-width: 0; }
.bny-sf-sec-head h2 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 750; letter-spacing: -0.01em; }
.bny-sf-sec-head p { margin: 2px 0 0; font-size: 13px; color: var(--sf-mute); }
.bny-sf-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 650; color: var(--bny-brand) !important; white-space: nowrap; }
.bny-sf-arrows { display: none; gap: 6px; margin-left: auto; }
.bny-sf-arrows button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--sf-line); border-radius: 50%; background: var(--bny-paper, #fff); color: var(--bny-ink); cursor: pointer; padding: 0; }
.bny-sf-arrows button:disabled { opacity: .35; cursor: default; }
@media (min-width: 900px) { .bny-sf-arrows:not([hidden]) { display: flex; } }

/* ---------- Category tiles ---------- */
.bny-sf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; }
@media (min-width: 700px) { .bny-sf-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bny-sf-tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.bny-sf-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bny-sf-tile-pic { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--sf-r); background: var(--bny-bg, #f6f6f6); overflow: hidden; color: var(--sf-mute); transition: transform .2s; }
.bny-sf-tile-pic img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.bny-sf-tile-name { font-size: 12px; line-height: 1.25; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bny-sf-tile:hover .bny-sf-tile-pic { transform: translateY(-2px); }

/* ---------- Rails & grid ---------- */
.bny-sf-rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--sf-card-w); gap: var(--sf-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
.bny-sf-rail::-webkit-scrollbar { display: none; }
.bny-sf-rail > * { scroll-snap-align: start; }
@media (min-width: 900px) { .bny-sf { --sf-card-w: 180px; } .bny-sf-rail { margin: 0; padding: 2px 0 6px; scroll-padding-inline: 0; } }
.bny-sf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sf-gap); transition: opacity .2s; }
.bny-sf-grid.is-busy { opacity: .45; pointer-events: none; }
@media (min-width: 600px) { .bny-sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bny-sf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .bny-sf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bny-sf-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--sf-mute); }

/* ---------- Product card ---------- */
.bny-sf-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 8px 8px 10px; border: 1px solid var(--sf-line); border-radius: var(--sf-r); background: var(--bny-paper, #fff); transition: box-shadow .2s, border-color .2s; }
.bny-sf-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.bny-sf-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: #fff; overflow: hidden; margin-bottom: 8px; }
.bny-sf-pic img { width: 100%; height: 100%; object-fit: contain; }
.bny-sf-nopic { color: var(--sf-mute); }
.bny-sf-off { position: absolute; top: 0; left: 0; padding: 3px 7px 4px; border-radius: 8px 0 8px 0; background: var(--bny-brand); color: var(--bny-brand-ink, #fff); font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.bny-sf-oos { position: absolute; inset: auto 6px 6px; padding: 3px 0; border-radius: 6px; background: rgba(255,255,255,.9); color: var(--bny-bad); font-size: 11px; font-weight: 700; text-align: center; }
.bny-sf-eta { display: inline-flex; align-items: center; gap: 3px; align-self: flex-start; padding: 2px 6px; margin-bottom: 4px; border-radius: 4px; background: var(--bny-bg, #f6f6f6); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .03em; }
.bny-sf-eta:has(b[hidden]) { display: none; }
.bny-sf-name { font-size: 13px; line-height: 1.3; font-weight: 600; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bny-sf-unit { margin-top: 2px; font-size: 12px; color: var(--sf-mute); }
.bny-sf-tier { margin-top: 4px; align-self: flex-start; padding: 1px 6px; border-radius: 999px; background: var(--bny-ok-soft, #edf3ec); color: var(--bny-ok, #346538); font-size: 10.5px; font-weight: 700; }
.bny-sf-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.bny-sf-price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.bny-sf-price b { font-size: 14px; font-weight: 800; }
.bny-sf-price s { font-size: 11px; color: var(--sf-mute); }

/* ADD button → stepper, same footprint so nothing jumps. */
.bny-sf-add { flex: none; width: 72px; height: 34px; }
.bny-sf-add-btn, .bny-sf-step { width: 72px; height: 34px; border-radius: 8px; font: inherit; }
.bny-sf .bny-sf-add-btn { display: grid; place-items: center; padding: 0; border: 1px solid var(--bny-brand); background: var(--bny-brand-soft, #fff); color: var(--bny-brand); font-size: 13px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: transform .12s; }
.bny-sf .bny-sf-add-btn:active { transform: scale(.96); }
.bny-sf-opts { font-size: 12px !important; }
.bny-sf-step { display: flex; align-items: stretch; overflow: hidden; background: var(--bny-brand); color: var(--bny-brand-ink, #fff); }
.bny-sf-step[hidden], .bny-sf-add-btn[hidden] { display: none !important; }
.bny-sf .bny-sf-step button { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 18px; font-weight: 700; line-height: 1; padding: 0; cursor: pointer; }
.bny-sf-step output { display: grid; place-items: center; min-width: 22px; font-size: 14px; font-weight: 800; }
.bny-sf-step output.is-tick { animation: bny-sf-tick .25s ease; }
@keyframes bny-sf-tick { from { transform: translateY(-4px); opacity: .3; } to { transform: none; opacity: 1; } }

/* ---------- Entry ---------- */
.bny-sf-js .bny-sf-reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.bny-sf-js .bny-sf-reveal.is-in { opacity: 1; transform: none; }
.bny-sf-grid .bny-sf-card { animation: bny-sf-in .45s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes bny-sf-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .bny-sf-js .bny-sf-reveal { opacity: 1; transform: none; transition: none; } .bny-sf-grid .bny-sf-card { animation: none; } }

/* ---------- Rich look ---------- */
.bny-sf-banners { margin-top: 14px; }
.bny-sf-banner-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--sf-r); }
.bny-sf-banner-track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .bny-sf-banner-track { grid-auto-columns: calc(50% - 5px); } }
.bny-sf-banner { scroll-snap-align: start; display: block; aspect-ratio: 3 / 1; border-radius: var(--sf-r); overflow: hidden; background: var(--bny-bg, #f6f6f6); }
.bny-sf-banner img { width: 100%; height: 100%; object-fit: cover; }
.bny-sf-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.bny-sf .bny-sf-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--sf-line); cursor: pointer; transition: width .25s, background .25s; }
.bny-sf .bny-sf-dots button.is-on { width: 18px; background: var(--bny-ink); }
.bny-sf-offers { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 10px; margin: 24px -16px 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.bny-sf-offers::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .bny-sf-offers { margin: 24px 0 0; padding: 0; } }
.bny-sf-offers li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--sf-line); border-radius: var(--sf-r); background: var(--bny-paper, #fff); }
.bny-sf-offers li .bny-sf-i { color: var(--bny-brand); }
.bny-sf-offers li span { display: flex; flex-direction: column; min-width: 0; }
.bny-sf-offers b { font-size: 13px; font-weight: 750; }
.bny-sf-offers small { font-size: 12px; color: var(--sf-mute); }
.bny-sf-pro { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px; border-radius: var(--sf-r); background: var(--bny-brand-soft, #e1f3fe); }
.bny-sf-pro-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--bny-paper, #fff); color: var(--bny-brand); }
.bny-sf-pro-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bny-sf-pro-txt b { font-size: 15px; font-weight: 800; }
.bny-sf-pro-txt small { font-size: 13px; color: var(--sf-mute); }
.bny-sf-pro-go { display: inline-flex; align-items: center; gap: 2px; padding: 8px 14px; border-radius: 8px; background: var(--bny-brand); color: var(--bny-brand-ink, #fff); font-size: 13px; font-weight: 750; }
.bny-sf--rich .bny-sf-tile-pic { background: var(--sf-tint, var(--bny-bg, #f6f6f6)); }
.bny-sf--rich .bny-sf-t-a { --sf-tint: #edf3ec; } .bny-sf--rich .bny-sf-t-b { --sf-tint: #e1f3fe; } .bny-sf--rich .bny-sf-t-c { --sf-tint: #fbf3db; }
.bny-sf--rich .bny-sf-t-d { --sf-tint: #fdebec; } .bny-sf--rich .bny-sf-t-e { --sf-tint: #f1ecfa; } .bny-sf--rich .bny-sf-t-f { --sf-tint: #eef0f2; }
.bny-sf--rich .bny-sf-sec-head h2 { font-size: 19px; }

/* ---------- Category page ---------- */
.bny-sf-catpage { padding-top: 8px; }
.bny-sf-cat-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 0 12px; border-bottom: 1px solid var(--sf-line); }
.bny-sf-back { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.bny-sf-back:hover { background: var(--bny-bg, #f6f6f6); }
.bny-sf-cat-title { flex: 1; min-width: 0; }
.bny-sf-cat-title h1 { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.bny-sf-cat-title small { font-size: 12px; color: var(--sf-mute); }
.bny-sf-cat-head .bny-ss { flex: 1 1 100%; order: 3; margin: 0; --ss-h: 44px; }
@media (min-width: 900px) { .bny-sf-cat-head .bny-ss { flex: 0 1 440px; order: 0; } }
.bny-sf-cat-body { display: block; }
.bny-sf-cat-body.has-rail { display: grid; grid-template-columns: 76px minmax(0, 1fr); }
@media (min-width: 900px) { .bny-sf-cat-body.has-rail { grid-template-columns: 210px minmax(0, 1fr); gap: 20px; } }
.bny-sf-side { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; scrollbar-width: none; border-right: 1px solid var(--sf-line); margin-left: -16px; }
.bny-sf-side::-webkit-scrollbar { display: none; }
.bny-sf-side-i { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; font-size: 11px; line-height: 1.2; font-weight: 600; text-align: center; color: var(--sf-mute) !important; }
.bny-sf-side-pic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--bny-bg, #f6f6f6); overflow: hidden; transition: background .2s; }
.bny-sf-side-pic img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.bny-sf-side-i.is-on { color: var(--bny-ink) !important; }
.bny-sf-side-i.is-on .bny-sf-side-pic { background: var(--bny-brand-soft, #e1f3fe); }
.bny-sf-side-i.is-on::after { content: ""; position: absolute; right: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px 0 0 3px; background: var(--bny-brand); }
@media (min-width: 900px) {
	.bny-sf-side { margin-left: 0; padding: 12px 8px 12px 0; }
	.bny-sf-side-i { flex-direction: row; gap: 10px; padding: 8px 10px; font-size: 13px; text-align: left; border-radius: 8px; }
	.bny-sf-side-pic { width: 36px; height: 36px; flex: none; }
	.bny-sf-side-i.is-on { background: var(--bny-bg, #f6f6f6); }
	.bny-sf-side-i.is-on::after { right: -9px; }
}
.bny-sf-main { min-width: 0; padding: 12px 0 0 12px; }
.bny-sf-cat-body:not(.has-rail) .bny-sf-main { padding-left: 0; }
@media (min-width: 900px) { .bny-sf-main { padding-left: 0; } }
.bny-sf-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding-bottom: 2px; }
.bny-sf-chips::-webkit-scrollbar { display: none; }
.bny-sf-sort, .bny-sf .bny-sf-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--sf-line); border-radius: 999px; background: var(--bny-paper, #fff); color: var(--bny-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bny-sf-sort select { border: 0 !important; background: transparent !important; font: inherit; font-weight: 600; color: inherit; padding: 0 !important; height: auto; box-shadow: none !important; cursor: pointer; appearance: auto; }
.bny-sf .bny-sf-chip[aria-pressed="true"] { border-color: var(--bny-ink); background: var(--bny-ink); color: var(--bny-paper, #fff); }
.bny-sf-loadmore { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 24px 0; font-size: 13px; color: var(--sf-mute); }
.bny-sf-loadmore[hidden] { display: none; }
.bny-sf-spin { width: 16px; height: 16px; border: 2px solid var(--sf-line); border-top-color: var(--bny-ink); border-radius: 50%; animation: bny-sf-spin .7s linear infinite; }
@keyframes bny-sf-spin { to { transform: rotate(360deg); } }
.bny-sf-catpage .bny-sf-card { padding: 6px 6px 8px; }
.bny-sf-catpage .bny-sf-add, .bny-sf-catpage .bny-sf-add-btn, .bny-sf-catpage .bny-sf-step { width: 64px; height: 32px; }
@media (max-width: 380px) { .bny-sf-price b { font-size: 13px; } .bny-sf-catpage .bny-sf-add, .bny-sf-catpage .bny-sf-add-btn, .bny-sf-catpage .bny-sf-step { width: 58px; } }

/* The live order strip from [bunyad_live_order] sits flush. */
.bny-sf > .bny-acc-live, .bny-sf > section:not(.bny-sf-sec):not(.bny-sf-banners) { margin-top: 14px; }

.bny-sf .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ================= 1.11 Rich look ================= */
.bny-sf { --sf-r: var(--bny-r, 12px); }
.bny-sf h2, .bny-sf h1 { font-weight: var(--bny-hw, 750); color: var(--bny-ink); }
.bny-sf-top { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 0 10px; margin: 0 -16px; padding-inline: 16px; background: linear-gradient(var(--bny-paper, #fff) 80%, transparent); }
.admin-bar .bny-sf-top { top: 46px; }
@media (min-width: 783px) { .admin-bar .bny-sf-top { top: 32px; } }
@media (min-width: 900px) { .bny-sf-top { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); align-items: center; } }

/* Delivery-time header */
.bny-sf-eta-strip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px 8px 8px; border: 0; border-radius: var(--sf-r); background: transparent; color: var(--bny-ink); font: inherit; text-align: left; cursor: pointer; }
.bny-sf-eta-strip:hover { background: var(--bny-bg); }
.bny-sf-eta-bolt { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--bny-accent); color: var(--bny-accent-ink); }
.bny-sf-eta-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.bny-sf-eta-main > small:first-child { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bny-ink-2); }
.bny-sf-eta-main b { font-size: 20px; font-weight: 850; letter-spacing: -.02em; }
.bny-sf-eta-main em { font-style: normal; }
.bny-sf-eta-main i { font-style: normal; }
.bny-sf-eta-main b:has(em:not([hidden])) .bny-sf-eta-none { display: none; }
.bny-sf-eta-sub { font-size: 12px; color: var(--bny-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bny-sf-eta-pin { flex: none; display: inline-flex; align-items: center; gap: 2px; max-width: 42%; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--bny-bg); font-size: 12px; font-weight: 700; }
.bny-sf-eta-pin span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Smart search */
.bny-ss { --ss-h: 50px; --ss-r: 14px; --ss-c: var(--bny-accent); position: relative; z-index: 45; width: 100%; font-family: var(--bny-font, inherit); }
.bny-ss.is-sticky { position: sticky; top: 8px; }
.bny-ss-bar { position: relative; display: flex; align-items: center; gap: 8px; height: var(--ss-h); padding: 0 6px 0 14px; border-radius: var(--ss-r); background: var(--bny-paper, #fff); border: 1px solid var(--bny-line); color: var(--bny-ink-2); transition: border-color .2s, box-shadow .2s, background .2s; }
.bny-ss--filled .bny-ss-bar { background: var(--bny-bg); border-color: transparent; }
.bny-ss--plain .bny-ss-bar { border-color: transparent; background: transparent; }
.bny-ss--glow .bny-ss-bar { border-color: transparent; background: linear-gradient(var(--bny-paper, #fff), var(--bny-paper, #fff)) padding-box, linear-gradient(110deg, var(--bny-line), var(--bny-line)) border-box; border: 1.5px solid transparent; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 18px -8px color-mix(in srgb, var(--ss-c) 35%, transparent); }
.bny-ss--glow.is-open .bny-ss-bar, .bny-ss--glow .bny-ss-bar:focus-within, .bny-ss--glow.is-think .bny-ss-bar { background: linear-gradient(var(--bny-paper, #fff), var(--bny-paper, #fff)) padding-box, conic-gradient(from var(--ss-a, 0deg), var(--ss-c), color-mix(in srgb, var(--ss-c) 20%, #7c5cff), #22c1c3, var(--ss-c)) border-box; }
.bny-ss--outline .bny-ss-bar:focus-within, .bny-ss--filled .bny-ss-bar:focus-within, .bny-ss--plain .bny-ss-bar:focus-within { border-color: var(--ss-c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ss-c) 18%, transparent); background: var(--bny-paper, #fff); }
@property --ss-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.bny-ss--glow.is-think .bny-ss-bar { animation: bny-ss-spin 1.6s linear infinite; }
@keyframes bny-ss-spin { to { --ss-a: 360deg; } }
.bny-ss-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; color: var(--ss-c); }
.bny-ss-a-none .bny-ss-ic { color: var(--bny-ink-2); }
.bny-ss-brain-svg .bny-ss-l { opacity: .35; }
.bny-ss-brain-svg .bny-ss-n { transform-box: fill-box; transform-origin: center; }
.bny-ss.is-think .bny-ss-brain-svg .bny-ss-n, .bny-ss:focus-within .bny-ss-brain-svg .bny-ss-n { animation: bny-ss-fire 1.1s ease-in-out infinite; }
.bny-ss.is-think .bny-ss-brain-svg .bny-ss-l { animation: bny-ss-wire 1.1s ease-in-out infinite; }
.bny-ss-n.n2 { animation-delay: .1s !important; } .bny-ss-n.n3 { animation-delay: .2s !important; } .bny-ss-n.n4 { animation-delay: .3s !important; } .bny-ss-n.n5 { animation-delay: .4s !important; } .bny-ss-n.n6 { animation-delay: .5s !important; } .bny-ss-n.n7 { animation-delay: .6s !important; }
@keyframes bny-ss-fire { 0%, 100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes bny-ss-wire { 0%, 100% { opacity: .25; } 50% { opacity: .8; } }
.bny-ss.is-think .bny-ss-sp, .bny-ss:focus-within .bny-ss-sp { animation: bny-ss-twinkle 1.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes bny-ss-twinkle { 50% { transform: rotate(20deg) scale(1.15); opacity: .7; } }
.bny-ss .bny-ss-in { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; font: inherit; font-size: 15px; color: var(--bny-ink); }
.bny-ss .bny-ss-in::placeholder { color: var(--bny-ink-3); opacity: 1; transition: opacity .2s, transform .2s; }
.bny-ss.is-swap .bny-ss-in::placeholder { opacity: 0; }
.bny-ss-in::-webkit-search-cancel-button { display: none; }
.bny-ss-ghost { display: none; }
.bny-ss .bny-ss-clear, .bny-ss .bny-ss-mic, .bny-ss .bny-ss-back { flex: none; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bny-ink-2); cursor: pointer; }
.bny-ss .bny-ss-clear[hidden], .bny-ss .bny-ss-mic[hidden] { display: none; }
.bny-ss .bny-ss-clear:hover, .bny-ss .bny-ss-mic:hover { background: var(--bny-bg); color: var(--bny-ink); }
.bny-ss .bny-ss-back { display: none; margin-left: -8px; }
.bny-ss.is-listen .bny-ss-mic { color: #fff; background: var(--bny-bad); animation: bny-ss-pulse 1s ease-in-out infinite; }
@keyframes bny-ss-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--bny-bad) 20%, transparent); } }
.bny-ss-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid var(--bny-line); border-radius: max(10px, var(--ss-r)); background: var(--bny-paper, #fff); box-shadow: var(--bny-shadow-pop, 0 16px 40px rgba(16,24,40,.14)); animation: bny-ss-in .18s ease-out; }
.bny-ss-panel[hidden] { display: none; }
@keyframes bny-ss-in { from { opacity: 0; transform: translateY(-4px); } }
.bny-ss-grp + .bny-ss-grp { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--bny-line); }
.bny-ss-gh { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px; font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--bny-ink-2); }
.bny-ss .bny-ss-gh button { border: 0; background: none; padding: 0; font: inherit; font-size: 11px; color: var(--bny-brand-text, var(--bny-brand)); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 650; }
.bny-ss-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 6px 6px; }
.bny-ss .bny-ss-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--bny-line); border-radius: 999px; background: var(--bny-paper, #fff); color: var(--bny-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.bny-ss .bny-ss-chip svg { color: var(--bny-ink-3); }
.bny-ss .bny-ss-chip.is-hot svg { color: var(--ss-c); }
.bny-ss .bny-ss-chip:hover, .bny-ss .bny-ss-chip.is-active { background: var(--bny-bg); border-color: var(--bny-ink-3); }
.bny-ss-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 10px; color: var(--bny-ink) !important; text-decoration: none !important; }
.bny-ss-row:hover, .bny-ss-row.is-active, .bny-ss-link.is-active { background: var(--bny-bg); }
.bny-ss-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 4px; border-radius: 8px; color: inherit !important; text-decoration: none !important; }
.bny-ss-thumb { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--bny-line); }
.bny-ss-thumb.is-cat { display: grid; place-items: center; background: var(--bny-bg); color: var(--bny-ink-2); font-weight: 800; border: 0; }
.bny-ss-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.3; }
.bny-ss-nm { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bny-ss-t mark { background: transparent; color: var(--bny-ink); font-weight: 850; }
.bny-ss-t small { font-size: 12.5px; font-weight: 750; color: var(--bny-ink); margin-top: 1px; }
.bny-ss-row.is-cat svg { color: var(--bny-ink-3); margin-right: 6px; }
.bny-ss-add { width: 64px !important; height: 30px !important; }
.bny-sf .bny-ss-add .bny-sf-add-btn, .bny-sf .bny-ss-add .bny-sf-step { width: 64px; height: 30px; font-size: 12px; }
.bny-ss-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 10px; border-radius: 10px; background: var(--bny-bg); color: var(--bny-ink) !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important; }
.bny-ss-all:hover, .bny-ss-all.is-active { background: var(--bny-line); }
.bny-ss-none { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; text-align: center; font-size: 13px; color: var(--bny-ink-2); }
.bny-ss-none b { color: var(--bny-ink); font-size: 14px; }
@media (max-width: 720px) {
	html.bny-ss-lock [data-bny-fab], html.bny-ss-lock .bny-bn { visibility: hidden; }
	.bny-ss.is-full { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; padding: 10px 12px; background: var(--bny-paper, #fff); }
	.bny-ss.is-full .bny-ss-back { display: grid; }
	.bny-ss.is-full .bny-ss-panel { position: static; flex: 1; max-height: none; margin-top: 10px; border: 0; box-shadow: none; padding: 0; animation: none; }
	html.bny-ss-lock, html.bny-ss-lock body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .bny-ss * { animation: none !important; } }

/* Bestseller tag, brand row, subcategory strip, skeleton, results */
.bny-sf-best { position: absolute; left: 0; bottom: 0; padding: 2px 7px 3px; border-radius: 0 8px 0 8px; background: var(--bny-hi-soft); color: var(--bny-hi-ink); font-size: 10px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.bny-sf-brands { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
.bny-sf-brands::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .bny-sf-brands { margin: 0; padding: 2px 0 6px; grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.bny-sf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border: var(--bny-card-bd, 1px solid var(--bny-line)); box-shadow: var(--bny-card-sh, none); border-radius: var(--sf-r); background: var(--bny-paper, #fff); transition: transform .15s; }
.bny-sf-brand:hover { transform: translateY(-2px); }
.bny-sf-brand-mono { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 10px; background: var(--bny-brand-soft); color: var(--bny-brand-text, var(--bny-brand)); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.bny-sf-brand-name { font-size: 13.5px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.bny-sf-brand small { font-size: 11.5px; color: var(--bny-ink-2); }
.bny-sf-subs { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 8px; }
.bny-sf-subs::-webkit-scrollbar { display: none; }
.bny-sf-subs a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; font-size: 11.5px; font-weight: 650; text-align: center; color: var(--bny-ink) !important; }
.bny-sf-skel { padding: 8px; border-radius: var(--sf-r); border: 1px solid var(--bny-line); }
.bny-sf-skel i, .bny-sf-skel b, .bny-sf-skel span { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--bny-bg) 25%, color-mix(in srgb, var(--bny-bg) 40%, #fff) 50%, var(--bny-bg) 75%) 0 0 / 200% 100%; animation: bny-sf-shim 1.2s linear infinite; }
.bny-sf-skel i { aspect-ratio: 1; margin-bottom: 10px; }
.bny-sf-skel b { height: 10px; margin-bottom: 6px; } .bny-sf-skel b + b { width: 60%; }
.bny-sf-skel span { height: 30px; width: 64px; margin-left: auto; margin-top: 12px; }
@keyframes bny-sf-shim { to { background-position: -200% 0; } }
.bny-sf-loadmore { display: block; padding: 12px 0 0; }
.bny-sf-skels { pointer-events: none; }
.bny-sf-main-full { padding: 12px 0 0 !important; }
.bny-sf-noresult { padding: 30px 12px 6px; text-align: center; color: var(--bny-ink-2); }
.bny-sf-noresult b { display: block; font-size: 17px; color: var(--bny-ink); margin-bottom: 4px; }
.bny-sf-noresult p { margin: 0; }

/* Rich polish: section rhythm, cards, buttons on theme tokens */
.bny-sf--rich .bny-sf-sec { margin-top: 26px; }
.bny-sf--rich .bny-sf-sec-head h2 { font-size: 18px; letter-spacing: -.015em; }
.bny-sf-more { color: var(--bny-brand-text, var(--bny-brand)) !important; }
.bny-sf-card { border: var(--bny-card-bd, 1px solid var(--bny-line)); box-shadow: var(--bny-card-sh, none); }
.bny-sf-card:hover { box-shadow: var(--bny-shadow, 0 4px 16px rgba(0,0,0,.05)); }
.bny-sf .bny-sf-add-btn { border-radius: var(--bny-r-btn, 8px); border-color: var(--bny-brand); color: var(--bny-brand-text, var(--bny-brand)); background: var(--bny-paper, #fff); }
.bny-sf .bny-sf-add-btn:hover { background: var(--bny-brand-soft); }
.bny-sf-step { border-radius: var(--bny-r-btn, 8px); background: var(--bny-brand); color: var(--bny-brand-ink); }
.bny-sf .bny-sf-step button:hover { background: color-mix(in srgb, var(--bny-brand-ink) 14%, transparent); }
.bny-sf-pro-go { background: var(--bny-brand); color: var(--bny-brand-ink); border-radius: var(--bny-r-btn, 8px); }
.bny-sf-pro:hover .bny-sf-pro-go { background: var(--bny-brand-hover, var(--bny-brand)); }
.bny-sf .bny-sf-chip[aria-pressed="true"] { border-color: var(--bny-brand); background: var(--bny-brand); color: var(--bny-brand-ink); }
.bny-sf-offers li .bny-sf-i { color: var(--bny-accent-text, var(--bny-accent)); }
.bny-sf-price s { color: var(--bny-ink-3); }
.bny-sf-unit { color: var(--bny-ink-2); }
.bny-sf-side-i.is-on::after { background: var(--bny-brand); }
