/* ==========================================================================
   British Dragon Pro — base, header, footer, shared components
   ========================================================================== */

:root {
	--bd-font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bd-font-tight: "Inter Tight", var(--bd-font);

	--bd-ink: #0f1117;
	--bd-ink-2: #0f172a;
	--bd-text: #333333;
	--bd-slate: #475569;
	--bd-muted: #94a3b8;
	--bd-soft: #cbd5e1;
	--bd-line: rgba(15, 17, 23, 0.08);

	--bd-dark: #06080f;
	--bd-dark-2: #090c15;
	--bd-navy: #0f2f64;
	--bd-blue: #1c6bba;
	--bd-cyan: #00e5ff;
	--bd-cyan-soft: #67e8f9;
	--bd-sky: #38bdf8;
	--bd-red: #e11d48;
	--bd-red-dark: #be123c;
	--bd-magenta: #ff30f2;
	--bd-violet: #8d23ff;
	--bd-gold: #d4a017;

	--bd-radius: 22px;
	--bd-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--bd-container: 1320px;
	--bd-gutter: 24px;
	--header-h: 106px;
	--bd-accent: #e11d48;
	--bd-accent-rgb: 225, 29, 72;
}

@media (max-width: 1024px) {
	:root { --header-h: 70px; --bd-gutter: 20px; }
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--bd-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--bd-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.bd-no-hero { padding-top: var(--header-h); }
body.bd-lock { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--bd-blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--bd-red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; line-height: 1.2; color: var(--bd-ink-2); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--bd-cyan); outline-offset: 3px; }
::selection { background: rgba(225, 29, 72, 0.2); }

.bd-icon { width: 1em; height: 1em; display: inline-block; flex: 0 0 auto; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	z-index: 100000;
	width: auto; height: auto;
	padding: 12px 18px;
	clip: auto; clip-path: none;
	background: #fff; color: var(--bd-ink);
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.site-main { display: block; outline: none; }

.bd-container {
	width: 100%;
	max-width: calc(var(--bd-container) + var(--bd-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--bd-gutter);
}

.bd-section { padding: 100px 0; }
.bd-section--tight { padding: 60px 0; }
@media (max-width: 767px) {
	.bd-section { padding: 64px 0; }
	.bd-section--tight { padding: 44px 0; }
}

.bd-center { text-align: center; margin-top: 36px; }

.bd-h2 {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #000;
	margin-bottom: 24px;
}

.bd-title-xl {
	font-size: clamp(30px, 3.6vw, 42px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	text-align: center;
	color: #000;
	padding: 30px 0;
	margin: 0;
}

.bd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bd-accent);
}
.bd-eyebrow::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 999px;
	background: currentColor;
}

.bd-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bd-cyan);
	margin-bottom: 14px;
}

.bd-tag-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bd-red);
	background: rgba(225, 29, 72, 0.06);
	border: 1px solid rgba(225, 29, 72, 0.14);
	border-radius: 999px;
	padding: 6px 16px;
	margin-bottom: 16px;
}

/* ---------- Buttons ---------- */

.bd-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 26px;
	font-family: var(--bd-font);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: var(--bd-ink);
	border: 1.5px solid var(--bd-ink);
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.bd-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	color: #fff;
	background: var(--bd-accent);
	border-color: var(--bd-accent);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(var(--bd-accent-rgb), 0.32);
}
.bd-btn--ghost {
	color: var(--bd-ink);
	background: transparent;
	border-color: rgba(15, 17, 23, 0.18);
}
.bd-btn--ghost:hover {
	color: var(--bd-ink);
	background: transparent;
	border-color: var(--bd-ink);
	box-shadow: none;
}
.bd-btn--light { background: #fff; color: var(--bd-ink); border-color: #fff; }

.bd-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	font-size: 15px;
	text-transform: uppercase;
	color: #fff;
	background: #292b2e;
	border-radius: 50px;
	transition: background-color 0.25s ease, transform 0.25s ease;
}
.bd-pill-btn .bd-icon { width: 18px; height: 18px; }
.bd-pill-btn:hover { color: #fff; background: var(--bd-blue); transform: translateY(-2px); }

.bd-outline-btn {
	display: inline-block;
	padding: 15px 40px;
	font-family: var(--bd-font-tight);
	font-size: 16px;
	font-weight: 500;
	color: #000;
	border: 1px solid #000;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.bd-outline-btn:hover { color: #fff; background: #000; }

.bd-dark-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 30px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--bd-ink);
	border-radius: 999px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.bd-dark-btn .bd-icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.bd-dark-btn:hover { color: #fff; background: var(--bd-accent); box-shadow: 0 10px 26px -8px var(--bd-accent); }
.bd-dark-btn:hover .bd-icon { transform: translateX(3px); }

.bd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bd-ink); }
.bd-link-arrow .bd-icon { transition: transform 0.2s ease; }
.bd-link-arrow:hover .bd-icon { transform: translateX(3px); }

