/* =============================================================================
   SBH BASE RESET — CSS Specificity Guard
   Menang mutlak (0,1,2) lawan Elementor Kit (0,1,1).
   Tambahkan rule ini SEBELUM semua rule widget di bawah.
   Konvensi: lihat CLAUDE.md section 13.5
   ============================================================================= */

body [class*="sbh-"] button,
body [class*="sbh-"] input[type="button"],
body [class*="sbh-"] input[type="submit"],
body [class*="sbh-"] input[type="reset"] {
	appearance: none;
	-webkit-appearance: none;
	background-color: transparent;
	border: none;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-transform: none;
	box-shadow: none;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   SBH Frontend Shared Styles
   Modal Variasi + Mini Cart Sidebar
   ========================================================================== */

/* ---- Product image widget ---- */
.sbh-product-image {
	display: flex;
	flex-direction: column;
	gap: 12px;
	--sbh-product-image-thumb-size: 72px;
	--sbh-product-image-thumb-gap: 8px;
	--sbh-product-image-strip-size: 312px;
	--sbh-product-image-vertical-height: 312px;
}

.sbh-product-image--vertical {
	flex-direction: row-reverse;
	align-items: flex-start;
}

.sbh-product-image__main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.sbh-product-image__main-link,
.sbh-product-image__main img {
	display: block;
}

.sbh-product-image__main img {
	width: 100%;
	height: auto;
}

.sbh-product-image__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--sbh-product-image-thumb-gap);
	width: min(100%, var(--sbh-product-image-strip-size));
	max-width: 100%;
	background: transparent;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.sbh-product-image--vertical .sbh-product-image__thumbs {
	flex-direction: column;
	flex: 0 0 auto;
	width: var(--sbh-product-image-thumb-size);
	max-width: var(--sbh-product-image-thumb-size);
	height: var(--sbh-product-image-vertical-height);
	max-height: var(--sbh-product-image-vertical-height);
	overflow-x: hidden;
	overflow-y: auto;
}

.sbh-product-image .sbh-product-image__thumb {
	appearance: none;
	display: block;
	flex: 0 0 auto;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	cursor: pointer;
	line-height: 0;
	outline: 0;
}

.sbh-product-image .sbh-product-image__thumb:hover,
.sbh-product-image .sbh-product-image__thumb:focus,
.sbh-product-image .sbh-product-image__thumb:active {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0;
}

.sbh-product-image__thumb img {
	box-sizing: border-box;
	display: block;
	width: var(--sbh-product-image-thumb-size);
	height: var(--sbh-product-image-thumb-size);
	object-fit: cover;
	transition: border-color 0.15s ease, border-radius 0.15s ease;
}

.sbh-product-image__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 8px 14px;
	background: #ee1c25;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
}

.sbh-product-image__badge-f,
.sbh-product-image__badge-rest {
	display: inline-block;
}

.sbh-product-image__badge-icon {
	display: block;
	flex: 0 0 auto;
	width: 0.72em;
	height: 1.18em;
	margin: -0.04em 0.08em 0;
}

.sbh-product-image__lightbox-links {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ---- Product grid widget ---- */
.sbh-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 20px;
}

.sbh-product-grid__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
}

.sbh-product-grid__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sbh-product-grid__link:hover,
.sbh-product-grid__link:focus {
	color: inherit;
	text-decoration: none;
}

.sbh-product-grid__content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.sbh-product-grid__name-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sbh-product-grid__name-link:hover,
.sbh-product-grid__name-link:focus {
	color: inherit;
	text-decoration: none;
}

.sbh-product-grid__image {
	position: relative;
	aspect-ratio: 1 / 1;
}

.sbh-product-grid__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-product-grid__discount-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-height: 32px;
	padding: 7px 10px;
	background: #ff4568;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.sbh-product-grid__discount-badge--ribbon {
	top: 16px;
	left: -5px;
	border-radius: 8px 8px 8px 0;
}

.sbh-product-grid__discount-badge--ribbon::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 5px;
	height: 5px;
	background: inherit;
	filter: brightness(0.72);
	border-radius: 0 0 0 5px;
}

.sbh-product-grid__discount-badge--pill {
	border-radius: 999px;
}

.sbh-product-grid__discount-icon {
	display: block;
	flex: 0 0 auto;
	width: 0.62em;
	height: 1.08em;
	margin-top: -0.03em;
}

.sbh-product-grid__discount-text {
	display: inline-block;
}

.sbh-product-grid__name {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #111;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sbh-product-grid__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	min-height: 18px;
	font-size: 13px;
	line-height: 1.35;
	color: #777;
}

.sbh-product-grid__rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	line-height: 1;
}

.sbh-product-grid__star {
	--sbh-star-filled: #FBBF24;
	--sbh-star-empty: #E0E0E0;
	--sbh-star-pct: 100%;
	display: inline-block;
	line-height: 1;
}

.sbh-product-grid__star-icon {
	display: inline-block;
	font-size: 1.1em;
	line-height: 1;
	background: linear-gradient(
		to right,
		var(--sbh-star-filled) var(--sbh-star-pct),
		var(--sbh-star-empty) var(--sbh-star-pct)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.sbh-product-grid__rating-value {
	font-size: 1em;
	line-height: 1;
	color: inherit;
}

.sbh-product-grid__meta-separator {
	color: #b7b7b7;
	white-space: pre;
}

.sbh-product-grid__sold-count {
	color: #777;
	white-space: nowrap;
}

.sbh-product-grid__price {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #111;
}

.sbh-product-grid__price del {
	opacity: 0.6;
}

.sbh-product-grid__price ins {
	text-decoration: none;
}

.sbh-product-grid__card .sbh-product-grid__atc-btn {
	appearance: none;
	width: 100%;
	margin: 0;
	margin-top: auto;
	padding: 10px 14px;
	border: 0;
	border-radius: 6px;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.sbh-product-grid__card .sbh-product-grid__atc-btn:hover,
.sbh-product-grid__card .sbh-product-grid__atc-btn:focus {
	background: #333;
	color: #fff;
}

.sbh-product-grid__card .sbh-product-grid__atc-btn:disabled {
	cursor: wait;
	opacity: 0.7;
}

.sbh-product-grid__placeholder {
	padding: 14px 16px;
	border: 1px dashed #c7c7c7;
	background: #fafafa;
	color: #555;
	font-size: 13px;
	line-height: 1.4;
}

/* ---- Category showcase widget ---- */
.sbh-category-showcase {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 20px;
}

.sbh-category-showcase--marquee {
	display: block;
	overflow: hidden;
}

.sbh-category-showcase__track {
	display: flex;
	width: max-content;
	gap: 12px;
	animation: sbh-marquee-scroll var(--sbh-marquee-duration, 30s) linear infinite;
	will-change: transform;
}

.sbh-category-showcase--marquee[data-direction="right"] .sbh-category-showcase__track {
	animation-direction: reverse;
}

.sbh-category-showcase--marquee[data-pause-hover="yes"]:hover .sbh-category-showcase__track {
	animation-play-state: paused;
}

.sbh-category-showcase--no-animate .sbh-category-showcase__track {
	animation: none;
}

.sbh-category-showcase--marquee .sbh-category-showcase__card {
	flex: 0 0 var(--sbh-category-marquee-card-width, 280px);
	width: var(--sbh-category-marquee-card-width, 280px);
}

@keyframes sbh-marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.sbh-category-showcase__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.sbh-category-showcase__card:hover,
.sbh-category-showcase__card:focus {
	color: inherit;
	text-decoration: none;
}

.sbh-category-showcase__image {
	position: relative;
	display: block;
	flex-shrink: 0;
	aspect-ratio: 1 / 1;
	background: #f5f5f5;
	overflow: hidden;
}

.sbh-category-showcase__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-category-showcase__badge {
	position: absolute;
	top: 16px;
	left: -5px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 7px 10px;
	border-radius: 8px 8px 8px 0;
	background: #ff4568;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.sbh-category-showcase__badge::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 0 0 0 5px;
	background: inherit;
	filter: brightness(0.72);
}

.sbh-category-showcase__content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	gap: 4px;
}

.sbh-category-showcase__name {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #111;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sbh-category-showcase__count {
	font-size: 13px;
	line-height: 1.35;
	color: #777;
}

.sbh-category-showcase__product-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0;
	justify-content: center;
}

.sbh-category-showcase__product-meta-separator {
	margin: 0 0.35em;
}

.sbh-category-showcase__sold,
.sbh-category-showcase__reviews {
	font-size: 13px;
	line-height: 1.35;
	color: #777;
}

.sbh-category-showcase__placeholder {
	padding: 14px 16px;
	border: 1px dashed #c7c7c7;
	background: #fafafa;
	color: #555;
	font-size: 13px;
	line-height: 1.4;
}

/* ---- Reset / Base ---- */
.sbh-modal *,
.sbh-mini-cart * {
	box-sizing: border-box;
}

/* ---- Modal overlay + dialog ---- */
.sbh-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

@media (min-width: 600px) {
	.sbh-modal {
		align-items: center;
	}
}

.sbh-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.sbh-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 16px 16px 0 0;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 24px 20px 20px; 
	z-index: 1;
}

