/*
 * BGCC Shop Theme: base styles.
 */

/* ==========================================================================
   1. Tokens (fallbacks — the Customizer outputs the real values inline)
   ========================================================================== */
:root {
	--bgccst-container: 1280px;
	--bgccst-gutter: 32px;
	--bgccst-radius: 12px;
	--bgccst-btn-radius: 10px;
	--bgccst-btn-h: 46px;
	--bgccst-btn-tt: none;
	--bgccst-btn-fw: 600;
	--bgccst-section: 80px;

	--bgccst-primary: #3b5bdb;
	--bgccst-on-primary: #fff;
	--bgccst-accent: #f08c4a;
	--bgccst-heading: #1f2937;
	--bgccst-text: #4b5563;
	--bgccst-muted: #6b7280;
	--bgccst-link: #3b5bdb;
	--bgccst-bg: #fff;
	--bgccst-surface: #f5f7fb;
	--bgccst-border: #e5e8ef;
	--bgccst-outer-bg: #eceff5;
	--bgccst-price: #1f2937;
	--bgccst-sale: #dc2626;
	--bgccst-new: #2563eb;
	--bgccst-star: #f59e0b;
	--bgccst-success: #16a34a;
	--bgccst-error: #dc2626;

	--bgccst-topbar-bg: #eef2ff;
	--bgccst-topbar-text: #3b4a6b;
	--bgccst-header-h: 84px;
	--bgccst-header-bg: #fff;
	--bgccst-header-text: #1f2937;
	--bgccst-nav-bg: #fff;
	--bgccst-nav-text: #1f2937;
	--bgccst-nav-hover: #3b5bdb;
	--bgccst-logo-w: 170px;
	--bgccst-topbar-h: 38px;
	--bgccst-topbar-fs: 13px;
	--bgccst-topbar-pill-bg: #fff;
	--bgccst-topbar-pill-text: #1f2937;
	--bgccst-social-size: 34px;
	--bgccst-menu2-bg: #3b5bdb;
	--bgccst-menu2-text: #fff;
	--bgccst-menu2-hover: #dbe4ff;
	--bgccst-menu2-h: 52px;
	--bgccst-menu2-gap: 34px;
	--bgccst-menu2-fs: 15px;
	--bgccst-menu2-fw: 600;
	--bgccst-hero-pos: center;
	--bgccst-hero-valign: center;
	--bgccst-menu-h: 52px;
	--bgccst-menu-gap: 30px;
	--bgccst-menu-ls: 0em;
	--bgccst-dd-w: 240px;
	--bgccst-dd-bg: #fff;
	--bgccst-dd-text: #4b5563;

	--bgccst-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bgccst-font-h: var(--bgccst-font);
	--bgccst-fs: 16px;
	--bgccst-lh: 1.6;
	--bgccst-hw: 700;
	--bgccst-htt: none;
	--bgccst-hls: -0.015em;
	--bgccst-scale: 1.25;
	--bgccst-menu-fs: 15px;
	--bgccst-menu-fw: 500;
	--bgccst-menu-tt: none;

	--bgccst-hero-h: 560px;
	--bgccst-hero-title: 60px;
	--bgccst-btn-fs: 15px;
	--bgccst-footer-pad: 72px;
	--bgccst-footer-title: 16px;
	--bgccst-footer-align-m: start;
	--bgccst-footer-cols: 4;
	--bgccst-header-offset: 0px;
	--bgccst-hero-overlay: .55;
	--bgccst-hero-veil: #fff;
	--bgccst-hero-text: #1f2937;
	--bgccst-banner-h: 360px;
	--bgccst-banner-bg: #eef2ff;
	--bgccst-banner-text: #1f2937;
	--bgccst-news-bg: #f5f7fb;
	--bgccst-cats-cols: 3;
	--bgccst-blog-cols: 2;

	--bgccst-footer-bg: #f5f7fb;
	--bgccst-footer-text: #5b6474;
	--bgccst-footer-heading: #1f2937;
	--bgccst-footer-link: #374151;
	--bgccst-footer-bottom-bg: #eceff5;

	/* Derived */
	--bgccst-h6: var(--bgccst-fs);
	--bgccst-h5: calc(var(--bgccst-h6) * var(--bgccst-scale));
	--bgccst-h4: calc(var(--bgccst-h5) * var(--bgccst-scale));
	--bgccst-h3: calc(var(--bgccst-h4) * var(--bgccst-scale));
	--bgccst-h2: calc(var(--bgccst-h3) * var(--bgccst-scale));
	--bgccst-h1: calc(var(--bgccst-h2) * var(--bgccst-scale));
	--bgccst-primary-hover: color-mix(in srgb, var(--bgccst-primary) 84%, #000);
	--bgccst-primary-soft: color-mix(in srgb, var(--bgccst-primary) 11%, transparent);
	--bgccst-shadow-sm: 0 1px 2px rgb(0 0 0 / .05), 0 2px 8px rgb(0 0 0 / .04);
	--bgccst-shadow: 0 2px 6px rgb(0 0 0 / .05), 0 12px 32px rgb(0 0 0 / .08);
	--bgccst-shadow-lg: 0 24px 64px rgb(0 0 0 / .18);
	--bgccst-ease: cubic-bezier(.2, .7, .2, 1);
	--bgccst-admin-bar: 0px;
	--bgccst-bottom-bar-h: 0px;
	--bgccst-bb-h: 62px;
	--bgccst-bb-fs: 11px;
	--bgccst-bb-bg: #fff;
	--bgccst-bb-text: #6b7280;
	--bgccst-bb-active: #3b5bdb;
	--bgccst-float-x: 20px;
	--bgccst-float-y: 20px;
	--bgccst-float-gap: 10px;
	--bgccst-totop-size: 46px;
	--bgccst-totop-bg: #1f2937;
	--bgccst-totop-color: #fff;
	--bgccst-contact-size: 54px;
}

.admin-bar { --bgccst-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --bgccst-admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --bgccst-admin-bar: 0px; } }

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--bgccst-admin-bar) + var(--bgccst-header-offset) + 16px);
}

body {
	margin: 0;
	background: var(--bgccst-bg);
	color: var(--bgccst-text);
	font-family: var(--bgccst-font);
	font-size: var(--bgccst-fs);
	line-height: var(--bgccst-lh);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.bgccst-locked { overflow: hidden; }

img, video, svg, iframe { max-width: 100%; }
img, video { height: auto; }
img { vertical-align: middle; }

a { color: var(--bgccst-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bgccst-primary-hover); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible { outline: 2px solid var(--bgccst-primary); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--bgccst-heading);
	font-family: var(--bgccst-font-h);
	font-weight: var(--bgccst-hw);
	line-height: 1.2;
	letter-spacing: var(--bgccst-hls);
	text-transform: var(--bgccst-htt);
}
h1 { font-size: clamp(calc(var(--bgccst-h1) * .62), 3.2vw + 1rem, var(--bgccst-h1)); }
h2 { font-size: clamp(calc(var(--bgccst-h2) * .72), 2.4vw + 1rem, var(--bgccst-h2)); }
h3 { font-size: clamp(calc(var(--bgccst-h3) * .82), 1.6vw + 1rem, var(--bgccst-h3)); }
h4 { font-size: var(--bgccst-h4); }
h5 { font-size: var(--bgccst-h5); }
h6 { font-size: var(--bgccst-h6); }

p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.4em; }
strong, b { font-weight: 700; color: inherit; }
small { font-size: .875em; }
hr { border: 0; border-top: 1px solid var(--bgccst-border); margin: 2em 0; }
mark { background: color-mix(in srgb, var(--bgccst-accent) 28%, transparent); color: inherit; padding: 0 .1em; border-radius: 3px; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { background: var(--bgccst-surface); padding: 1em 1.25em; border-radius: var(--bgccst-radius); overflow: auto; }
blockquote {
	margin-left: 0;
	padding: .25em 0 .25em 1.25em;
	border-left: 3px solid var(--bgccst-primary);
	color: var(--bgccst-heading);
	font-size: 1.1em;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75em; border-bottom: 1px solid var(--bgccst-border); text-align: left; }
th { color: var(--bgccst-heading); font-weight: 600; }

/* Forms */
label { color: var(--bgccst-heading); font-weight: 600; font-size: .925em; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], textarea, select {
	width: 100%;
	min-height: var(--bgccst-btn-h);
	padding: 10px 14px;
	border: 1px solid var(--bgccst-border);
	border-radius: calc(var(--bgccst-btn-radius) * .8);
	background-color: var(--bgccst-bg);
	color: var(--bgccst-text);
	font: inherit;
	line-height: 1.4;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
textarea { min-height: 130px; resize: vertical; }
select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--bgccst-primary);
	box-shadow: 0 0 0 3px var(--bgccst-primary-soft);
	outline: none;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--bgccst-primary); width: 1.05em; height: 1.05em; vertical-align: -.12em; }
::placeholder { color: var(--bgccst-muted); opacity: 1; }

/* Buttons */
.bgccst-btn,
.wp-element-button,
.wp-block-button__link,
.wp-block-search__button,
.search-submit,
.comment-form .submit,
.post-password-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--bgccst-btn-h);
	padding: 0 calc(var(--bgccst-btn-h) * .55);
	border: 1.5px solid var(--bgccst-primary);
	border-radius: var(--bgccst-btn-radius);
	background: var(--bgccst-primary);
	color: var(--bgccst-on-primary);
	font: inherit;
	font-size: var(--bgccst-btn-fs);
	font-weight: var(--bgccst-btn-fw);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: var(--bgccst-btn-tt);
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .1s;
}
.bgccst-btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-search__button:hover,
.search-submit:hover,
.comment-form .submit:hover {
	border-color: var(--bgccst-primary-hover);
	background: var(--bgccst-primary-hover);
	color: var(--bgccst-on-primary);
}
.bgccst-btn:active { transform: translateY(1px); }
.bgccst-btn--ghost,
.is-style-outline .wp-block-button__link {
	border-color: var(--bgccst-border);
	background: transparent;
	color: var(--bgccst-heading);
}
.bgccst-btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--bgccst-heading);
	background: transparent;
	color: var(--bgccst-heading);
}
.bgccst-btn--lg { min-height: calc(var(--bgccst-btn-h) + 8px); padding-inline: calc(var(--bgccst-btn-h) * .7); font-size: 1.05em; }
.bgccst-btn--sm { min-height: 38px; padding-inline: 14px; font-size: .9em; }
.bgccst-btn svg { width: 18px; height: 18px; }
.bgccst-btn.loading { opacity: .7; pointer-events: none; }

.bgccst-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.bgccst-icon-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; }
.bgccst-icon-btn:disabled { opacity: .35; cursor: default; }
.bgccst-icon { width: 22px; height: 22px; flex: 0 0 auto; }

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--bgccst-bg);
	color: var(--bgccst-heading);
	border-radius: 8px;
	box-shadow: var(--bgccst-shadow);
}

/* ==========================================================================
   3. Layout
   ========================================================================== */
.bgccst-site { min-height: 100vh; display: flex; flex-direction: column; }
.bgccst-main { flex: 1 0 auto; }
.bgccst-container {
	width: 100%;
	max-width: calc(var(--bgccst-container) + 2 * var(--bgccst-gutter));
	margin-inline: auto;
	padding-inline: var(--bgccst-gutter);
}
.bgccst-section-pad { padding-block: clamp(28px, 5vw, 56px); }
.bgccst-section { padding-block: calc(var(--bgccst-section) / 2); }

.bgccst-boxed { background: var(--bgccst-outer-bg); }
.bgccst-boxed .bgccst-site {
	max-width: calc(var(--bgccst-container) + 2 * var(--bgccst-gutter) + 48px);
	margin-inline: auto;
	background: var(--bgccst-bg);
	box-shadow: var(--bgccst-shadow);
}

.bgccst-layout--sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 48px;
	align-items: start;
}
.bgccst-layout--sidebar-left { grid-template-columns: 280px minmax(0, 1fr); }
.bgccst-layout--sidebar-left > .bgccst-sidebar { order: -1; }
.bgccst-content { min-width: 0; }
@media (max-width: 1024px) {
	.bgccst-layout--sidebar,
	.bgccst-layout--sidebar-left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.bgccst-layout--sidebar-left > .bgccst-sidebar { order: 1; }
}

.bgccst-canvas > * { margin-block: 0; }

/* ==========================================================================
   4. Pre-header (top bar)
   ========================================================================== */