/* Shiny CTA (newsletter) */
@property --bd-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.bd-shiny-btn {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	font-family: "Inter", var(--bd-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	background:
		linear-gradient(#000, #000) padding-box,
		conic-gradient(from var(--bd-angle), transparent, var(--bd-cyan-soft) 5%, #fff 10%, var(--bd-cyan-soft) 15%, transparent 20%) border-box;
	box-shadow: inset 0 0 0 1px #1a1818, 0 4px 14px rgba(0, 0, 0, 0.5);
	animation: bd-spin-angle 3s linear infinite;
	transition: box-shadow 0.6s var(--bd-ease), transform 0.3s ease;
}
.bd-shiny-btn .bd-icon { width: 15px; height: 15px; color: var(--bd-cyan-soft); transition: transform 0.3s var(--bd-ease); }
.bd-shiny-btn:hover {
	box-shadow: inset 0 -1ex 2rem 4px var(--bd-cyan-soft), 0 0 24px rgba(103, 232, 249, 0.45);
	transform: translateY(-1px);
}
.bd-shiny-btn:hover .bd-icon { transform: translateX(4px); }
@keyframes bd-spin-angle { to { --bd-angle: 360deg; } }

/* ---------- Lab button (hero / COA card) ---------- */

.bd-lab-btn {
	--w: 313px;
	--h: 68px;
	--title: 17px;
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: auto;
	min-width: var(--w);
	max-width: 100%;
	height: var(--h);
	padding: 0 calc(var(--h) * 0.36);
	color: #fff;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 999px;
	background:
		linear-gradient(#07111f, #07111f) padding-box,
		linear-gradient(90deg, var(--bd-cyan), var(--bd-violet) 50%, var(--bd-magenta)) border-box;
	box-shadow: 0 0 22px rgba(0, 225, 255, 0.45), 0 10px 30px rgba(0, 0, 0, 0.45);
	transition: transform 0.35s var(--bd-ease), box-shadow 0.35s var(--bd-ease);
}
.bd-lab-btn:hover {
	color: #fff;
	transform: translateY(-4px) scale(1.015);
	box-shadow: 0 0 30px rgba(255, 48, 242, 0.74), 0 14px 34px rgba(0, 0, 0, 0.5);
}
.bd-lab-btn__glass {
	position: absolute;
	inset: 4px;
	z-index: -1;
	border-radius: inherit;
	border: 1px solid rgba(76, 235, 255, 0.45);
	background:
		linear-gradient(90deg, rgba(0, 229, 255, 0.22), rgba(1, 12, 22, 0.64) 32%, rgba(1, 12, 22, 0.64) 68%, rgba(255, 48, 242, 0.22)),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
}
.bd-lab-btn__scan {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}
.bd-lab-btn__scan::before {
	content: "";
	position: absolute;
	top: -20%;
	bottom: -20%;
	left: -30%;
	width: 22%;
	background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.35), rgba(255, 255, 255, 0.5), rgba(255, 48, 242, 0.35), transparent);
	transform: skewX(-20deg);
	animation: bd-scan 4.2s ease-in-out infinite;
}
@keyframes bd-scan {
	0%, 15% { left: -30%; }
	60%, 100% { left: 115%; }
}
.bd-lab-btn__left,
.bd-lab-btn__right { display: inline-flex; align-items: center; gap: 6px; }
.bd-lab-btn__dna { width: calc(var(--h) * 0.24); height: calc(var(--h) * 0.48); color: var(--bd-cyan); filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.8)); }
.bd-lab-btn__arrow { width: calc(var(--h) * 0.48); height: calc(var(--h) * 0.24); color: var(--bd-magenta); filter: drop-shadow(0 0 6px rgba(255, 48, 242, 0.8)); transition: transform 0.3s var(--bd-ease); }
.bd-lab-btn:hover .bd-lab-btn__arrow { transform: translateX(4px); color: #ff65fb; }
.bd-lab-btn:hover .bd-lab-btn__dna { color: #53ffff; }
.bd-lab-btn__micro {
	font-size: 8px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 1.8px;
	color: rgba(255, 255, 255, 0.62);
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.bd-lab-btn__title {
	flex: 1 1 auto;
	text-align: center;
	font-size: var(--title);
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 0 11px #00ddff;
}
.bd-lab-btn--sm { --w: 240px; --h: 50px; --title: 12px; }
.bd-lab-btn--sm .bd-lab-btn__micro { display: none; }
@media (max-width: 1024px) { .bd-lab-btn--lg { --w: 300px; } }
@media (max-width: 767px) {
	.bd-lab-btn--lg { --w: 260px; --h: 58px; --title: 13px; max-width: calc(100vw - 40px); }
	.bd-lab-btn--lg .bd-lab-btn__title { letter-spacing: 1.6px; }
	.bd-lab-btn--lg .bd-lab-btn__micro { display: none; }
}

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(9, 11, 18, 0.96);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	backdrop-filter: blur(16px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
	transition: background-color 0.38s var(--bd-ease), border-color 0.38s var(--bd-ease), box-shadow 0.38s var(--bd-ease), backdrop-filter 0.38s var(--bd-ease);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }

/* Laser line along the bottom edge of the solid header */
.site-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, rgba(225, 29, 72, 0.85) 20%, rgba(212, 160, 23, 0.9) 50%, rgba(37, 99, 235, 0.85) 80%, transparent 100%);
	background-size: 200% 100%;
	animation: bd-laser 7s ease-in-out infinite alternate;
	pointer-events: none;
	opacity: 0.9;
	transition: opacity 0.35s ease;
}
@keyframes bd-laser {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}

/* Transparent over the hero until scrolled past it — all screen sizes */
body.bd-has-hero .site-header:not(.is-scrolled) {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-bottom-color: transparent;
	box-shadow: none;
}
body.bd-has-hero .site-header:not(.is-scrolled)::after { opacity: 0; }
body.bd-has-hero .site-header.is-scrolled,
.site-header.is-scrolled {
	background: rgba(4, 5, 8, 0.96);
	border-bottom-color: rgba(225, 29, 72, 0.35);
	box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(225, 29, 72, 0.15);
}
/* When the mobile menu is open, keep the header solid */
body.bd-nav-open .site-header { background: rgba(4, 5, 8, 0.96); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1380px;
	margin: 0 auto;
	padding: 20px var(--bd-gutter);
	transition: padding 0.3s var(--bd-ease);
}
.site-header.is-scrolled .site-header__inner { padding-top: 10px; padding-bottom: 10px; }

.site-header__brand { flex: 0 0 auto; }
.bd-logo { display: inline-block; line-height: 0; }
.site-header__logo .bd-logo-img {
	height: 66px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	transition: height 0.35s var(--bd-ease), transform 0.35s var(--bd-ease), filter 0.35s var(--bd-ease);
}
.site-header.is-scrolled .site-header__logo .bd-logo-img { height: 60px; }
.site-header__logo:hover .bd-logo-img { transform: scale(1.03) translateY(-1px); filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.5)); }