@media (min-width: 600px) {
	.sbh-modal__dialog {
		border-radius: 16px;
		max-height: 85vh;
	}
}

.sbh-modal .sbh-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	color: #555;
	padding: 4px;
}

.sbh-modal__header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
	padding-right: 32px;
}

.sbh-modal__product-thumb {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
}

.sbh-modal__product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-modal__product-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: #111;
}

.sbh-modal__attr-label {
	font-size: 13px;
	font-weight: 600;
	color: #e84c3d;
	margin-bottom: 10px;
}

/* ---- Variation grid ---- */
.sbh-modal__variations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.sbh-modal .sbh-variation-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	padding: 2px 6px;
	border-radius: 8px;
	border: 2px solid transparent;
	transition: border-color 0.15s;
}

.sbh-modal .sbh-variation-item:hover {
	border-color: #ccc;
}

.sbh-modal .sbh-variation-item.is-selected {
	border-color: #111;
}

.sbh-modal .sbh-variation-item.is-out-of-stock {
	opacity: 0.45;
	cursor: not-allowed;
}

/* ---- Modal layout: slider ---- */
.sbh-modal--slider .sbh-modal__variations-grid {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #ddd transparent;
	gap: 0;
	padding-bottom: 10px;
	/* Extra right padding creates scrollable buffer so the last item
	   doesn't flush against the edge when fully scrolled. */
	padding-right: 20px;
	scroll-snap-type: x proximity;
}

.sbh-modal--slider .sbh-modal__variations-grid::-webkit-scrollbar {
	height: 4px;
}

.sbh-modal--slider .sbh-modal__variations-grid::-webkit-scrollbar-track {
	background: transparent;
}

.sbh-modal--slider .sbh-modal__variations-grid::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 2px;
}

.sbh-modal--slider .sbh-variation-item {
	flex-shrink: 0;
	/* 72px (down from 80px) ensures a partial peek of the next item
	   is always visible at the initial scroll position on both mobile
	   (~335px body → ~40px peek) and desktop (~440px body → ~40px peek). */
	width: 80px;
	scroll-snap-align: start;
}

.sbh-variation-item__thumb {
	width: 72px;
	height: auto;
	border-radius: 6px;
	overflow: hidden;
	background: #f5f5f5;
}

.sbh-variation-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-variation-item__name {
	font-size: 11px;
	text-align: center;
	color: #333;
	line-height: 1.3;
}

/* Variation notice (Please select…) */
.sbh-modal__variation-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff5f5;
	border-left: 3px solid #e84c3d;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	color: #c0392b;
	margin-bottom: 12px;
}

/* ---- Modal footer: qty + atc button ---- */
.sbh-modal__footer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
}

.sbh-modal__qty {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.sbh-modal .sbh-qty-btn,
.sbh-mini-cart .sbh-qty-btn {
	background: none;
	border: none;
	width: 36px;
	height: 40px;
	font-size: 18px;
	cursor: pointer;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sbh-modal .sbh-qty-btn:hover,
.sbh-mini-cart .sbh-qty-btn:hover {
	background: #f5f5f5;
}

.sbh-qty-input {
	width: 40px;
	border: none;
	text-align: center;
	font-size: 14px;
	-moz-appearance: textfield;
}

.sbh-qty-input::-webkit-inner-spin-button,
.sbh-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.sbh-modal .sbh-modal__atc-btn {
	flex: 1;
	height: 44px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, opacity 0.15s;
}

.sbh-modal .sbh-modal__atc-btn:hover:not(:disabled) {
	background: #333;
}

.sbh-modal .sbh-modal__atc-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* ---- Mini cart sidebar ---- */
.sbh-mini-cart {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	justify-content: flex-end;
}

.sbh-mini-cart__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
}

.sbh-mini-cart__panel {
	position: relative;
	background: #fff;
	width: 360px;
	max-width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	z-index: 1;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.sbh-mini-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px 16px;
	border-bottom: 1px solid #f0f0f0;
	flex-shrink: 0;
}

.sbh-mini-cart__title {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: #111;
}

.sbh-mini-cart .sbh-mini-cart__close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
	color: #555;
	padding: 4px;
	line-height: 1;
}

.sbh-mini-cart__body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 20px;
}

.sbh-mini-cart__empty {
	color: #888;
	font-size: 14px;
	text-align: center;
	padding: 32px 0;
}

/* ---- Mini cart items ---- */
.sbh-mini-cart__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sbh-mini-cart__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	position: relative;
}

.sbh-mini-cart__item-thumb {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
}

.sbh-mini-cart__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-mini-cart__item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sbh-mini-cart__item-name {
	font-size: 13px;
	font-weight: 500;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.sbh-mini-cart__item-variation {
	font-size: 11px;
	color: #888;
	display: block;
}

.sbh-mini-cart__item-qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}

.sbh-mini-cart__item-qty {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
}

.sbh-mini-cart__item-qty .sbh-qty-btn {
	width: 28px;
	height: 28px;
	font-size: 16px;
}

.sbh-item-qty-val {
	width: 28px;
	text-align: center;
	font-size: 13px;
}

.sbh-mini-cart__item-price {
	font-size: 13px;
	font-weight: 600;
	color: #111;
}

.sbh-mini-cart .sbh-mini-cart__item-remove {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: none;
	font-size: 12px;
	color: #aaa;
	cursor: pointer;
	padding: 2px;
	line-height: 1;
}

.sbh-mini-cart .sbh-mini-cart__item-remove:hover {
	color: #e84c3d;
}

/* ---- Mini cart coupon ---- */
.sbh-mini-cart__coupon {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.sbh-coupon-input {
	flex: 1;
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 0 10px;
	font-size: 13px;
	outline: none;
}

.sbh-coupon-input:focus {
	border-color: #999;
}

.sbh-mini-cart .sbh-coupon-btn {
	height: 38px;
	padding: 0 14px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
}

.sbh-mini-cart .sbh-coupon-btn:hover {
	background: #e8e8e8;
}

.sbh-mini-cart .sbh-coupon-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.sbh-coupon-notice {
	font-size: 12px;
	color: #c0392b;
	margin-bottom: 8px;
}

.sbh-mini-cart__coupons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.sbh-coupon-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #eafaf1;
	border: 1px solid #a9dfbf;
	color: #1e8449;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 12px;
}

.sbh-mini-cart .sbh-coupon-remove {
	background: none;
	border: none;
	cursor: pointer;
	color: #888;
	font-size: 10px;
	padding: 0;
	line-height: 1;
}

.sbh-mini-cart .sbh-coupon-remove:hover {
	color: #c0392b;
}

/* ---- Mini cart footer ---- */
.sbh-mini-cart__footer {
	padding: 16px 20px 20px;
	border-top: 1px solid #f0f0f0;
	flex-shrink: 0;
}

.sbh-mini-cart__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	font-weight: 600;
	color: #111;
	margin-bottom: 12px;
}

.sbh-mini-cart__checkout-btn {
	display: block;
	width: 100%;
	padding: 14px;
	background: #111;
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.15s;
}

.sbh-mini-cart__checkout-btn:hover {
	background: #333;
	color: #fff;
}

/* ---- Widget: SBH Add to Cart button ---- */
.sbh-atc-wrap {
	display: block;
}

.sbh-atc-wrap .sbh-atc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	width: 100%;
}

.sbh-atc-wrap .sbh-atc-btn:hover {
	background: #333;
}

.sbh-atc-wrap .sbh-atc-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ---- Widget: SBH Variant List (inline) ---- */
.sbh-variant-list {
	margin: 12px 0;
	border: 1px solid #ebebeb;
	border-radius: 10px;
	overflow: hidden;
}

.sbh-variant-list__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
}

.sbh-variant-list__item:last-child {
	border-bottom: none;
}

.sbh-variant-list__thumb {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	background: #f5f5f5;
}

