/* Bison Quick Shop – Zepto-style mobile layout
 * Brand it by overriding these variables in Appearance → Customize → Additional CSS, e.g.
 *   .bqs, .bqs-portal { --bqs-primary: #0b6b3a; --bqs-accent: #f05a28; }
 * If your theme has a sticky header, set --bqs-top-offset to its height. */
.bqs,
.bqs-portal {
	--bqs-primary: #4a148c;
	--bqs-primary-2: #7b2cbf;
	--bqs-accent: #ff3269;
	--bqs-accent-soft: #fff1f5;
	--bqs-cartbar: #ff3269;
	--bqs-off: #256fef;
	--bqs-bg: #f5f3f8;
	--bqs-card: #ffffff;
	--bqs-text: #1d1b22;
	--bqs-muted: #6f6b7a;
	--bqs-line: #ebe8f0;
	--bqs-side: 84px;
	--bqs-top-offset: 0px;
	--bqs-bottom-offset: 0px;
	--bqs-head-h: 120px;
	--bqs-admin: 0px;
	--bqs-sticky: calc(var(--bqs-top-offset) + var(--bqs-admin));
	font-size: 14px;
	line-height: 1.35;
	color: var(--bqs-text);
	-webkit-tap-highlight-color: transparent;
}
.bqs *, .bqs *::before, .bqs *::after,
.bqs-portal *, .bqs-portal *::before, .bqs-portal *::after { box-sizing: border-box; }

.bqs { background: var(--bqs-bg); padding-bottom: 96px; position: relative; }
.bqs img, .bqs-portal img { max-width: 100%; display: block; border: 0; box-shadow: none; }
.bqs a, .bqs-portal a { text-decoration: none; color: inherit; box-shadow: none; }

/* Theme button styles reset */
.bqs button, .bqs-portal button {
	font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
	box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1;
	min-height: 0; min-width: 0; width: auto; height: auto; border-radius: 0; cursor: pointer;
}
.bqs button:focus-visible, .bqs-portal button:focus-visible, .bqs a:focus-visible { outline: 2px solid var(--bqs-accent); outline-offset: 2px; }