.site-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.site-nav__menu {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__menu > li { position: relative; }
.site-nav__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	overflow: hidden;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--bd-soft);
	border: 1px solid transparent;
	border-radius: 999px;
	transition: all 0.28s var(--bd-ease);
}
.site-nav__menu a::before {
	content: "";
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	transition: left 0.5s ease;
	pointer-events: none;
}
.site-nav__menu a:hover::before { left: 100%; }
.site-nav__menu a:hover,
.site-nav__menu a:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 16px rgba(225, 29, 72, 0.25);
}
.site-nav__menu > .current-menu-item:not(.menu-item-anchor) > a,
.site-nav__menu > .current_page_item:not(.menu-item-anchor) > a {
	color: #fff;
	font-weight: 600;
	background: linear-gradient(135deg, rgba(225, 29, 72, 0.22), rgba(15, 17, 26, 0.9));
	border-color: rgba(225, 29, 72, 0.55);
	box-shadow: 0 0 16px rgba(225, 29, 72, 0.3);
}
.site-nav__menu > .current-menu-item:not(.menu-item-anchor) > a::after,
.site-nav__menu > .current_page_item:not(.menu-item-anchor) > a::after {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--bd-red);
	box-shadow: 0 0 8px var(--bd-red);
	animation: bd-dot-pulse 2s infinite alternate;
}
@keyframes bd-dot-pulse {
	from { opacity: 0.5; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px var(--bd-red); }
}