.sbh-variant-list__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sbh-variant-list__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sbh-variant-list__name {
	font-size: 13px;
	font-weight: 500;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sbh-variant-list__price {
	font-size: 13px;
	color: #444;
}

.sbh-variant-list .sbh-variant-buy-btn {
	flex-shrink: 0;
	padding: 6px 16px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s;
	white-space: nowrap;
}

.sbh-variant-list .sbh-variant-buy-btn:hover {
	background: #333;
}

.sbh-variant-list .sbh-variant-buy-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.sbh-variant-list__stock {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: -0.5px;
	color: #27ae60;
	white-space: nowrap;
}

.sbh-variant-list__sold-out,
.sbh-variant-list__unavailable {
	flex-shrink: 0;
	font-size: 12px;
	color: #999;
	white-space: nowrap;
}

.sbh-variant-list__sold-out {
	color: #c0392b;
}

/* ---- Modal attr2 (size chips) section ---- */
.sbh-modal__attr2-section {
	margin-top: 4px;
	margin-bottom: 16px;
}

.sbh-modal__attr2-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.sbh-modal .sbh-modal-attr2-chip {
	padding: 5px 14px;
	border: 1px solid #ddd;
	border-radius: 20px;
	background: #fff;
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	line-height: 1.4;
}

.sbh-modal .sbh-modal-attr2-chip:hover:not(:disabled):not(.is-selected) {
	border-color: #999;
}

.sbh-modal .sbh-modal-attr2-chip.is-selected {
	border-color: #111;
	background: #111;
	color: #fff;
}

.sbh-modal .sbh-modal-attr2-chip.is-out-of-stock {
	color: #bbb;
	text-decoration: line-through;
}

.sbh-modal .sbh-modal-attr2-chip.is-unavailable {
	opacity: 0.35;
	cursor: not-allowed;
}

/* ---- Variant list multi-attr row: 4-column grid for consistent alignment ---- */
.sbh-variant-list__item--multi {
	display: grid;
	grid-template-columns: 48px 110px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
}

/* Transparan terhadap grid desktop; menjadi kolom kanan di mobile. */
.sbh-variant-list__content {
	display: contents;
}

/* Inside the grid, info column no longer expands with flex:1 */
.sbh-variant-list__item--multi .sbh-variant-list__info {
	flex: unset;
	min-width: 0;
	overflow: hidden;
}

/* Chips column: own grid cell, wraps if many sizes */
.sbh-variant-list__attr2 {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-content: center;
}

/* Action column: stock + beli button, centred vertically and horizontally */
.sbh-variant-list__action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.sbh-variant-list .sbh-attr2-chip {
	padding: 3px 10px;
	border: 1px solid #ddd;
	border-radius: 14px;
	background: #fff;
	font-size: 12px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	line-height: 1.4;
}

.sbh-variant-list .sbh-attr2-chip:hover:not(:disabled):not(.is-selected) {
	border-color: #999;
}

.sbh-variant-list .sbh-attr2-chip.is-selected {
	border-color: #111;
	background: #111;
	color: #fff;
}

.sbh-variant-list .sbh-attr2-chip.is-out-of-stock {
	color: #bbb;
	text-decoration: line-through;
}

.sbh-variant-list .sbh-attr2-chip.is-unavailable {
	opacity: 0.35;
	cursor: not-allowed;
}

.sbh-variant-list .sbh-attr2-chip:disabled {
	cursor: not-allowed;
}

@media (max-width: 479px) {
	.sbh-variant-list__item--multi {
		grid-template-columns: 72px minmax( 0, 1fr );
		align-items: start;
		gap: 12px;
	}

	.sbh-variant-list__item--multi .sbh-variant-list__thumb {
		width: 72px;
		height: 72px;
	}

	.sbh-variant-list__content {
		display: flex;
		flex-direction: column;
		gap: 8px;
		min-width: 0;
	}

	.sbh-variant-list__item--multi .sbh-variant-list__info {
		gap: 3px;
	}

	.sbh-variant-list__attr2 {
		flex-wrap: wrap;
		gap: 5px;
	}

	.sbh-variant-list .sbh-attr2-chip {
		padding: 2px 8px;
		font-size: 11px;
	}

	.sbh-variant-list__action {
		align-items: stretch;
		flex-direction: row;
		justify-content: space-between;
		padding-top: 12px;
		margin-top: 6px;
		border-top: 1px solid #f0f0f0;
	}

	.sbh-variant-list__action .sbh-variant-list__stock {
		align-self: center;
	}

	.sbh-variant-list__action .sbh-variant-buy-btn {
		width: fit-content;
	}

	.sbh-atc-btn.sbh-atc-sticky {
		position: fixed;
		bottom: var( --sbh-atc-sticky-bottom, 0px );
		left: var( --sbh-atc-sticky-side, 0px );
		right: var( --sbh-atc-sticky-side, 0px );
		z-index: 200;
		width: auto;
		box-sizing: border-box;
	}

	.sbh-atc-placeholder {
		display: block;
	}
}

/* ---- Widget: SBH Product Hotspot ---- */
.sbh-hotspot {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.sbh-hotspot__image {
	display: block;
	width: 100%;
	height: auto;
}

.sbh-hotspot__placeholder {
	padding: 40px 20px;
	background: #f5f5f5;
	text-align: center;
	border: 2px dashed #ccc;
	color: #999;
	font-size: 14px;
	line-height: 1.5;
}

.sbh-hotspot__dot {
	position: absolute;
	transform: translate( -50%, -50% );
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	--sbh-dot-pulse-color:    #fff;
	--sbh-dot-ring-color:     rgba( 255, 255, 255, 0.5 );
	--sbh-dot-pulse-duration: 1.5s;
}

.sbh-hotspot__dot-inner {
	position: relative;
	z-index: 2;
	width: 14px;
	height: 14px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba( 0, 0, 0, 0.25 );
}

.sbh-hotspot__dot-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var( --sbh-dot-ring-color );
	animation: sbh-dot-pulse var( --sbh-dot-pulse-duration ) ease-out infinite;
	pointer-events: none;
	z-index: 1;
}

@keyframes sbh-dot-pulse {
	0% {
		transform: translate( -50%, -50% ) scale( 1 );
		opacity: 0.8;
	}
	100% {
		transform: translate( -50%, -50% ) scale( 2.8 );
		opacity: 0;
	}
}

.sbh-hotspot-card {
	position: fixed;
	z-index: 99990;
	box-sizing: border-box;
	width: min( 280px, calc( 100vw - 24px ) );
	padding: 14px;
	background-color: var( --sbh-hotspot-card-bg, #fff );
	--sbh-hotspot-card-image-size: 220px;
	color: inherit;
	line-height: 1.4;
	box-shadow: var( --sbh-hotspot-card-shadow, 0 12px 30px rgba( 0, 0, 0, 0.16 ) );
}

.sbh-hotspot-card.is-active {
	display: block;
}

.sbh-hotspot-card .sbh-hotspot-card__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	line-height: 1;
}

.sbh-hotspot-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 6px 10px;
	background: #ee1c25;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
}

.sbh-hotspot-card__badge-icon {
	display: block;
	flex: 0 0 auto;
	width: 0.72em;
	height: 1.18em;
	margin: -0.04em 0.08em 0;
}

.sbh-hotspot-card__product {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sbh-hotspot-card--image-bottom .sbh-hotspot-card__product {
	flex-direction: column-reverse;
}

.sbh-hotspot-card--image-left .sbh-hotspot-card__product {
	flex-direction: row;
	align-items: flex-start;
}

.sbh-hotspot-card__media {
	flex: 0 0 auto;
	width: min( 100%, var( --sbh-hotspot-card-image-size ) );
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: rgba( 0, 0, 0, 0.04 );
}

.sbh-hotspot-card--image-left .sbh-hotspot-card__media {
	width: min( 42%, var( --sbh-hotspot-card-image-size ) );
}

.sbh-hotspot-card__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-hotspot-card__name-link,
.sbh-hotspot-card__name-link:hover {
	color: inherit;
	text-decoration: none;
}

.sbh-hotspot-card__name-link.is-disabled {
	pointer-events: none;
}

.sbh-hotspot-card__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.sbh-hotspot-card__name {
	margin: 0;
	font-weight: 600;
	line-height: 1.35;
}

.sbh-hotspot-card__price {
	display: block;
	line-height: 1.35;
}

.sbh-hotspot-card__price del {
	opacity: 0.7;
}

.sbh-hotspot-card__price ins {
	text-decoration: none;
}

.sbh-hotspot-card .sbh-hotspot-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	padding: 9px 12px;
	border: 0 solid transparent;
	background-color: var( --sbh-hotspot-card-btn-bg, #111 );
	color: var( --sbh-hotspot-card-btn-color, #fff );
	cursor: pointer;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sbh-hotspot-card .sbh-hotspot-card__btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

/* ---- Widget: SBH Mini Cart trigger ---- */
.sbh-mini-cart-wrap {
	display: inline-flex;
}

.sbh-mini-cart-wrap .sbh-mini-cart-trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: inherit;
	line-height: 1;
}

.sbh-mini-cart-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.sbh-mini-cart-icon svg {
	display: block;
	width: 28px;
	height: 28px;
}

.sbh-mini-cart-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 20px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e84c3d;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	border-radius: 50%;
	pointer-events: none;
}

/* ---- Utility: loading state ---- */
.sbh-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* ==========================================================================
   SBH Product Listing — Layout & Filter Sidebar
   ========================================================================== */

.sbh-product-listing {
	display: block;
}

.sbh-product-listing__body {
	display: block;
}

.sbh-product-listing--has-sidebar .sbh-product-listing__body {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	align-items: start;
}

.sbh-product-listing__sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sbh-product-listing__trigger-row {
	display: none;
	align-items: stretch;
	gap: 8px;
	width: 260px;
	margin-bottom: 24px;
}

.sbh-product-listing--has-search .sbh-product-listing__trigger-row {
	display: flex;
}

.sbh-product-listing__search {
	flex: 1 1 70%;
	min-width: 0;
}

.sbh-product-listing__search-input {
	margin-bottom: 0 !important;
}

.sbh-product-listing__main {
	position: relative;
	min-width: 0;
}

.sbh-product-listing__search-input,
.sbh-product-listing__toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 16px;
}