.bgccst-topbar {
	background: var(--bgccst-topbar-bg);
	color: var(--bgccst-topbar-text);
	font-size: var(--bgccst-topbar-fs);
	line-height: 1.4;
}
/* "body" keeps these ahead of page-builder link colors (Elementor kit, etc.). */
body .bgccst-topbar a,
body .bgccst-topbar a:visited { color: var(--bgccst-topbar-link, inherit); }
body .bgccst-topbar a:hover,
body .bgccst-topbar a:focus { color: var(--bgccst-topbar-link, inherit); opacity: .8; }
.bgccst-topbar .bgccst-topbar__item .bgccst-icon { color: var(--bgccst-topbar-icon, inherit); }
.bgccst-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	min-height: var(--bgccst-topbar-h);
}
.bgccst-topbar--has-center .bgccst-topbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.bgccst-topbar__zone { display: flex; align-items: center; gap: 8px 18px; min-width: 0; padding-block: 4px; }
.bgccst-topbar__zone--left { justify-content: flex-start; }
.bgccst-topbar__zone--center { justify-content: center; text-align: center; }
.bgccst-topbar__zone--right { justify-content: flex-end; margin-left: auto; }
.bgccst-topbar--has-center .bgccst-topbar__zone--right { margin-left: 0; }
.bgccst-topbar:not(.bgccst-topbar--has-center) .bgccst-topbar__zone.has-text { flex: 1 1 auto; }
.bgccst-topbar--center-only .bgccst-topbar__inner { justify-content: center; }
.bgccst-topbar__text { position: relative; display: grid; min-width: 0; }
.bgccst-topbar__msg { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-bgccst-rotate] .bgccst-topbar__msg { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--bgccst-ease); pointer-events: none; }
[data-bgccst-rotate] .bgccst-topbar__msg.is-active { opacity: 1; transform: none; pointer-events: auto; }
.bgccst-topbar__item { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; white-space: nowrap; }
.bgccst-topbar__item .bgccst-icon { width: 15px; height: 15px; }
.bgccst-topbar__cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bgccst-topbar__menu { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.bgccst-topbar .bgccst-social.bgccst-social--topbar { flex-wrap: nowrap; gap: 6px; margin: 0; --bgccst-social-size: min(calc(var(--bgccst-topbar-h) - 10px), 30px); }

/* Items as rounded buttons */
.bgccst-topbar-items-pill .bgccst-topbar__item {
	min-height: min(calc(var(--bgccst-topbar-h) - 12px), 38px);
	padding: 4px 16px;
	border-radius: 999px;
	background: var(--bgccst-topbar-pill-bg);
	color: var(--bgccst-topbar-pill-text);
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 2px rgb(0 0 0 / .06);
}
.bgccst-topbar-items-pill .bgccst-topbar a.bgccst-topbar__item:hover { opacity: 1; filter: brightness(.96); }
.bgccst-topbar-items-pill .bgccst-topbar .bgccst-topbar__item .bgccst-icon { color: var(--bgccst-topbar-icon, var(--bgccst-primary)); }

/* Dividers */
.bgccst-topbar-dividers:not(.bgccst-topbar-items-pill) .bgccst-topbar__zone > * + * { padding-left: 18px; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }

@media (max-width: 1024px) {
	.bgccst-topbar__inner,
	.bgccst-topbar--has-center .bgccst-topbar__inner { display: flex; justify-content: center; text-align: center; }
	.bgccst-topbar__zone { margin: 0; }
	/* Announcement only */
	.bgccst-topbar-m-text .bgccst-topbar__zone:not(.has-text) { display: none; }
	.bgccst-topbar-m-text .bgccst-topbar__zone.has-text { justify-content: center; }
	.bgccst-topbar-m-text .bgccst-topbar__zone.has-text > :not(.bgccst-topbar__text) { display: none; }
	.bgccst-topbar-m-text .bgccst-topbar:not(:has(.has-text)) { display: none; }
	/* One scrollable row */
	.bgccst-topbar-m-scroll .bgccst-topbar__inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.bgccst-topbar-m-scroll .bgccst-topbar__inner::-webkit-scrollbar { display: none; }
	.bgccst-topbar-m-scroll .bgccst-topbar__zone { flex: 0 0 auto; }
	.bgccst-topbar-m-scroll .bgccst-topbar__text { max-width: 80vw; }
	/* Several rows */
	.bgccst-topbar-m-stack .bgccst-topbar__inner { flex-wrap: wrap; padding-block: 4px; }
	.bgccst-topbar-m-stack .bgccst-topbar__zone { flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.bgccst-header {
	position: relative;
	z-index: 50;
	background: var(--bgccst-header-bg);
	color: var(--bgccst-header-text);
	border-bottom: 1px solid var(--bgccst-border);
	transition: box-shadow .25s;
}
.bgccst-header-noborder .bgccst-header { border-bottom-color: transparent; }
.bgccst-header-shadow .bgccst-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / .07); }
@media (min-width: 1025px) { .bgccst-sticky-d .bgccst-header { position: sticky; top: var(--bgccst-admin-bar); } }
@media (min-width: 768px) and (max-width: 1024px) { .bgccst-sticky-t .bgccst-header { position: sticky; top: var(--bgccst-admin-bar); } }
@media (max-width: 767px) { .bgccst-sticky-m .bgccst-header { position: sticky; top: var(--bgccst-admin-bar); } }

.bgccst-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--bgccst-header-h);
}
.bgccst-header__start,
.bgccst-header__end { display: flex; align-items: center; gap: 4px; }
.bgccst-header__end { flex: 0 0 auto; }
.bgccst-header__end { margin-left: auto; }
.bgccst-header__menu-btn { display: none; margin-left: -10px; }
.bgccst-header__msearch { display: none; }
.bgccst-search-toggle--mobile { display: none; }

/* Brand */
.bgccst-header__brand { flex: 0 0 auto; min-width: 0; max-width: 40%; }
.bgccst-brand { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bgccst-brand .custom-logo-link { display: block; line-height: 0; }
.bgccst-brand .custom-logo {
	width: var(--bgccst-logo-w);
	max-width: 100%;
	height: auto;
	max-height: calc(var(--bgccst-header-h) - 12px);
	object-fit: contain;
	object-position: left center;
}
.bgccst-brand__title {
	margin: 0;
	font-family: var(--bgccst-font-h);
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
	text-transform: none;
	white-space: nowrap;
}
.bgccst-brand__title a { color: inherit; }
.bgccst-brand__tagline { margin: 2px 0 0; font-size: .8rem; opacity: .7; }

/* Desktop layouts */
@media (min-width: 1025px) {
	.bgccst-header--classic .bgccst-header__start,
	.bgccst-header--inline .bgccst-header__start { display: none; }
	.bgccst-header__search { flex: 1 1 auto; min-width: 200px; max-width: var(--bgccst-search-w, 680px); margin-inline: auto; }
	.bgccst-search-align-left .bgccst-header__search { margin-inline: 0 auto; }
	.bgccst-search-align-right .bgccst-header__search { margin-inline: auto 0; }
	.bgccst-header__search--inline { flex: 0 1 auto; width: min(var(--bgccst-search-w, 680px), 360px); min-width: 180px; margin-inline: 0 4px; }
	.bgccst-header__search--inline .bgccst-search__cat-wrap { display: none; }
	.bgccst-nav--inline { display: flex; flex: 1 1 auto; justify-content: center; }
	/* Own row under the header */
	.bgccst-header__searchrow { padding: 10px 0 14px; border-top: 1px solid var(--bgccst-border); background: var(--bgccst-header-bg); }
	.bgccst-header__searchrow .bgccst-search { max-width: var(--bgccst-search-w, 680px); margin-inline: auto; }
	.bgccst-search-align-left .bgccst-header__searchrow .bgccst-search { margin-inline: 0 auto; }
	.bgccst-search-align-right .bgccst-header__searchrow .bgccst-search { margin-inline: auto 0; }
	/* Magnifier that expands into a field */
	.bgccst-header__end:has(.bgccst-header__xsearch) { position: relative; }
	.bgccst-header__xsearch { position: absolute; top: 50%; right: calc(100% + 6px); z-index: 3; width: 0; max-width: min(var(--bgccst-search-w, 680px), 520px); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-50%); background: var(--bgccst-header-bg); box-shadow: 0 0 0 8px var(--bgccst-header-bg); transition: width .25s var(--bgccst-ease), opacity .2s; }
	.bgccst-xsearch-open .bgccst-header__xsearch { width: min(var(--bgccst-search-w, 680px), 520px); opacity: 1; visibility: visible; }
	.bgccst-header__xsearch .bgccst-search { height: 42px; }
	.bgccst-xsearch-open .bgccst-search-toggle--expand { color: var(--bgccst-header-icon-hover, var(--bgccst-primary)); }
	.bgccst-header--centered .bgccst-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
	.bgccst-header--centered .bgccst-header__brand { text-align: center; }
	.bgccst-header--centered .bgccst-brand { align-items: center; }
	.bgccst-header--centered .custom-logo { object-position: center; }
	.bgccst-header--centered .bgccst-header__end { justify-content: flex-end; }
}
.bgccst-nav--inline .bgccst-menu > li > a { color: var(--bgccst-header-text); }

/* Checkout header */
.bgccst-header--checkout .bgccst-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.bgccst-header--checkout .bgccst-header__end { justify-content: flex-end; }
.bgccst-header__center { text-align: center; }
.bgccst-header__center .bgccst-brand { align-items: center; }
.bgccst-header__center .custom-logo { object-position: center; }

/* Navigation */
.bgccst-nav--row { background: var(--bgccst-nav-bg); border-top: 1px solid var(--bgccst-border); }
.bgccst-menu { display: flex; flex-wrap: wrap; gap: 0 var(--bgccst-menu-gap); margin: 0; padding: 0; list-style: none; }
.bgccst-menu-align-center .bgccst-nav--row .bgccst-menu { justify-content: center; }
.bgccst-menu-align-right .bgccst-nav--row .bgccst-menu { justify-content: flex-end; }
.bgccst-menu li { position: relative; }
.bgccst-menu > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: var(--bgccst-menu-h);
	color: var(--bgccst-nav-text);
	font-size: var(--bgccst-menu-fs);
	font-weight: var(--bgccst-menu-fw);
	letter-spacing: var(--bgccst-menu-ls);
	text-transform: var(--bgccst-menu-tt);
	transition: color .2s, background-size .25s var(--bgccst-ease), background-color .2s;
}
.bgccst-nav--inline .bgccst-menu > li > a { min-height: var(--bgccst-header-h); }
.bgccst-menu > li > a:hover,
.bgccst-menu > li:focus-within > a,
.bgccst-menu > .current-menu-item > a,
.bgccst-menu > .current-menu-ancestor > a { color: var(--bgccst-nav-hover); }
.bgccst-menu-underline .bgccst-menu > li > a { background: linear-gradient(var(--bgccst-nav-hover), var(--bgccst-nav-hover)) 50% 100% / 0 2px no-repeat; }
.bgccst-menu-underline .bgccst-menu > li > a:hover,
.bgccst-menu-underline .bgccst-menu > li:focus-within > a,
.bgccst-menu-underline .bgccst-menu > .current-menu-item > a,
.bgccst-menu-underline .bgccst-menu > .current-menu-ancestor > a { background-size: 100% 2px; }
.bgccst-menu-pill .bgccst-menu { gap: 0 calc(var(--bgccst-menu-gap) / 3); }
.bgccst-menu-pill .bgccst-menu > li > a { min-height: 0; margin-block: calc((var(--bgccst-menu-h) - 38px) / 2); padding: 8px 14px; border-radius: 999px; }
.bgccst-menu-pill .bgccst-nav--inline .bgccst-menu > li > a { margin-block: 0; }
.bgccst-menu-pill .bgccst-menu > li > a:hover,
.bgccst-menu-pill .bgccst-menu > li:focus-within > a,
.bgccst-menu-pill .bgccst-menu > .current-menu-item > a,
.bgccst-menu-pill .bgccst-menu > .current-menu-ancestor > a { background: color-mix(in srgb, var(--bgccst-nav-hover) 12%, transparent); }
.bgccst-menu > .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: -3px 0 0 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}
.bgccst-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 20;
	min-width: var(--bgccst-dd-w);
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--bgccst-dd-bg);
	border: 1px solid var(--bgccst-border);
	border-radius: var(--bgccst-radius);
	box-shadow: var(--bgccst-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--bgccst-ease), visibility .2s;
}
.bgccst-menu li:hover > .sub-menu,
.bgccst-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bgccst-menu .sub-menu .sub-menu { top: -9px; left: 100%; }
.bgccst-menu .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: calc(var(--bgccst-radius) * .6);
	color: var(--bgccst-dd-text);
	font-size: calc(var(--bgccst-menu-fs) * .95);
}
.bgccst-menu .sub-menu a:hover,
.bgccst-menu .sub-menu .current-menu-item > a { background: color-mix(in srgb, var(--bgccst-dd-text) 7%, transparent); color: var(--bgccst-nav-hover); }
.bgccst-menu .sub-menu .menu-item-has-children > a::after { content: "›"; float: right; opacity: .6; }

/* Search form */
.bgccst-search {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	height: var(--bgccst-btn-h);
	background: var(--bgccst-surface);
	border: 1px solid var(--bgccst-border);
	border-radius: var(--bgccst-btn-radius);
	color: var(--bgccst-text);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.bgccst-search:focus-within { border-color: var(--bgccst-primary); background: var(--bgccst-bg); box-shadow: 0 0 0 3px var(--bgccst-primary-soft); }
.bgccst-search__cat-wrap { position: relative; flex: 0 0 auto; border-right: 1px solid var(--bgccst-border); }
.bgccst-search .bgccst-search__cat {
	width: auto;
	max-width: 190px;
	height: 100%;
	min-height: 0;
	padding: 0 34px 0 16px;
	border: 0;
	border-radius: var(--bgccst-btn-radius) 0 0 var(--bgccst-btn-radius);
	background-color: transparent;
	color: var(--bgccst-heading);
	font-size: .9em;
	font-weight: 500;
	box-shadow: none;
}
.bgccst-search .bgccst-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	min-height: 0;
	padding: 0 16px;
	border: 0;
	background: transparent;
	box-shadow: none;
}
.bgccst-search .bgccst-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.bgccst-search__submit {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: calc(var(--bgccst-btn-h) + 4px);
	margin: -1px -1px -1px 0;
	border: 0;
	border-radius: 0 var(--bgccst-btn-radius) var(--bgccst-btn-radius) 0;
	background: var(--bgccst-primary);
	color: var(--bgccst-on-primary);
	cursor: pointer;
	transition: background-color .2s;
}
.bgccst-search__submit:hover { background: var(--bgccst-primary-hover); }
.bgccst-search.is-loading .bgccst-search__submit .bgccst-icon { animation: bgccst-pulse .8s ease-in-out infinite alternate; }

.bgccst-search__results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 70;
	max-height: min(70vh, 560px);
	padding: 6px;
	overflow-y: auto;
	background: var(--bgccst-bg);
	border: 1px solid var(--bgccst-border);
	border-radius: var(--bgccst-radius);
	box-shadow: var(--bgccst-shadow);
	text-align: left;
}
.bgccst-search__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: calc(var(--bgccst-radius) * .6);
	color: var(--bgccst-text);
}
.bgccst-search__item:hover,
.bgccst-search__item:focus { background: var(--bgccst-surface); color: var(--bgccst-heading); outline: none; }
.bgccst-search__item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--bgccst-surface); }
.bgccst-search__item-body { display: flex; flex-direction: column; min-width: 0; }
.bgccst-search__item-title { color: var(--bgccst-heading); font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bgccst-search__item-sku { color: var(--bgccst-muted); font-size: .8em; }
.bgccst-search__item-price { color: var(--bgccst-price); font-size: .9em; font-weight: 600; white-space: nowrap; }
.bgccst-search__item-price del { color: var(--bgccst-muted); font-weight: 400; margin-right: 4px; }
.bgccst-search__item-price ins { text-decoration: none; color: var(--bgccst-sale); }
.bgccst-search__empty { margin: 0; padding: 16px; color: var(--bgccst-muted); text-align: center; }
.bgccst-search__all {
	display: block;
	margin-top: 4px;
	padding: 12px;
	border-top: 1px solid var(--bgccst-border);
	color: var(--bgccst-primary);
	font-weight: 600;
	text-align: center;
}

.bgccst-search--simple { height: auto; }
.bgccst-search--simple .bgccst-search__input { min-height: var(--bgccst-btn-h); }

.bgccst-search-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 16px 0;
	background: var(--bgccst-header-bg);
	border-bottom: 1px solid var(--bgccst-border);
	box-shadow: 0 16px 32px rgb(0 0 0 / .08);
	animation: bgccst-drop .2s var(--bgccst-ease);
}
.bgccst-search-panel .bgccst-search { max-width: max(var(--bgccst-search-w, 680px), 760px); margin-inline: auto; }