/* Dropdowns */
.site-nav__menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: rgba(9, 12, 21, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav__menu .sub-menu a { display: flex; width: 100%; border-radius: 10px; }
.site-nav__menu .sub-menu a:hover { transform: none; }

.site-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }

.bd-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	color: var(--bd-soft);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	transition: all 0.35s var(--bd-ease);
}
.bd-icon-btn .bd-icon { width: 19px; height: 19px; }
.bd-icon-btn:hover {
	color: #fff;
	background: rgba(225, 29, 72, 0.2);
	border-color: rgba(225, 29, 72, 0.65);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 20px rgba(225, 29, 72, 0.35);
}

.bd-cart-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f8fafc;
	background: linear-gradient(135deg, rgba(22, 24, 34, 0.95), rgba(12, 13, 20, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
	transition: all 0.35s var(--bd-ease);
}
.bd-cart-toggle:hover {
	color: #fff;
	background: linear-gradient(135deg, rgba(32, 28, 40, 0.98), #12101a);
	border-color: rgba(225, 29, 72, 0.65);
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 22px rgba(225, 29, 72, 0.35);
}
.bd-cart-toggle__total .amount { color: inherit; }
.bd-cart-toggle__icon { position: relative; display: inline-flex; align-items: center; gap: 6px; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bd-cart-toggle__icon .bd-icon { width: 19px; height: 19px; color: var(--bd-soft); }
.bd-cart-toggle:hover .bd-cart-toggle__icon { transform: rotate(-10deg) scale(1.15); }
.bd-cart-toggle__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px; height: 20px;
	padding: 0 6px;
	font-size: 11px;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, var(--bd-red), var(--bd-red-dark));
	border-radius: 999px;
	box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
	animation: bd-badge-pulse 2.5s infinite alternate;
}
@keyframes bd-badge-pulse {
	from { box-shadow: 0 0 8px rgba(225, 29, 72, 0.5); }
	to { box-shadow: 0 0 16px rgba(225, 29, 72, 0.85); }
}
.bd-cart-toggle.is-bump .bd-cart-toggle__count { animation: bd-bump 0.5s var(--bd-ease); }
@keyframes bd-bump { 40% { transform: scale(1.45); } }

.bd-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	padding: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	transition: all 0.3s ease;
}
.bd-burger .bd-icon { width: 20px; height: 20px; }
.bd-burger:hover { background: rgba(225, 29, 72, 0.2); border-color: rgba(225, 29, 72, 0.6); box-shadow: 0 0 15px rgba(225, 29, 72, 0.35); }

@media (min-width: 1025px) and (max-width: 1240px) {
	.site-nav__menu { gap: 2px; }
	.site-nav__menu a { padding: 7px 12px; font-size: 13px; }
	.site-header__logo .bd-logo-img { height: 54px; }
}

@media (max-width: 1024px) {
	.site-nav,
	.site-header__account { display: none; }
	.bd-burger { display: inline-flex; }
	.site-header__inner { padding: 10px 16px; gap: 12px; }
	.site-header.is-scrolled .site-header__inner { padding: 8px 16px; }
	.site-header__logo .bd-logo-img,
	.site-header.is-scrolled .site-header__logo .bd-logo-img { height: 48px; }
	.site-header__actions { gap: 8px; }
	.bd-cart-toggle { padding: 6px 13px; gap: 6px; font-size: 11.5px; }
	.bd-cart-toggle__icon .bd-icon { width: 16px; height: 16px; }
	.bd-cart-toggle__count { min-width: 17px; height: 17px; font-size: 10px; padding: 0 4px; }
}
@media (max-width: 400px) {
	.site-header__logo .bd-logo-img,
	.site-header.is-scrolled .site-header__logo .bd-logo-img { height: 40px; }
	.bd-cart-toggle__total { display: none; }
}