/* ---------- Header: search + category tabs ---------- */
.bqs-head {
	position: sticky; top: var(--bqs-sticky); z-index: 30;
	background: linear-gradient(160deg, var(--bqs-primary) 0%, var(--bqs-primary-2) 100%);
	padding: 10px 12px 0; color: #fff;
}
.bqs-search {
	display: flex; align-items: center; gap: 8px; background: #fff; color: var(--bqs-text);
	border-radius: 12px; height: 44px; padding: 0 12px; margin: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bqs-search svg { width: 20px; height: 20px; fill: var(--bqs-muted); flex: none; }
.bqs .bqs-search-input {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; box-shadow: none;
	height: 100%; padding: 0; margin: 0; font: inherit; font-size: 15px; color: inherit;
}
.bqs .bqs-search-input::-webkit-search-cancel-button { display: none; }
.bqs .bqs-search-clear { font-size: 22px; color: var(--bqs-muted); padding: 4px; }

.bqs-cats {
	display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
	margin: 0 -12px; padding: 10px 8px 0; scroll-snap-type: x proximity;
}
.bqs-cats::-webkit-scrollbar { display: none; }
.bqs-cats[hidden] { display: none; }
.bqs .bqs-cat {
	flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px;
	width: 72px; padding: 0 2px 9px; color: rgba(255,255,255,.82); font-size: 11.5px; font-weight: 600;
	text-align: center; position: relative; scroll-snap-align: start;
}
.bqs .bqs-cat span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
.bqs .bqs-cat.is-active { color: #fff; }
.bqs .bqs-cat.is-active::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px;
	background: #fff; border-radius: 4px 4px 0 0;
}
.bqs-cat-img {
	width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.16);
	display: grid; place-items: center; overflow: hidden; transition: transform .15s;
}
.bqs-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.bqs .bqs-cat.is-active .bqs-cat-img { background: #fff; transform: scale(1.06); }
.is-letter { font-weight: 800; font-size: 18px; text-transform: uppercase; }
.bqs .bqs-cat.is-active .is-letter { color: var(--bqs-primary); }

/* ---------- Body: sidebar + grid ---------- */
.bqs-body { display: grid; grid-template-columns: var(--bqs-side) minmax(0, 1fr); align-items: start; }
.bqs.no-subs .bqs-body, .bqs.is-search .bqs-body { grid-template-columns: minmax(0, 1fr); }
.bqs.no-subs .bqs-subs, .bqs.is-search .bqs-subs { display: none; }

.bqs-subs {
	position: sticky; top: calc(var(--bqs-sticky) + var(--bqs-head-h));
	height: calc(100vh - var(--bqs-sticky) - var(--bqs-head-h));
	height: calc(100dvh - var(--bqs-sticky) - var(--bqs-head-h));
	overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
	background: #fff; border-right: 1px solid var(--bqs-line); padding-bottom: 90px;
}
.bqs-subs::-webkit-scrollbar { display: none; }
.bqs .bqs-sub {
	display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%;
	padding: 10px 4px; font-size: 11px; font-weight: 500; color: var(--bqs-muted);
	text-align: center; position: relative; line-height: 1.2;
}
.bqs .bqs-sub span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bqs-sub-img {
	width: 52px; height: 52px; border-radius: 50%; background: #f1edf7; overflow: hidden;
	display: grid; place-items: center; color: var(--bqs-primary); transition: background .15s, transform .15s;
}
.bqs-sub-img img { width: 100%; height: 100%; object-fit: cover; }
.bqs .bqs-sub.is-active { color: var(--bqs-text); font-weight: 700; background: linear-gradient(90deg, #fff 0%, #f6f0ff 100%); }
.bqs .bqs-sub.is-active .bqs-sub-img { background: #e6d9fb; transform: scale(1.05); }
.bqs .bqs-sub.is-active::after {
	content: ""; position: absolute; top: 10px; bottom: 10px; right: 0; width: 4px;
	background: var(--bqs-primary-2); border-radius: 4px 0 0 4px;
}

.bqs-main { min-width: 0; padding: 0 8px 8px; }
.bqs-title { font-weight: 800; font-size: 15px; padding: 12px 4px 8px; }
.bqs-title:empty { display: none; }
.bqs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bqs-sentinel { height: 1px; }

/* ---------- Product card ---------- */
.bqs-card {
	background: var(--bqs-card); border: 1px solid var(--bqs-line); border-radius: 14px;
	padding: 8px; display: flex; flex-direction: column; min-width: 0; position: relative;
}
.bqs-media {
	position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px;
	background: #f7f6fa; overflow: hidden;
}
.bqs-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bqs-off {
	position: absolute; top: 0; left: 6px; background: var(--bqs-off); color: #fff;
	font-size: 9.5px; font-weight: 800; line-height: 1.05; text-align: center;
	padding: 4px 5px 6px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
}
.bqs-oos-tag {
	position: absolute; inset: auto 0 0 0; background: rgba(29,27,34,.72); color: #fff;
	font-size: 11px; font-weight: 600; text-align: center; padding: 4px;
}
.bqs-card.is-oos .bqs-media img { filter: grayscale(1); opacity: .55; }
.bqs-top { position: relative; margin-bottom: 18px; }
.bqs-top > .bqs-act { position: absolute; right: 4px; bottom: -14px; z-index: 2; }
.bqs-top .bqs-btn, .bqs-top .bqs-step { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.bqs .bqs-top .bqs-btn:not(.is-disabled) { background: #fff; }
.bqs .bqs-top .bqs-btn.is-disabled { display: none; }
.bqs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 0 2px; }
.bqs-price b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.bqs-price s { font-size: 11.5px; color: var(--bqs-muted); white-space: nowrap; }
.bqs-price em { font-style: normal; color: var(--bqs-off); font-size: 11px; font-weight: 700; }
.bqs .bqs-name {
	font-size: 13px; font-weight: 600; color: var(--bqs-text); margin: 4px 2px 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.bqs .bqs-unit {
	display: inline-flex; align-items: center; gap: 3px; align-self: flex-start; max-width: 100%;
	font-size: 11.5px; color: var(--bqs-muted); margin: auto 2px 0;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bqs .bqs-unit-pick {
	background: #f4f1f9; border-radius: 6px; padding: 4px 7px; color: var(--bqs-text); font-weight: 600; font-size: 11.5px;
}
.bqs-act { display: flex; flex-direction: column; align-items: center; flex: none; }

/* ADD button + stepper */
.bqs .bqs-btn, .bqs-portal .bqs-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 66px; height: 32px; padding: 0 12px; border-radius: 9px;
	border: 1.5px solid var(--bqs-accent); background: var(--bqs-accent-soft); color: var(--bqs-accent);
	font-weight: 800; font-size: 13px; letter-spacing: .3px; transition: transform .1s;
}
.bqs .bqs-btn:active, .bqs-portal .bqs-btn:active { transform: scale(.94); }
.bqs .bqs-btn.is-disabled, .bqs-portal .bqs-btn.is-disabled {
	border-color: var(--bqs-line); background: #f4f3f6; color: #a8a4b3; font-size: 10.5px; cursor: default; padding: 0 6px;
}
.bqs-step {
	display: inline-flex; align-items: center; justify-content: space-between;
	min-width: 76px; height: 32px; border-radius: 9px; background: var(--bqs-accent); color: #fff;
	font-weight: 800; overflow: hidden; animation: bqs-pop .18s ease-out;
}
.bqs .bqs-step button, .bqs-portal .bqs-step button {
	width: 26px; height: 32px; color: #fff; font-size: 18px; font-weight: 700;
	display: grid; place-items: center;
}
.bqs-step span { min-width: 18px; text-align: center; font-size: 13px; }
@keyframes bqs-pop { from { transform: scale(.85); } to { transform: scale(1); } }

/* Skeleton + empty */
.bqs-skel { pointer-events: none; }
.bqs-skel .bqs-media, .bqs-skel i {
	background: linear-gradient(90deg, #efedf3 25%, #f8f7fa 50%, #efedf3 75%);
	background-size: 200% 100%; animation: bqs-shine 1.2s infinite linear;
}
.bqs-skel i { display: block; height: 10px; border-radius: 5px; margin-top: 8px; }
.bqs-skel i:last-child { width: 55%; height: 28px; margin-left: auto; border-radius: 9px; }
@keyframes bqs-shine { to { background-position: -200% 0; } }
.bqs-empty { grid-column: 1 / -1; text-align: center; color: var(--bqs-muted); padding: 48px 16px; }
.bqs-empty b { display: block; font-size: 34px; margin-bottom: 6px; }
.bqs .bqs-empty .bqs-btn { margin-top: 12px; }

/* ---------- Floating cart bar ---------- */
.bqs-cartbar {
	position: fixed; z-index: 9990; left: 12px; right: 12px; margin: 0 auto; max-width: 560px;
	bottom: calc(12px + var(--bqs-bottom-offset) + env(safe-area-inset-bottom, 0px));
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
	background: var(--bqs-cartbar); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.22);
	transform: translateY(160%); transition: transform .25s cubic-bezier(.2,.9,.3,1.2);
}
.bqs-cartbar.is-visible { transform: none; }
.bqs-cartbar-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.bqs-cartbar-icon svg { width: 20px; height: 20px; fill: #fff; }
.bqs-cartbar-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bqs-cartbar-info b { font-size: 14px; }
.bqs-cartbar-info small { font-size: 12px; opacity: .9; }
.bqs-cartbar-cta { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.bqs-cartbar.is-bump { animation: bqs-bump .3s; }
@keyframes bqs-bump { 50% { transform: scale(1.03); } }

/* ---------- Variant bottom sheet ---------- */
.bqs-sheet { position: fixed; inset: 0; z-index: 9995; }
.bqs-sheet[hidden] { display: none; }
.bqs-sheet-backdrop { position: absolute; inset: 0; background: rgba(20,16,30,.5); opacity: 0; transition: opacity .2s; }
.bqs-sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-width: 640px; margin: 0 auto;
	max-height: 82vh; background: #fff; border-radius: 20px 20px 0 0;
	padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
	transform: translateY(100%); transition: transform .25s ease-out;
}
.bqs-sheet.is-open .bqs-sheet-backdrop { opacity: 1; }
.bqs-sheet.is-open .bqs-sheet-panel { transform: none; }
.bqs-portal .bqs-sheet-close {
	position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
	width: 38px; height: 38px; border-radius: 50%; background: rgba(20,16,30,.85); color: #fff;
	font-size: 22px; display: grid; place-items: center;
}
.bqs-sheet-scroll { max-height: calc(82vh - 36px); overflow-y: auto; }
.bqs-sheet-head { font-weight: 800; font-size: 16px; padding-bottom: 4px; }
.bqs-sheet-sub { color: var(--bqs-muted); font-size: 12.5px; padding-bottom: 12px; border-bottom: 1px solid var(--bqs-line); }
.bqs-vrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bqs-line); }
.bqs-vrow img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #f7f6fa; flex: none; }
.bqs-vinfo { flex: 1; min-width: 0; }
.bqs-vlabel { font-weight: 600; margin-bottom: 2px; }
.bqs-vinfo .bqs-price { flex-direction: row; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.bqs-vrow.is-oos { opacity: .55; }

/* ---------- Toast ---------- */
.bqs-toast {
	position: fixed; z-index: 9999; left: 50%; bottom: calc(86px + var(--bqs-bottom-offset) + env(safe-area-inset-bottom, 0px));
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .2s;
	background: #1d1b22; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px;
	max-width: calc(100vw - 32px); text-align: center;
}
.bqs-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

html.bqs-lock, html.bqs-lock body { overflow: hidden; }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
	.bqs, .bqs-portal { --bqs-side: 110px; }
	.bqs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.bqs-main { padding: 0 12px 12px; }
}
@media (min-width: 960px) {
	.bqs, .bqs-portal { --bqs-side: 220px; }
	.bqs-head { padding: 14px 20px 0; }
	.bqs-search { max-width: 640px; }
	.bqs-cats { margin: 0 -20px; padding: 12px 16px 0; }
	.bqs .bqs-cat { width: 96px; font-size: 12.5px; }
	.bqs .bqs-sub { flex-direction: row; text-align: left; gap: 10px; padding: 10px 14px; font-size: 13px; }
	.bqs-sub-img { width: 40px; height: 40px; flex: none; }
	.bqs-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* ---------- Full-page mode (Shop / category / search pages) ---------- */
body.bqs-page { overflow-x: clip; }
.bqs-page-wrap { width: 100%; }
.bqs-noscript { padding: 12px 20px; }
.bqs-cartbar-site { text-decoration: none; }
.bqs-cartbar-site:hover, .bqs-cartbar-site:focus { color: #fff; }
@media (max-width: 767px) {
	/* Break out of the theme's content container so the app is edge to edge on phones. */
	body.bqs-page .bqs { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: none; }
	body.bqs-page .bqs-page-wrap { padding: 0; margin: 0; }
}

/* ---------- Mobile bottom menu ---------- */
.bqs-nav { display: none; }
@media (max-width: 767px) {
	body.bqs-has-nav { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
	body.bqs-has-nav .bqs,
	body.bqs-has-nav .bqs-portal { --bqs-bottom-offset: 62px; }
	body.bqs-has-nav .bqs { padding-bottom: 80px; }
	body.bqs-has-nav .bqs-subs { padding-bottom: 150px; }
	.bqs-nav {
		display: flex; position: fixed; z-index: 9991; left: 0; right: 0; bottom: 0;
		height: calc(62px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
		background: #fff; border-top: 1px solid var(--bqs-line); box-shadow: 0 -4px 16px rgba(0,0,0,.06);
	}
	.bqs-nav a {
		flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		color: var(--bqs-muted); font-size: 11px; font-weight: 600; text-decoration: none; position: relative;
	}
	.bqs-nav a svg { width: 24px; height: 24px; fill: currentColor; }
	.bqs-nav a.is-active { color: var(--bqs-primary-2); }
	.bqs-nav a.is-active::before {
		content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px;
		background: var(--bqs-primary-2); border-radius: 0 0 3px 3px;
	}
	.bqs-nav-badge {
		position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px;
		border-radius: 9px; background: var(--bqs-accent); color: #fff; font-size: 10.5px; font-weight: 800;
		display: grid; place-items: center; line-height: 1; border: 2px solid #fff;
	}
	.bqs-nav-badge[hidden] { display: none; }
	html.bqs-lock .bqs-nav { display: none; }
}

/* =====================================================================
 * Shared: icon buttons, big buttons, horizontal product rail
 * =================================================================== */
.bqs .bqs-iconbtn {
	width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--bqs-text);
}
.bqs .bqs-iconbtn svg { width: 22px; height: 22px; fill: currentColor; }
.bqs .bqs-btn-lg, .bqs-portal .bqs-btn-lg { height: 48px; min-width: 150px; font-size: 15px; border-radius: 12px; }
.bqs-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 10px;
	overflow-x: auto; scrollbar-width: none; padding: 4px 16px 8px; margin: 0 -16px; scroll-snap-type: x proximity; scroll-padding: 0 16px;
}
.bqs-rail::-webkit-scrollbar { display: none; }
.bqs-rail .bqs-card { scroll-snap-align: start; }
.bqs-notices .woocommerce-message, .bqs-notices .woocommerce-error, .bqs-notices .woocommerce-info { margin: 8px 12px; }

/* =====================================================================
 * Product page
 * =================================================================== */
.bqs-pdp { background: #fff; padding-bottom: 110px; }
.bqs-pdp-top {
	position: sticky; top: var(--bqs-sticky); z-index: 30; display: flex; align-items: center; gap: 4px;
	height: 56px; padding: 0 6px; background: #fff; transition: box-shadow .2s;
}
.bqs-pdp-top.is-scrolled { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.bqs .bqs-pdp-top-title {
	flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.2;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s;
}
.bqs-pdp-top.is-scrolled .bqs-pdp-top-title, .bqs-cp-top .bqs-pdp-top-title { opacity: 1; }

.bqs-gallery { position: relative; background: #fff; }
.bqs-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bqs-gallery-track::-webkit-scrollbar { display: none; }
.bqs-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 12px 24px; }
.bqs-slide img { width: 100%; height: 100%; object-fit: contain; }
.bqs-dots { display: flex; justify-content: center; gap: 6px; padding: 4px 0 10px; }
.bqs-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d9d5e0; transition: all .2s; }
.bqs-dots i.is-active { width: 18px; background: var(--bqs-primary-2); }
.bqs-pdp-off { left: 16px; font-size: 11px; padding: 6px 7px 9px; }
.bqs-pdp-off[hidden] { display: none; }

.bqs-pdp-info { padding: 8px 16px 16px; }
.bqs .bqs-pdp-cat { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--bqs-primary-2); margin-bottom: 6px; }
.bqs .bqs-pdp-name { font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0 0 6px; color: var(--bqs-text); }
.bqs .bqs-pdp-rating { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--bqs-muted); margin-bottom: 6px; }
.bqs-pdp-rating b { background: #0c831f; color: #fff; padding: 2px 6px; border-radius: 6px; font-size: 12px; }
.bqs-pdp-unit { color: var(--bqs-muted); font-size: 14px; margin-bottom: 8px; }
.bqs-pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.bqs-pdp-price b { font-size: 22px; font-weight: 800; }
.bqs-pdp-price s { color: var(--bqs-muted); font-size: 14px; }
.bqs-pdp-price em { font-style: normal; background: #eaf1ff; color: var(--bqs-off); font-size: 12px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.bqs-pdp-tax { font-size: 11.5px; color: var(--bqs-muted); margin-top: 2px; }

.bqs-pdp-label { font-weight: 800; font-size: 15px; margin: 18px 0 10px; }
.bqs-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.bqs .bqs-pack {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
	padding: 16px 8px 10px; border: 1.5px solid var(--bqs-line); border-radius: 12px; background: #fff; line-height: 1.2;
}
.bqs .bqs-pack.is-active { border-color: var(--bqs-primary-2); background: #f7f1ff; box-shadow: 0 0 0 1px var(--bqs-primary-2) inset; }
.bqs .bqs-pack.is-oos { opacity: .55; }
.bqs-pack-off {
	position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap;
	background: var(--bqs-off); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px;
}
.bqs-pack-label { font-weight: 700; font-size: 13.5px; }
.bqs-pack-price b { font-size: 13px; }
.bqs-pack-price s { font-size: 11px; color: var(--bqs-muted); }
.bqs-pack-oos { font-size: 10.5px; color: #c62828; font-weight: 600; }
.bqs-pdp-inline-act { display: none; }
.bqs-pdp-short { margin-top: 16px; color: #3c3a44; font-size: 14px; }
.bqs-pdp-short p:last-child { margin-bottom: 0; }

.bqs-pdp-section { border-top: 8px solid var(--bqs-bg); padding: 16px; margin: 0; }
.bqs-pdp-section > summary, .bqs-pdp-section > h2 {
	font-size: 16px; font-weight: 800; margin: 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.bqs-pdp-section > summary::-webkit-details-marker { display: none; }
.bqs-pdp-section > summary::after { content: "⌄"; font-size: 20px; line-height: 1; transition: transform .2s; color: var(--bqs-muted); }
.bqs-pdp-section[open] > summary::after { transform: rotate(180deg); }
.bqs-pdp-section > h2 { margin-bottom: 12px; }
.bqs-pdp-desc { margin-top: 12px; font-size: 14px; color: #3c3a44; line-height: 1.55; }
.bqs-pdp-desc img { height: auto; border-radius: 10px; }
.bqs-pdp-details table.shop_attributes { width: 100%; margin: 12px 0 0; border-collapse: collapse; font-size: 13.5px; border: 0; }
.bqs-pdp-details table.shop_attributes th, .bqs-pdp-details table.shop_attributes td {
	padding: 9px 0; border: 0; border-bottom: 1px solid var(--bqs-line); text-align: left; background: none; vertical-align: top;
}
.bqs-pdp-details table.shop_attributes th { color: var(--bqs-muted); font-weight: 500; width: 40%; }
.bqs-pdp-details table.shop_attributes td p { margin: 0; }
.bqs-pdp-reviews #reviews, .bqs-pdp-reviews .woocommerce-Reviews { margin-top: 12px; }

/* Sticky "Add to cart" bar */
.bqs-pdp-bar {
	position: fixed; z-index: 9992; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff;
	box-shadow: 0 -4px 18px rgba(0,0,0,.08);
}
.bqs-pdp-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bqs-pdp-bar-unit { font-size: 12px; color: var(--bqs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bqs-pdp-bar-price b { font-size: 18px; font-weight: 800; }
.bqs-pdp-bar-price s { font-size: 12.5px; color: var(--bqs-muted); }
.bqs-pdp-bar-act, .bqs-pdp-inline-act { flex: none; }
.bqs-portal .bqs-pdp-bar-act .bqs-btn:not(.is-disabled),
.bqs .bqs-pdp-inline-act .bqs-btn:not(.is-disabled) {
	height: 48px; min-width: 160px; font-size: 15px; border-radius: 12px;
	background: var(--bqs-accent); color: #fff; border-color: var(--bqs-accent);
}
.bqs-portal .bqs-pdp-bar-act .bqs-btn.is-disabled { height: 48px; min-width: 160px; font-size: 14px; }
.bqs-pdp-bar-act .bqs-step, .bqs-pdp-inline-act .bqs-step { height: 48px; min-width: 160px; border-radius: 12px; }
.bqs-portal .bqs-pdp-bar-act .bqs-step button, .bqs .bqs-pdp-inline-act .bqs-step button { width: 48px; height: 48px; font-size: 22px; }
.bqs-pdp-bar-act .bqs-step span, .bqs-pdp-inline-act .bqs-step span { font-size: 16px; }
/* Floating cart bar sits above the product bar */
body.bqs-page-product .bqs-cartbar { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
body.bqs-page-product { padding-bottom: 0; }

@media (min-width: 960px) {
	.bqs-pdp { max-width: 1180px; margin: 0 auto; padding-bottom: 40px; }
	.bqs-pdp-top { position: static; }
	.bqs-pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 0 16px; }
	.bqs-gallery { position: sticky; top: calc(var(--bqs-sticky) + 16px); border: 1px solid var(--bqs-line); border-radius: 18px; overflow: hidden; }
	.bqs .bqs-pdp-name { font-size: 26px; }
	.bqs-pdp-inline-act { display: block; margin-top: 20px; }
	.bqs-pdp-bar { display: none; }
	body.bqs-page-product .bqs-cartbar { bottom: 20px; }
	.bqs-rail { grid-auto-columns: 180px; }
}

/* =====================================================================
 * Cart page
 * =================================================================== */
.bqs-cartpage { padding-bottom: 120px; min-height: 70vh; }
.bqs-cp-top { margin: 0; }
.bqs-cp-body { padding: 0 12px; max-width: 720px; margin: 0 auto; }
.bqs-cp-body [hidden] { display: none !important; }
.bqs-notice { background: #fdecec; color: #b42318; border-radius: 12px; padding: 10px 14px; margin-top: 12px; font-size: 13px; font-weight: 500; }
.bqs-cp-save {
	margin-top: 12px; background: #e8f8ec; color: #0c831f; border-radius: 12px; padding: 11px 14px;
	font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px;
}
.bqs-cp-card { background: #fff; border-radius: 16px; padding: 14px; margin-top: 12px; }
.bqs-cp-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.bqs-cp-items-head { font-weight: 800; font-size: 15px; padding-bottom: 4px; }
.bqs-line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bqs-line); transition: opacity .2s; }
.bqs-line:last-child { border-bottom: 0; padding-bottom: 2px; }
.bqs-line-img { width: 60px; height: 60px; border-radius: 12px; background: #f7f6fa; border: 1px solid var(--bqs-line); overflow: hidden; display: block; }
.bqs-line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bqs .bqs-line-name { font-size: 13.5px; font-weight: 600; color: var(--bqs-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bqs-line-unit, .bqs-line-meta { font-size: 12px; color: var(--bqs-muted); margin-top: 2px; }
.bqs-line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bqs-line .bqs-step { min-width: 80px; height: 32px; }
.bqs-line-price { text-align: right; line-height: 1.2; }
.bqs-line-price b { font-size: 13.5px; font-weight: 800; display: block; }
.bqs-line-price s { font-size: 11.5px; color: var(--bqs-muted); }

.bqs-cp-suggest { margin-top: 18px; }
.bqs-cp-suggest h2 { font-size: 16px; font-weight: 800; margin: 0 4px 10px; }
.bqs-cp-suggest .bqs-rail { padding: 4px 12px 8px; margin: 0 -12px; scroll-padding: 0 12px; }

.bqs-cp-coupon.is-busy { opacity: .6; pointer-events: none; }
.bqs-cp-coupon-form { display: flex; gap: 8px; border: 1.5px dashed #cfc7dc; border-radius: 12px; padding: 4px 4px 4px 12px; }
.bqs .bqs-cp-coupon-form input {
	flex: 1; min-width: 0; border: 0; outline: 0; box-shadow: none; background: transparent; padding: 0; margin: 0;
	font: inherit; font-size: 14px; text-transform: uppercase; height: 40px; color: var(--bqs-text);
}
.bqs .bqs-cp-apply { padding: 0 16px; font-weight: 800; color: var(--bqs-primary-2); border-radius: 9px; }
.bqs-coupon-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; background: #e8f8ec; color: #0c831f; border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 700; }
.bqs .bqs-coupon-chip button { color: #b42318; font-weight: 700; font-size: 12.5px; }

.bqs-bill-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 5px 0; }
.bqs-bill-row span:first-child { color: #45424e; }
.bqs-bill-row.is-green span:last-child { color: #0c831f; font-weight: 700; }
.bqs-bill-row.is-muted span:last-child { color: var(--bqs-muted); font-size: 12.5px; }
.bqs-bill-row.is-total { border-top: 1px dashed #d8d3e0; margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 15px; }
.bqs-bill-row.is-total span:first-child { color: var(--bqs-text); }

.bqs-cp-empty { text-align: center; padding: 64px 16px; }
.bqs-cp-empty b { font-size: 56px; display: block; }
.bqs-cp-empty h2 { font-size: 18px; font-weight: 800; margin: 8px 0 4px; }
.bqs-cp-empty p { color: var(--bqs-muted); margin: 0 0 18px; }
.bqs .bqs-cp-empty .bqs-btn { background: var(--bqs-accent); color: #fff; padding: 0 28px; }

.bqs-cp-bar {
	position: fixed; z-index: 9992; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 14px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.08);
}
.bqs-cp-bar.is-visible { display: flex; }
.bqs-cp-bar-total { display: flex; flex-direction: column; line-height: 1.15; }
.bqs-cp-bar-total small { font-size: 11px; font-weight: 700; color: var(--bqs-muted); letter-spacing: .5px; }
.bqs-cp-bar-total b { font-size: 18px; font-weight: 800; }
.bqs-portal .bqs-cp-checkout {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; border-radius: 12px;
	background: var(--bqs-cartbar); color: #fff; font-weight: 800; font-size: 15.5px; text-decoration: none;
}
.bqs-portal .bqs-cp-checkout:hover, .bqs-portal .bqs-cp-checkout:focus { color: #fff; }
@media (min-width: 960px) {
	.bqs-cp-bar { left: 50%; transform: translateX(-50%); max-width: 720px; bottom: 16px; border-radius: 16px; }
}