/* Header cart */
.bgccst-cart-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 8px;
	border-radius: 999px;
	color: inherit;
	font-weight: 600;
	font-size: .95em;
}
.bgccst-cart-link:hover { color: inherit; background: color-mix(in srgb, currentColor 8%, transparent); }
.bgccst-cart-link__icon,
.bgccst-bottom-bar__icon { position: relative; display: inline-grid; place-items: center; }
.bgccst-cart-count {
	position: absolute;
	top: -6px;
	right: -9px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--bgccst-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--bgccst-header-bg);
	animation: bgccst-pop .3s var(--bgccst-ease);
}
.bgccst-cart-count[data-count="0"] { display: none; }
.bgccst-cart-total { white-space: nowrap; }

/* Cart as a round button */
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-link,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link { gap: 10px; padding: 0 0 0 4px; }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-link__icon,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bgccst-primary); color: var(--bgccst-on-primary); transition: filter .2s; }
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link__icon { background: var(--bgccst-accent); color: #fff; }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-link:hover,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link:hover { background: transparent; }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-link:hover .bgccst-cart-link__icon,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link:hover .bgccst-cart-link__icon { filter: brightness(.92); }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-link .bgccst-icon,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link .bgccst-icon { width: 21px; height: 21px; }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-count,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-count { top: -4px; right: -4px; box-shadow: 0 0 0 2px var(--bgccst-header-bg); }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-count { background: var(--bgccst-accent); }
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-count { background: var(--bgccst-heading); }

/* Floating header */
@media (min-width: 1025px) {
	.bgccst-header-style-floating .bgccst-header { margin: 12px var(--bgccst-gutter) 0; border: 1px solid var(--bgccst-border); border-radius: calc(var(--bgccst-radius) + 6px); box-shadow: 0 10px 30px rgb(16 24 40 / .06); }
	.bgccst-header-style-floating .bgccst-header .bgccst-container { padding-inline: clamp(16px, 2vw, 28px); }
	.bgccst-header-style-floating.bgccst-sticky-d .bgccst-header { top: calc(var(--bgccst-admin-bar) + 12px); }
	.bgccst-header-style-floating .bgccst-nav--row:last-child { border-radius: 0 0 calc(var(--bgccst-radius) + 6px) calc(var(--bgccst-radius) + 6px); }
	.bgccst-header-style-floating .bgccst-nav--secondary-static { margin: 8px var(--bgccst-gutter) 0; border: 1px solid var(--bgccst-border); border-radius: calc(var(--bgccst-radius) + 6px); }
}

/* Inline layout: menu position */
@media (min-width: 1025px) {
	.bgccst-inline-menu-left .bgccst-nav--inline { justify-content: flex-start; }
	.bgccst-inline-menu-right .bgccst-nav--inline { justify-content: flex-end; }
	.bgccst-inline-menu-right .bgccst-header--inline .bgccst-header__end { margin-left: 0; }
}

/* Dividers between menu items */
.bgccst-menu-dividers .bgccst-nav:not(.bgccst-nav--secondary) .bgccst-menu > li + li::before,
.bgccst-menu2-dividers .bgccst-nav--secondary .bgccst-menu > li + li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(var(--bgccst-menu-gap) / -2);
	width: 1px;
	height: 1.1em;
	background: var(--bgccst-nav-text);
	opacity: .35;
	transform: translateY(-50%);
	pointer-events: none;
}

/* Second menu bar */
.bgccst-nav--secondary {
	--bgccst-nav-bg: var(--bgccst-menu2-bg);
	--bgccst-nav-text: var(--bgccst-menu2-text);
	--bgccst-nav-hover: var(--bgccst-menu2-hover);
	--bgccst-menu-h: var(--bgccst-menu2-h);
	--bgccst-menu-gap: var(--bgccst-menu2-gap);
	--bgccst-menu-fs: var(--bgccst-menu2-fs);
	--bgccst-menu-fw: var(--bgccst-menu2-fw);
	border-top: 0;
}
.bgccst-menu2-align-left .bgccst-nav--secondary .bgccst-menu { justify-content: flex-start; }
.bgccst-menu2-align-center .bgccst-nav--secondary .bgccst-menu { justify-content: center; }
.bgccst-menu2-align-right .bgccst-nav--secondary .bgccst-menu { justify-content: flex-end; }
.bgccst-nav--secondary-static { position: relative; z-index: 1; }
.bgccst-mobile-nav--secondary { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bgccst-border); }
.bgccst-drawer__label { margin: 14px 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bgccst-muted); }
.bgccst-mobile-nav--secondary .bgccst-drawer__label { margin-top: 0; }

/* Account link */
.bgccst-account-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; white-space: nowrap; }
.bgccst-account-link .bgccst-icon { flex: 0 0 auto; }
.bgccst-account-link.bgccst-icon-btn { display: inline-grid; place-items: center; gap: 0; }
.bgccst-account-link.bgccst-icon-btn .bgccst-account-link__text { position: absolute; }
.bgccst-account-link--text { min-height: 44px; padding: 0 8px; font-weight: 600; font-size: .92rem; }
.bgccst-account-link--text:hover { color: var(--bgccst-primary); }
.bgccst-account-link--button {
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 600;
}
.bgccst-account-link--button .bgccst-icon { width: 18px; height: 18px; }
.bgccst-account-link--button:hover { border-color: var(--bgccst-primary); color: var(--bgccst-primary); }
body:not(.bgccst-topbar-items-pill) .bgccst-topbar .bgccst-account-link { min-height: 0; padding: 0; font-weight: 600; }
.bgccst-topbar .bgccst-account-link .bgccst-icon { width: 15px; height: 15px; }

/* Header button */
.bgccst-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	margin-inline: 4px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s;
}
.bgccst-header__cta .bgccst-icon { width: 18px; height: 18px; }
.bgccst-header__cta--primary { background: var(--bgccst-primary); color: var(--bgccst-on-primary); }
.bgccst-header__cta--primary:hover { background: var(--bgccst-primary-hover); color: var(--bgccst-on-primary); }
.bgccst-header__cta--accent { background: var(--bgccst-accent); color: #fff; }
.bgccst-header__cta--accent:hover { background: color-mix(in srgb, var(--bgccst-accent) 85%, #000); color: #fff; }
.bgccst-header__cta--outline { border-color: currentColor; color: inherit; }
.bgccst-header__cta--outline:hover { border-color: var(--bgccst-primary); color: var(--bgccst-primary); }
.bgccst-header__cta--soft { background: var(--bgccst-primary-soft); color: var(--bgccst-primary); }
.bgccst-header__cta--soft:hover { background: color-mix(in srgb, var(--bgccst-primary) 18%, transparent); color: var(--bgccst-primary); }
.bgccst-social.bgccst-header__social { flex-wrap: nowrap; gap: 6px; margin-right: 8px; --bgccst-social-size: 32px; }
@media (max-width: 1024px) {
	.bgccst-social.bgccst-header__social { display: none; }
	.bgccst-header__cta { min-height: 36px; padding: 0 12px; font-size: .82rem; }
	.bgccst-account-link--text .bgccst-account-link__text,
	.bgccst-account-link--button .bgccst-account-link__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.bgccst-account-link--text,
	.bgccst-account-link--button { width: 44px; min-height: 44px; justify-content: center; padding: 0; border: 0; }
}
@media (max-width: 767px) {
	.bgccst-header__cta { min-height: 34px; margin-inline: 2px; padding: 0 10px; font-size: .78rem; }
	.bgccst-header__cta .bgccst-icon { display: none; }
}

/* Search bar shapes */
.bgccst-search-pill .bgccst-search { border-radius: 999px; }
.bgccst-search-pill .bgccst-search .bgccst-search__cat { border-radius: 999px 0 0 999px; padding-left: 20px; }
.bgccst-search-pill .bgccst-search__submit { width: calc(var(--bgccst-btn-h) - 8px); margin: 3px; border-radius: 50%; }
.bgccst-search-pill .bgccst-search .bgccst-search__input { padding-left: 20px; }
.bgccst-search-square .bgccst-search,
.bgccst-search-square .bgccst-search .bgccst-search__cat,
.bgccst-search-square .bgccst-search__submit { border-radius: 0; }

/* Tablet & mobile header */
@media (max-width: 1024px) {
	.bgccst-header__menu-btn { display: inline-grid; }
	.bgccst-nav--row,
	.bgccst-nav--inline { display: none; }
	.bgccst-header__inner { gap: 8px 12px; padding-block: 6px; }
	.bgccst-brand__title { font-size: 1.3rem; }
	.bgccst-brand .custom-logo { max-height: calc(var(--bgccst-header-h) - 14px); }
	.bgccst-header__end { gap: 0; }

	/* Search below the header */
	.bgccst-msearch-row .bgccst-header--classic .bgccst-header__inner,
	.bgccst-msearch-row .bgccst-header__inner:has(.bgccst-header__msearch) { flex-wrap: wrap; padding-bottom: 12px; }
	.bgccst-msearch-row .bgccst-header__search,
	.bgccst-msearch-row .bgccst-header__msearch { display: block; order: 5; flex-basis: 100%; max-width: none; }
	.bgccst-msearch-row .bgccst-search-toggle { display: none; }
	.bgccst-header__search .bgccst-search,
	.bgccst-header__msearch .bgccst-search { height: 44px; }
	/* Search icon instead */
	.bgccst-msearch-icon .bgccst-header__search { display: none; }
	.bgccst-msearch-icon .bgccst-search-toggle--mobile { display: inline-grid; }

	/* Centered logo */
	.bgccst-mhead-center .bgccst-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
	.bgccst-mhead-center .bgccst-header__brand { grid-column: 2; grid-row: 1; text-align: center; }
	.bgccst-mhead-center .bgccst-brand { align-items: center; }
	.bgccst-mhead-center .bgccst-brand .custom-logo { object-position: center; }
	.bgccst-mhead-center .bgccst-header__start { grid-column: 1; grid-row: 1; }
	.bgccst-mhead-center .bgccst-header__end { grid-column: 3; grid-row: 1; justify-content: flex-end; }
	.bgccst-mhead-center .bgccst-header__search,
	.bgccst-mhead-center .bgccst-header__msearch { grid-column: 1 / -1; }
	/* Logo left (default): keep the centered desktop layout from centering on small screens */
	.bgccst-mhead-left .bgccst-header--centered .bgccst-header__inner { display: flex; }
}
@media (max-width: 599px) {
	.bgccst-header__search .bgccst-search__cat-wrap { display: none; }
}
@media (max-width: 1024px) {
	.bgccst-header__xsearch,
	.bgccst-search-toggle--expand,
	.bgccst-header__searchrow,
	.bgccst-dsearch-icon .bgccst-msearch-row .bgccst-search-toggle--end { display: none; }
}

/* Menu button on the right (tablet & mobile) */
@media (max-width: 1024px) {
	.bgccst-mburger-right .bgccst-header__start { order: 3; }
	.bgccst-mburger-right .bgccst-header__menu-btn { margin-right: -10px; margin-left: 0; }
	.bgccst-mburger-right .bgccst-header__end { margin-left: auto; }
	.bgccst-mburger-right.bgccst-mhead-center .bgccst-header__start { grid-column: 3; justify-content: flex-end; }
	.bgccst-mburger-right.bgccst-mhead-center .bgccst-header__end { grid-column: 1; justify-content: flex-start; }
	.bgccst-mburger-right.bgccst-mhead-center .bgccst-header__end .bgccst-header__cart { order: -1; }
}

/* Filters button on tablet & mobile */
.bgccst-mfilter { display: none; }
.bgccst-mfilter .bgccst-icon { width: 22px; height: 22px; }
.bgccst-mfilter .bgccst-mfilter__count { top: 4px; right: 2px; }
@media (max-width: 1024px) {
	.bgccst-mfilter--header { display: inline-grid; }
	.bgccst-mfilter--float {
		position: fixed;
		bottom: calc(16px + var(--bgccst-bottom-bar-h) + env(safe-area-inset-bottom));
		z-index: 94;
		display: grid;
		place-items: center;
		width: 54px;
		height: 54px;
		border: 0;
		border-radius: 50%;
		background: var(--bgccst-primary);
		color: var(--bgccst-on-primary);
		box-shadow: 0 10px 24px rgb(16 24 40 / .22);
		cursor: pointer;
	}
	.bgccst-mfilter--float_left { left: 16px; }
	.bgccst-mfilter--float_right { right: 16px; }
	.bgccst-mfilter--float .bgccst-mfilter__count { top: -2px; right: -2px; box-shadow: 0 0 0 2px var(--bgccst-bg); }
	body:not(.bgccst-mfilter-toolbar) .bgccst-shop-toolbar__filters { display: none; }
}

/* Drawer extras */
.bgccst-drawer__note { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--bgccst-radius); background: var(--bgccst-surface); color: var(--bgccst-heading); font-size: .9rem; line-height: 1.5; }
.bgccst-drawer__cta { width: 100%; margin-block: 14px 4px; }
span.bgccst-drawer__link { cursor: default; }


/* Checkout header */
.bgccst-checkout-back { display: inline-flex; align-items: center; gap: 4px; color: var(--bgccst-muted); font-size: .9em; font-weight: 500; }
.bgccst-checkout-back .bgccst-icon { width: 18px; height: 18px; }
.bgccst-checkout-secure { display: inline-flex; align-items: center; gap: 6px; color: var(--bgccst-success); font-size: .9em; font-weight: 600; }
.bgccst-checkout-secure .bgccst-icon { width: 18px; height: 18px; }
@media (max-width: 599px) {
	.bgccst-checkout-back span,
	.bgccst-checkout-secure span { display: none; }
}

/* Visibility per device (Customizer "Show on" options) */
@media (min-width: 1025px) { .bgccst-hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .bgccst-hide-t { display: none !important; } }
@media (max-width: 767px) { .bgccst-hide-m { display: none !important; } }

/* ==========================================================================
   6. Drawers, overlay, modal, bottom bar, toasts
   ========================================================================== */
.bgccst-overlay {
	position: fixed;
	inset: 0;
	z-index: 990;
	background: rgb(10 10 12 / .5);
	opacity: 0;
	transition: opacity .25s;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.bgccst-overlay.is-visible { opacity: 1; }

.bgccst-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	width: min(420px, 92vw);
	background: var(--bgccst-bg);
	color: var(--bgccst-text);
	box-shadow: var(--bgccst-shadow-lg);
	visibility: hidden;
	transition: transform .32s var(--bgccst-ease), visibility 0s linear .32s;
	outline: none;
}
.bgccst-drawer--left { left: 0; transform: translateX(-102%); }
.bgccst-drawer--right { right: 0; transform: translateX(102%); }
.bgccst-drawer.is-open { transform: none; visibility: visible; transition: transform .32s var(--bgccst-ease); }
.bgccst-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 8px 12px 8px 20px;
	border-bottom: 1px solid var(--bgccst-border);
}
.bgccst-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; }
.bgccst-drawer__title .bgccst-cart-count { position: static; box-shadow: none; }
.bgccst-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.bgccst-drawer__body > .bgccst-search { margin-bottom: 16px; }
.bgccst-drawer .bgccst-brand .custom-logo { width: min(var(--bgccst-logo-w), 150px); max-height: 44px; }
.bgccst-drawer .bgccst-brand__title { font-size: 1.2rem; }
.bgccst-drawer__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--bgccst-border);
	color: var(--bgccst-heading);
	font-weight: 500;
}
.bgccst-drawer__link .bgccst-icon { width: 20px; height: 20px; color: var(--bgccst-muted); }