/* Custom sort dropdown (desktop toolbar) */
.sbh-product-listing__sort-dropdown {
	position: relative;
	flex-shrink: 0;
}

.sbh-product-listing .sbh-product-listing__sort-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	padding: 4px;
}

.sbh-product-listing .sbh-product-listing__sort-btn:hover,
.sbh-product-listing .sbh-product-listing__sort-btn[aria-expanded="true"] {
	background: #f5f5f5;
	border-color: #aaa;
}

.sbh-product-listing .sbh-product-listing__sort-btn svg {
	width: 18px;
	height: 18px;
}

.sbh-product-listing__sort-panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 500;
	min-width: 210px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.sbh-product-listing .sbh-product-listing__sort-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px 16px;
	border: 0;
	background: transparent;
	color: #333;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
	transition: background 0.1s;
}

.sbh-product-listing .sbh-product-listing__sort-item:hover,
.sbh-product-listing .sbh-product-listing__sort-item:focus {
	background: #f5f5f5;
	outline: none;
}

.sbh-product-listing__sort-item-check {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	opacity: 0;
}

.sbh-product-listing .sbh-product-listing__sort-item.is-active {
	font-weight: 600;
	color: #111;
}

.sbh-product-listing .sbh-product-listing__sort-item.is-active .sbh-product-listing__sort-item-check {
	opacity: 1;
}

.sbh-product-listing .sbh-product-listing__trigger-action {
	display: none;
	flex: 0 1 15%;
	min-width: 58px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 3px;
	padding: 6px 4px;
	border: 0;
	background: transparent;
	color: #222;
	font: inherit;
	font-size: 11px;
	line-height: 1.2;
	cursor: pointer;
}

.sbh-product-listing .sbh-product-listing__trigger-action:disabled {
	opacity: 0.55;
	cursor: default;
}

.sbh-product-listing .sbh-product-listing__trigger-action svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sbh-product-listing .sbh-product-listing__trigger-row--no-search .sbh-product-listing__trigger-action {
	flex-grow: 1;
}

.sbh-product-listing .sbh-product-listing__sort-sheet {
	position: fixed;
	inset: 0;
	z-index: 99999;
	visibility: hidden;
	pointer-events: none;
}

.sbh-product-listing .sbh-product-listing__sort-sheet.is-open {
	visibility: visible;
	pointer-events: auto;
}

.sbh-product-listing .sbh-product-listing__sheet-backdrop {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background-color: rgba(0, 0, 0, 0.42);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.sbh-product-listing .sbh-product-listing__sort-sheet.is-open .sbh-product-listing__sheet-backdrop {
	opacity: 1;
}

.sbh-product-listing .sbh-product-listing__sheet-panel {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: min(55vh, 480px);
	max-height: calc(100vh - 72px);
	overflow: auto;
	border: 1px solid #e5e5e5;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	background: #fff;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
	color: #222;
	transform: translateY(100%);
	transition: transform 0.25s ease;
}

.sbh-product-listing .sbh-product-listing__sort-sheet.is-open .sbh-product-listing__sheet-panel {
	transform: translateY(0);
}

.sbh-product-listing__sheet-header {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
}

.sbh-product-listing__sheet-header h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.4;
}

.sbh-product-listing .sbh-product-listing__sheet-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
}

.sbh-product-listing .sbh-product-listing__sheet-close svg {
	width: 22px;
	height: 22px;
}

.sbh-product-listing__sort-options {
	padding: 4px 18px 18px;
}

.sbh-product-listing .sbh-product-listing__sort-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 13px 0;
	border: 0;
	border-bottom: 1px solid #eeeeee;
	background: transparent;
	color: #222;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.sbh-product-listing__sort-check {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
}

.sbh-product-listing .sbh-product-listing__sort-option.is-active {
	font-weight: 600;
}

.sbh-product-listing .sbh-product-listing__sort-option.is-active .sbh-product-listing__sort-check {
	opacity: 1;
}

body.sbh-listing-sheet-open {
	overflow: hidden;
}

/* Filter Sheet — taller panel with scrollable body + sticky footer */
.sbh-product-listing .sbh-product-listing__filter-sheet {
	position: fixed;
	inset: 0;
	z-index: 99999;
	visibility: hidden;
	pointer-events: none;
}

.sbh-product-listing .sbh-product-listing__filter-sheet.is-open {
	visibility: visible;
	pointer-events: auto;
}

.sbh-product-listing .sbh-product-listing__filter-sheet .sbh-product-listing__sheet-backdrop {
	opacity: 0;
	transition: opacity 0.22s ease;
}

.sbh-product-listing .sbh-product-listing__filter-sheet.is-open .sbh-product-listing__sheet-backdrop {
	opacity: 1;
}

.sbh-product-listing .sbh-product-listing__filter-sheet .sbh-product-listing__sheet-panel {
	display: flex;
	flex-direction: column;
	height: min(80vh, 640px);
	max-height: calc(100vh - 48px);
	overflow: hidden;
	transform: translateY(100%);
	transition: transform 0.25s ease;
}

.sbh-product-listing .sbh-product-listing__filter-sheet.is-open .sbh-product-listing__sheet-panel {
	transform: translateY(0);
}

/* Scrollable facet body */
.sbh-product-listing__filter-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 4px 18px 12px;
	-webkit-overflow-scrolling: touch;
}

.sbh-product-listing__filter-body .sbh-filter-group {
	padding: 14px 0;
}

.sbh-product-listing__filter-body .sbh-filter-divider {
	margin: 0;
}

/* Sticky footer */
.sbh-product-listing__filter-footer {
	flex-shrink: 0;
	display: flex;
	gap: 12px;
	padding: 14px 18px;
	border-top: 1px solid #e5e5e5;
	background: #fff;
}

.sbh-product-listing .sbh-product-listing__filter-footer button {
	flex: 1 1 0;
	padding: 12px 16px;
	border-radius: 6px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.sbh-product-listing .sbh-product-listing__filter-footer button:hover {
	opacity: 0.85;
}

.sbh-product-listing .sbh-product-listing__filter-sheet-reset {
	border: 1.5px solid #bbb;
	background: transparent;
	color: #333;
}

.sbh-product-listing .sbh-product-listing__filter-sheet-apply {
	border: 0;
	background: #222;
	color: #fff;
}

/* ── Sidebar search (BAGIAN B: visually merged in sidebar) ── */
.sbh-product-listing__sidebar-search {
	margin-bottom: 16px;
}

.sbh-product-listing__sidebar-search .sbh-product-listing__search-input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	font-size: 14px;
	background: #fafafa;
	box-sizing: border-box;
}

.sbh-product-listing__sidebar-search .sbh-product-listing__search-input:focus {
	outline: 2px solid #222;
	outline-offset: -1px;
	background: #fff;
}

/* ── Split Category tab row (BAGIAN A) ── */
.sbh-product-listing__category-tabs {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 6px;
	padding-bottom: 4px;
	flex: 1 1 auto;
	scrollbar-width: none;
}

.sbh-product-listing__category-tabs::-webkit-scrollbar {
	display: none;
}

.sbh-product-listing .sbh-product-listing__cat-tab {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	padding: 6px 14px;
	border: 1px solid #e5e5e5;
	border-radius: 20px;
	background: #fff;
	color: #333;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sbh-product-listing .sbh-product-listing__cat-tab:hover {
	border-color: #aaa;
}

.sbh-product-listing .sbh-product-listing__cat-tab.is-active {
	background: #222;
	border-color: #222;
	color: #fff;
}

.sbh-product-listing__cat-tab-count {
	font-size: 11px;
	opacity: 0.75;
}

/* ── Empty state (BAGIAN C) ── */
.sbh-product-listing__empty {
	padding: 48px 24px;
	text-align: center;
}

