/* Creotixs Beauty Homepage — Luminosity style */
.cbh-page{font-family:Inter,system-ui,sans-serif;color:var(--cbh-text,#2c2c2c);background:#fff;line-height:1.55}
.cbh-page *{box-sizing:border-box}
.cbh-wrap{width:min(1180px,92vw);margin:0 auto}
.cbh-announcement,.cbh-promo{text-align:center;padding:10px 16px;font-size:12px;font-weight:600;letter-spacing:.06em}
.cbh-announcement p,.cbh-promo p{margin:0}
.cbh-hero{padding:48px 0 56px;background:var(--cbh-accent,#f5efe6)}
.cbh-hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center}
.cbh-badge{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--cbh-primary,#c4a574);margin:0 0 10px}
.cbh-hero h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(32px,5vw,48px);line-height:1.15;margin:0 0 14px;font-weight:700}
.cbh-lead{color:#666;margin:0 0 24px;max-width:420px}
.cbh-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;background:var(--cbh-secondary,#1a1a2e);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-radius:2px;border:none;cursor:pointer;transition:.2s}
.cbh-btn:hover{opacity:.9;color:#fff!important}
.cbh-btn-outline{display:inline-block;padding:8px 16px;border:1px solid #ccc;color:var(--cbh-text)!important;text-decoration:none!important;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.cbh-btn-outline:hover{border-color:var(--cbh-secondary);background:#fafafa}
.cbh-hero-media img{width:100%;height:auto;display:block;border-radius:4px;object-fit:cover}
.cbh-section{padding:56px 0}
.cbh-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}
.cbh-section h2,.cbh-center{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(24px,3.5vw,32px);font-weight:600;letter-spacing:.04em;text-align:center;margin:0 0 28px}
.cbh-section-head h2{text-align:left;margin:0}


.cbh-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.cbh-card{text-align:center}
.cbh-card-media{position:relative;display:block;margin-bottom:12px;background:#f7f3ed;border-radius:4px;overflow:hidden}
.cbh-card-media img,.cbh-card-img-el{width:100%;height:auto;display:block;aspect-ratio:1;object-fit:cover}
.cbh-badge-sale{position:absolute;top:10px;left:10px;background:var(--cbh-secondary);color:#fff;font-size:10px;font-weight:700;padding:4px 8px;z-index:1}
.cbh-card h3{font-size:14px;font-weight:500;margin:0 0 6px;font-family:Inter,sans-serif}
.cbh-card h3 a{color:inherit;text-decoration:none}
.cbh-price{font-size:14px;margin-bottom:10px;color:#444}
.cbh-price del{opacity:.55;margin-right:6px}
.cbh-ingredients{background:#faf8f5}
.cbh-ingredient-track{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cbh-ingredient{text-align:center}
.cbh-ingredient-img{border-radius:8px;overflow:hidden;margin-bottom:14px;background:#eee;aspect-ratio:4/3}
.cbh-ingredient-img img{width:100%;height:100%;object-fit:cover;display:block}
.cbh-ingredient h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:20px;margin:0 0 8px}
.cbh-ingredient p{font-size:13px;color:#666;margin:0}
.cbh-feature-split{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:28px;background:var(--cbh-accent,#f5efe6);border-radius:4px;overflow:hidden}
.cbh-feature-media img{width:100%;height:100%;object-fit:cover;display:block;min-height:280px}
.cbh-feature-copy{padding:40px 36px;display:flex;flex-direction:column;justify-content:center}
.cbh-feature-copy h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;margin:0 0 10px}
.cbh-feature-copy p{margin:0 0 20px;color:#555}
.cbh-collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cbh-collection-card{position:relative;display:block;text-decoration:none;color:#fff;overflow:hidden;border-radius:4px;aspect-ratio:1}
.cbh-collection-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.cbh-collection-card:hover img{transform:scale(1.05)}
.cbh-collection-card span{position:absolute;inset:auto 0 0;padding:16px;background:linear-gradient(transparent,rgba(0,0,0,.55));font-size:12px;font-weight:700;letter-spacing:.1em}
.cbh-ritual-head{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:28px}
.cbh-ritual-head h2{margin:0}
.cbh-ritual-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.cbh-ritual-item{margin:0;text-align:center}
.cbh-ritual-item img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px;display:block;background:#f0ebe3}
.cbh-ritual-item figcaption{font-size:11px;margin-top:8px;color:#555}
.cbh-highlight-slider{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cbh-highlight-slide{position:relative;border-radius:4px;overflow:hidden;background:#eee}
.cbh-highlight-slide img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}
.cbh-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center;text-decoration:none;color:#111;font-size:18px;box-shadow:0 8px 24px rgba(0,0,0,.15)}
.cbh-highlight-cap{position:absolute;bottom:0;left:0;right:0;padding:12px;background:linear-gradient(transparent,rgba(0,0,0,.5));color:#fff;margin:0;font-size:13px}
.cbh-magazine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cbh-mag-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block;margin-bottom:12px}
.cbh-mag-card h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:20px;margin:0 0 8px}
.cbh-mag-card h3 a{color:inherit;text-decoration:none}
.cbh-mag-card p{font-size:13px;color:#666;margin:0 0 10px}
.cbh-link{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--cbh-primary,#c4a574);text-decoration:none}
.cbh-social-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:40px}
.cbh-asseen{list-style:none;margin:0;padding:0}
.cbh-asseen li{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;font-weight:600;letter-spacing:.08em;margin:8px 0;opacity:.7}
.cbh-social-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.cbh-social-head h2{margin:0}
.cbh-social-links a{margin-left:10px;font-size:12px;font-weight:700;text-decoration:none;color:var(--cbh-text)}
.cbh-social-imgs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cbh-social-imgs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}
.cbh-footer{background:#f7f3ed;padding:48px 0 24px;font-size:13px;color:#555}
.cbh-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;margin-bottom:28px}
.cbh-footer strong{display:block;color:var(--cbh-text);margin-bottom:10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.cbh-footer ul{list-style:none;margin:0;padding:0}
.cbh-footer li{margin:6px 0}
.cbh-footer a{color:inherit;text-decoration:none}
.cbh-copyright{border-top:1px solid #e5e0d8;padding-top:16px;text-align:center;font-size:12px;opacity:.7}
.cbh-placeholder,.cbh-placeholder-box{background:linear-gradient(135deg,#efe9e0,#e5ddd2);min-height:120px;display:grid;place-items:center;color:#999;font-size:12px;border-radius:4px}
.cbh-placeholder-box.tall{min-height:240px}
.cbh-card-demo .cbh-placeholder-box{aspect-ratio:1;min-height:0}
@media(max-width:980px){
.cbh-hero-grid,.cbh-feature-split,.cbh-social-grid{grid-template-columns:1fr}
.cbh-product-row{grid-template-columns:repeat(3,1fr)}
.cbh-ritual-grid{grid-template-columns:repeat(3,1fr)}
.cbh-collection-grid,.cbh-product-grid,.cbh-magazine-grid,.cbh-highlight-slider,.cbh-ingredient-track{grid-template-columns:repeat(2,1fr)}
.cbh-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
.cbh-product-row,.cbh-collection-grid,.cbh-ritual-grid,.cbh-product-grid,.cbh-magazine-grid,.cbh-highlight-slider,.cbh-ingredient-track,.cbh-social-imgs,.cbh-footer-grid{grid-template-columns:1fr}
}



/* Header */
.cbh-header{
	border-bottom:1px solid rgba(0,0,0,.06);
	position:relative;
	z-index:1000;
	width:100%;
}
.cbh-header.is-sticky{
	position:sticky;top:0;
	backdrop-filter:blur(12px);
	background:rgba(255,255,255,.95)!important;
}
.cbh-header-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	min-height:72px;
	gap:12px;
}
.cbh-logo{text-decoration:none;color:var(--cbh-text,#2c2c2c);display:flex;align-items:center;flex-shrink:0}
.cbh-logo img{max-height:40px;width:auto;display:block}
.cbh-logo-text{font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cbh-nav{flex:1;display:flex;justify-content:center}
.cbh-menu{list-style:none;margin:0;padding:0;display:flex;gap:28px;align-items:center}
.cbh-menu a{text-decoration:none;color:var(--cbh-text,#2c2c2c)!important;font-size:13px;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
.cbh-menu a:hover{color:var(--cbh-primary,#c4a574)!important}
.cbh-menu .sub-menu{display:none}
.cbh-nav-close{display:none}
.cbh-nav-overlay{display:none}
.cbh-header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.cbh-icon-btn{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	width:42px;height:42px;
	border:none;
	background:transparent;
	color:#1a1a1a!important;
	cursor:pointer;
	text-decoration:none!important;
	position:relative;
	border-radius:50%;
	padding:0;
	line-height:1;
}
.cbh-icon-btn svg{display:block;width:22px;height:22px;stroke:currentColor;flex-shrink:0}
.cbh-icon-btn:hover{background:rgba(0,0,0,.05);color:#1a1a1a!important}
.cbh-cart-count{
	position:absolute;top:2px;right:2px;
	min-width:18px;height:18px;padding:0 5px;
	border-radius:999px;
	background:var(--cbh-secondary,#1a1a2e);
	color:#fff!important;
	font-size:10px;font-weight:700;
	display:grid;place-items:center;
	line-height:1;
}
.cbh-cart-count.is-zero{display:none!important}
.cbh-nav-toggle{
	display:none;flex-direction:column;justify-content:center;gap:5px;
	width:42px;height:42px;border:none;background:transparent;cursor:pointer;padding:10px 8px;
}
.cbh-nav-toggle span{display:block;height:2px;background:#1a1a1a;border-radius:2px;width:100%}

/* Dropdowns */
.cbh-action-drop{position:relative}
.cbh-drop-panel{
	position:absolute;
	top:calc(100% + 10px);
	right:0;
	width:360px;
	max-width:min(360px,92vw);
	background:#fff;
	border:1px solid rgba(0,0,0,.08);
	border-radius:10px;
	box-shadow:0 18px 48px rgba(0,0,0,.14);
	padding:14px;
	opacity:0;visibility:hidden;
	transform:translateY(8px);
	transition:opacity .2s,transform .2s,visibility .2s;
	z-index:1100;
	pointer-events:none;
}
.cbh-action-drop:hover .cbh-drop-panel,
.cbh-action-drop.is-open .cbh-drop-panel{
	opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;
}
.cbh-action-drop::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.cbh-search-form{margin:0}
.cbh-search-form input[type=search]{
	width:100%;padding:12px 14px;
	border:1px solid #e2e2e2;border-radius:8px;
	font:inherit;font-size:14px;color:#1a1a1a;background:#fff;
}
.cbh-search-form input[type=search]:focus{
	outline:2px solid rgba(196,165,116,.4);border-color:var(--cbh-primary,#c4a574);
}
.cbh-search-results{margin-top:10px;max-height:320px;overflow:auto}
.cbh-search-results[hidden]{display:none!important}
.cbh-search-hit{
	display:flex;gap:12px;align-items:center;
	padding:10px 8px;border-radius:8px;text-decoration:none!important;color:inherit!important;
}
.cbh-search-hit:hover{background:#f7f3ed}
.cbh-search-hit img{width:52px;height:52px;object-fit:cover;border-radius:6px;background:#f0ebe3;flex-shrink:0}
.cbh-search-hit-meta{flex:1;min-width:0}
.cbh-search-hit-name{display:block;font-size:13px;font-weight:600;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cbh-search-hit-price{display:block;font-size:12px;color:#666;margin-top:2px}
.cbh-search-msg{padding:12px;text-align:center;color:#888;font-size:13px;margin:0}

/* Mini cart clean */
.cbh-minicart{padding:12px;width:340px}
.cbh-minicart-inner{max-height:70vh;overflow:auto}
.cbh-minicart-empty{margin:8px 0 14px;text-align:center;color:#777;font-size:14px}
.cbh-minicart-continue{display:block;text-align:center;width:100%}
.cbh-mini-items{list-style:none;margin:0;padding:0}
.cbh-mini-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #f0f0f0;position:relative}
.cbh-mini-thumb img{width:56px;height:56px;object-fit:cover;border-radius:6px;display:block}
.cbh-mini-meta{flex:1;min-width:0;font-size:13px;padding-right:18px}
.cbh-mini-meta a{color:#1a1a1a;text-decoration:none;font-weight:600;display:block}
.cbh-mini-qty,.cbh-mini-price{display:block;color:#666;font-size:12px;margin-top:2px}
.cbh-mini-remove{position:absolute;right:0;top:10px;color:#999;text-decoration:none;font-size:18px;line-height:1}
.cbh-mini-total{display:flex;justify-content:space-between;padding:14px 0;font-size:14px;border-top:1px solid #eee;margin-top:4px}
.cbh-mini-actions{display:flex;flex-direction:column;gap:8px}
.cbh-mini-actions .cbh-btn,.cbh-mini-actions .cbh-btn-outline{text-align:center;width:100%}

/* Hide WC duplicate empty if any leaked */
.cbh-minicart .woocommerce-mini-cart__empty-message + .woocommerce-mini-cart__empty-message{display:none}

@media(max-width:900px){
	.cbh-nav-toggle{display:flex}
	.cbh-nav-close{
		display:block;position:absolute;top:16px;right:16px;
		width:40px;height:40px;border:none;background:transparent;
		font-size:28px;cursor:pointer;color:#1a1a1a;line-height:1;
	}
	.cbh-nav{
		position:fixed;inset:0 auto 0 0;width:min(320px,86vw);
		background:#fff;padding:64px 24px 24px;
		transform:translateX(-105%);transition:transform .28s ease;
		box-shadow:8px 0 32px rgba(0,0,0,.12);
		justify-content:flex-start;align-items:flex-start;
		z-index:1200;overflow:auto;
	}
	.cbh-nav.is-open{transform:translateX(0)}
	.cbh-nav-overlay{
		display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);
		z-index:1150;opacity:0;visibility:hidden;transition:.25s;
	}
	.cbh-nav-overlay.is-open{opacity:1;visibility:visible}
	.cbh-menu{flex-direction:column;align-items:flex-start;gap:18px}
	.cbh-drop-panel{
		position:fixed;left:12px;right:12px;top:auto;bottom:12px;
		width:auto;max-width:none;max-height:75vh;
	}
	.cbh-action-drop:hover .cbh-drop-panel{
		opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);
	}
	.cbh-action-drop.is-open .cbh-drop-panel{
		opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
	}
}


/* Bestsellers / product slider */
.cbh-nav-arrows{display:flex;gap:10px;align-items:center}
.cbh-nav-arrows button,
.cbh-prev,.cbh-next{
	width:42px;height:42px;
	border:1.5px solid #2c2c2c;
	background:#fff;
	color:#2c2c2c;
	border-radius:50%;
	cursor:pointer;
	font-size:18px;
	line-height:1;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:0;
	transition:background .2s,color .2s,border-color .2s;
	box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.cbh-nav-arrows button:hover,
.cbh-prev:hover,.cbh-next:hover{
	background:#1a1a2e;
	color:#fff;
	border-color:#1a1a2e;
}
.cbh-nav-arrows button:disabled{
	opacity:.35;cursor:default;
}
.cbh-slider{position:relative}
.cbh-slider-viewport{
	overflow:hidden;
	width:100%;
}
.cbh-slider-track,
.cbh-product-row.cbh-slider-track{
	display:flex!important;
	gap:18px;
	transition:transform .45s ease;
	will-change:transform;
	grid-template-columns:none!important;
}
.cbh-slide-item{
	flex:0 0 calc((100% - 54px) / 4);
	min-width:0;
	scroll-snap-align:start;
}
.cbh-slide-item .cbh-card{height:100%}
@media(max-width:980px){
	.cbh-slide-item{flex:0 0 calc((100% - 18px) / 2)}
}
@media(max-width:600px){
	.cbh-slide-item{flex:0 0 85%}
	.cbh-section-head{flex-wrap:wrap;gap:12px}
}

.cbh-card .cbh-btn,
.cbh-card .cbh-add-to-cart{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin-top:4px;
	padding:10px 18px;
	background:var(--cbh-secondary,#1a1a2e);
	color:#fff!important;
	text-decoration:none!important;
	font-size:11px;
	font-weight:700;
	letter-spacing:.08em;
	text-transform:uppercase;
	border-radius:2px;
	border:none;
	cursor:pointer;
}
.cbh-card .cbh-btn:hover,
.cbh-card .cbh-add-to-cart:hover{opacity:.9;color:#fff!important}
.cbh-card .cbh-btn-outline{margin-top:4px}
.cbh-ingredients .cbh-section-head h2{text-align:left;margin:0}
.cbh-ingredients .cbh-ingredient{padding:0 4px}
.cbh-admin .cbh-repeat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}




/* ========== Mobile header / bottom sheets (v1.2.4) ========== */
@media (max-width: 900px) {
	.cbh-header{z-index:10050}
	.cbh-header-inner{min-height:60px;gap:8px;position:relative}
	.cbh-nav-toggle{display:flex!important;order:0;z-index:2}
	.cbh-logo{order:1;flex:1;justify-content:center}
	.cbh-header-actions{order:2}

	.cbh-nav{
		position:fixed!important;top:0!important;left:0!important;bottom:0!important;right:auto!important;
		width:min(320px,88vw)!important;max-width:320px;
		height:100vh!important;height:100dvh!important;
		background:#fff!important;padding:72px 24px 32px!important;margin:0!important;
		transform:translateX(-110%)!important;
		transition:transform .3s cubic-bezier(.4,0,.2,1)!important;
		z-index:10060!important;overflow-y:auto!important;display:block!important;
		justify-content:flex-start!important;align-items:flex-start!important;flex:none!important;
	}
	.cbh-nav.is-open{transform:translateX(0)!important;box-shadow:12px 0 40px rgba(0,0,0,.18)}
	.cbh-nav-close{
		display:flex!important;align-items:center;justify-content:center;
		position:absolute;top:16px;right:12px;width:44px;height:44px;
		border:none;background:#f3f3f3;border-radius:50%;font-size:26px;cursor:pointer;color:#111;z-index:2;
	}
	.cbh-menu{flex-direction:column!important;align-items:flex-start!important;gap:0!important;width:100%;padding:0;margin:0}
	.cbh-menu > li{width:100%;border-bottom:1px solid #f0f0f0;list-style:none}
	.cbh-menu > li > a{display:block;padding:16px 4px;font-size:15px;font-weight:600}
	.cbh-nav-overlay{
		display:block!important;position:fixed!important;inset:0!important;
		background:rgba(0,0,0,.45)!important;z-index:10055!important;
		opacity:0;visibility:hidden;transition:.25s;border:none;padding:0;margin:0;
	}
	.cbh-nav-overlay.is-open{opacity:1!important;visibility:visible!important}

	.cbh-action-drop{position:static}
	.cbh-action-drop::after{display:none}
	.cbh-sheet-backdrop{
		display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:10065;
	}
	.cbh-sheet-backdrop.is-open{display:block}

	/* Default bottom sheet (cart + wishlist) */
	.cbh-drop-panel.cbh-bottom-sheet,
	.cbh-drop-panel.cbh-minicart,
	.cbh-drop-panel.cbh-wishlist-panel{
		position:fixed!important;
		left:0!important;right:0!important;bottom:0!important;top:auto!important;
		width:100%!important;max-width:100%!important;
		max-height:min(80vh,680px);
		border-radius:18px 18px 0 0!important;border:none!important;
		box-shadow:0 -12px 40px rgba(0,0,0,.2)!important;
		padding:8px 16px 28px!important;
		opacity:0;visibility:hidden;
		transform:translateY(110%)!important;
		transition:transform .32s cubic-bezier(.4,0,.2,1),opacity .25s,visibility .25s!important;
		z-index:10070!important;pointer-events:none;overflow:auto;background:#fff!important;
	}

	/* Search — centered modal on mobile */
	.cbh-drop-panel.cbh-search-panel,
	.cbh-drop-panel.cbh-center-modal{
		position:fixed!important;
		left:50%!important;right:auto!important;
		top:50%!important;bottom:auto!important;
		width:min(92vw,400px)!important;max-width:92vw!important;
		max-height:min(70vh,520px);
		border-radius:16px!important;border:none!important;
		box-shadow:0 20px 60px rgba(0,0,0,.25)!important;
		padding:16px!important;
		opacity:0;visibility:hidden;
		transform:translate(-50%,-46%) scale(.96)!important;
		transition:transform .28s cubic-bezier(.4,0,.2,1),opacity .25s,visibility .25s!important;
		z-index:10070!important;pointer-events:none;overflow:auto;background:#fff!important;
	}
	.cbh-drop-panel.cbh-search-panel .cbh-sheet-handle{display:none}

	.cbh-action-drop:hover .cbh-drop-panel{
		opacity:0!important;visibility:hidden!important;pointer-events:none!important;
	}
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-bottom-sheet,
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-minicart,
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-wishlist-panel{
		opacity:1!important;visibility:visible!important;
		transform:translateY(0)!important;pointer-events:auto!important;
	}
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-search-panel,
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-center-modal{
		opacity:1!important;visibility:visible!important;
		transform:translate(-50%,-50%) scale(1)!important;pointer-events:auto!important;
	}

	.cbh-sheet-handle{width:40px;height:4px;border-radius:4px;background:#ddd;margin:6px auto 10px}
	.cbh-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 2px}
	.cbh-sheet-head strong{font-size:16px;font-weight:700}
	.cbh-sheet-close{
		width:40px;height:40px;border:none;background:#f3f3f3;border-radius:50%;
		font-size:22px;line-height:1;cursor:pointer;color:#111;
		display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
	}
	.cbh-wishlist-inner{padding:8px 4px 12px;text-align:center}
	.cbh-wishlist-inner .cbh-btn{display:inline-flex;margin-top:8px}
	.cbh-minicart{width:100%!important;padding:0!important}
	.cbh-search-panel{width:100%}
}

@media (min-width: 901px) {
	.cbh-sheet-handle,
	.cbh-sheet-backdrop{display:none!important}
	/* Keep close on desktop panels optional but hide handle */
	.cbh-sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
}


/* Portal panels attached to body — always true viewport fixed */
.cbh-drop-panel.cbh-portal-open{
	display:block!important;
}
@media (max-width: 900px) {
	body > .cbh-drop-panel.cbh-bottom-sheet.cbh-portal-open,
	body > .cbh-drop-panel.cbh-minicart.cbh-portal-open,
	body > .cbh-drop-panel.cbh-wishlist-panel.cbh-portal-open{
		position:fixed!important;
		left:0!important;
		right:0!important;
		bottom:0!important;
		top:auto!important;
		width:100%!important;
		max-width:100vw!important;
		max-height:80vh!important;
		margin:0!important;
		border-radius:18px 18px 0 0!important;
		transform:translateY(0)!important;
		opacity:1!important;
		visibility:visible!important;
		pointer-events:auto!important;
		z-index:999999!important;
		background:#fff!important;
		box-shadow:0 -12px 40px rgba(0,0,0,.22)!important;
		padding:8px 16px 28px!important;
		overflow:auto!important;
		-webkit-overflow-scrolling:touch;
	}
	body > .cbh-drop-panel.cbh-search-panel.cbh-portal-open,
	body > .cbh-drop-panel.cbh-center-modal.cbh-portal-open{
		position:fixed!important;
		left:50%!important;
		top:50%!important;
		right:auto!important;
		bottom:auto!important;
		width:min(92vw,400px)!important;
		max-height:70vh!important;
		transform:translate(-50%,-50%)!important;
		opacity:1!important;
		visibility:visible!important;
		pointer-events:auto!important;
		z-index:999999!important;
		border-radius:16px!important;
		background:#fff!important;
		box-shadow:0 20px 60px rgba(0,0,0,.28)!important;
		padding:16px!important;
		overflow:auto!important;
	}
	body > .cbh-sheet-backdrop.is-open{
		position:fixed!important;
		inset:0!important;
		z-index:999998!important;
		background:rgba(0,0,0,.5)!important;
		display:block!important;
	}
	.cbh-search-hit-price{font-size:13px;color:#333;font-weight:600}
	.cbh-search-ph{width:52px;height:52px;background:#eee;border-radius:6px;display:block;flex-shrink:0}
}


/* ===== Search center modal + sticky head (v1.2.6) ===== */
.cbh-search-panel.cbh-center-modal,
.cbh-drop-panel.cbh-search-panel{
	display:flex;
	flex-direction:column;
	overflow:hidden!important;
}
.cbh-search-modal-top{
	flex-shrink:0;
	background:#fff;
	padding-bottom:8px;
	border-bottom:1px solid #f0f0f0;
	position:sticky;
	top:0;
	z-index:2;
}
.cbh-search-panel .cbh-sheet-head{
	display:flex!important;
	align-items:center;
	justify-content:space-between;
	margin:0 0 10px;
}
.cbh-search-panel .cbh-sheet-close{
	width:40px;height:40px;
	border:none;background:#f0f0f0;border-radius:50%;
	font-size:22px;cursor:pointer;color:#111;
	display:inline-flex!important;align-items:center;justify-content:center;
	flex-shrink:0;
}
.cbh-search-panel .cbh-search-form{margin:0}
.cbh-search-panel .cbh-search-form input[type=search]{
	width:100%;
	padding:12px 14px;
	border:1px solid #e2e2e2;
	border-radius:10px;
	font-size:15px;
	box-sizing:border-box;
}
.cbh-search-results{
	flex:1 1 auto;
	overflow-y:auto!important;
	-webkit-overflow-scrolling:touch;
	margin-top:8px;
	max-height:none;
	min-height:0;
}
.cbh-search-results[hidden]{display:none!important}
.cbh-search-hit{
	display:flex;gap:12px;align-items:center;
	padding:10px 6px;border-radius:10px;
	text-decoration:none!important;color:inherit!important;
}
.cbh-search-hit:hover{background:#f7f3ed}
.cbh-search-hit img,
.cbh-search-ph{
	width:52px;height:52px;object-fit:cover;border-radius:8px;
	background:#eee;flex-shrink:0;display:block;
}
.cbh-search-hit-name{display:block;font-size:14px;font-weight:600;color:#1a1a1a}
.cbh-search-hit-price{display:block;font-size:13px;color:#444;margin-top:2px;font-weight:600}
.cbh-search-msg{padding:16px;text-align:center;color:#888;font-size:13px;margin:0}

@media (max-width: 900px) {
	body > .cbh-drop-panel.cbh-search-panel.cbh-portal-open,
	body > .cbh-drop-panel.cbh-center-modal.cbh-portal-open,
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-search-panel,
	.cbh-action-drop.is-open .cbh-drop-panel.cbh-center-modal{
		position:fixed!important;
		left:50%!important;
		top:50%!important;
		right:auto!important;
		bottom:auto!important;
		width:min(92vw, 400px)!important;
		height:auto!important;
		max-height:min(78vh, 560px)!important;
		transform:translate(-50%, -50%)!important;
		opacity:1!important;
		visibility:visible!important;
		pointer-events:auto!important;
		z-index:999999!important;
		border-radius:16px!important;
		background:#fff!important;
		box-shadow:0 24px 64px rgba(0,0,0,.3)!important;
		padding:14px 14px 10px!important;
		display:flex!important;
		flex-direction:column!important;
		overflow:hidden!important;
		margin:0!important;
	}
	body > .cbh-sheet-backdrop.is-open{
		position:fixed!important;
		inset:0!important;
		z-index:999998!important;
		background:rgba(0,0,0,.5)!important;
		display:block!important;
	}
}