/* Mobile menu */
.bgccst-mobile-menu,
.bgccst-mobile-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.bgccst-mobile-menu li { position: relative; border-bottom: 1px solid var(--bgccst-border); }
.bgccst-mobile-menu a {
	display: block;
	padding: 13px 48px 13px 0;
	color: var(--bgccst-heading);
	font-size: 1.02rem;
	font-weight: 500;
}
.bgccst-mobile-menu .current-menu-item > a { color: var(--bgccst-primary); }
.bgccst-mobile-menu .sub-menu { display: none; padding-left: 14px; border-top: 1px solid var(--bgccst-border); }
.bgccst-mobile-menu .sub-menu li:last-child { border-bottom: 0; }
.bgccst-mobile-menu .sub-menu a { font-size: .95rem; font-weight: 400; color: var(--bgccst-text); }
.bgccst-mobile-menu li.is-open > .sub-menu { display: block; }
.bgccst-submenu-toggle {
	position: absolute;
	top: 4px;
	right: -8px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	color: var(--bgccst-muted);
	cursor: pointer;
	transition: transform .2s;
}
li.is-open > .bgccst-submenu-toggle { transform: rotate(180deg); }

/* Modal */
.bgccst-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s, visibility 0s linear .25s;
	outline: none;
}
.bgccst-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s; }
.bgccst-modal__dialog {
	position: relative;
	width: min(1000px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: clamp(20px, 3vw, 36px);
	background: var(--bgccst-bg);
	border-radius: calc(var(--bgccst-radius) + 6px);
	box-shadow: var(--bgccst-shadow-lg);
	transform: translateY(16px) scale(.98);
	transition: transform .3s var(--bgccst-ease);
}
.bgccst-modal.is-open .bgccst-modal__dialog { transform: none; }
.bgccst-modal__close { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--bgccst-bg); }
.bgccst-modal__error { margin: 40px 0; text-align: center; color: var(--bgccst-muted); }

/* Bottom bar (tablet / mobile, per Customizer) */
.bgccst-bottom-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 95;
	display: none;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	height: calc(var(--bgccst-bottom-bar-h) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--bgccst-bb-bg);
	border-top: 1px solid var(--bgccst-border);
	box-shadow: 0 -6px 20px rgb(0 0 0 / .05);
}
@media (min-width: 768px) and (max-width: 1024px) {
	.bgccst-bb-t { --bgccst-bottom-bar-h: var(--bgccst-bb-h); padding-bottom: calc(var(--bgccst-bottom-bar-h) + env(safe-area-inset-bottom)); }
	.bgccst-bb-t .bgccst-bottom-bar { display: grid; }
}
@media (max-width: 767px) {
	.bgccst-bb-m { --bgccst-bottom-bar-h: var(--bgccst-bb-h); padding-bottom: calc(var(--bgccst-bottom-bar-h) + env(safe-area-inset-bottom)); }
	.bgccst-bb-m .bgccst-bottom-bar { display: grid; }
}
.bgccst-bottom-bar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bgccst-bb-text);
	font: inherit;
	font-size: var(--bgccst-bb-fs);
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}
.bgccst-bottom-bar__item.is-current,
.bgccst-bottom-bar__item:hover { color: var(--bgccst-bb-active); }
.bgccst-bottom-bar__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bgccst-bb-nolabels .bgccst-bottom-bar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.bgccst-bb-nolabels .bgccst-bottom-bar .bgccst-icon { width: 25px; height: 25px; }
.bgccst-bottom-bar .bgccst-icon { width: 22px; height: 22px; }
.bgccst-bottom-bar .bgccst-cart-count { top: -5px; right: -10px; box-shadow: 0 0 0 2px var(--bgccst-bb-bg); }
/* Floating, rounded */
.bgccst-bb-style-floating .bgccst-bottom-bar {
	right: 12px;
	bottom: calc(10px + env(safe-area-inset-bottom));
	left: 12px;
	height: var(--bgccst-bb-h);
	padding-bottom: 0;
	border: 1px solid var(--bgccst-border);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgb(16 24 40 / .14);
}
.bgccst-bb-style-floating.bgccst-bb-t,
.bgccst-bb-style-floating.bgccst-bb-m { --bgccst-bottom-bar-h: calc(var(--bgccst-bb-h) + 10px); }

/* Floating buttons (contact + back to top) */
.bgccst-float-region { display: contents; }
.bgccst-float {
	position: fixed;
	right: var(--bgccst-float-x, 20px);
	bottom: calc(var(--bgccst-float-y, 20px) + var(--bgccst-bottom-bar-h) + env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--bgccst-float-gap, 10px);
	pointer-events: none;
}
.bgccst-float > * { pointer-events: auto; }
.bgccst-float-left .bgccst-float { right: auto; left: var(--bgccst-float-x, 20px); align-items: flex-start; }
.bgccst-sticky-atc-on .bgccst-float { bottom: calc(var(--bgccst-float-y, 20px) + 76px + var(--bgccst-bottom-bar-h) + env(safe-area-inset-bottom)); }
.bgccst-to-top {
	display: grid;
	place-items: center;
	width: var(--bgccst-totop-size, 46px);
	height: var(--bgccst-totop-size, 46px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bgccst-totop-bg, var(--bgccst-heading));
	color: var(--bgccst-totop-color, #fff);
	box-shadow: var(--bgccst-shadow);
	cursor: pointer;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s, transform .25s var(--bgccst-ease), filter .2s;
}
.bgccst-to-top[hidden] { display: none; }
.bgccst-to-top.is-visible { opacity: 1; transform: none; }
.bgccst-to-top:hover { filter: brightness(1.15); }
.bgccst-totop-rounded .bgccst-to-top { border-radius: calc(var(--bgccst-totop-size, 46px) * .25); }
.bgccst-totop-square .bgccst-to-top { border-radius: 2px; }
.bgccst-contact {
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-height: var(--bgccst-contact-size, 54px);
	border-radius: 999px;
	background: var(--bgccst-brand, #25d366);
	color: #fff;
	box-shadow: 0 8px 24px rgb(16 24 40 / .18);
	text-decoration: none;
	transition: transform .2s var(--bgccst-ease), filter .2s;
}
.bgccst-contact:hover { color: #fff; filter: brightness(1.08); transform: translateY(-2px); }
.bgccst-contact__icon { display: grid; flex: 0 0 auto; place-items: center; width: var(--bgccst-contact-size, 54px); height: var(--bgccst-contact-size, 54px); }
.bgccst-contact__icon .bgccst-icon,
.bgccst-contact__icon svg { width: calc(var(--bgccst-contact-size, 54px) * .5); height: calc(var(--bgccst-contact-size, 54px) * .5); }
.bgccst-contact__label { padding-right: 20px; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.bgccst-contact__label.screen-reader-text { padding: 0; }
.bgccst-contact-primary .bgccst-contact { background: var(--bgccst-primary); color: var(--bgccst-on-primary); }
.bgccst-contact-accent .bgccst-contact { background: var(--bgccst-accent); }
.bgccst-contact-custom .bgccst-contact { background: var(--bgccst-contact-bg, #25d366); color: var(--bgccst-contact-color, #fff); }
@keyframes bgccst-contact-pulse { 0% { box-shadow: 0 8px 24px rgb(16 24 40 / .18), 0 0 0 0 color-mix(in srgb, currentColor 0%, var(--bgccst-brand, #25d366)); } 70% { box-shadow: 0 8px 24px rgb(16 24 40 / .18), 0 0 0 14px transparent; } 100% { box-shadow: 0 8px 24px rgb(16 24 40 / .18), 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: no-preference) {
	.bgccst-contact-pulse .bgccst-contact { animation: bgccst-contact-pulse 2.6s ease-out infinite; }
}
.bgccst-mfilter-float_right.bgccst-float-right .bgccst-mfilter--float { right: auto; left: 16px; }

/* Toasts */
.bgccst-toasts {
	position: fixed;
	bottom: calc(20px + var(--bgccst-bottom-bar-h));
	left: 50%;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: max-content;
	max-width: calc(100vw - 32px);
	transform: translateX(-50%);
	pointer-events: none;
}
.bgccst-toast {
	position: relative;
	min-width: 260px;
	max-width: 460px;
	padding: 13px 44px 13px 16px;
	background: var(--bgccst-bg);
	color: var(--bgccst-heading);
	border: 1px solid var(--bgccst-border);
	border-left: 4px solid var(--bgccst-primary);
	border-radius: 10px;
	box-shadow: var(--bgccst-shadow-lg);
	font-size: .925rem;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s, transform .25s var(--bgccst-ease);
	pointer-events: auto;
}
.bgccst-toast.is-visible { opacity: 1; transform: none; }
.bgccst-toast--success { border-left-color: var(--bgccst-success); }
.bgccst-toast--error { border-left-color: var(--bgccst-error); }
.bgccst-toast a { color: var(--bgccst-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bgccst-toast a.button, .bgccst-toast a.wc-forward { display: none; }
.bgccst-toast__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 30px;
	height: 30px;
	border: 0;
	background: none;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	opacity: .7;
}

.bgccst-spinner {
	width: 38px;
	height: 38px;
	margin: 80px auto;
	border: 3px solid var(--bgccst-border);
	border-top-color: var(--bgccst-primary);
	border-radius: 50%;
	animation: bgccst-spin .8s linear infinite;
}

/* ==========================================================================
   7. Homepage sections
   ========================================================================== */
.bgccst-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: clamp(20px, 3vw, 32px);
}
.bgccst-section__title { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.6vw, var(--bgccst-h2)); }
.bgccst-section__subtitle { margin: 6px 0 0; color: var(--bgccst-muted); }
.bgccst-section__actions { display: flex; align-items: center; gap: 16px; }
.bgccst-link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--bgccst-heading); font-weight: 600; }
.bgccst-link-arrow .bgccst-icon { width: 18px; height: 18px; transition: transform .2s var(--bgccst-ease); }
.bgccst-link-arrow:hover { color: var(--bgccst-primary); }
.bgccst-link-arrow:hover .bgccst-icon { transform: translateX(3px); }
.bgccst-carousel__nav { display: flex; gap: 6px; }
.bgccst-carousel__btn { border: 1px solid var(--bgccst-border); color: var(--bgccst-heading); }
.bgccst-carousel.is-static .bgccst-carousel__nav { display: none; }

.bgccst-customizer-hint {
	margin: 16px 0;
	padding: 18px;
	border: 2px dashed var(--bgccst-border);
	border-radius: var(--bgccst-radius);
	color: var(--bgccst-muted);
	font-size: .9rem;
	text-align: center;
}

/* Hero */
.bgccst-hero { position: relative; overflow: hidden; background: var(--bgccst-heading); color: var(--bgccst-hero-text); }
.bgccst-hero__track { display: grid; }
.bgccst-hero__slide {
	position: relative;
	grid-area: 1 / 1;
	display: grid;
	grid-template-areas: "stack";
	align-items: var(--bgccst-hero-valign);
	min-height: var(--bgccst-hero-h);
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility 0s linear .8s;
}
.bgccst-hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s ease; }
.bgccst-hero__slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, color-mix(in srgb, var(--bgccst-hero-veil) calc(var(--bgccst-hero-overlay) * 100%), transparent) 0%, color-mix(in srgb, var(--bgccst-hero-veil) calc(var(--bgccst-hero-overlay) * 55%), transparent) 100%);
}
.bgccst-hero--center .bgccst-hero__slide::before { background: color-mix(in srgb, var(--bgccst-hero-veil) calc(var(--bgccst-hero-overlay) * 100%), transparent); }
.bgccst-hero--right .bgccst-hero__slide::before { background: linear-gradient(270deg, color-mix(in srgb, var(--bgccst-hero-veil) calc(var(--bgccst-hero-overlay) * 100%), transparent) 0%, color-mix(in srgb, var(--bgccst-hero-veil) calc(var(--bgccst-hero-overlay) * 55%), transparent) 100%); }
.bgccst-hero__slide--plain {
	background:
		radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--bgccst-accent) 22%, transparent) 0, transparent 45%),
		radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--bgccst-primary) 14%, transparent) 0, transparent 50%),
		linear-gradient(135deg, color-mix(in srgb, var(--bgccst-primary) 9%, #fff), var(--bgccst-surface));
}
.bgccst-hero__slide--plain::before { display: none; }
.bgccst-hero__media { position: absolute; inset: 0; display: block; margin: 0; }
.bgccst-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--bgccst-hero-pos); }
.bgccst-hero__content { position: relative; z-index: 2; grid-area: stack; width: 100%; padding-block: 64px 88px; }

/* Layout: rounded box */
.bgccst-hero-wrap { margin-top: clamp(12px, 2vw, 24px); }
.bgccst-hero--style-boxed { border-radius: calc(var(--bgccst-radius) + 8px); isolation: isolate; }
.bgccst-hero--style-boxed .bgccst-hero__content { padding-inline: clamp(24px, 5vw, 64px); }