.sbh-product-listing__empty-message {
	margin: 0 0 16px;
	color: #666;
	font-size: 15px;
}

.sbh-product-listing .sbh-product-listing__empty-reset {
	display: inline-block;
	padding: 10px 24px;
	border: 1.5px solid #222;
	border-radius: 6px;
	background: transparent;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.sbh-product-listing .sbh-product-listing__empty-reset:hover {
	background: #222;
	color: #fff;
}

.sbh-product-listing__loading {
	position: absolute;
	top: 12px;
	left: 50%;
	z-index: 5;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border: 3px solid rgba(17, 17, 17, 0.18);
	border-top-color: #111;
	border-radius: 50%;
	animation: sbh-product-listing-spin 0.7s linear infinite;
}

.sbh-product-listing.is-loading .sbh-product-grid {
	opacity: 0.45;
	pointer-events: none;
}

.sbh-product-listing__sentinel {
	width: 100%;
	height: 1px;
}

.sbh-product-listing__load-more {
	display: block;
	min-width: 140px;
	margin: 24px auto 0;
	padding: 10px 18px;
	cursor: pointer;
}

.sbh-product-listing__load-more:disabled {
	cursor: wait;
	opacity: 0.6;
}

.sbh-product-listing__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.sbh-product-listing__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 7px 12px;
	cursor: pointer;
}

.sbh-product-listing__page.is-current,
.sbh-product-listing__page:disabled {
	cursor: default;
	opacity: 0.55;
}

.sbh-product-listing__ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
}

@keyframes sbh-product-listing-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---- Filter Group ---- */

.sbh-filter-group__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sbh-filter-group__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ---- Checkbox & Radio ---- */

.sbh-filter-checkbox,
.sbh-filter-radio {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
}

.sbh-filter-checkbox input,
.sbh-filter-radio input {
	flex-shrink: 0;
	cursor: pointer;
}

.sbh-filter-checkbox__count {
	color: #888;
	font-size: 12px;
}

/* ---- Color Swatches ---- */

.sbh-filter-group__list--swatches {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
}

.sbh-filter-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	font-size: 11px;
	text-align: center;
}

.sbh-filter-swatch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.sbh-filter-swatch__bullet {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid transparent;
	box-shadow: 0 0 0 1px #ccc;
	transition: box-shadow 0.15s, border-color 0.15s;
}

.sbh-filter-swatch input:checked + .sbh-filter-swatch__bullet {
	border-color: #222;
	box-shadow: 0 0 0 2px #222;
}

.sbh-filter-swatch__label {
	color: #555;
}

/* ---- Size Chips ---- */

.sbh-filter-group__list--chips {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.sbh-filter-chip {
	display: inline-flex;
	cursor: pointer;
}

.sbh-filter-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.sbh-filter-chip__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sbh-filter-chip input:checked + .sbh-filter-chip__label {
	background: #222;
	border-color: #222;
	color: #fff;
}

/* ==========================================================================
   SBH Product Listing — Filter Sidebar Style Tab extras
   ========================================================================== */

/* Override sidebar default: grid uses auto so Elementor width control governs */
.sbh-product-listing--has-sidebar .sbh-product-listing__body {
	grid-template-columns: auto 1fr;
}

.sbh-product-listing__sidebar {
	width: 260px;
}

/* ---- Divider between filter groups ---- */

.sbh-filter-divider {
	height: 1px;
	background-color: #e8e8e8;
	flex-shrink: 0;
}

/* ---- Filter Group title flex layout (for chevron) ---- */

.sbh-filter-group__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sbh-filter-group__chevron {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

/* ---- Collapsible behavior ---- */

.sbh-product-listing__sidebar[data-sbh-collapsible] .sbh-filter-group__title {
	cursor: pointer;
	user-select: none;
}

.sbh-filter-group .sbh-filter-group__list {
	max-height: 2000px;
	transition: max-height 0.25s ease, opacity 0.2s ease;
	opacity: 1;
}

.sbh-filter-group.is-collapsed .sbh-filter-group__list {
	max-height: 0;
	opacity: 0;
}

.sbh-filter-group.is-collapsed .sbh-filter-group__chevron {
	transform: rotate(-90deg);
}

/* ---- Color Swatch Tooltip ---- */

.sbh-filter-swatch__bullet {
	position: relative;
}

.sbh-filter-swatch__tooltip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	color: #fff;
	font-size: 11px;
	line-height: 1.3;
	padding: 3px 7px;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, visibility 0.15s ease;
	z-index: 10;
}

.sbh-filter-swatch__tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #333;
}

.sbh-filter-swatch:hover .sbh-filter-swatch__tooltip {
	opacity: 1;
	visibility: visible;
}

/* ==========================================================================
   SBH My Account
   ========================================================================== */

.sbh-my-account-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.sbh-my-account-nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-shrink: 0;
	min-width: 180px;
}

.sbh-my-account-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.sbh-my-account-nav__list .sbh-my-account-nav__item a,
.sbh-my-account-nav__logout a {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

/* Icon: hidden by default, Elementor SWITCHER control override ke inline-flex saat ON */
.sbh-my-account-nav__icon {
	display: none;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.sbh-my-account-nav__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.sbh-my-account-nav__logout {
	margin-top: auto;
}

.sbh-my-account-content {
	flex: 1 1 0;
	min-width: 0;
}

/* Switcher Orders / Wishlist */
.sbh-my-account-switcher__tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 16px;
}

.sbh-my-account-switcher .sbh-my-account-switcher__tab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 8px 16px;
	cursor: pointer;
	font-size: inherit;
	margin-bottom: -1px;
}

.sbh-my-account-switcher .sbh-my-account-switcher__tab.is-active {
	border-bottom-color: currentColor;
}

.sbh-my-account-switcher__panel {
	display: none;
}

.sbh-my-account-switcher__panel.is-active {
	display: block;
}

/* Orders panel — base layout; visual controls Elementor menyusul di F5. */
.sbh-orders-panel__controls {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.sbh-orders-panel__search {
	flex: 2;
	min-width: 0;
}

.sbh-orders-panel__status {
	flex: 1;
	min-width: 120px;
}

.sbh-orders-panel__list {
	display: grid;
	gap: 16px;
}

.sbh-order-card {
	padding: 20px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
}

.sbh-order-card__header,
.sbh-order-card__body,
.sbh-order-card__product,
.sbh-order-card__actions {
	display: flex;
	align-items: center;
}

.sbh-order-card__header {
	flex-wrap: wrap;
	gap: 8px 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eee;
}

.sbh-order-card__status {
	margin-left: auto;
	position: relative;
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	z-index: 0;
}

.sbh-order-card__status::before {
	content: '';
	position: absolute;
	inset: 0;
	background: currentColor;
	opacity: 0.1;
	border-radius: inherit;
	z-index: -1;
	pointer-events: none;
}

.sbh-order-card__body {
	gap: 20px;
	padding: 16px 0;
}

.sbh-order-card__product {
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
}

.sbh-order-card__thumbnail {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 8px;
	background: #f5f5f5;
}

.sbh-order-card__thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-order-card__product-info,
.sbh-order-card__total {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sbh-order-card__product-info {
	min-width: 0;
}

.sbh-order-card__product-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	color: inherit;
}

.sbh-order-card__product-name:hover {
	text-decoration: underline;
	color: inherit;
}

.sbh-order-card__total {
	flex: 0 0 auto;
	min-width: 120px;
}

.sbh-order-card__tracking {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 0;
	border-top: 1px solid #eee;
}

.sbh-order-card__actions {
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.sbh-orders-panel__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 56px 20px;
	text-align: center;
}

.sbh-orders-panel__empty p {
	margin: 12px 0 0;
}

.sbh-orders-panel .sbh-orders-panel__load-more {
	display: block;
	margin: 20px auto 0;
}

@media (max-width: 599px) {
	.sbh-orders-panel__controls,
	.sbh-order-card__body {
		align-items: stretch;
		flex-direction: column;
	}

	.sbh-orders-panel__status,
	.sbh-order-card__total {
		width: 100%;
	}
}

/* Select reset + custom arrow agar konsisten dengan input text styling */
.sbh-my-account-content select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px 16px;
	padding-right: 36px;
}

/* Switcher alignment: Menyebar — tiap tab flex:1, bagi rata penuh lebar container */
.sbh-my-account-wrapper[data-switcher-align="space-between"] .sbh-my-account-switcher__tab {
	flex: 1 1 0;
	text-align: center;
}

/* Select2 (WooCommerce Country/State dropdown): height & padding sync dengan input biasa.
   Padding dikontrol oleh Elementor field_padding selector di .select2-selection--single.
   __rendered dikosongkan padding-nya agar tidak dobel dengan padding dari outer container. */
.sbh-my-account-content .select2-container .select2-selection--single {
	height: auto !important;
	line-height: normal;
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
}

