/* Sidebar Studio – Cart & Menu Drawers */

:root {
	--sbs-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Overlay ---------- */
.sbs-overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: var(--sbs-overlay-color, #000);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--sbs-speed, 300ms) var(--sbs-ease), visibility 0s linear var(--sbs-speed, 300ms);
	backdrop-filter: blur(var(--sbs-overlay-blur, 0));
	-webkit-backdrop-filter: blur(var(--sbs-overlay-blur, 0));
}
.sbs-overlay.is-visible {
	opacity: var(--sbs-overlay-opacity, .5);
	visibility: visible;
	transition-delay: 0s;
}
html.sbs-locked,
html.sbs-locked body {
	overflow: hidden !important;
}

/* ---------- Drawer shell ---------- */
.sbs-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	width: min(var(--sbs-w), 100vw);
	max-width: 100vw;
	height: 100%;
	height: 100dvh;
	box-sizing: border-box;
	font-family: var(--sbs-font, inherit);
	background: var(--sbs-bg);
	color: var(--sbs-fg);
	box-shadow: 0 0 40px rgba(0, 0, 0, .18);
	visibility: hidden;
	outline: none;
	transition: transform var(--sbs-speed, 300ms) var(--sbs-ease), opacity var(--sbs-speed, 300ms) var(--sbs-ease), visibility 0s linear var(--sbs-speed, 300ms);
}
.sbs-drawer *,
.sbs-drawer *::before,
.sbs-drawer *::after {
	box-sizing: border-box;
}
.sbs-side-right { right: 0; transform: translateX(100%); }
.sbs-side-left  { left: 0;  transform: translateX(-100%); }
.sbs-anim-fade { opacity: 0; }
.sbs-anim-fade.sbs-side-right { transform: translateX(40px); }
.sbs-anim-fade.sbs-side-left  { transform: translateX(-40px); }
.sbs-anim-none { transition: none; }

.sbs-drawer.is-open {
	transform: none;
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
	.sbs-drawer, .sbs-overlay { transition-duration: 1ms !important; }
}