/* Layout: text and image side by side */
.bgccst-hero--style-split { background: var(--bgccst-surface); }
.bgccst-hero--style-split .bgccst-hero__slide:not(.bgccst-hero__slide--plain) { grid-template-areas: "content media"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bgccst-hero--style-split.bgccst-hero--right .bgccst-hero__slide:not(.bgccst-hero__slide--plain) { grid-template-areas: "media content"; }
.bgccst-hero--style-split .bgccst-hero__slide::before { display: none; }
.bgccst-hero--style-split .bgccst-hero__media { position: relative; grid-area: media; align-self: stretch; }
.bgccst-hero--style-split .bgccst-hero__content { grid-area: content; max-width: calc(var(--bgccst-container) / 2); margin-left: auto; padding-inline: var(--bgccst-gutter) clamp(24px, 4vw, 56px); }
.bgccst-hero--style-split.bgccst-hero--right .bgccst-hero__content { margin-left: 0; margin-right: auto; padding-inline: clamp(24px, 4vw, 56px) var(--bgccst-gutter); }
.bgccst-hero--style-split .bgccst-hero__slide--plain .bgccst-hero__content { max-width: var(--bgccst-container); margin-inline: auto; padding-inline: var(--bgccst-gutter); }
@media (max-width: 1024px) {
	.bgccst-hero--style-split .bgccst-hero__slide:not(.bgccst-hero__slide--plain),
	.bgccst-hero--style-split.bgccst-hero--right .bgccst-hero__slide:not(.bgccst-hero__slide--plain) { grid-template-areas: "media" "content"; grid-template-columns: minmax(0, 1fr); align-items: start; }
	.bgccst-hero--style-split .bgccst-hero__media { height: calc(var(--bgccst-hero-h) * .6); }
	.bgccst-hero--style-split .bgccst-hero__content,
	.bgccst-hero--style-split.bgccst-hero--right .bgccst-hero__content { max-width: none; margin: 0; padding: 28px var(--bgccst-gutter) 56px; }
}

/* Whole image: height follows the image */
@media (min-width: 1025px) {
	.bgccst-hero-fit-d-image .bgccst-hero__slide:not(.bgccst-hero__slide--plain) { min-height: 0; }
	.bgccst-hero-fit-d-image .bgccst-hero__media { position: relative; grid-area: stack; }
	.bgccst-hero-fit-d-image .bgccst-hero--style-split .bgccst-hero__media { grid-area: media; }
	.bgccst-hero-fit-d-image .bgccst-hero__img { height: auto; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.bgccst-hero-fit-t-image .bgccst-hero__slide:not(.bgccst-hero__slide--plain) { min-height: 0; }
	.bgccst-hero-fit-t-image .bgccst-hero__media { position: relative; grid-area: stack; min-height: 0; }
	.bgccst-hero-fit-t-image .bgccst-hero--style-split .bgccst-hero__media { grid-area: media; height: auto; }
	.bgccst-hero-fit-t-image .bgccst-hero__img { height: auto; }
}
@media (max-width: 767px) {
	.bgccst-hero-fit-m-image .bgccst-hero__slide:not(.bgccst-hero__slide--plain) { min-height: 0; }
	.bgccst-hero-fit-m-image .bgccst-hero__media { position: relative; grid-area: stack; min-height: 0; }
	.bgccst-hero-fit-m-image .bgccst-hero--style-split .bgccst-hero__media { grid-area: media; height: auto; }
	.bgccst-hero-fit-m-image .bgccst-hero__img { height: auto; }
}

/* Text on a card */
.bgccst-hero-box-card .bgccst-hero__box {
	padding: clamp(20px, 3vw, 36px);
	border-radius: calc(var(--bgccst-radius) + 4px);
	background: color-mix(in srgb, var(--bgccst-hero-veil) 86%, transparent);
	box-shadow: 0 12px 40px rgb(0 0 0 / .08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.bgccst-hero-box-card .bgccst-hero--style-split .bgccst-hero__box { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Text alignment on tablet & mobile */
@media (max-width: 1024px) {
	.bgccst-hero-m-left .bgccst-hero .bgccst-hero__box { margin-inline: 0 auto; text-align: left; }
	.bgccst-hero-m-left .bgccst-hero .bgccst-hero__text { margin-inline: 0; }
	.bgccst-hero-m-center .bgccst-hero .bgccst-hero__box { margin-inline: auto; text-align: center; }
	.bgccst-hero-m-center .bgccst-hero .bgccst-hero__text { margin-inline: auto; }
}
.bgccst-hero__box { max-width: 640px; }
.bgccst-hero--center .bgccst-hero__box { margin-inline: auto; text-align: center; }
.bgccst-hero--right .bgccst-hero__box { margin-left: auto; text-align: right; }
.bgccst-hero__title {
	margin: 0 0 .35em;
	color: inherit;
	font-size: var(--bgccst-hero-title);
	line-height: 1.08;
	letter-spacing: -.03em;
}
.bgccst-hero__text { max-width: 540px; margin: 0 0 1.75em; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); opacity: .9; }
.bgccst-hero--center .bgccst-hero__text { margin-inline: auto; }
.bgccst-hero--right .bgccst-hero__text { margin-left: auto; }
.bgccst-hero__slide.is-active .bgccst-hero__box > * { animation: bgccst-rise .8s var(--bgccst-ease) both; }
.bgccst-hero__slide.is-active .bgccst-hero__box > *:nth-child(2) { animation-delay: .08s; }
.bgccst-hero__slide.is-active .bgccst-hero__box > *:nth-child(3) { animation-delay: .16s; }
.bgccst-hero__arrow {
	position: absolute;
	bottom: 18px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid color-mix(in srgb, var(--bgccst-hero-text) 22%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--bgccst-hero-veil) 45%, transparent);
	color: var(--bgccst-hero-text);
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color .2s;
}
.bgccst-hero__arrow:hover { background: color-mix(in srgb, var(--bgccst-hero-veil) 80%, transparent); }
.bgccst-hero__arrow--prev { right: 76px; }
.bgccst-hero__arrow--next { right: 22px; }
.bgccst-hero__dots { position: absolute; bottom: 36px; left: 50%; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.bgccst-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: color-mix(in srgb, var(--bgccst-hero-text) 30%, transparent);
	cursor: pointer;
	transition: width .3s var(--bgccst-ease), background-color .3s;
}
.bgccst-hero__dot.is-active { width: 30px; background: var(--bgccst-hero-text); }
@media (max-width: 767px) {
	.bgccst-hero__arrow { display: none; }
	.bgccst-hero__slide::before { background: color-mix(in srgb, var(--bgccst-hero-veil) calc(var(--bgccst-hero-overlay) * 100%), transparent); }
}

/* Features */
.bgccst-features { padding-block: 28px; border-bottom: 1px solid var(--bgccst-border); }
.bgccst-hero + .bgccst-features { border-bottom: 1px solid var(--bgccst-border); }
.bgccst-features__list {
	display: grid;
	grid-template-columns: repeat(var(--bgccst-features-cols, 4), minmax(0, 1fr));
	gap: 20px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bgccst-feature { display: flex; align-items: center; gap: 14px; }
.bgccst-feature__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--bgccst-primary-soft);
	color: var(--bgccst-primary);
}
.bgccst-feature__body { display: flex; flex-direction: column; line-height: 1.35; }
.bgccst-feature__title { color: var(--bgccst-heading); font-weight: 600; }
.bgccst-feature__text { color: var(--bgccst-muted); font-size: .9em; }
@media (max-width: 1024px) { .bgccst-features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
	.bgccst-feature { flex-direction: column; align-items: flex-start; gap: 10px; }
	.bgccst-feature__icon { width: 42px; height: 42px; }
}

/* Categories */
.bgccst-cats__grid {
	display: grid;
	grid-template-columns: repeat(var(--bgccst-cats-cols), minmax(0, 1fr));
	gap: clamp(12px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bgccst-cat__link { position: relative; display: block; color: var(--bgccst-heading); }
.bgccst-cat__media { display: block; overflow: hidden; border-radius: var(--bgccst-radius); background: var(--bgccst-surface); aspect-ratio: 4 / 3; }
.bgccst-cat__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bgccst-ease); }
.bgccst-cat__link:hover .bgccst-cat__img { transform: scale(1.05); }
.bgccst-cat__body { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 12px; }
.bgccst-cat__name { font-weight: 600; font-size: 1.05rem; }
.bgccst-cat__count { color: var(--bgccst-muted); font-size: .875rem; white-space: nowrap; }
.bgccst-cats--overlay .bgccst-cat__media { aspect-ratio: 4 / 5; }
.bgccst-cats--overlay .bgccst-cat__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 48px 20px 18px;
	border-radius: 0 0 var(--bgccst-radius) var(--bgccst-radius);
	background: linear-gradient(transparent, rgb(0 0 0 / .65));
	color: #fff;
}
.bgccst-cats--overlay .bgccst-cat__name { font-size: 1.2rem; }
.bgccst-cats--overlay .bgccst-cat__count { color: rgb(255 255 255 / .8); }
@media (max-width: 1024px) { .bgccst-cats__grid { grid-template-columns: repeat(min(var(--bgccst-cats-cols), 3), minmax(0, 1fr)); } }
@media (max-width: 599px) { .bgccst-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bgccst-cats--overlay .bgccst-cat__body { padding: 32px 12px 12px; } .bgccst-cats--overlay .bgccst-cat__name { font-size: 1rem; } }

/* Banner */
.bgccst-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--bgccst-banner-h);
	padding: clamp(28px, 5vw, 72px);
	overflow: hidden;
	border-radius: calc(var(--bgccst-radius) * 1.5);
	background: var(--bgccst-banner-bg);
	color: var(--bgccst-banner-text);
}
.bgccst-banner:not(.has-image) {
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--bgccst-primary) 16%, transparent) 0, transparent 55%),
		var(--bgccst-banner-bg);
}
.bgccst-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgccst-banner.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--bgccst-banner-bg) 88%, transparent), color-mix(in srgb, var(--bgccst-banner-bg) 15%, transparent)); }
.bgccst-banner--center { justify-content: center; text-align: center; }
.bgccst-banner--center.has-image::before { background: color-mix(in srgb, var(--bgccst-banner-bg) 70%, transparent); }
.bgccst-banner__content { position: relative; z-index: 2; max-width: 560px; }
.bgccst-banner__title { color: inherit; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.1; }
.bgccst-banner__text { margin-bottom: 1.6em; opacity: .9; font-size: 1.05rem; }

/* Newsletter */
.bgccst-newsletter__box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px 48px;
	padding: clamp(24px, 4vw, 56px);
	border-radius: calc(var(--bgccst-radius) * 1.5);
	background: var(--bgccst-news-bg);
}
.bgccst-newsletter__intro { display: flex; gap: 18px; align-items: flex-start; }
.bgccst-newsletter__icon { display: grid; flex: 0 0 auto; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--bgccst-primary); color: var(--bgccst-on-primary); }
.bgccst-newsletter__title { margin: 0 0 .3em; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.bgccst-newsletter__text { margin: 0; color: var(--bgccst-muted); }
.bgccst-newsletter__form form { margin: 0; }
.bgccst-newsletter__form input[type="email"] { background: var(--bgccst-bg); }
.bgccst-newsletter__form p { margin-bottom: .6em; }
@media (max-width: 767px) { .bgccst-newsletter__box { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   8. Pages, blog, comments
   ========================================================================== */
.bgccst-page-header { padding: clamp(28px, 4vw, 48px) 0; background: var(--bgccst-surface); }
.bgccst-page-header__title { margin: 0; }
.bgccst-page-header__desc { max-width: 720px; margin-top: 10px; color: var(--bgccst-muted); }
.bgccst-page-header__desc p:last-child { margin: 0; }

.bgccst-breadcrumb,
.woocommerce .woocommerce-breadcrumb.bgccst-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0 0 12px;
	padding: 0;
	color: var(--bgccst-muted);
	font-size: .875rem;
}
.bgccst-breadcrumb a,
.woocommerce .woocommerce-breadcrumb.bgccst-breadcrumb a { color: var(--bgccst-muted); }
.bgccst-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb.bgccst-breadcrumb a:hover { color: var(--bgccst-primary); }
.bgccst-breadcrumb__sep { opacity: .5; }

.bgccst-posts--grid {
	display: grid;
	grid-template-columns: repeat(var(--bgccst-blog-cols, 2), minmax(0, 1fr));
	gap: 40px 28px;
}
.bgccst-post-card__media { display: block; overflow: hidden; margin-bottom: 16px; border-radius: var(--bgccst-radius); aspect-ratio: var(--bgccst-blog-ratio, 16 / 10); background: var(--bgccst-surface); }
.bgccst-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bgccst-ease); }
.bgccst-post-card:hover .bgccst-post-card__media img { transform: scale(1.04); }
.bgccst-post-cat { display: inline-block; margin-bottom: 6px; color: var(--bgccst-primary); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bgccst-post-card__title { margin: 0 0 .4em; font-size: var(--bgccst-blog-title, clamp(1.15rem, 1rem + .4vw, 1.35rem)); line-height: 1.3; }
.bgccst-post-card__title a { color: var(--bgccst-heading); }
.bgccst-post-card__title a:hover { color: var(--bgccst-primary); }
.bgccst-post-card__excerpt { color: var(--bgccst-muted); }
.bgccst-post-card__excerpt p { margin-bottom: .75em; }
.bgccst-post-meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--bgccst-muted); font-size: .85rem; }
.bgccst-posts--list { display: grid; gap: 36px; }
.bgccst-posts--list .bgccst-post-card { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.bgccst-posts--list .bgccst-post-card__media { margin: 0; }
.bgccst-posts--list .bgccst-post-card:not(.has-post-thumbnail) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1024px) { .bgccst-posts--grid { grid-template-columns: repeat(min(var(--bgccst-blog-cols, 2), 2), minmax(0, 1fr)); } }
@media (max-width: 599px) {
	.bgccst-posts--grid { grid-template-columns: minmax(0, 1fr); }
	.bgccst-posts--list .bgccst-post-card { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.bgccst-posts--list .bgccst-post-card__media { margin-bottom: 14px; }
}

.bgccst-layout--full > .bgccst-single { max-width: var(--bgccst-post-w, 780px); margin-inline: auto; }
.bgccst-single__header { margin-bottom: 28px; }
.bgccst-single__title { margin: 4px 0 12px; font-size: var(--bgccst-post-title, clamp(1.9rem, 1.4rem + 2vw, 2.75rem)); line-height: 1.15; }
.bgccst-single__thumb { margin: 0 0 32px; overflow: hidden; border-radius: var(--bgccst-radius); }
.bgccst-single__thumb img { display: block; width: 100%; height: auto; aspect-ratio: var(--bgccst-post-ratio, auto); object-fit: cover; }
.bgccst-single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.bgccst-single__tags a { padding: 4px 12px; border: 1px solid var(--bgccst-border); border-radius: 999px; color: var(--bgccst-text); font-size: .85rem; }
.bgccst-single__tags a:hover { border-color: var(--bgccst-primary); color: var(--bgccst-primary); }

.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img,
.entry-content .wp-block-image img { border-radius: calc(var(--bgccst-radius) * .7); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.entry-content .alignfull img { border-radius: 0; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { margin-top: .5em; color: var(--bgccst-muted); font-size: .875em; text-align: center; }
.sticky .bgccst-post-card__title::before { content: "★ "; color: var(--bgccst-accent); }
.bypostauthor > .comment-body .comment-author .fn::after,
.bypostauthor > article .comment-author .fn::after { content: " ✓"; color: var(--bgccst-primary); }
.gallery-caption { display: block; margin-top: .5em; color: var(--bgccst-muted); font-size: .875em; }
.is-style-bgccst-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--bgccst-border); border-radius: calc(var(--bgccst-radius) + 4px); background: var(--bgccst-bg); }
.is-style-bgccst-soft { padding: clamp(20px, 3vw, 32px); border-radius: calc(var(--bgccst-radius) + 4px); background: var(--bgccst-surface); }
.bgccst-page-links { display: flex; gap: 8px; margin: 2em 0; font-weight: 600; }

.post-navigation { margin: 48px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--bgccst-border); border-radius: var(--bgccst-radius); color: var(--bgccst-heading); }
.post-navigation a:hover { border-color: var(--bgccst-primary); }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.bgccst-post-nav__label { color: var(--bgccst-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.bgccst-post-nav__title { font-weight: 600; }

/* Blog: lists */
.bgccst-blog-region,
.bgccst-bb-region,
.bgccst-header-social-region,
.bgccst-single-region,
.bgccst-topbar-region,
.bgccst-home-region,
.bgccst-footer-region { display: contents; }
.bgccst-posts--archive { --bgccst-blog-gap-y: calc(var(--bgccst-blog-gap, 28px) * 1.25); }
.bgccst-posts--archive.bgccst-posts--grid { grid-template-columns: repeat(var(--bgccst-blog-cols, 3), minmax(0, 1fr)); gap: var(--bgccst-blog-gap-y) var(--bgccst-blog-gap, 28px); }
.bgccst-posts--archive.bgccst-posts--list { gap: var(--bgccst-blog-gap-y); }
.bgccst-posts--masonry { columns: var(--bgccst-blog-cols, 3); column-gap: var(--bgccst-blog-gap, 28px); }
.bgccst-posts--masonry > .bgccst-post-card { display: block; margin-bottom: var(--bgccst-blog-gap-y); break-inside: avoid; }
.bgccst-posts--masonry .bgccst-post-card__media { aspect-ratio: auto; }
.bgccst-posts--masonry .bgccst-post-card__media img { height: auto; }
.bgccst-post-card { display: flex; flex-direction: column; min-width: 0; }
.bgccst-post-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.bgccst-post-card__body > .bgccst-post-meta { margin-top: auto; padding-top: 4px; }
.bgccst-post-card__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; font-size: .9rem; }
.bgccst-post-card__more svg { width: 16px; height: 16px; transition: transform .2s var(--bgccst-ease); }
.bgccst-post-card__more:hover svg { transform: translateX(3px); }
.bgccst-post-meta a { color: inherit; }
.bgccst-post-meta a:hover { color: var(--bgccst-primary); }

/* Card styles */
.bgccst-blog-cards-boxed .bgccst-post-card,
.bgccst-blog-cards-shadow .bgccst-post-card { overflow: hidden; border-radius: calc(var(--bgccst-radius) + 4px); background: var(--bgccst-bg); }
.bgccst-blog-cards-boxed .bgccst-post-card { border: 1px solid var(--bgccst-border); }
.bgccst-blog-cards-shadow .bgccst-post-card { box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .07); transition: box-shadow .25s var(--bgccst-ease), transform .25s var(--bgccst-ease); }
.bgccst-blog-cards-shadow .bgccst-post-card:hover { box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 16px 36px rgba(16, 24, 40, .1); transform: translateY(-2px); }
:is(.bgccst-blog-cards-boxed, .bgccst-blog-cards-shadow) .bgccst-post-card__media { margin: 0; border-radius: 0; }
:is(.bgccst-blog-cards-boxed, .bgccst-blog-cards-shadow) .bgccst-post-card__body { padding: 18px 20px 20px; }