.sbh-my-account-content .select2-container .select2-selection__rendered {
	padding: 0 !important;
	padding-right: 20px !important; /* ruang untuk arrow icon */
	line-height: normal !important;
	flex: 1;
}

.sbh-my-account-content .select2-container .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	right: 0 !important;
}

/* Collapse billing section — dikendalikan PHP (checked by default) atau JS toggle */
.sbh-my-account-billing-section {
	display: block;
}

.sbh-my-account-billing-section.is-collapsed {
	display: none;
}

/* Password reset confirmation popup — reuse shared .sbh-modal visual pattern. */
.sbh-password-reset-trigger-wrap {
	margin-top: -12px;
}

.sbh-password-reset-trigger-wrap .sbh-password-reset-trigger {
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: inherit !important;
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.sbh-password-reset-trigger-wrap .sbh-password-reset-trigger:hover,
.sbh-password-reset-trigger-wrap .sbh-password-reset-trigger:focus,
.sbh-password-reset-trigger-wrap .sbh-password-reset-trigger:active {
	background: transparent !important;
	color: inherit !important;
	text-decoration: underline;
}

.sbh-password-reset-modal[hidden] {
	display: none !important;
}

.sbh-password-reset-modal.is-open,
.sbh-password-reset-modal.is-closing {
	display: flex;
}

.sbh-password-reset-modal.is-open {
	animation: sbh-password-reset-modal-in 0.18s ease both;
}

.sbh-password-reset-modal.is-closing {
	pointer-events: none;
	animation: sbh-password-reset-modal-out 0.18s ease both;
}

.sbh-password-reset-modal__dialog {
	max-width: 440px;
}

.sbh-password-reset-modal.is-open .sbh-password-reset-modal__dialog {
	animation: sbh-password-reset-dialog-in 0.18s ease both;
}

.sbh-password-reset-modal.is-closing .sbh-password-reset-modal__dialog {
	animation: sbh-password-reset-dialog-out 0.18s ease both;
}

.sbh-password-reset-modal__header {
	margin-bottom: 12px;
}

.sbh-password-reset-modal__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.sbh-password-reset-modal__body p:first-child {
	margin-top: 0;
}

.sbh-password-reset-modal__body input[readonly] {
	width: 100%;
	cursor: default;
}

.sbh-password-reset-modal__footer {
	justify-content: flex-end;
}

/* Secondary hierarchy: tombol Batal netral, submit tetap primary. */
.sbh-password-reset-modal__footer .sbh-password-reset-modal__close {
	border: 1px solid #d6d6d6 !important;
	background: #f1f1f1 !important;
	color: #333 !important;
}

.sbh-password-reset-modal__footer .sbh-password-reset-modal__close:hover,
.sbh-password-reset-modal__footer .sbh-password-reset-modal__close:focus {
	border-color: #c8c8c8 !important;
	background: #e5e5e5 !important;
	color: #222 !important;
}

.sbh-password-reset-modal__footer .sbh-password-reset-modal__close:active {
	background: #d9d9d9 !important;
}

body.sbh-password-reset-modal-open {
	overflow: hidden;
}

@keyframes sbh-password-reset-modal-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes sbh-password-reset-modal-out {
	from { opacity: 1; }
	to { opacity: 0; }
}

@keyframes sbh-password-reset-dialog-in {
	from { transform: translateY( 12px ) scale( 0.98 ); }
	to { transform: translateY( 0 ) scale( 1 ); }
}

@keyframes sbh-password-reset-dialog-out {
	from { transform: translateY( 0 ) scale( 1 ); }
	to { transform: translateY( 12px ) scale( 0.98 ); }
}

@media (prefers-reduced-motion: reduce) {
	.sbh-password-reset-modal.is-open,
	.sbh-password-reset-modal.is-closing,
	.sbh-password-reset-modal.is-open .sbh-password-reset-modal__dialog,
	.sbh-password-reset-modal.is-closing .sbh-password-reset-modal__dialog {
		animation-duration: 0.01ms;
	}
}

#account_display_name_description em {
	font-size: 13px;
	font-style: normal !important;
	color: #9e9e9e;
	letter-spacing: 0;
}

.select2-selection__placeholder {
	letter-spacing: 0;
}

/* Reset filter button */
.sbh-orders-panel__reset {
	flex-shrink: 0;
	padding: 8px 14px;
	font-size: 13px;
	background: transparent;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	color: #737373;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.2s, color 0.2s;
}

.sbh-orders-panel__reset:hover {
	border-color: #52921C;
	color: #52921C;
}

/* Tombol Detail (abu-abu/secondary) */
.sbh-order-card__actions .sbh-order-card__detail,
.sbh-order-card .sbh-order-card__detail {
	background-color: #f0f0f0;
	color: inherit !important;
	border: none;
}

.sbh-order-card__actions .sbh-order-card__detail:hover,
.sbh-order-card .sbh-order-card__detail:hover {
	background-color: #e0e0e0;
	color: inherit !important;
}

.sbh-order-card .sbh-order-card__buy-again {
	padding: 8px 14px;
	border: none;
	border-radius: 6px;
	background-color: #f0f0f0;
}

.sbh-order-card .sbh-order-card__buy-again:hover {
	background-color: #e0e0e0;
	color: inherit !important;
}

/* Track Order inline link — shared antara card dan modal. */
.sbh-order-card__track-link,
.sbh-order-detail__track-link {
	color: #52921C;
	border: 1px solid #52921C;
	background: transparent;
	border-radius: 20px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: background 0.2s, color 0.2s;
}

.sbh-order-card__track-link:hover,
.sbh-order-detail__track-link:hover {
	background: #52921C;
	color: #ffffff;
}

/* ============================================================
   Modal Order Detail
   ============================================================ */

#sbh-order-detail-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#sbh-order-detail-modal.is-open {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 20px 16px 40px;
}

.sbh-modal-open {
	overflow: hidden;
}

.sbh-order-detail-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: -1;
}

.sbh-order-detail-modal__dialog {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	width: 100%;
	max-width: 640px;
	margin: auto;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.sbh-order-detail-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px 16px;
	border-bottom: 1px solid #f0f0f0;
}

.sbh-order-detail-modal__head h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #414244;
}

#sbh-order-detail-modal .sbh-order-detail-modal__close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #737373;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s;
	flex-shrink: 0;
}

#sbh-order-detail-modal .sbh-order-detail-modal__close:hover {
	background: #f0f0f0;
}

.sbh-order-detail-modal__body {
	padding: 0 24px;
	max-height: 70vh;
	overflow-y: auto;
}

.sbh-order-detail-modal__foot {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding: 16px 24px 20px;
	border-top: 1px solid #f0f0f0;
}

.sbh-order-detail {
	position: relative;
	overflow: hidden;
	padding: 20px 0;
}

/* Badge watermark diagonal */
.sbh-order-detail__badge {
	position: absolute;
	top: 50%;
	right: -20px;
	transform: translateY(-50%) rotate(-25deg);
	font-size: 52px;
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
	pointer-events: none;
	user-select: none;
	border: 6px solid currentColor;
	border-radius: 8px;
	padding: 4px 16px;
	line-height: 1;
	opacity: 0.07;
	z-index: 0;
}

.sbh-order-detail__badge--lunas {
	color: #52921C;
}

.sbh-order-detail__badge--belum-bayar {
	color: #e09900;
}

.sbh-order-detail__badge--batal {
	color: #cc3333;
}

.sbh-order-detail__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}

.sbh-order-detail__number {
	font-weight: 700;
	font-size: 15px;
	color: #414244;
}

.sbh-order-detail__date {
	font-size: 13px;
	color: #737373;
}

/* Progress bar 4-step */
.sbh-order-detail__progress {
	display: flex;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
}

.sbh-order-detail__step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	font-size: 12px;
	color: #b0b0b0;
	text-align: center;
}

.sbh-order-detail__step::before {
	content: '';
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #d0d0d0;
	background: #ffffff;
	margin-bottom: 6px;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.sbh-order-detail__step::after {
	content: '';
	position: absolute;
	top: 11px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: #d0d0d0;
	z-index: 0;
}

.sbh-order-detail__step:last-child::after {
	display: none;
}

.sbh-order-detail__step.is-done::before {
	background: #52921C;
	border-color: #52921C;
}

.sbh-order-detail__step.is-done::after {
	background: #52921C;
}

.sbh-order-detail__step.is-done {
	color: #52921C;
	font-weight: 600;
}

.sbh-order-detail__step.is-active::before {
	border-color: #52921C;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(82,146,28,0.15);
}

.sbh-order-detail__step.is-done.is-active::before {
	background: #52921C;
	border-color: #52921C;
	box-shadow: 0 0 0 3px rgba(82,146,28,0.15);
}

.sbh-order-detail__resi-info {
	font-size: 13px;
	color: #737373;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

/* Sections */
.sbh-order-detail__section-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #737373;
	margin: 0 0 10px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
}

.sbh-order-detail__address {
	margin-bottom: 4px;
	position: relative;
	z-index: 1;
}

.sbh-order-detail__address-name {
	font-weight: 600;
	color: #414244;
	font-size: 14px;
	margin: 0 0 4px;
}

.sbh-order-detail__address-detail {
	font-size: 13px;
	color: #737373;
	margin: 0;
	line-height: 1.5;
}

#sbh-orders-search {
	padding: 8px 18px;
}