.sbs-drawer--cart {
	--sbs-w: var(--sbs-cart-width, 420px);
	--sbs-bg: var(--sbs-cart-bg, #fff);
	--sbs-fg: var(--sbs-cart-text, #1d1d1f);
	--sbs-head-bg: var(--sbs-cart-header-bg, #fff);
	--sbs-head-fg: var(--sbs-cart-header-text, #1d1d1f);
	--sbs-line: var(--sbs-cart-border, #e5e5ea);
	font-size: var(--sbs-cart-font-size, 15px);
	line-height: 1.45;
}
.sbs-drawer--menu {
	--sbs-w: var(--sbs-menu-width, 340px);
	--sbs-bg: var(--sbs-menu-bg, #fff);
	--sbs-fg: var(--sbs-menu-text, #1d1d1f);
	--sbs-head-bg: var(--sbs-menu-header-bg, #fff);
	--sbs-head-fg: var(--sbs-menu-header-text, #1d1d1f);
	--sbs-line: var(--sbs-menu-border, #ececf0);
	font-size: var(--sbs-menu-font-size, 16px);
	line-height: 1.4;
}

/* ---------- Shared bits ---------- */
.sbs-drawer button {
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	box-shadow: none;
	min-height: 0;
	margin: 0;
}
.sbs-drawer a { text-decoration: none; }
.sbs-drawer .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.sbs-icon { width: 22px; height: 22px; flex: none; display: block; }

.sbs-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 12px 20px;
	background: var(--sbs-head-bg);
	color: var(--sbs-head-fg);
	border-bottom: 1px solid var(--sbs-line);
	flex: none;
}
.sbs-drawer__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: var(--sbs-cart-title-size, 20px);
	font-weight: 700;
	line-height: 1.2;
	color: inherit;
}
.sbs-drawer--menu .sbs-drawer__title { font-size: 20px; }
a.sbs-drawer__title { color: inherit; }
.sbs-drawer__brand img,
.sbs-drawer__brand .custom-logo {
	display: block;
	width: auto;
	max-height: var(--sbs-menu-logo-h, 36px);
	height: var(--sbs-menu-logo-h, 36px);
}

.sbs-drawer .sbs-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	margin-inline-end: -8px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color .2s;
}
.sbs-drawer .sbs-close:hover { background: rgba(127, 127, 127, .12); }

.sbs-drawer :focus-visible,
.sbs-trigger:focus-visible,
.sbs-fab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---------- Count badge ---------- */
.sbs-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sbs-badge-bg, #e11d48);
	color: var(--sbs-badge-text, #fff);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	font-family: var(--sbs-font, inherit);
}
.sbs-cart-count[data-count="0"] { display: none; }
.sbs-badge-zero-yes .sbs-cart-count[data-count="0"] { display: inline-flex; }

/* ---------- Cart body ---------- */
.sbs-cart-inner {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
.sbs-cart-scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4px 20px 16px;
}
.sbs-cart-inner.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }

.sbs-shipping {
	margin: 12px 0 4px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(127, 127, 127, .08);
}
.sbs-shipping__msg {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: .92em;
	font-weight: 600;
}
.sbs-shipping__msg .sbs-icon { width: 20px; height: 20px; color: var(--sbs-cart-progress, #1f9d55); }
.sbs-shipping__track {
	height: 6px;
	border-radius: 99px;
	background: rgba(127, 127, 127, .18);
	overflow: hidden;
}
.sbs-shipping__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--sbs-cart-progress, #1f9d55);
	transition: width .4s var(--sbs-ease);
}

.sbs-items { list-style: none; margin: 0; padding: 0; }
.sbs-item {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--sbs-line);
}
.sbs-item:last-child { border-bottom: 0; }
.sbs-item__thumb {
	flex: none;
	width: var(--sbs-cart-thumb, 72px);
}
.sbs-item__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	margin: 0;
}
.sbs-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sbs-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sbs-item__name { font-weight: 600; line-height: 1.3; }
.sbs-item__name a { color: inherit; }
.sbs-item__name a:hover { text-decoration: underline; }
.sbs-item__meta { color: var(--sbs-cart-muted, #6e6e73); font-size: .87em; }
.sbs-item__meta dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 6px; }
.sbs-item__meta dt, .sbs-item__meta dd { margin: 0; padding: 0; font-weight: 400; }
.sbs-item__meta dd p { margin: 0; display: inline; }
.sbs-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.sbs-item__price { font-weight: 600; white-space: nowrap; }
.sbs-item__qtytext { color: var(--sbs-cart-muted, #6e6e73); font-size: .9em; }

.sbs-drawer .sbs-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	margin: -4px -6px 0 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--sbs-cart-muted, #6e6e73);
	cursor: pointer;
}
.sbs-drawer .sbs-remove .sbs-icon { width: 18px; height: 18px; }
.sbs-drawer .sbs-remove:hover { color: #d70015; background: rgba(215, 0, 21, .08); }

.sbs-qty {
	display: inline-flex;
	align-items: center;
	height: 34px;
	border: 1px solid var(--sbs-line);
	border-radius: var(--sbs-cart-radius, 8px);
	overflow: hidden;
}
.sbs-drawer .sbs-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.sbs-drawer .sbs-qty__btn:hover { background: rgba(127, 127, 127, .1); }
.sbs-drawer .sbs-qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.sbs-drawer .sbs-qty__btn .sbs-icon { width: 16px; height: 16px; }
.sbs-drawer .sbs-qty__input {
	width: 38px;
	height: 100%;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	text-align: center;
	font: inherit;
	font-weight: 600;
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}
.sbs-qty__input::-webkit-outer-spin-button,
.sbs-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cross-sells */
.sbs-xsell { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--sbs-line); }
.sbs-xsell__title { margin: 0 0 10px; font-size: 1em; font-weight: 700; color: inherit; }
.sbs-xsell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sbs-xsell li { display: flex; align-items: center; gap: 12px; margin: 0; }
.sbs-xsell__img { flex: none; width: 52px; }
.sbs-xsell__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; margin: 0; }
.sbs-xsell__info { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .92em; }
.sbs-xsell__info a { color: inherit; font-weight: 600; }
.sbs-xsell__info span { color: var(--sbs-cart-muted, #6e6e73); }
.sbs-drawer .sbs-xsell__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	margin: 0;
	border: 1px solid var(--sbs-line);
	border-radius: var(--sbs-cart-radius, 8px);
	background: transparent;
	color: inherit;
	font-size: .85em;
	line-height: 1;
}
.sbs-drawer .sbs-xsell__add .sbs-icon { width: 16px; height: 16px; }
.sbs-drawer .sbs-xsell__add.is-loading { opacity: .5; pointer-events: none; }

/* Footer */
.sbs-cart-footer {
	flex: none;
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--sbs-line);
	background: var(--sbs-bg);
}
.sbs-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.07em; }
.sbs-subtotal strong { font-weight: 700; }
.sbs-note { margin-top: 4px; color: var(--sbs-cart-muted, #6e6e73); font-size: .85em; }
.sbs-note p { margin: 0; }
.sbs-actions { display: grid; gap: 8px; margin-top: 14px; }
.sbs-actions:empty { display: none; }

.sbs-drawer .sbs-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--sbs-cart-radius, 8px);
	font-weight: 600;
	font-size: 1em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: filter .2s, transform .1s;
}
.sbs-drawer .sbs-btn:hover { filter: brightness(1.08); }
.sbs-drawer .sbs-btn:active { transform: translateY(1px); }
.sbs-drawer .sbs-btn--primary,
.sbs-drawer .sbs-btn--primary:hover { background: var(--sbs-cart-btn-bg, #111); color: var(--sbs-cart-btn-text, #fff); }
.sbs-drawer .sbs-btn--secondary,
.sbs-drawer .sbs-btn--secondary:hover { background: var(--sbs-cart-btn2-bg, #f2f2f4); color: var(--sbs-cart-btn2-text, #1d1d1f); }
.sbs-drawer .sbs-continue {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 6px;
	border: 0;
	background: transparent;
	color: var(--sbs-cart-muted, #6e6e73);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	font-size: .92em;
}
.sbs-drawer .sbs-continue:hover { color: inherit; }

/* Empty state */
.sbs-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 40px 28px;
	text-align: center;
}
.sbs-empty > .sbs-icon { width: 56px; height: 56px; opacity: .35; }
.sbs-empty__text p { margin: 0; color: var(--sbs-cart-muted, #6e6e73); }
.sbs-empty .sbs-btn { min-width: 200px; }

/* ---------- Menu body ---------- */
.sbs-menu-scroll {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: env(safe-area-inset-bottom);
}

.sbs-search {
	position: relative;
	margin: 16px 20px 8px;
}
.sbs-search > .sbs-icon {
	position: absolute;
	top: 22px;
	left: 14px;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	opacity: .55;
	pointer-events: none;
}
.sbs-drawer .sbs-search input[type="search"] {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 14px 0 40px;
	border: 1px solid var(--sbs-line);
	border-radius: 999px;
	background: rgba(127, 127, 127, .06);
	color: inherit;
	font: inherit;
	font-size: 15px;
	box-shadow: none;
}
.sbs-drawer .sbs-search input[type="search"]:focus { outline: 2px solid var(--sbs-menu-hover, #e11d48); outline-offset: 0; border-color: transparent; }

/* Live search dropdown */
.sbs-drawer .sbs-search--live input[type="search"] { padding-right: 70px; }
.sbs-search__spinner {
	position: absolute;
	top: 13px;
	right: 44px;
	width: 18px;
	height: 18px;
	border: 2px solid var(--sbs-line);
	border-top-color: var(--sbs-menu-hover, #e11d48);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}
.sbs-search.is-searching .sbs-search__spinner { opacity: 1; animation: sbs-spin .7s linear infinite; }
@keyframes sbs-spin { to { transform: rotate(360deg); } }

.sbs-search__results {
	margin-top: 8px;
	border: 1px solid var(--sbs-line);
	border-radius: 14px;
	background: var(--sbs-menu-bg, #fff);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
	overflow: hidden;
	animation: sbs-drop .18s var(--sbs-ease);
}
.sbs-search__results[hidden] { display: none; }
@keyframes sbs-drop { from { opacity: 0; transform: translateY(-4px); } }

.sbs-sr-list { list-style: none; margin: 0; padding: 4px 0; }
.sbs-sr-item {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
}
.sbs-sr-item + .sbs-sr-item { border-top: 1px solid var(--sbs-line); }
.sbs-sr-item.is-active,
.sbs-sr-item:hover { background: rgba(127, 127, 127, .07); }
.sbs-sr-link {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	color: var(--sbs-menu-text, #1d1d1f);
	font-size: 14px;
	line-height: 1.3;
	text-transform: none;
}
.sbs-sr-link:focus-visible { outline-offset: -2px; }
.sbs-sr-img {
	position: relative;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(127, 127, 127, .08);
}
.sbs-sr-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.sbs-sr-sale {
	position: absolute;
	left: 3px;
	top: 3px;
	padding: 2px 5px;
	border-radius: 4px;
	background: var(--sbs-badge-bg, #e11d48);
	color: var(--sbs-badge-text, #fff);
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.sbs-sr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sbs-sr-cat {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .55;
}
.sbs-sr-name {
	font-weight: 600;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.sbs-sr-name mark { background: transparent; color: var(--sbs-menu-hover, #e11d48); padding: 0; }
.sbs-sr-price { font-weight: 700; }
.sbs-sr-price del { opacity: .5; font-weight: 400; margin-right: 4px; }
.sbs-sr-price ins { text-decoration: none; color: var(--sbs-badge-bg, #e11d48); }
.sbs-sr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; }
.sbs-sr-stock::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 5px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 1px;
}
.sbs-sr-stock.is-in { color: #1f9d55; }
.sbs-sr-stock.is-low { color: #c26a00; }
.sbs-sr-stock.is-out { color: #d70015; }
.sbs-sr-rating { color: inherit; }
.sbs-sr-rating > span[aria-hidden] { color: #f5a623; }
.sbs-sr-count, .sbs-sr-sku { opacity: .6; }

.sbs-drawer .sbs-sr-add {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-right: 12px;
	border: 1px solid var(--sbs-line);
	border-radius: 50%;
	background: var(--sbs-menu-bg, #fff);
	color: var(--sbs-menu-text, #1d1d1f);
	transition: background-color .15s, color .15s;
}
.sbs-drawer .sbs-sr-add:hover { background: var(--sbs-menu-hover, #e11d48); border-color: transparent; color: #fff; }
.sbs-drawer .sbs-sr-add .sbs-icon { width: 16px; height: 16px; }
.sbs-drawer .sbs-sr-add.is-loading { opacity: .5; pointer-events: none; }
.sbs-drawer .sbs-sr-add.is-added,
.sbs-drawer .sbs-xsell__add.is-added { background: #1f9d55; border-color: transparent; color: #fff; }
.sbs-drawer .is-added .sbs-icon { display: none; }
.sbs-drawer .sbs-sr-add.is-added::after,
.sbs-drawer .sbs-xsell__add.is-added::after { content: "\2713"; font-size: 15px; font-weight: 700; }

.sbs-sr-empty { margin: 0; padding: 16px; font-size: 14px; opacity: .7; text-align: center; }
.sbs-sr-all {
	display: block;
	padding: 12px;
	border-top: 1px solid var(--sbs-line);
	color: var(--sbs-menu-hover, #e11d48);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}
.sbs-sr-all:hover { background: rgba(127, 127, 127, .07); }

.sbs-nav,
.sbs-nav .sub-menu,
.sbs-quicklinks {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sbs-nav { padding: 8px 0; }
.sbs-nav li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
}
.sbs-nav a {
	flex: 1;
	display: block;
	padding: var(--sbs-menu-pad, 14px) 20px;
	color: var(--sbs-menu-text, #1d1d1f);
	font-weight: var(--sbs-menu-weight, 500);
	text-transform: var(--sbs-menu-transform, none);
	transition: color .15s;
}
.sbs-nav a:hover,
.sbs-nav a:focus-visible,
.sbs-nav .current-menu-item > a,
.sbs-nav .current-menu-ancestor > a { color: var(--sbs-menu-hover, #e11d48); }
.sbs-dividers .sbs-nav > li + li { border-top: 1px solid var(--sbs-line); }

.sbs-drawer .sbs-sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	align-self: stretch;
	padding: 0;
	border: 0;
	border-left: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.sbs-drawer .sbs-sub-toggle .sbs-icon { width: 18px; height: 18px; transition: transform .25s var(--sbs-ease); }
.sbs-nav li.sbs-open > .sbs-sub-toggle .sbs-icon { transform: rotate(180deg); }

.sbs-nav .sub-menu {
	flex: 0 0 100%;
	display: none;
	background: var(--sbs-menu-sub-bg, #f7f7f9);
	font-size: .92em;
}
.sbs-nav li.sbs-open > .sub-menu,
.sbs-sub-open .sbs-nav .sub-menu { display: block; }
.sbs-sub-open .sbs-sub-toggle { display: none; }
.sbs-nav .sub-menu a { padding-left: 34px; font-weight: 400; text-transform: none; }
.sbs-nav .sub-menu .sub-menu a { padding-left: 48px; }

.sbs-quicklinks {
	margin: 8px 20px;
	padding: 8px 0;
	border-top: 1px solid var(--sbs-line);
}
.sbs-quicklinks li { margin: 0; }
.sbs-quicklinks a,
.sbs-drawer .sbs-quicklinks button {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 0;
	border: 0;
	background: transparent;
	color: var(--sbs-menu-text, #1d1d1f);
	font: inherit;
	font-size: .95em;
	text-align: left;
	cursor: pointer;
}
.sbs-quicklinks a:hover,
.sbs-drawer .sbs-quicklinks button:hover { color: var(--sbs-menu-hover, #e11d48); }
.sbs-quicklinks .sbs-icon { width: 20px; height: 20px; }

.sbs-menu-footer {
	margin: 8px 20px 24px;
	padding-top: 16px;
	border-top: 1px solid var(--sbs-line);
	font-size: .9em;
	opacity: .85;
}
.sbs-menu-footer p { margin: 0 0 .6em; }
.sbs-menu-footer a { color: var(--sbs-menu-hover, #e11d48); }
.sbs-hint { padding: 20px; }

/* ---------- Trigger buttons (shortcode / Elementor) ---------- */
.sbs-el-wrap { display: flex; }
.sbs-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	margin: 0;
	border: 0 solid transparent;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}
.sbs-trigger:hover { background: transparent; color: inherit; }
.sbs-trigger__icon { position: relative; display: inline-flex; }
.sbs-trigger__icon svg { width: 24px; height: 24px; }
.sbs-trigger__icon i { font-size: 24px; }
.sbs-trigger--icon-after .sbs-trigger__icon { order: 2; }
.sbs-trigger .sbs-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 11px;
}

/* ---------- Floating cart button ---------- */
.sbs-fab {
	position: fixed;
	bottom: 24px;
	z-index: 999990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sbs-fab-bg, #111);
	color: var(--sbs-fab-color, #fff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	cursor: pointer;
	transition: transform .2s var(--sbs-ease);
}
.sbs-fab:hover { transform: scale(1.06); background: var(--sbs-fab-bg, #111); color: var(--sbs-fab-color, #fff); }
.sbs-fab--bottom-right { right: 24px; }
.sbs-fab--bottom-left { left: 24px; }
.sbs-fab .sbs-icon { width: 26px; height: 26px; }
.sbs-fab .sbs-cart-count { position: absolute; top: -2px; right: -2px; }
.sbs-fab.sbs-bump { animation: sbs-bump .5s var(--sbs-ease); }
@keyframes sbs-bump {
	40% { transform: scale(1.18); }
}

@media (max-width: 480px) {
	.sbs-drawer { width: 100vw; }
	.sbs-drawer--menu { width: min(var(--sbs-w), 88vw); }
	.sbs-fab { bottom: 16px; }
	.sbs-fab--bottom-right { right: 16px; }
	.sbs-fab--bottom-left { left: 16px; }
}

/* ---------- Theme takeover: keep the theme's own panels out of sight ---------- */
body.sbs-takeover-cart #woo-cart-panel,
body.sbs-takeover-cart .ct-header-cart .ct-cart-content,
body.sbs-takeover-cart .elementor-menu-cart__container,
body.sbs-takeover-menu #offcanvas,
body.sbs-takeover-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
	display: none !important;
}

/* =====================================================================
   Bold design (Overstock HQ): black, #FFEC00 yellow, heavy uppercase Inter.
   Colours come from the settings; this adds the shapes and typography.
   ===================================================================== */
.sbs-design-bold.sbs-drawer {
	--sbs-surface: rgba(255, 255, 255, .045);
	--sbs-label: color-mix(in srgb, var(--sbs-fg) 55%, transparent);
	-webkit-font-smoothing: antialiased;
	background:
		radial-gradient(520px 260px at 50% -90px, color-mix(in srgb, var(--sbs-accent) 13%, transparent), transparent 70%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 14px),
		var(--sbs-bg);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.sbs-design-bold.sbs-drawer--cart { --sbs-accent: var(--sbs-cart-btn-bg, #ffec00); }
.sbs-design-bold.sbs-drawer--menu { --sbs-accent: var(--sbs-menu-hover, #ffec00); }

.sbs-design-bold .sbs-drawer__header {
	background: transparent;
	border-top: 3px solid var(--sbs-accent);
	min-height: 70px;
}
.sbs-design-bold .sbs-drawer__title {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.sbs-design-bold .sbs-drawer__title .sbs-cart-count {
	min-width: 26px;
	height: 24px;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
}
.sbs-design-bold .sbs-close:hover { background: color-mix(in srgb, var(--sbs-accent) 16%, transparent); color: var(--sbs-accent); }

/* Shipping bar = the yellow-tinted tracking box */
.sbs-design-bold .sbs-shipping {
	background: color-mix(in srgb, var(--sbs-accent) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--sbs-accent) 35%, transparent);
	border-radius: 12px;
}
.sbs-design-bold .sbs-shipping__msg {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.sbs-design-bold .sbs-shipping__msg .sbs-icon {
	box-sizing: content-box;
	padding: 5px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--sbs-accent) 16%, transparent);
	color: var(--sbs-accent);
}
.sbs-design-bold .sbs-shipping__track { background: rgba(255, 255, 255, .1); height: 8px; }

/* Line items as cards */
.sbs-design-bold .sbs-items { display: grid; gap: 10px; padding-top: 12px; }
.sbs-design-bold .sbs-item {
	padding: 12px;
	border: 1px solid var(--sbs-line);
	border-radius: 12px;
	background: var(--sbs-surface);
}
.sbs-design-bold .sbs-item:last-child { border-bottom: 1px solid var(--sbs-line); }
.sbs-design-bold .sbs-item__thumb img { border-radius: 8px; background: #fff; }
.sbs-design-bold .sbs-item__name { font-weight: 800; }
.sbs-design-bold .sbs-item__price { font-weight: 800; }
.sbs-design-bold .sbs-qty { background: rgba(0, 0, 0, .35); }
.sbs-design-bold .sbs-qty__btn:hover { color: var(--sbs-accent); }
.sbs-design-bold .sbs-remove:hover { color: #ff5c5c; background: rgba(255, 92, 92, .12); }

/* Section labels: small, tracked, uppercase */
.sbs-design-bold .sbs-xsell__title,
.sbs-design-bold .sbs-subtotal > span {
	color: var(--sbs-label);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.sbs-design-bold .sbs-xsell__info a { font-weight: 700; }
.sbs-design-bold .sbs-xsell__add:hover { background: var(--sbs-accent); color: #000; border-color: transparent; }

/* Footer: yellow total, heavy uppercase buttons */
.sbs-design-bold .sbs-cart-footer {
	background: color-mix(in srgb, var(--sbs-bg) 92%, transparent);
	backdrop-filter: blur(6px);
}
.sbs-design-bold .sbs-subtotal { align-items: center; }
.sbs-design-bold .sbs-subtotal strong { color: var(--sbs-accent); font-size: 1.35em; font-weight: 900; }
.sbs-design-bold .sbs-btn {
	min-height: 52px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: 15px;
}
.sbs-design-bold .sbs-btn--primary { border: 2px solid var(--sbs-cart-btn-bg, #ffec00); }
.sbs-drawer.sbs-design-bold .sbs-btn--primary:hover { filter: none; background: #000; color: var(--sbs-cart-btn-bg, #ffec00); }
.sbs-design-bold .sbs-btn--secondary,
.sbs-design-bold .sbs-btn--secondary:hover {
	border: 2px solid var(--sbs-cart-btn2-text, #fff);
}
.sbs-design-bold .sbs-btn--secondary:hover { background: var(--sbs-cart-btn2-text, #fff); color: var(--sbs-cart-btn2-bg, #000); filter: none; }
.sbs-design-bold .sbs-btn--primary::after,
.sbs-design-bold .sbs-btn--secondary::after { content: "\00a0\2192"; }
.sbs-design-bold .sbs-continue {
	color: var(--sbs-accent);
	font-weight: 800;
	text-decoration: none;
}
.sbs-design-bold .sbs-continue::before { content: "\2190\00a0"; }
.sbs-design-bold .sbs-continue:hover { color: var(--sbs-accent); text-decoration: underline; }
.sbs-design-bold .sbs-empty > .sbs-icon { color: var(--sbs-accent); opacity: 1; }
.sbs-design-bold .sbs-empty__text p { font-size: 1.05em; color: var(--sbs-fg); font-weight: 600; }

/* Menu */
.sbs-design-bold .sbs-search input[type="search"] {
	height: 50px;
	border-radius: 8px;
	background: #0d0d0d;
	border-color: #333;
	font-size: 15px;
}
.sbs-design-bold .sbs-search > .sbs-icon { top: 25px; color: var(--sbs-accent); opacity: 1; }
.sbs-design-bold .sbs-search__spinner { top: 16px; }
.sbs-design-bold .sbs-search input[type="search"]:focus {
	outline: none;
	border-color: var(--sbs-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sbs-accent) 18%, transparent);
}
.sbs-design-bold .sbs-search input[type="search"]::placeholder { color: color-mix(in srgb, var(--sbs-fg) 45%, transparent); }
.sbs-design-bold .sbs-nav { padding: 6px 0; }
.sbs-design-bold .sbs-nav > li > a { letter-spacing: .04em; }
.sbs-design-bold .sbs-nav > li { transition: background-color .15s; }
.sbs-design-bold .sbs-nav > li:hover { background: rgba(255, 255, 255, .03); }
.sbs-design-bold .sbs-nav > .current-menu-item > a,
.sbs-design-bold .sbs-nav > .current-menu-ancestor > a { box-shadow: inset 3px 0 0 var(--sbs-accent); }
.sbs-design-bold .sbs-nav .sub-menu a { letter-spacing: .02em; font-weight: 500; }
.sbs-design-bold .sbs-sub-toggle { color: var(--sbs-accent); }
.sbs-drawer.sbs-design-bold .sbs-quicklinks a,
.sbs-drawer.sbs-design-bold .sbs-quicklinks button {
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 13px;
}
.sbs-design-bold .sbs-quicklinks .sbs-icon {
	box-sizing: content-box;
	padding: 7px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--sbs-accent) 12%, transparent);
	color: var(--sbs-accent);
}
.sbs-design-bold .sbs-menu-footer {
	margin: 12px 20px 24px;
	padding: 16px;
	border: 1px solid var(--sbs-line);
	border-radius: 12px;
	background: var(--sbs-surface);
	opacity: 1;
	color: color-mix(in srgb, var(--sbs-fg) 75%, transparent);
}
.sbs-design-bold .sbs-menu-footer strong { color: var(--sbs-fg); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

/* Live search dropdown */
.sbs-design-bold .sbs-search__results {
	background: #111;
	border-color: var(--sbs-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
.sbs-design-bold .sbs-sr-item.is-active,
.sbs-design-bold .sbs-sr-item:hover { background: rgba(255, 255, 255, .05); }
.sbs-design-bold .sbs-sr-name { font-weight: 800; }
.sbs-design-bold .sbs-sr-cat { letter-spacing: .1em; opacity: .5; }
.sbs-design-bold .sbs-sr-price { font-weight: 800; }
.sbs-design-bold .sbs-sr-img { background: #fff; }
.sbs-design-bold .sbs-sr-sale { border-radius: 3px; }
.sbs-design-bold .sbs-sr-stock.is-in { color: #3ddc84; }
.sbs-design-bold .sbs-sr-stock.is-low { color: var(--sbs-accent); }
.sbs-design-bold .sbs-sr-stock.is-out { color: #ff5c5c; }
.sbs-design-bold .sbs-sr-add { background: transparent; color: var(--sbs-fg); }
.sbs-design-bold .sbs-sr-add:hover { background: var(--sbs-accent); color: #000; }
.sbs-design-bold .sbs-sr-all {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sbs-accent);
}
.sbs-design-bold .sbs-sr-all::after { content: "\00a0\2192"; }

/* Floating cart button */
.sbs-fab.sbs-design-bold { border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.sbs-fab.sbs-design-bold .sbs-cart-count { background: #000; color: var(--sbs-fab-bg, #ffec00); border: 2px solid var(--sbs-fab-bg, #ffec00); top: -8px; right: -8px; }
.sbs-design-bold .sbs-search input[type="search"]::-webkit-search-cancel-button { filter: grayscale(1) brightness(4); cursor: pointer; }