/* Text alignment */
.bgccst-blog-align-center .bgccst-post-card__body { align-items: center; text-align: center; }
.bgccst-blog-align-center .bgccst-post-card .bgccst-post-meta { justify-content: center; }

/* Featured (newest) post */
.bgccst-posts--grid > .bgccst-post-card--featured { grid-column: 1 / -1; }
.bgccst-posts--masonry > .bgccst-post-card--featured { column-span: all; }
.bgccst-post-card--featured .bgccst-post-card__title { font-size: calc(var(--bgccst-blog-title, 1.35rem) * 1.15); }
@media (min-width: 768px) {
	.bgccst-posts--grid > .bgccst-post-card--featured:not(.bgccst-post-card--no-image),
	.bgccst-posts--masonry > .bgccst-post-card--featured:not(.bgccst-post-card--no-image) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 40px); align-items: center; }
	.bgccst-post-card--featured .bgccst-post-card__media { margin: 0; }
	:is(.bgccst-blog-cards-boxed, .bgccst-blog-cards-shadow) :is(.bgccst-posts--grid, .bgccst-posts--masonry) > .bgccst-post-card--featured:not(.bgccst-post-card--no-image) .bgccst-post-card__body { padding: 24px 28px 24px 0; }
	.bgccst-post-card--featured .bgccst-post-card__title { font-size: calc(var(--bgccst-blog-title, 1.35rem) * 1.45); }
}
.bgccst-posts--list .bgccst-post-card--featured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
:is(.bgccst-blog-cards-boxed, .bgccst-blog-cards-shadow) .bgccst-posts--list .bgccst-post-card { gap: 0; }

.bgccst-posts-nav { margin-top: 48px; }
.bgccst-posts-nav .nav-links { display: flex; justify-content: space-between; gap: 12px; }
.bgccst-posts-nav .nav-next { margin-left: auto; }
.bgccst-posts-nav a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border: 1px solid var(--bgccst-border); border-radius: 999px; color: var(--bgccst-heading); font-weight: 600; }
.bgccst-posts-nav a:hover { border-color: var(--bgccst-primary); color: var(--bgccst-primary); }
.bgccst-posts-nav svg { width: 16px; height: 16px; }