input#sbh-orders-search:focus-visible {
	outline: none;
}

/* Item list */
.sbh-order-detail__items {
	position: relative;
	z-index: 1;
}

.sbh-order-detail__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
}

.sbh-order-detail__item:last-child {
	border-bottom: none;
}

.sbh-order-detail__item-thumb {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f5f5f5;
}

.sbh-order-detail__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-order-detail__item-info {
	flex: 1;
	min-width: 0;
}

.sbh-order-detail__item-name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #414244;
	margin-bottom: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sbh-order-detail__item-qty {
	font-size: 12px;
	color: #737373;
}

.sbh-order-detail__item-total {
	font-size: 14px;
	font-weight: 700;
	color: #414244;
	flex-shrink: 0;
}

/* Totals */
.sbh-order-detail__totals {
	position: relative;
	z-index: 1;
}

.sbh-order-detail__total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #737373;
	padding: 5px 0;
}

.sbh-order-detail__total-row--grand {
	font-size: 15px;
	font-weight: 700;
	color: #414244;
	border-top: 1px solid #e0e0e0;
	margin-top: 6px;
	padding-top: 10px;
}

/* Payment method */
.sbh-order-detail__payment {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	padding: 16px 0 4px;
	position: relative;
	z-index: 1;
}

.sbh-order-detail__payment-label {
	color: #737373;
}

.sbh-order-detail__payment-method {
	font-weight: 600;
	color: #414244;
}

.sbh-order-detail__bank-info {
	padding: 12px 16px;
	margin-top: 16px;
	background: #f8f8f8;
	border-radius: 8px;
}

.sbh-order-detail__bank-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #414244;
}

.sbh-order-detail__bank-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 6px;
}

.sbh-order-detail__bank-label {
	font-size: 11px;
	color: #737373;
}

.sbh-order-detail__bank-value {
	font-size: 13px;
	font-weight: 500;
	color: #414244;
	text-align: right;
}

.sbh-order-detail__bank-note {
	margin: 0;
	font-size: 13px;
	color: #737373;
}

#sbh-order-detail-modal .sbh-order-detail-modal__download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f5f5f5;
	color: #737373;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 8px 16px;
	font-size: 13px;
	cursor: not-allowed;
}

#sbh-order-detail-modal .sbh-order-detail-modal__download[disabled] {
	opacity: 0.6;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {
	.sbh-order-detail-modal__dialog {
		border-radius: 16px 16px 0 0;
		margin-top: auto;
		margin-bottom: 0;
	}

	#sbh-order-detail-modal.is-open {
		align-items: flex-end;
		padding: 0;
	}

	.sbh-order-detail__badge {
		font-size: 36px;
	}
}

/* ============================================================
   Custom Filter Dropdown — Orders Panel
   ============================================================ */

.sbh-orders-filter {
	position: relative;
	flex-shrink: 0;
}

.sbh-orders-filter .sbh-orders-filter__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	color: #414244;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.2s;
	line-height: 1;
}

.sbh-orders-filter .sbh-orders-filter__trigger:hover,
.sbh-orders-filter .sbh-orders-filter__trigger[aria-expanded="true"] {
	border-color: #52921C;
}

.sbh-orders-filter.has-filter .sbh-orders-filter__trigger {
	border-color: #52921C;
	color: #52921C;
}

.sbh-orders-filter .sbh-orders-filter__trigger svg {
	flex-shrink: 0;
}

.sbh-orders-filter__panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 180px;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.10);
	z-index: 100;
	padding: 6px;
	overflow: hidden;
}

.sbh-orders-filter__panel[hidden] {
	display: none;
}

.sbh-orders-filter .sbh-orders-filter__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px 16px;
	background: none;
	border: none;
	text-align: left;
	font-size: 14px;
	color: #414244;
	cursor: pointer;
	transition: background 0.15s;
	gap: 12px;
}

.sbh-orders-filter .sbh-orders-filter__option:hover {
	background: #f5f5f5;
}

.sbh-orders-filter .sbh-orders-filter__option.is-selected {
	background: #f0f5eb;
	color: #52921C;
	font-weight: 600;
}

.sbh-orders-filter .sbh-orders-filter__option svg {
	flex-shrink: 0;
	opacity: 0;
}

.sbh-orders-filter .sbh-orders-filter__option.is-selected svg {
	opacity: 1;
}

.sbh-orders-filter__separator {
	height: 1px;
	background: #f0f0f0;
	margin: 4px 0;
}

.sbh-orders-filter .sbh-orders-filter__reset {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 16px;
	background: none;
	border: none;
	text-align: left;
	font-size: 13px;
	color: #737373;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.sbh-orders-filter .sbh-orders-filter__reset:hover {
	background: #f5f5f5;
	color: #cc3333;
}

.sbh-orders-filter .sbh-orders-filter__trigger[aria-expanded="true"] {
	border-color: #52921C;
	color: #52921C;
}

.sbh-orders-filter.has-filter .sbh-orders-filter__trigger {
	background: #f0f5eb;
}

/*  Responsive: di bawah 600px, ubah layout controls jadi row wrap, search full width, filter dropdown tetap shrink. */
@media (max-width: 599px) {
  .sbh-orders-panel__controls {
    flex-direction: row !important;
  }
  .sbh-orders-panel__search {
    flex: 1 1 100%;
  }
  .sbh-orders-filter {
    flex-shrink: 0;
  }
}

.sbh-order-detail-modal__date {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #737373;
	margin-top: 2px;
}

.sbh-pdf-wrapper .sbh-order-detail-modal__head,
.sbh-pdf-wrapper .sbh-order-detail-modal__foot {
	display: none;
}

.sbh-pdf-header {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #e0e0e0;
}

.sbh-pdf-header h2 {
	font-size: 18px;
	font-weight: 700;
	color: #414244;
	margin: 0;
}

.sbh-pdf-wrapper .sbh-order-detail__badge {
	print-color-adjust: exact;
	-webkit-print-color-adjust: exact;
}

.sbh-pdf-wrapper .sbh-order-detail {
	overflow: visible;
}

/* PDF capture mode — sembunyikan UI chrome, tampilkan semua konten */
.sbh-pdf-mode .sbh-order-detail-modal__head,
.sbh-pdf-mode .sbh-order-detail-modal__foot {
	display: none !important;
}

.sbh-pdf-mode .sbh-order-detail-modal__body {
	max-height: none !important;
	overflow: visible !important;
}

.sbh-pdf-mode {
	box-shadow: none !important;
}

/* Download Struk button hover */
#sbh-order-detail-modal .sbh-order-detail-modal__download:not([disabled]):hover {
	background: #e8e8e8;
	border-color: #b0b0b0;
	color: #414244;
}

/* Fix icon download — pastikan SVG inline terlihat */
#sbh-order-detail-modal .sbh-order-detail-modal__download svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	vertical-align: middle;
}

/* ============================================================
   SBH Search — Modal Shell
   ============================================================ */

.sbh-search {
	display: inline-flex;
}

.sbh-search .sbh-search__trigger {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #414244;
	cursor: pointer;
	line-height: 1;
}

.sbh-search.sbh-search--trigger-icon-text .sbh-search__trigger,
.sbh-search.sbh-search--trigger-text .sbh-search__trigger {
	display: inline-flex;
	width: auto;
	min-width: 16px;
	align-items: center;
	padding: 0 12px;
}

.sbh-search .sbh-search__trigger:hover,
.sbh-search .sbh-search__trigger:focus {
	color: #52921C;
	background: transparent;
	outline: none;
}

.sbh-search__trigger-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: currentColor;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

/* Search trigger: hide label responsive */
@media (max-width: 767px) {
	.sbh-search--hide-label-mobile .sbh-search__trigger-label,
	.sbh-search--hide-label-tablet .sbh-search__trigger-label {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.sbh-search--hide-label-tablet .sbh-search__trigger-label {
		display: none;
	}
}

.sbh-search__trigger-icon,
.sbh-search__field-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.sbh-search .sbh-search__trigger svg {
	width: 26px;
	height: 26px;
}

.sbh-search__modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.sbh-search__modal[hidden] {
	display: none;
}

.sbh-search--top .sbh-search__modal {
	align-items: flex-start;
	padding: 48px 24px 24px;
}

.sbh-search--center .sbh-search__modal {
	align-items: center;
}

.sbh-search__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.45);
}