/* ---------- Mobile navigation ---------- */

.bd-mobile-nav { position: fixed; inset: 0; z-index: 2000; visibility: hidden; pointer-events: none; }
.bd-mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.bd-mobile-nav__overlay {
	position: absolute; inset: 0;
	background: rgba(4, 6, 12, 0.78);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	opacity: 0;
	transition: opacity 0.35s var(--bd-ease);
}
.bd-mobile-nav.is-open .bd-mobile-nav__overlay { opacity: 1; }
.bd-mobile-nav__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 340px;
	padding: 24px 24px 40px;
	overflow-y: auto;
	background: var(--bd-dark-2);
	border-left: 1px solid rgba(225, 29, 72, 0.3);
	box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75);
	transform: translateX(100%);
	transition: transform 0.42s var(--bd-ease);
}
.bd-mobile-nav.is-open .bd-mobile-nav__panel { transform: translateX(0); }
.bd-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 20px;
	margin-bottom: 25px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bd-mobile-nav__logo .bd-logo-img { width: 140px; height: auto; }
.bd-mobile-nav__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	padding: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	transition: all 0.25s ease;
}
.bd-mobile-nav__close .bd-icon { width: 18px; height: 18px; }
.bd-mobile-nav__close:hover { background: var(--bd-red); border-color: var(--bd-red); transform: rotate(90deg) scale(1.05); }
.bd-mobile-nav__menu { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bd-mobile-nav__menu .sub-menu { list-style: none; margin: 4px 0 4px 18px; padding: 0 0 0 10px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.bd-mobile-nav__menu a,
.bd-mobile-nav__account {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #f1f5f9;
	border: 1px solid transparent;
	border-radius: 12px;
	transition: all 0.25s var(--bd-ease);
}
.bd-mobile-nav.is-open .bd-mobile-nav__menu > li { animation: bd-rise 0.45s var(--bd-ease) both; }
.bd-mobile-nav.is-open .bd-mobile-nav__menu > li:nth-child(2) { animation-delay: 0.05s; }
.bd-mobile-nav.is-open .bd-mobile-nav__menu > li:nth-child(3) { animation-delay: 0.1s; }
.bd-mobile-nav.is-open .bd-mobile-nav__menu > li:nth-child(4) { animation-delay: 0.15s; }
.bd-mobile-nav.is-open .bd-mobile-nav__menu > li:nth-child(5) { animation-delay: 0.2s; }
.bd-mobile-nav.is-open .bd-mobile-nav__menu > li:nth-child(n+6) { animation-delay: 0.25s; }
@keyframes bd-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bd-mobile-nav__menu a:hover,
.bd-mobile-nav__menu .current-menu-item > a,
.bd-mobile-nav__account:hover {
	color: var(--bd-cyan);
	background: rgba(225, 29, 72, 0.08);
	border-color: rgba(225, 29, 72, 0.25);
	transform: translateX(5px);
}
.bd-mobile-nav__menu .menu-icon,
.bd-mobile-nav__account .bd-icon {
	box-sizing: content-box;
	width: 16px; height: 16px;
	padding: 8px;
	color: var(--bd-cyan);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
}
.bd-mobile-nav__account { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0 0 12px 12px; padding-top: 20px; }
.bd-mobile-nav__email { margin-top: auto; padding-top: 30px; font-size: 14px; color: var(--bd-muted); }
.bd-mobile-nav__email:hover { color: var(--bd-cyan); }

/* ---------- Page header band (inner pages) ---------- */

.bd-page-head {
	position: relative;
	overflow: hidden;
	padding: 70px 0 64px;
	color: #fff;
	background:
		radial-gradient(circle at 85% 15%, rgba(225, 29, 72, 0.16) 0%, transparent 55%),
		radial-gradient(circle at 10% 90%, rgba(28, 107, 186, 0.22) 0%, transparent 50%),
		linear-gradient(135deg, #0b0e17 0%, #131724 60%, #0b0e17 100%);
}
.bd-page-head::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent);
	mask-image: linear-gradient(180deg, #000, transparent);
	pointer-events: none;
}
.bd-page-head__inner { position: relative; }
.bd-page-head__title {
	margin: 0;
	max-width: 900px;
	font-family: var(--bd-font-tight);
	font-size: clamp(32px, 4.4vw, 54px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #fff;
}
.bd-page-head__title span { color: var(--bd-cyan); }
.bd-page-head__lead { max-width: 720px; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--bd-muted); }
@media (max-width: 767px) { .bd-page-head { padding: 48px 0 44px; } }

.bd-page-body { padding-top: 60px; padding-bottom: 90px; }
.bd-page-body--shop { padding-top: 44px; }

/* ---------- Prose (editor content) ---------- */

.bd-prose { max-width: 860px; color: #334155; font-size: 17px; line-height: 1.75; }
.bd-prose > *:first-child { margin-top: 0; }
.bd-prose h2 { font-size: 28px; margin: 1.8em 0 0.6em; color: var(--bd-ink-2); }
.bd-prose h3 { font-size: 21px; margin: 1.6em 0 0.5em; color: var(--bd-ink-2); }
.bd-prose h4 { font-size: 18px; margin: 1.4em 0 0.5em; }
.bd-prose a { color: var(--bd-blue); text-decoration: underline; text-underline-offset: 3px; }
.bd-prose ul, .bd-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.bd-prose li { margin-bottom: 0.4em; }
.bd-prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--bd-red); background: #f8fafc; border-radius: 0 14px 14px 0; }
.bd-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.bd-prose th, .bd-prose td { padding: 10px 14px; border: 1px solid #e2e8f0; text-align: left; }
.bd-prose th { background: #f8fafc; }
.bd-prose img { border-radius: 16px; }
.bd-prose__hero { margin: 0 0 32px; }
.bd-prose__hero img { width: 100%; }
.alignwide { max-width: 1100px; }
.alignfull { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--bd-slate); }

/* ---------- Forms ---------- */

.bd-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--bd-ink-2); }
.bd-field .bd-req { color: var(--bd-red); }
.bd-input,
.bd-field input,
.bd-field textarea,
.bd-field select {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 400;
	color: var(--bd-ink);
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.16);
	border-radius: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bd-field textarea { min-height: 130px; resize: vertical; }
.bd-field input:focus,
.bd-field textarea:focus,
.bd-field select:focus { outline: none; border-color: var(--bd-blue); box-shadow: 0 0 0 4px rgba(28, 107, 186, 0.15); }
.bd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .bd-field-row { grid-template-columns: 1fr; } }