/* Single post */
.bgccst-single .entry-content { font-size: var(--bgccst-post-fs, 1.0625rem); line-height: var(--bgccst-post-lh, 1.75); }
.bgccst-single--image .bgccst-single__thumb { margin-bottom: 28px; }
.bgccst-post-title-center .bgccst-single__header,
.bgccst-post-title-center .bgccst-single__cover-inner { text-align: center; }
.bgccst-post-title-center .bgccst-single__header .bgccst-post-meta,
.bgccst-post-title-center .bgccst-single__cover-inner .bgccst-post-meta,
.bgccst-post-title-center .bgccst-single__header .bgccst-breadcrumb { justify-content: center; }
.bgccst-single__cover { position: relative; display: grid; overflow: hidden; margin: 0 0 36px; border-radius: calc(var(--bgccst-radius) + 4px); background: #111827; color: #fff; }
.bgccst-single__cover > * { grid-area: 1 / 1; }
.bgccst-single__cover-media { margin: 0; }
.bgccst-single__cover-media img { display: block; width: 100%; height: 100%; min-height: clamp(320px, 42vw, 520px); aspect-ratio: var(--bgccst-post-ratio, auto); object-fit: cover; }
.bgccst-single__cover-inner { position: relative; z-index: 1; align-self: end; padding: clamp(24px, 4vw, 48px); background: linear-gradient(to top, rgba(17, 24, 39, .82), rgba(17, 24, 39, .35) 65%, rgba(17, 24, 39, 0)); }
.bgccst-single__cover .bgccst-single__title,
.bgccst-single__cover .bgccst-post-cat,
.bgccst-single__cover .bgccst-post-meta,
.bgccst-single__cover .bgccst-post-meta a { color: #fff; }
.bgccst-single__cover .bgccst-post-meta { opacity: .9; }
.bgccst-dropcap .bgccst-single .entry-content > p:first-of-type::first-letter { float: left; margin: .08em .12em 0 0; color: var(--bgccst-primary); font-family: var(--bgccst-font-h); font-size: 3.4em; font-weight: 700; line-height: .8; }
.bgccst-progress { position: fixed; z-index: 10000; inset: 0 0 auto; height: 3px; pointer-events: none; }
.bgccst-progress span { display: block; height: 100%; background: var(--bgccst-primary); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .bgccst-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .bgccst-progress { top: 46px; } }
@media (prefers-reduced-motion: no-preference) { .bgccst-progress span { transition: transform .1s linear; } }

.bgccst-share { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 32px 0; padding: 18px 0; border-block: 1px solid var(--bgccst-border); }
.bgccst-share__label { color: var(--bgccst-heading); font-weight: 600; }
.bgccst-share__links { display: flex; flex-wrap: wrap; gap: 8px; }
.bgccst-share__link { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--bgccst-border); border-radius: 999px; background: var(--bgccst-bg); color: var(--bgccst-text); font: inherit; font-size: .85rem; line-height: 1.2; cursor: pointer; }
.bgccst-share__link:hover,
.bgccst-share__link:focus-visible { border-color: var(--bgccst-primary); color: var(--bgccst-primary); }
.bgccst-share__link svg { width: 15px; height: 15px; }

.bgccst-author-box { display: flex; gap: 20px; align-items: flex-start; margin: 36px 0; padding: 24px; border-radius: calc(var(--bgccst-radius) + 4px); background: var(--bgccst-surface); }
.bgccst-author-box__avatar { display: grid; flex: 0 0 auto; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bgccst-primary-soft); color: var(--bgccst-primary); font-size: 1.3rem; font-weight: 700; }
.bgccst-author-box__label { display: block; color: var(--bgccst-muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.bgccst-author-box__name { display: inline-block; margin: 2px 0 6px; color: var(--bgccst-heading); font-size: 1.1rem; font-weight: 700; }
.bgccst-author-box__bio { margin: 0; color: var(--bgccst-text); }
@media (max-width: 599px) { .bgccst-author-box { flex-direction: column; } }

.bgccst-related-posts { margin: 48px 0; }
.bgccst-related-posts__title { margin-bottom: 20px; font-size: 1.4rem; }
.bgccst-posts--related.bgccst-posts--grid { grid-template-columns: repeat(var(--bgccst-related-post-cols, 3), minmax(0, 1fr)); gap: 32px 24px; }
.bgccst-posts--related .bgccst-post-card__title { font-size: 1.05rem; }
.bgccst-posts--related :is(.bgccst-post-card__excerpt, .bgccst-post-card__more) { display: none; }

/* Pagination (posts) */
.pagination { margin-top: 48px; }
.pagination .nav-links,
.page-numbers:is(ul) { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--bgccst-border);
	border-radius: var(--bgccst-btn-radius);
	color: var(--bgccst-heading);
	font-weight: 600;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { border-color: var(--bgccst-primary); background: var(--bgccst-primary); color: var(--bgccst-on-primary); }
.pagination .page-numbers .bgccst-icon { width: 18px; height: 18px; }

/* Comments */
.bgccst-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--bgccst-border); }
.bgccst-comments__list,
.bgccst-comments__list .children { margin: 0 0 32px; padding: 0; list-style: none; }
.bgccst-comments__list .children { margin: 20px 0 0 28px; }
.bgccst-comments__list .comment-body { padding: 20px; margin-bottom: 16px; border-radius: var(--bgccst-radius); background: var(--bgccst-surface); }
.bgccst-comments__list .comment-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; font-size: .875rem; }
.bgccst-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--bgccst-heading); }
.bgccst-comments__list .avatar { border-radius: 50%; }
.bgccst-comments__list .says { display: none; }
.bgccst-comments__list .comment-metadata a { color: var(--bgccst-muted); }
.bgccst-comments__list .reply { font-size: .875rem; font-weight: 600; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* Widgets */
.widget { margin-bottom: 36px; }
.widget:last-child { margin-bottom: 0; }
.widget-title { margin-bottom: 14px; font-size: 1.05rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 6px 0; }
.widget li a { color: var(--bgccst-text); }
.widget li a:hover { color: var(--bgccst-primary); }
.bgccst-sidebar .widget { padding-bottom: 28px; border-bottom: 1px solid var(--bgccst-border); }
.bgccst-sidebar .widget:last-child { border-bottom: 0; }

/* Empty / 404 */
.bgccst-empty, .v-404 { max-width: 620px; margin: 0 auto; padding: 40px 0; text-align: center; }
.bgccst-empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: var(--bgccst-surface); color: var(--bgccst-muted); }
.v-404__code {
	margin: 0;
	font-family: var(--bgccst-font-h);
	font-size: clamp(6rem, 18vw, 11rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
	color: color-mix(in srgb, var(--bgccst-primary) 20%, transparent);
}
.v-404__search { max-width: 560px; margin: 24px auto; }
.v-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.bgccst-footer { background: var(--bgccst-footer-bg); color: var(--bgccst-footer-text); font-size: .95rem; }
body .bgccst-footer a,
body .bgccst-footer a:visited { color: var(--bgccst-footer-link); }
body .bgccst-footer a:hover { color: var(--bgccst-footer-heading); }
.bgccst-footer h1, .bgccst-footer h2, .bgccst-footer h3, .bgccst-footer h4, .bgccst-footer .widget-title { color: var(--bgccst-footer-heading); }
.bgccst-footer__widgets { padding: var(--bgccst-footer-pad) 0 calc(var(--bgccst-footer-pad) * .65); }
.bgccst-footer .widget-title { font-size: var(--bgccst-footer-title); }
.bgccst-footer__grid {
	display: grid;
	grid-template-columns: repeat(var(--bgccst-footer-cols, 4), minmax(0, 1fr));
	gap: 40px var(--bgccst-footer-gap, 32px);
}
@media (min-width: 1025px) {
	.bgccst-footer__grid { grid-template-columns: minmax(0, var(--bgccst-footer-first, 1fr)) repeat(calc(var(--bgccst-footer-active, 4) - 1), minmax(0, 1fr)); }
	.bgccst-footer__grid[style*="--bgccst-footer-active:1"] { grid-template-columns: minmax(0, 1fr); }
}
.bgccst-footer .widget li a { color: var(--bgccst-footer-link); }
.bgccst-footer .bgccst-brand__title a { color: var(--bgccst-footer-heading); }
.bgccst-footer .custom-logo { width: min(var(--bgccst-logo-w), 180px); max-height: 60px; }
.bgccst-footer__about { max-width: 340px; margin: 16px 0 0; }
.bgccst-footer__bottom { padding: 18px 0; background: var(--bgccst-footer-bottom-bg); font-size: .875rem; }
.bgccst-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.bgccst-footer__copy p { margin: 0; }
.bgccst-footer__menu { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.bgccst-footer__payments img { width: auto; max-height: 28px; }
.bgccst-footer--minimal .bgccst-footer__bottom-inner,
.bgccst-footer--bottom-center .bgccst-footer__bottom-inner { flex-direction: column; justify-content: center; text-align: center; }
@media (max-width: 767px) {
	.bgccst-footer__col { text-align: var(--bgccst-footer-align-m); }
	.bgccst-footer__col .bgccst-brand,
	.bgccst-footer__col .bgccst-social { align-items: var(--bgccst-footer-align-m); justify-content: var(--bgccst-footer-align-m); }
	.bgccst-footer__col .bgccst-footer__about { max-width: none; }
	.bgccst-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* Social links */
.bgccst-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.bgccst-social--drawer { margin-top: 24px; }
.bgccst-social--header,
.bgccst-social--topbar { margin-top: 0; }
.bgccst-social__link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--bgccst-ease), opacity .2s; }
.bgccst-social__icon { width: 55%; height: 55%; }
.bgccst-social__glyph { font-family: var(--bgccst-font-h); font-size: calc(var(--bgccst-social-size) * .46); font-weight: 800; line-height: 1; letter-spacing: -.02em; }

/* Icons */
.bgccst-social-icon .bgccst-social__link {
	width: var(--bgccst-social-size);
	height: var(--bgccst-social-size);
	border: 1px solid transparent;
	border-radius: 50%;
}
.bgccst-social-icon .bgccst-social__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.bgccst-social-icon .bgccst-social__link:hover { transform: translateY(-2px); }
.bgccst-social-shape-rounded .bgccst-social__link { border-radius: calc(var(--bgccst-social-size) * .28); }
.bgccst-social-shape-square .bgccst-social__link { border-radius: 2px; }
.bgccst-social-icon.bgccst-social-shape-plain .bgccst-social__link { width: auto; min-width: calc(var(--bgccst-social-size) * .7); background: none !important; border-color: transparent !important; }
.bgccst-social-icon.bgccst-social-shape-plain .bgccst-social__icon { width: calc(var(--bgccst-social-size) * .62); height: calc(var(--bgccst-social-size) * .62); }
.bgccst-social-icon.bgccst-social-shape-plain.bgccst-social-colors-brand .bgccst-social__link { color: var(--bgccst-brand); }

.bgccst-social-colors-brand .bgccst-social__link { background: var(--bgccst-brand); color: #fff; }
.bgccst-social-colors-brand .bgccst-social__link:hover { color: #fff; opacity: .88; }
.bgccst-social-colors-theme .bgccst-social__link { background: var(--bgccst-primary); color: var(--bgccst-on-primary); }
.bgccst-social-colors-theme .bgccst-social__link:hover { background: var(--bgccst-primary-hover); color: var(--bgccst-on-primary); }
.bgccst-social-colors-soft .bgccst-social__link { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
.bgccst-social-colors-soft .bgccst-social__link:hover { background: var(--bgccst-brand); color: #fff; }
.bgccst-social-colors-outline .bgccst-social__link { border-color: color-mix(in srgb, currentColor 35%, transparent); color: inherit; }
.bgccst-social-colors-outline .bgccst-social__link:hover { border-color: var(--bgccst-brand); background: var(--bgccst-brand); color: #fff; }

/* Text buttons */
.bgccst-social-text .bgccst-social__icon,
.bgccst-social-text .bgccst-social__glyph { display: none; }
.bgccst-social-text .bgccst-social__link {
	padding: 6px 13px;
	border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
	border-radius: 999px;
	color: inherit;
	font-size: .8rem;
	font-weight: 500;
}
.bgccst-social-text .bgccst-social__link:hover { border-color: var(--bgccst-brand); background: var(--bgccst-brand); color: #fff; }
.bgccst-social--drawer .bgccst-social__link { --bgccst-social-size: 38px; }

/* ==========================================================================
   10. Animations
   ========================================================================== */
@keyframes bgccst-spin { to { transform: rotate(360deg); } }
@keyframes bgccst-pulse { from { opacity: 1; } to { opacity: .35; } }
@keyframes bgccst-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes bgccst-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bgccst-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------ Mega menu */
:root {
	--bgccst-mega-delay: 120ms;
	--bgccst-mega-pad: 32px;
	--bgccst-mega-gap: 32px;
	--bgccst-mega-radius: 12px;
	--bgccst-mega-hfs: 15px;
	--bgccst-mega-htt: none;
	--bgccst-mega-lfs: 14px;
	--bgccst-mega-lgap: 8px;
	--bgccst-mega-img: 120px;
	--bgccst-mega-thumb: 36px;
	--bgccst-mega-bg: #ffffff;
	--bgccst-mega-heading: #111827;
	--bgccst-mega-link: #4b5563;
	--bgccst-mega-hover: #3b5bdb;
	--bgccst-mega-banner-bg: #111827;
	--bgccst-badge-fs: 10px;
	--bgccst-badge-radius: 999px;
}
/* Icons and badges on menu items */
.bgccst-mi__icon { flex: 0 0 auto; width: 1.1em; height: 1.1em; }
.bgccst-mi__img { flex: 0 0 auto; width: 1.5em; height: 1.5em; object-fit: contain; border-radius: 4px; }
.bgccst-mi__badge {
	display: inline-block;
	flex: 0 0 auto;
	margin-left: 2px;
	padding: 1px 6px;
	border-radius: var(--bgccst-badge-radius);
	background: var(--bgccst-primary);
	color: var(--bgccst-on-primary, #fff);
	font-size: var(--bgccst-badge-fs);
	font-weight: 700;
	letter-spacing: .03em;
	line-height: 1.5;
	text-transform: uppercase;
	vertical-align: middle;
}
.bgccst-mi__badge--accent { background: var(--bgccst-accent); color: var(--bgccst-on-accent, #fff); }
.bgccst-mi__badge--green { background: #16a34a; color: #fff; }
.bgccst-mi__badge--red { background: #dc2626; color: #fff; }
.bgccst-mi__badge--orange { background: #ea580c; color: #fff; }
.bgccst-mi__badge--gray { background: #6b7280; color: #fff; }
.bgccst-menu .sub-menu a,
.bgccst-mobile-menu a { display: flex; align-items: center; gap: 8px; }
.bgccst-menu .sub-menu .bgccst-mi__text { flex: 1 1 auto; min-width: 0; }
.bgccst-mobile-menu .bgccst-mi__text { flex: 0 1 auto; min-width: 0; }
.bgccst-menu .sub-menu .menu-item-has-children > a::after { float: none; margin-left: auto; }

/* Panel */
.bgccst-menu > li.bgccst-mega-item { position: static; }
.bgccst-menu > li.bgccst-mega-item--auto { position: relative; }
.bgccst-mega {
	position: absolute;
	top: 100%;
	z-index: 30;
	box-sizing: border-box;
	border: 1px solid var(--bgccst-border);
	border-radius: var(--bgccst-mega-radius);
	background: var(--bgccst-mega-bg);
	color: var(--bgccst-mega-link);
	box-shadow: var(--bgccst-shadow);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--bgccst-ease), visibility .2s;
}
.bgccst-mega-flat .bgccst-mega { box-shadow: none; }
.bgccst-mega-anim-fade .bgccst-mega { transform: none; }
.bgccst-mega-anim-none .bgccst-mega { transform: none; transition: none; }
.bgccst-mega--full { left: 0; right: 0; border-right: 0; border-left: 0; border-radius: 0; }
.bgccst-mega--full .bgccst-mega__inner { max-width: calc(var(--bgccst-container) + 2 * var(--bgccst-gutter)); margin: 0 auto; }
.bgccst-mega--container { left: 50%; width: min(calc(var(--bgccst-container) + 2 * var(--bgccst-gutter)), 100%); transform: translate(-50%, 8px); }
.bgccst-mega-anim-fade .bgccst-mega--container,
.bgccst-mega-anim-none .bgccst-mega--container { transform: translate(-50%, 0); }
.bgccst-mega--auto { left: -18px; width: max-content; min-width: 540px; max-width: min(1000px, calc(100vw - 2 * var(--bgccst-gutter))); }
.bgccst-mega--auto.is-flipped { left: auto; right: -18px; }
.bgccst-mega-open-hover .bgccst-menu > li:hover > .bgccst-mega,
.bgccst-menu > li:focus-within > .bgccst-mega,
.bgccst-menu > li.is-open > .bgccst-mega { opacity: 1; visibility: visible; transform: none; transition-delay: var(--bgccst-mega-delay); }
.bgccst-mega-open-hover .bgccst-menu > li:hover > .bgccst-mega--container,
.bgccst-menu > li:focus-within > .bgccst-mega--container,
.bgccst-menu > li.is-open > .bgccst-mega--container { transform: translate(-50%, 0); }
.bgccst-mega-open-click .bgccst-menu > li:focus-within:not(.is-open) > .bgccst-mega { opacity: 0; visibility: hidden; }
.bgccst-mega-open-click .bgccst-menu > li.is-open > .bgccst-mega { transition-delay: 0s; }
.bgccst-mega-open-click .bgccst-menu > li.bgccst-mega-item > a { cursor: pointer; }
.bgccst-menu > li.is-open > a { color: var(--bgccst-nav-hover); }
.bgccst-mega__inner { display: flex; gap: var(--bgccst-mega-gap); padding: var(--bgccst-mega-pad); }
.bgccst-mega--full .bgccst-mega__inner { padding-inline: var(--bgccst-gutter); }
.bgccst-mega--banner-left .bgccst-mega__inner { flex-direction: row-reverse; }
.bgccst-mega--banner-bottom .bgccst-mega__inner { flex-direction: column; }
.bgccst-mega__main { flex: 1 1 auto; min-width: 0; }
.bgccst-mega__cols {
	display: grid;
	grid-template-columns: repeat(var(--bgccst-mega-cols, 4), minmax(0, 1fr));
	gap: calc(var(--bgccst-mega-gap) * .75) var(--bgccst-mega-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bgccst-mega--auto .bgccst-mega__cols { grid-template-columns: repeat(var(--bgccst-mega-cols, 4), minmax(150px, 1fr)); }
.bgccst-menu .bgccst-mega__col { position: static; min-width: 0; }
.bgccst-mega__col--span2 { grid-column: span 2; }
.bgccst-mega__col--span3 { grid-column: span 3; }
.bgccst-mega__col--row { grid-column-start: 1; }
.bgccst-mega-dividers .bgccst-mega__col + .bgccst-mega__col { margin-left: calc(var(--bgccst-mega-gap) / -2); padding-left: calc(var(--bgccst-mega-gap) / 2); border-left: 1px solid var(--bgccst-border); }
.bgccst-mega-dividers .bgccst-mega__col--row { margin-left: 0; padding-left: 0; border-left: 0; }
.bgccst-menu .bgccst-mega__heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--bgccst-mega-heading);
	font-size: var(--bgccst-mega-hfs);
	font-weight: 700;
	line-height: 1.3;
	text-transform: var(--bgccst-mega-htt);
}
.bgccst-menu a.bgccst-mega__heading:hover { color: var(--bgccst-mega-hover); background: none; }
.bgccst-mega-hline .bgccst-mega__heading { padding-bottom: 8px; border-bottom: 1px solid var(--bgccst-border); }
.bgccst-mega__heading .bgccst-mi__text { flex: 0 1 auto; }
.bgccst-mega__links { display: grid; gap: var(--bgccst-mega-lgap); margin: 0; padding: 0; list-style: none; }
.bgccst-menu .bgccst-mega__links li { position: static; }
.bgccst-menu .bgccst-mega__links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--bgccst-mega-link);
	font-size: var(--bgccst-mega-lfs);
	font-weight: 500;
	line-height: 1.35;
	transition: color .15s;
}
.bgccst-menu .bgccst-mega__links a:hover,
.bgccst-menu .bgccst-mega__links .current-menu-item > a { color: var(--bgccst-mega-hover); background: none; }
.bgccst-mega-arrows .bgccst-mega__links a::before { content: ""; flex: 0 0 0px; height: 1.5px; background: currentColor; transition: flex-basis .18s var(--bgccst-ease), margin .18s; margin-right: -10px; }
.bgccst-mega-arrows .bgccst-mega__links a:hover::before { flex-basis: 12px; margin-right: 0; }
.bgccst-mega-arrows .bgccst-mega__links a:has(.bgccst-mega__thumb)::before { display: none; }
.bgccst-mega__count { margin-left: 2px; color: var(--bgccst-muted); font-size: .85em; font-weight: 400; }
.bgccst-menu .bgccst-mega__all a { color: var(--bgccst-primary); font-weight: 600; }
.bgccst-mega__col-figure { display: block; margin: 0 0 12px; overflow: hidden; border-radius: var(--bgccst-radius); background: var(--bgccst-surface); }
.bgccst-mega__col-img { display: block; width: 100%; height: var(--bgccst-mega-img); object-fit: cover; transition: transform .3s var(--bgccst-ease); }
a.bgccst-mega__col-figure:hover .bgccst-mega__col-img { transform: scale(1.04); }
.bgccst-mega-img-round .bgccst-mega__col-figure--cat { width: var(--bgccst-mega-img); border-radius: 50%; }
.bgccst-mega-img-square .bgccst-mega__col-figure--cat { border-radius: 0; }
.bgccst-mega__thumb { flex: 0 0 auto; width: var(--bgccst-mega-thumb); height: var(--bgccst-mega-thumb); object-fit: cover; border-radius: calc(var(--bgccst-radius) * .6); background: var(--bgccst-surface); }
.bgccst-mega-img-round .bgccst-mega__thumb { border-radius: 50%; }
.bgccst-mega-img-square .bgccst-mega__thumb { border-radius: 0; }
.bgccst-mega__content { font-size: var(--bgccst-mega-lfs); line-height: 1.5; }
.bgccst-mega__content > :first-child { margin-top: 0; }
.bgccst-mega__content > :last-child { margin-bottom: 0; }
.bgccst-mega__content img { max-width: 100%; height: auto; border-radius: var(--bgccst-radius); }

/* Products */
.bgccst-mega__products { margin-top: var(--bgccst-mega-gap); padding-top: calc(var(--bgccst-mega-gap) * .6); border-top: 1px solid var(--bgccst-border); }
.bgccst-mega__product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.bgccst-menu .bgccst-mega__product-list li { position: static; }
.bgccst-menu .bgccst-mega__product { display: flex; gap: 12px; align-items: center; padding: 0; border-radius: 0; background: none; color: var(--bgccst-mega-heading); }
.bgccst-mega__product-img { flex: 0 0 auto; width: 64px; height: 64px; object-fit: cover; border-radius: calc(var(--bgccst-radius) * .8); background: var(--bgccst-surface); }
.bgccst-mega__product-body { display: grid; gap: 3px; min-width: 0; }
.bgccst-mega__product-name { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: var(--bgccst-mega-lfs); font-weight: 600; line-height: 1.3; }
.bgccst-menu .bgccst-mega__product:hover .bgccst-mega__product-name { color: var(--bgccst-mega-hover); }
.bgccst-mega__product-price { color: var(--bgccst-muted); font-size: calc(var(--bgccst-mega-lfs) - 1px); font-weight: 600; }
.bgccst-mega__product-price ins { text-decoration: none; color: var(--bgccst-price, var(--bgccst-heading)); }
.bgccst-mega__product-price del { opacity: .6; font-weight: 400; }

/* Banner */
.bgccst-menu .bgccst-mega__banner { position: relative; display: block; flex: 0 0 clamp(220px, 28%, 320px); overflow: hidden; padding: 0; border-radius: var(--bgccst-radius); background: var(--bgccst-surface); color: #fff; }
.bgccst-mega--banner-bottom .bgccst-mega__banner { flex-basis: auto; }
.bgccst-menu .bgccst-mega--auto .bgccst-mega__banner { flex-basis: 220px; }
.bgccst-mega__banner-img { display: block; width: 100%; height: 100%; min-height: 200px; object-fit: cover; transition: transform .4s var(--bgccst-ease); }
.bgccst-mega--banner-bottom .bgccst-mega__banner-img { height: 180px; min-height: 0; }
a.bgccst-mega__banner:hover .bgccst-mega__banner-img { transform: scale(1.04); }
.bgccst-mega__banner-text {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	gap: 2px;
	padding: 36px 16px 14px;
	background: linear-gradient(to top, color-mix(in srgb, var(--bgccst-mega-banner-bg) 88%, transparent), transparent);
	color: #fff;
	text-shadow: 0 1px 2px rgb(0 0 0 / .25);
}
.bgccst-mega__banner-text strong { font-size: 1.05rem; line-height: 1.25; }
.bgccst-mega__banner-text span { font-size: .85rem; opacity: .9; }

@media (max-width: 1024px) {
	.bgccst-mega { display: none; }
}
@media (min-width: 1025px) {
	.bgccst-header-style-floating .bgccst-mega--full { border-radius: 0 0 calc(var(--bgccst-radius) + 6px) calc(var(--bgccst-radius) + 6px); border-right: 1px solid var(--bgccst-border); border-left: 1px solid var(--bgccst-border); left: -1px; right: -1px; }
}

/* ------------------------------------------------ Signed-in account */
.bgccst-avatar {
	position: relative;
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bgccst-primary);
	color: var(--bgccst-on-primary);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
	box-shadow: 0 0 0 2px var(--bgccst-header-bg, #fff);
}
.bgccst-avatar svg { width: 18px; height: 18px; }
.bgccst-avatar--lg { width: 44px; height: 44px; font-size: .95rem; box-shadow: none; }
.bgccst-avatar--lg svg { width: 22px; height: 22px; }
.bgccst-avatar__dot {
	position: absolute;
	right: -1px;
	bottom: -1px;
	width: 11px;
	height: 11px;
	border: 2px solid var(--bgccst-header-bg, #fff);
	border-radius: 50%;
	background: #22c55e;
}
.bgccst-acct { position: relative; display: inline-flex; }
.bgccst-acct__toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 4px; border-radius: 999px; color: inherit; transition: background .15s; }
.bgccst-acct--icon .bgccst-acct__toggle { justify-content: center; min-width: 44px; padding: 0; }
.bgccst-acct__toggle:hover .bgccst-avatar,
.bgccst-acct.is-open .bgccst-avatar { box-shadow: 0 0 0 2px var(--bgccst-header-bg, #fff), 0 0 0 4px color-mix(in srgb, var(--bgccst-primary) 35%, transparent); }
.bgccst-acct__label { display: grid; line-height: 1.15; text-align: left; }
.bgccst-acct__hello { color: var(--bgccst-muted); font-size: .72rem; font-weight: 500; }
.bgccst-acct__name { max-width: 120px; overflow: hidden; font-size: .9rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bgccst-acct--icon .bgccst-acct__label,
.bgccst-acct--icon .bgccst-acct__chevron { display: none; }
.bgccst-acct--button .bgccst-acct__toggle { padding: 3px 12px 3px 3px; border: 1px solid var(--bgccst-border); }
.bgccst-acct--button .bgccst-acct__toggle:hover { border-color: var(--bgccst-primary); }
.bgccst-acct__chevron { display: inline-flex; opacity: .6; transition: transform .2s; }
.bgccst-acct__chevron svg { width: 14px; height: 14px; }
.bgccst-acct.is-open .bgccst-acct__chevron { transform: rotate(180deg); }

/* Menu */
.bgccst-acct__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 60;
	width: 280px;
	max-width: calc(100vw - 24px);
	padding: 8px;
	border: 1px solid var(--bgccst-border);
	border-radius: calc(var(--bgccst-radius) + 4px);
	background: var(--bgccst-bg);
	color: var(--bgccst-text);
	box-shadow: var(--bgccst-shadow-lg);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s var(--bgccst-ease), visibility .18s;
}
.bgccst-acct__menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 10px; }
.bgccst-acct.is-open .bgccst-acct__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
	.bgccst-acct[data-bgccst-acct]:hover .bgccst-acct__menu { opacity: 1; visibility: visible; transform: none; transition-delay: .08s; }
	.bgccst-acct[data-bgccst-acct]:hover .bgccst-acct__chevron { transform: rotate(180deg); }
}
.bgccst-acct__head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; }
.bgccst-acct__who { display: grid; min-width: 0; line-height: 1.3; }
.bgccst-acct__who strong { overflow: hidden; color: var(--bgccst-heading); font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.bgccst-acct__who span { overflow: hidden; color: var(--bgccst-muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.bgccst-acct__links { margin: 0; padding: 6px 0; border-top: 1px solid var(--bgccst-border); list-style: none; }
.bgccst-acct__links a,
.bgccst-acct__logout {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--bgccst-text);
	font-size: .9rem;
	font-weight: 500;
	transition: background .15s, color .15s;
}
.bgccst-acct__links a svg,
.bgccst-acct__logout svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--bgccst-muted); }
.bgccst-acct__links a span:first-of-type { flex: 1 1 auto; }
.bgccst-acct__links a:hover,
.bgccst-acct__links a:focus-visible { background: var(--bgccst-surface); color: var(--bgccst-heading); }
.bgccst-acct__links a:hover svg { color: var(--bgccst-primary); }
.bgccst-acct__count { padding: 1px 8px; border-radius: 999px; background: var(--bgccst-primary-soft); color: var(--bgccst-primary); font-size: .75rem; font-weight: 700; }
.bgccst-acct__logout { margin-top: 2px; border-top: 1px solid var(--bgccst-border); border-radius: 0 0 8px 8px; padding-top: 11px; }
.bgccst-acct__logout:hover { background: color-mix(in srgb, var(--bgccst-error) 8%, var(--bgccst-bg)); color: var(--bgccst-error); }
.bgccst-acct__logout:hover svg { color: var(--bgccst-error); }
@media (max-width: 1024px) {
	.bgccst-acct__label,
	.bgccst-acct__chevron { display: none; }
	.bgccst-acct__toggle { justify-content: center; min-width: 44px; padding: 0; }
	.bgccst-acct--button .bgccst-acct__toggle { padding: 0; border: 0; }
	.bgccst-avatar { width: 32px; height: 32px; font-size: .74rem; }
}
.bgccst-topbar .bgccst-account-link--user .bgccst-icon { color: #22c55e; }
.bgccst-bottom-bar .bgccst-avatar { width: 26px; height: 26px; font-size: .64rem; box-shadow: none; }
.bgccst-bottom-bar .bgccst-avatar__dot { width: 9px; height: 9px; border-color: var(--bgccst-bb-bg, #fff); }
.bgccst-toast__icon { display: inline-flex; margin-right: 8px; vertical-align: -4px; color: var(--bgccst-success); }
.bgccst-toast--info .bgccst-toast__icon { color: var(--bgccst-muted); }
.bgccst-toast__icon svg { width: 18px; height: 18px; }

/* Account panel (tablet & mobile) */
.bgccst-acct__menu--drawer { position: static; width: auto; max-width: none; padding: 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
.bgccst-acct__menu--drawer::before { display: none; }
.bgccst-acct__menu--drawer .bgccst-acct__head { padding: 8px 8px 16px; }
.bgccst-acct__menu--drawer .bgccst-avatar--lg { width: 52px; height: 52px; font-size: 1.05rem; }
.bgccst-acct__menu--drawer .bgccst-acct__who strong { font-size: 1.05rem; }
.bgccst-acct__menu--drawer .bgccst-acct__links a,
.bgccst-acct__menu--drawer .bgccst-acct__logout { min-height: 48px; padding: 10px 12px; font-size: 1rem; }
.bgccst-acct__menu--drawer .bgccst-acct__links a svg,
.bgccst-acct__menu--drawer .bgccst-acct__logout svg { width: 20px; height: 20px; }
.bgccst-acct__links li.is-current > a { background: var(--bgccst-primary-soft); color: var(--bgccst-primary); }
.bgccst-acct__links li.is-current > a svg { color: var(--bgccst-primary); }
@media (max-width: 1024px) {
	.bgccst-acct .bgccst-acct__menu:not(.bgccst-acct__menu--drawer) { display: none; }
}

/* Footer columns */
.bgccst-footer .bgccst-footer__title { margin: 0 0 16px; font-size: var(--bgccst-footer-title); font-weight: 700; text-transform: var(--bgccst-footer-title-tt, none); letter-spacing: .01em; }
.bgccst-footer-title-line .bgccst-footer__title { padding-bottom: 10px; position: relative; }
.bgccst-footer-title-line .bgccst-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; border-radius: 2px; background: var(--bgccst-primary); }
.bgccst-footer__links,
.bgccst-footer .widget_nav_menu ul { display: grid; gap: var(--bgccst-footer-link-gap, 10px); margin: 0; padding: 0; list-style: none; }
.bgccst-footer__links li { margin: 0; }
.bgccst-footer__links a,
.bgccst-footer .widget_nav_menu a { display: inline-block; color: var(--bgccst-footer-link); font-size: var(--bgccst-footer-link-fs, 15px); line-height: 1.4; transition: color .15s, transform .15s var(--bgccst-ease); }
.bgccst-footer__links a:hover { color: var(--bgccst-footer-heading); }
.bgccst-footer-hover-underline .bgccst-footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bgccst-footer-hover-shift .bgccst-footer__links a:hover { transform: translateX(4px); }
.bgccst-footer__links .sub-menu { display: none; }
.bgccst-footer__hint { margin: 0; padding: 10px 12px; border: 1px dashed var(--bgccst-border); border-radius: 8px; font-size: .85rem; opacity: .8; }
.bgccst-footer__text { font-size: var(--bgccst-footer-link-fs, 15px); line-height: 1.6; }
.bgccst-footer__text > :first-child { margin-top: 0; }
.bgccst-footer__text > :last-child { margin-bottom: 0; }
.bgccst-footer__cta { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; }
.bgccst-footer__cta svg { width: 18px; height: 18px; }
.bgccst-footer__cta--accent { background: var(--bgccst-accent); border-color: var(--bgccst-accent); color: var(--bgccst-on-accent, #fff); }
.bgccst-footer__cta--outline { background: transparent; border: 1.5px solid currentColor; color: var(--bgccst-footer-heading); }
.bgccst-footer__cta--outline:hover { background: var(--bgccst-footer-heading); color: var(--bgccst-footer-bg); }
.bgccst-footer__col--brand .bgccst-social { margin-top: 18px; }
.bgccst-footer__contacts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bgccst-footer__contact { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: var(--bgccst-footer-link-fs, 15px); line-height: 1.45; }
.bgccst-footer__contact-icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; color: var(--bgccst-footer-icon, var(--bgccst-primary)); }
.bgccst-footer__contact a { color: var(--bgccst-footer-link); }
.bgccst-footer__contact a:hover { color: var(--bgccst-footer-heading); }
.bgccst-footer__contact--social { margin-top: 4px; }
.bgccst-footer__credit { font-size: .85rem; }
.bgccst-footer__credit a { color: var(--bgccst-footer-link); }
.bgccst-footer-divider .bgccst-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--bgccst-footer-text) 18%, transparent); }
@media (max-width: 767px) {
	.bgccst-footer__col .bgccst-footer__contact { justify-content: var(--bgccst-footer-align-m); }
	.bgccst-footer-title-line .bgccst-footer__col .bgccst-footer__title::after { left: var(--bgccst-footer-line-left, 0); }
}

/* Benefits bar above the footer */
.bgccst-fben { padding: 28px 0; background: var(--bgccst-fben-bg, #fff); color: var(--bgccst-text); }
.bgccst-fben--line { border-bottom: 1px solid var(--bgccst-border); }
.bgccst-fben__grid { display: grid; grid-template-columns: repeat(var(--bgccst-fben-n, 4), minmax(0, 1fr)); gap: 20px 32px; }
.bgccst-fben__item { display: flex; gap: 14px; align-items: center; min-width: 0; }
.bgccst-fben--cards .bgccst-fben__item { padding: 16px 18px; border: 1px solid var(--bgccst-border); border-radius: var(--bgccst-radius); background: var(--bgccst-bg); }
.bgccst-fben__icon { display: grid; flex: 0 0 auto; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--bgccst-fben-icon, var(--bgccst-primary)) 12%, transparent); color: var(--bgccst-fben-icon, var(--bgccst-primary)); }
.bgccst-fben__icon svg { width: 24px; height: 24px; }
.bgccst-fben--icon-plain .bgccst-fben__icon { width: auto; height: auto; background: none; }
.bgccst-fben--icon-plain .bgccst-fben__icon svg { width: 30px; height: 30px; }
.bgccst-fben--icon-large .bgccst-fben__icon { width: auto; height: auto; background: none; }
.bgccst-fben--icon-large .bgccst-fben__icon svg { width: 42px; height: 42px; stroke-width: 1.4; }
.bgccst-fben__body { display: grid; gap: 2px; min-width: 0; }
.bgccst-fben__title { color: var(--bgccst-heading); font-size: .95rem; line-height: 1.3; }
.bgccst-fben__text { color: var(--bgccst-muted); font-size: .85rem; line-height: 1.4; }
@media (max-width: 1024px) { .bgccst-fben__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .bgccst-fben__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } .bgccst-fben { padding: 20px 0; } }

/* Header icon colors (cart, account, search, menu button) */
.bgccst-header .bgccst-icon-btn,
.bgccst-header .bgccst-cart-link,
.bgccst-header .bgccst-account-link,
.bgccst-header .bgccst-acct__toggle { color: var(--bgccst-header-icon, inherit); }
.bgccst-header .bgccst-icon-btn:hover,
.bgccst-header .bgccst-icon-btn:focus-visible,
.bgccst-header .bgccst-cart-link:hover,
.bgccst-header .bgccst-account-link:hover,
.bgccst-header .bgccst-acct__toggle:hover { color: var(--bgccst-header-icon-hover, var(--bgccst-primary)); background: var(--bgccst-header-icon-bg, color-mix(in srgb, currentColor 8%, transparent)); }
.bgccst-header .bgccst-account-link--button:hover { border-color: var(--bgccst-header-icon-hover, var(--bgccst-primary)); }
.bgccst-cart-btn-round .bgccst-header .bgccst-cart-link:hover,
.bgccst-cart-btn-accent .bgccst-header .bgccst-cart-link:hover { background: none; }