.sbh-search__dialog {
	--sbh-search-dialog-padding-x: 24px;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: min(720px, calc(100vw - 48px));
	min-width: 320px;
	height: 70vh;
	max-height: calc(100vh - 48px);
	padding: 24px;
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
	overflow: auto;
}

.sbh-search__field-wrap {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.sbh-search__close-bar {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.sbh-search__field-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.sbh-search__field-block {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 12px 12px 12px 14px;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	color: #737373;
}

.sbh-search__field-row .sbh-search__field-block {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.sbh-search__field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #737373;
}

.sbh-search__field svg {
	width: 20px;
	height: 20px;
}

.sbh-search__input {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: auto;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #414244;
	font-size: 16px;
	line-height: 1.4;
	outline: none;
}

.sbh-search__input::-webkit-search-decoration,
.sbh-search__input::-webkit-search-cancel-button {
	display: none;
}

.sbh-search .sbh-search__field-clear {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	padding: 0;
	background: rgba(65, 66, 68, 0.08);
	border: 0;
	border-radius: 999px;
	color: #737373;
	cursor: pointer;
	line-height: 1;
}

.sbh-search .sbh-search__field-clear[hidden] {
	display: none;
}

.sbh-search .sbh-search__field-clear:hover,
.sbh-search .sbh-search__field-clear:focus {
	background: rgba(82, 146, 28, 0.12);
	color: #52921C;
	outline: none;
}

.sbh-search .sbh-search__field-clear svg {
	width: 15px;
	height: 15px;
}

.sbh-search .sbh-search__close {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #414244;
	cursor: pointer;
}

.sbh-search .sbh-search__close--icon {
	width: auto;
	min-width: 28px;
	height: auto;
	min-height: 28px;
}

.sbh-search .sbh-search__close--text {
	width: auto;
	height: auto;
	padding: 0;
	color: #414244;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.sbh-search .sbh-search__close:hover,
.sbh-search .sbh-search__close:focus {
	color: #52921C;
	background: transparent;
	outline: none;
}

.sbh-search .sbh-search__close svg {
	width: 20px;
	height: 20px;
}

.sbh-search__section {
	display: block;
	flex: 0 0 auto;
	padding-top: 2px;
}

.sbh-search__section[hidden] {
	display: none;
}

.sbh-search__default {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.sbh-search__default[hidden],
.sbh-search__results[hidden],
.sbh-search__loading[hidden],
.sbh-search__empty[hidden] {
	display: none;
}

.sbh-search__heading {
	margin: 0 0 10px;
	color: #414244;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.sbh-search__placeholder {
	min-height: 36px;
	border: 1px dashed #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
}

.sbh-search__recent {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.sbh-search__recent-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.sbh-search__recent-chip {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
	color: #414244;
	font-size: 13px;
	line-height: 1.2;
	overflow: hidden;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sbh-search__recent-chip:hover,
.sbh-search__recent-chip:focus-within,
.sbh-search__recent-chip:active {
	background: #eeeeee;
	border-color: #d8d8d8;
	color: #111111;
}

.sbh-search .sbh-search__recent-label {
	appearance: none;
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	max-width: 100%;
	padding: 8px 4px 8px 10px;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sbh-search .sbh-search__recent-remove {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 28px;
	padding: 0 8px 0 2px;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: #737373;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sbh-search .sbh-search__recent-label:hover,
.sbh-search .sbh-search__recent-label:focus,
.sbh-search .sbh-search__recent-label:active,
.sbh-search .sbh-search__recent-remove:hover,
.sbh-search .sbh-search__recent-remove:focus,
.sbh-search .sbh-search__recent-remove:active {
	background: transparent;
	color: inherit;
}

.sbh-search .sbh-search__recent-label:focus,
.sbh-search .sbh-search__recent-remove:focus {
	outline: none;
}

.sbh-search .sbh-search__recent-clear {
	appearance: none;
	padding: 8px 0;
	background: transparent;
	border: 0;
	color: #737373;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: underline;
}

.sbh-search .sbh-search__recent-clear:hover,
.sbh-search .sbh-search__recent-clear:focus {
	background: transparent;
	color: #cc3333;
	outline: none;
}

.sbh-search__viewed {
	display: block;
	min-width: 0;
}

.sbh-search__viewed-track,
.sbh-search__results-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	margin-right: calc(-1 * var(--sbh-search-dialog-padding-x));
	margin-left: calc(-1 * var(--sbh-search-dialog-padding-x));
	padding-right: var(--sbh-search-dialog-padding-x);
	padding-bottom: 4px;
	padding-left: var(--sbh-search-dialog-padding-x);
	scroll-padding-right: var(--sbh-search-dialog-padding-x);
	scroll-padding-left: var(--sbh-search-dialog-padding-x);
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.sbh-search__viewed-track::-webkit-scrollbar,
.sbh-search__results-grid::-webkit-scrollbar {
	display: none;
}

.sbh-search__viewed-card {
	display: flex;
	flex: 0 0 180px;
	flex-direction: column;
	gap: 10px;
	scroll-snap-align: start;
}

.sbh-search__viewed-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	color: #414244;
	text-decoration: none;
}

.sbh-search__viewed-link:hover,
.sbh-search__viewed-link:focus {
	color: #414244;
	outline: none;
	text-decoration: none;
}

.sbh-search__viewed-image {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background: #f7f7f7;
	border-radius: 8px;
	overflow: hidden;
}

.sbh-search__viewed-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s;
}

.sbh-search__viewed-link:hover .sbh-search__viewed-image img,
.sbh-search__viewed-link:focus .sbh-search__viewed-image img {
	transform: scale(1.03);
}

.sbh-search__viewed-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.sbh-search__viewed-title {
	display: -webkit-box;
	overflow: hidden;
	color: #111111;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sbh-search__viewed-price {
	color: #111111;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.sbh-search__viewed-price del {
	margin-right: 4px;
	color: #777777;
	font-weight: 400;
}

.sbh-search__viewed-price ins {
	background: transparent;
	text-decoration: none;
}

.sbh-search__viewed-badge {
	align-self: flex-start;
	padding: 3px 7px;
	background: #f5eded;
	border-radius: 999px;
	color: #b64545;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.sbh-search .sbh-search__viewed-atc {
	appearance: none;
	width: 100%;
	padding: 10px 14px;
	background: #111111;
	border: 1px solid #111111;
	border-radius: 6px;
	color: #ffffff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sbh-search .sbh-search__viewed-atc:hover,
.sbh-search .sbh-search__viewed-atc:focus {
	background: #333333;
	border-color: #333333;
	color: #ffffff;
	outline: none;
}

.sbh-search .sbh-search__viewed-atc:disabled {
	cursor: wait;
	opacity: 0.7;
}

body.sbh-search-open {
	overflow: hidden;
}

.sbh-search__results {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 0;
}

.sbh-search__results-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.sbh-search__results-head .sbh-search__heading {
	margin-bottom: 0;
}

.sbh-search__results-count {
	flex: 0 0 auto;
	color: #737373;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}

.sbh-search__loading,
.sbh-search__empty {
	margin: 0;
	padding: 12px 0;
	color: #737373;
	font-size: 14px;
	line-height: 1.5;
}

.sbh-search__product {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px;
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 8px;
	color: #414244;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.sbh-search__product:hover,
.sbh-search__product:focus {
	color: #414244;
	border-color: #52921C;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	outline: none;
	text-decoration: none;
}

.sbh-search__product-image {
	display: block;
	width: 72px;
	aspect-ratio: 1;
	background: #f7f7f7;
	border-radius: 6px;
	overflow: hidden;
}

.sbh-search__product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sbh-search__product-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.sbh-search__product-title {
	display: -webkit-box;
	overflow: hidden;
	color: #414244;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sbh-search__product-price {
	color: #52921C;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.sbh-search__product-price del {
	margin-right: 4px;
	color: #9a9a9a;
	font-weight: 400;
}

.sbh-search__product-price ins {
	background: transparent;
	text-decoration: none;
}

.sbh-search__product-badge {
	align-self: flex-start;
	padding: 3px 7px;
	background: #f5eded;
	border-radius: 999px;
	color: #b64545;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

@media (max-width: 600px) {
	.sbh-search__modal {
		padding: 16px;
	}

	.sbh-search--top .sbh-search__modal {
		padding: 20px 16px 16px;
	}

	.sbh-search__dialog {
		--sbh-search-dialog-padding-x: 18px;
		padding: 18px;
		max-height: calc(100vh - 32px);
	}

	.sbh-search__results-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

}