.bd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.bd-form-notice { margin: 14px 0 0; padding: 12px 16px; font-size: 14px; font-weight: 600; border-radius: 10px; }
.bd-form-notice--success { color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; }
.bd-form-notice--error { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }

.bd-search { display: flex; gap: 8px; max-width: 520px; }
.bd-search__input { flex: 1 1 auto; min-height: 50px; padding: 12px 18px; border: 1px solid rgba(15, 23, 42, 0.16); border-radius: 999px; background: #fff; }
.bd-search__btn { width: 50px; height: 50px; border: 0; border-radius: 50%; color: #fff; background: var(--bd-ink); display: inline-flex; align-items: center; justify-content: center; }
.bd-search__btn:hover { background: var(--bd-red); }

/* ---------- Footer ---------- */

.site-footer {
	position: relative;
	padding: 80px 0 40px;
	color: var(--bd-soft);
	background-color: var(--bd-dark);
	background-image: var(--footer-bg, none);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: cover;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 8, 15, 0.95) 0%, rgba(6, 8, 15, 0.85) 50%, rgba(6, 8, 15, 0.5) 100%);
	pointer-events: none;
}
.site-footer__inner { position: relative; max-width: 1380px; margin: 0 auto; padding: 0 var(--bd-gutter); }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.25fr 1.35fr;
	gap: 48px;
	align-items: start;
	margin-bottom: 50px;
}
.site-footer__logo .bd-logo-img,
.site-footer__logo img { width: 220px; max-width: 100%; height: auto; }
.site-footer__title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #fff;
}
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links li { margin-bottom: 14px; font-size: 16px; line-height: 1.65; }
.site-footer__links a,
.site-footer__links span { color: var(--bd-soft); }
.site-footer__links a:hover { color: var(--bd-sky); }
.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 28px;
	margin-top: 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__copy { margin: 0; font-size: 16px; color: var(--bd-muted); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { font-size: 16px; color: var(--bd-muted); }
.site-footer__legal a:hover { color: #fff; }

.bd-newsletter { display: flex; flex-direction: column; gap: 12px; }
.bd-newsletter__input {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	font-size: 15px;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0.5rem;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.bd-newsletter__input::placeholder { color: var(--bd-muted); }
.bd-newsletter__input:focus { outline: none; background: rgba(255, 255, 255, 0.08); border-color: var(--bd-cyan-soft); box-shadow: 0 0 14px rgba(103, 232, 249, 0.25); }
.bd-newsletter .bd-form-notice { margin-top: 2px; }

@media (max-width: 1024px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
	.site-footer { padding: 50px 0 30px; background-position: right bottom; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
	.site-footer__title { font-size: 18px; margin-bottom: 16px; }
	.site-footer__links li { font-size: 15px; }
	.site-footer__logo .bd-logo-img, .site-footer__logo img { width: 190px; }
	.site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
	.site-footer__copy, .site-footer__legal a { font-size: 14px; }
}

/* ---------- Cart drawer ---------- */

.bd-drawer {
	--bd-drawer-w: 420px;
	position: fixed;
	inset: 0;
	z-index: 3000;
	visibility: hidden;
	pointer-events: none;
}
.bd-drawer.is-open { visibility: visible; pointer-events: auto; }
.bd-drawer__overlay {
	position: absolute; inset: 0;
	background: rgba(8, 10, 16, 0.55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.3s ease;
	cursor: pointer;
}
.bd-drawer.is-open .bd-drawer__overlay { opacity: 1; }
.bd-drawer__panel {
	position: absolute;
	top: 0; right: 0;
	display: flex;
	flex-direction: column;
	width: min(var(--bd-drawer-w), 100vw);
	height: 100%;
	color: var(--bd-ink);
	background: #fff;
	box-shadow: -24px 0 60px rgba(8, 10, 16, 0.28);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.bd-drawer.is-open .bd-drawer__panel { transform: translateX(0); }
.bd-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--bd-line); }
.bd-drawer__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 800; color: var(--bd-ink); }
.bd-drawer__count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; font-size: 12px; font-weight: 700; color: #fff; background: var(--bd-red); border-radius: 999px; }
.bd-drawer__close {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; padding: 0;
	color: var(--bd-ink);
	background: rgba(15, 17, 23, 0.06);
	border: 0;
	border-radius: 999px;
	transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.bd-drawer__close .bd-icon { width: 18px; height: 18px; }
.bd-drawer__close:hover { color: #fff; background: var(--bd-red); transform: rotate(90deg); }
.bd-drawer__notice:empty { display: none; }
.bd-drawer__notice { margin: 12px 24px 0; padding: 10px 14px; font-size: 13.5px; font-weight: 600; border-radius: 10px; color: #065f46; background: #ecfdf5; }
.bd-drawer__notice.is-error { color: #991b1b; background: #fef2f2; }
.bd-drawer__body { position: relative; flex: 1 1 auto; overflow-y: auto; padding: 8px 24px; -webkit-overflow-scrolling: touch; transition: opacity 0.2s ease; }
.bd-drawer.is-busy .bd-drawer__body { opacity: 0.5; pointer-events: none; }
.bd-drawer__items { margin: 0; padding: 4px 0; list-style: none; }
.bd-drawer__item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--bd-line); animation: bd-rise 0.35s ease both; }
.bd-drawer__thumb { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border: 1px solid var(--bd-line); border-radius: 14px; background: linear-gradient(180deg, rgba(225, 29, 72, 0.06), transparent); }
.bd-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; }
.bd-drawer__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bd-drawer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bd-drawer__name { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.bd-drawer__name a { color: var(--bd-ink); }
.bd-drawer__name a:hover { color: var(--bd-red); }
.bd-drawer__remove {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; padding: 0;
	color: #6b7280;
	background: rgba(15, 17, 23, 0.04);
	border: 0;
	border-radius: 999px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.bd-drawer__remove .bd-icon { width: 13px; height: 13px; }
.bd-drawer__remove:hover { color: #fff; background: #ef4444; }
.bd-drawer__meta { font-size: 12.5px; color: #6b7280; }
.bd-drawer__meta:empty { display: none; }
.bd-drawer__meta dl { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; }
.bd-drawer__meta dt, .bd-drawer__meta dd, .bd-drawer__meta p { margin: 0; }
.bd-drawer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.bd-drawer__price { font-size: 15px; font-weight: 800; white-space: nowrap; }
.bd-drawer__qty-fixed { font-size: 13px; font-weight: 700; color: #6b7280; }

.bd-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: rgba(15, 17, 23, 0.04); border-radius: 999px; }
.bd-qty__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; padding: 0;
	font-size: 16px; line-height: 1;
	color: var(--bd-ink);
	background: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(15, 17, 23, 0.12);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.bd-qty__btn:hover { color: #fff; background: var(--bd-red); }
.bd-qty__val { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; }

.bd-drawer__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 320px; text-align: center; color: #6b7280; }
.bd-drawer__empty p { margin: 0; font-size: 16px; font-weight: 600; color: var(--bd-ink); }
.bd-drawer__empty-icon { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; color: var(--bd-red); background: rgba(225, 29, 72, 0.08); border-radius: 50%; }
.bd-drawer__empty-icon .bd-icon { width: 36px; height: 36px; }

.bd-drawer__foot { flex: 0 0 auto; padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--bd-line); background: #fff; box-shadow: 0 -10px 30px rgba(8, 10, 16, 0.05); }
.bd-drawer__foot:has(.bd-drawer__foot-inner[hidden]) { display: none; }
.bd-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: #6b7280; }
.bd-drawer__subtotal strong { font-size: 21px; font-weight: 800; color: var(--bd-ink); }
.bd-drawer__note { margin: 0 0 14px; font-size: 12.5px; color: #6b7280; }
.bd-drawer__actions { display: flex; gap: 12px; }
.bd-drawer__actions .bd-btn { flex: 1 1 0; }
.bd-drawer__continue {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	background: none;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bd-drawer__continue:hover { color: var(--bd-ink); }
@media (max-width: 480px) {
	.bd-drawer { --bd-drawer-w: 100vw; }
	.bd-drawer__head, .bd-drawer__body, .bd-drawer__foot { padding-left: 18px; padding-right: 18px; }
}

/* Add-to-cart button states */
.bd-btn.loading,
.button.loading,
.button.bd-is-loading { opacity: 0.8; pointer-events: none; }
.button.bd-is-added,
.bd-btn.bd-is-added { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35) !important; }

/* ---------- Glass panel ---------- */

.bd-glass {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* ---------- Blog cards / empty / comments ---------- */

.bd-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1024px) { .bd-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bd-post-grid { grid-template-columns: 1fr; } }
.bd-post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04); transition: transform 0.3s var(--bd-ease), box-shadow 0.3s var(--bd-ease); }
.bd-post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.14); }
.bd-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bd-post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.bd-post-card__meta { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bd-blue); }
.bd-post-card__title { margin: 0; font-size: 20px; }
.bd-post-card__title a { color: var(--bd-ink-2); }
.bd-post-card__excerpt { font-size: 15px; color: var(--bd-slate); }
.bd-post-card__excerpt p { margin: 0; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; font-weight: 700; color: var(--bd-ink); border: 1px solid #e2e8f0; border-radius: 999px; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { color: #fff; background: var(--bd-ink); border-color: var(--bd-ink); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: flex; flex-direction: column; color: var(--bd-ink-2); font-weight: 700; }

.bd-empty { text-align: center; }
.bd-empty .bd-search { margin: 0 auto 24px; }
.bd-empty__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.bd-comments { max-width: 860px; margin-top: 60px; }
.bd-comments__list { padding-left: 0; list-style: none; }
.bd-comments .comment-body { padding: 18px 0; border-bottom: 1px solid #e2e8f0; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea { width: 100%; padding: 12px 16px; border: 1px solid rgba(15, 23, 42, 0.16); border-radius: 12px; }
.comment-form .submit { padding: 14px 28px; color: #fff; background: var(--bd-ink); border: 0; border-radius: 999px; font-weight: 700; }

/* ---------- Scroll reveal ---------- */

.bd-js [data-bd-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--bd-ease), transform 0.8s var(--bd-ease); }
.bd-js [data-bd-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.bd-js [data-bd-reveal] { opacity: 1; transform: none; }
}
