/* ==========================================================================
   BrandVault Theme - main.css
   Design system + all front-end styles.
   Organised in numbered sections so you can edit any block safely:
   01 Tokens  02 Reset/base  03 Layout  04 Buttons/chips  05 Header
   06 Hero  07 Sections  08 Blog cards  09 Sidebar  10 Single post
   11 Brands  12 Coupons  13 Footer  14 Forms  15 Comments  16 Utilities
   17 Responsive  18 Hidden-mode admin bar
   ========================================================================== */

/* ---------- 01 Tokens ---------------------------------------------------- */
:root {
	--bv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--bv-brand: #2b3a8f;
	--bv-brand-700: #1e2a6d;
	--bv-brand-050: #eef1fb;
	--bv-accent: #ff5c2b;
	--bv-accent-700: #e04512;
	--bv-accent-050: #fff2ed;
	--bv-success: #0f9d58;
	--bv-verified: #067a46;
	--bv-ink: #0e1726;
	--bv-body: #2b3345;
	--bv-muted: #667085;
	--bv-line: #e5e8f0;
	--bv-soft: #f6f7fb;
	--bv-soft-2: #fbfcfe;
	--bv-radius: 14px;
	--bv-radius-sm: 9px;
	--bv-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .18);
	--bv-shadow-lg: 0 18px 48px -18px rgba(16, 24, 40, .32);
	--bv-container: 1220px;
	--bv-header-h: 72px;
}

/* ---------- 02 Reset / base --------------------------------------------- */
* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--bv-font);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--bv-body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.bv-no-branding .bv-branding { display: none !important; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--bv-ink);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -.015em;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
a { color: var(--bv-brand); text-decoration: none; }
a:hover { color: var(--bv-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--bv-line); margin: 2rem 0; }
blockquote {
	margin: 1.6em 0;
	padding: 1rem 1.4rem;
	border-left: 4px solid var(--bv-brand);
	background: var(--bv-brand-050);
	border-radius: 0 var(--bv-radius-sm) var(--bv-radius-sm) 0;
	color: var(--bv-ink);
}
blockquote p:last-child { margin: 0; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre {
	background: var(--bv-ink);
	color: #e8ecf6;
	padding: 1.1rem 1.3rem;
	border-radius: var(--bv-radius-sm);
	overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; }
th, td { border: 1px solid var(--bv-line); padding: .6rem .75rem; text-align: left; }
th { background: var(--bv-soft); }
:focus-visible { outline: 3px solid var(--bv-accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- 03 Layout ---------------------------------------------------- */
.bv-container { width: 100%; max-width: var(--bv-container); margin: 0 auto; padding: 0 22px; }
.bv-container--narrow { max-width: 820px; }
.bv-section { padding: 58px 0; }
.bv-section--soft { background: var(--bv-soft); }
.bv-section--tight { padding: 38px 0; }
.bv-main { padding: 44px 0 70px; min-height: 45vh; }
.bv-grid { display: grid; gap: 26px; }
.bv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bv-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 46px; align-items: start; }
.bv-stack > * + * { margin-top: 18px; }

.bv-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}
.bv-section-head h2 { margin: 0; }
.bv-section-head p { margin: 8px 0 0; color: var(--bv-muted); max-width: 62ch; }
.bv-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .72rem;
	font-weight: 800;
	color: var(--bv-accent);
	margin-bottom: 10px;
}

/* ---------- 04 Buttons / chips ------------------------------------------ */
.bv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, border-color .16s ease;
	text-align: center;
}
.bv-btn:hover { transform: translateY(-1px); }
.bv-btn--primary { background: var(--bv-brand); color: #fff; box-shadow: var(--bv-shadow); }
.bv-btn--primary:hover { background: var(--bv-brand-700); color: #fff; }
.bv-btn--accent { background: var(--bv-accent); color: #fff; }
.bv-btn--accent:hover { background: var(--bv-accent-700); color: #fff; }
.bv-btn--ghost { background: #fff; border-color: var(--bv-line); color: var(--bv-ink); }
.bv-btn--ghost:hover { border-color: var(--bv-brand); color: var(--bv-brand); }
.bv-btn--dark { background: var(--bv-ink); color: #fff; }
.bv-btn--dark:hover { background: #000; color: #fff; }
.bv-btn--sm { padding: 8px 16px; font-size: .85rem; }
.bv-btn--block { width: 100%; }

.bv-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--bv-soft);
	border: 1px solid var(--bv-line);
	color: var(--bv-ink);
	font-size: .87rem;
	font-weight: 600;
	transition: all .15s ease;
}
.bv-chip:hover { background: var(--bv-brand); border-color: var(--bv-brand); color: #fff; }
.bv-chip--active { background: var(--bv-brand); border-color: var(--bv-brand); color: #fff; }
.bv-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.bv-badge {
	display: inline-block;
	font-size: .7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--bv-accent-050);
	color: var(--bv-accent-700);
}
.bv-badge--verified { background: #e7f7ee; color: var(--bv-verified); }
.bv-badge--exclusive { background: #2b3a8f; color: #fff; }
.bv-badge--deal { background: #eef1fb; color: var(--bv-brand); }

/* ---------- 05 Header --------------------------------------------------- */
.bv-topbar {
	background: var(--bv-ink);
	color: #c9d2e4;
	font-size: .82rem;
}
.bv-topbar .bv-container { display: flex; justify-content: space-between; gap: 14px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.bv-topbar a { color: #dbe3f2; }
.bv-topbar a:hover { color: #fff; }
.bv-topbar-links { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.bv-topbar-links li { margin: 0; }

.bv-header {
	position: sticky;
	top: 0;
	z-index: 400;
	background: #fff;
	border-bottom: 1px solid var(--bv-line);
}
.bv-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--bv-header-h);
}
.bv-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bv-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.bv-logo img { max-height: 40px; width: auto; }
.bv-logo__mark {
	width: 40px; height: 40px; flex: 0 0 40px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--bv-brand), #6a5ae0);
	color: #fff;
	display: grid; place-items: center;
	font-weight: 900; font-size: 1.05rem; letter-spacing: -.04em;
}
.bv-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.bv-logo__name { font-weight: 800; font-size: 1.22rem; color: var(--bv-ink); letter-spacing: -.02em; }
.bv-logo__tagline { font-size: .74rem; color: var(--bv-muted); font-weight: 500; }

.bv-nav { margin-left: auto; }
.bv-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bv-nav li { position: relative; margin: 0; }
.bv-nav a {
	display: block;
	white-space: nowrap;
	padding: 10px 14px;
	font-weight: 600;
	font-size: .94rem;
	color: var(--bv-ink);
	border-radius: 8px;
}
.bv-nav a:hover { background: var(--bv-soft); color: var(--bv-brand); }
.bv-nav .current-menu-item > a, .bv-nav .current-menu-ancestor > a { color: var(--bv-brand); background: var(--bv-brand-050); }
.bv-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius-sm);
	box-shadow: var(--bv-shadow);
	padding: 8px;
	z-index: 30;
}
.bv-nav li:hover > .sub-menu, .bv-nav li:focus-within > .sub-menu { display: block; }
.bv-nav .sub-menu a { font-weight: 500; font-size: .9rem; padding: 9px 12px; }

.bv-header__actions { display: flex; align-items: center; gap: 10px; }
.bv-search-toggle, .bv-burger {
	background: var(--bv-soft);
	border: 1px solid var(--bv-line);
	width: 40px; height: 40px;
	border-radius: 10px;
	display: grid; place-items: center;
	cursor: pointer;
	color: var(--bv-ink);
}
.bv-search-toggle:hover, .bv-burger:hover { background: var(--bv-brand-050); border-color: var(--bv-brand); }
.bv-burger { display: none; }

.bv-header-search {
	display: none;
	border-top: 1px solid var(--bv-line);
	background: var(--bv-soft-2);
	padding: 16px 0;
}
.bv-header-search.is-open { display: block; }
.bv-header-search form { display: flex; gap: 10px; }
.bv-header-search input[type="search"] {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
	font-size: .95rem;
	background: #fff;
}
.bv-header-search input[type="search"]:focus { outline: none; border-color: var(--bv-brand); }

.bv-mobile-nav { display: none; border-top: 1px solid var(--bv-line); background: #fff; padding: 14px 0 22px; }
.bv-mobile-nav.is-open { display: block; }
.bv-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.bv-mobile-nav li { margin: 0; border-bottom: 1px solid var(--bv-line); }
.bv-mobile-nav a { display: block; padding: 12px 4px; font-weight: 600; color: var(--bv-ink); }
.bv-mobile-nav .sub-menu { padding-left: 16px; }

/* ---------- 06 Hero ------------------------------------------------------ */
.bv-hero {
	position: relative;
	background: linear-gradient(135deg, #1e2a6d 0%, #2b3a8f 45%, #4a3fa8 100%);
	color: #fff;
	overflow: hidden;
}
.bv-hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -60% 55%;
	height: 420px;
	background: radial-gradient(circle at 30% 30%, rgba(255, 92, 43, .55), transparent 62%);
	pointer-events: none;
}
.bv-hero__inner { position: relative; z-index: 2; padding: 74px 0 78px; max-width: 760px; }
.bv-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.bv-hero p { font-size: 1.1rem; color: #d7def3; max-width: 60ch; }
.bv-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.bv-hero__stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.bv-hero__stat strong { display: block; font-size: 1.75rem; color: #fff; }
.bv-hero__stat span { font-size: .85rem; color: #b9c4e2; text-transform: uppercase; letter-spacing: .08em; }
.bv-hero .bv-btn--ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; }
.bv-hero .bv-btn--ghost:hover { background: #fff; color: var(--bv-brand); }

/* ---------- 07 Sections -------------------------------------------------- */
.bv-featured-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.bv-brand-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 14px;
	background: #fff;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	text-align: center;
	font-weight: 700;
	font-size: .92rem;
	color: var(--bv-ink);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bv-brand-tile:hover { transform: translateY(-4px); box-shadow: var(--bv-shadow); border-color: var(--bv-brand); color: var(--bv-brand); }
.bv-brand-tile__mark {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center;
	font-weight: 900; font-size: 1.05rem; color: #fff;
	background: var(--bv-brand);
}
.bv-brand-tile__meta { font-size: .78rem; color: var(--bv-muted); font-weight: 600; }

.bv-cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.bv-cat-card {
	padding: 22px;
	border-radius: var(--bv-radius);
	border: 1px solid var(--bv-line);
	background: #fff;
	transition: all .18s ease;
}
.bv-cat-card:hover { border-color: var(--bv-brand); box-shadow: var(--bv-shadow); transform: translateY(-3px); }
.bv-cat-card__icon { font-size: 1.5rem; margin-bottom: 10px; }
.bv-cat-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.bv-cat-card p { margin: 0; font-size: .87rem; color: var(--bv-muted); }
.bv-cat-card__count { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700; color: var(--bv-brand); }

.bv-about-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.bv-about-strip img { border-radius: var(--bv-radius); }
.bv-about-points { list-style: none; padding: 0; margin: 18px 0 0; }
.bv-about-points li { display: flex; gap: 10px; margin-bottom: 10px; }
.bv-about-points li::before { content: "✓"; color: var(--bv-success); font-weight: 900; }

.bv-newsletter {
	background: var(--bv-soft);
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	padding: 34px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
}
.bv-newsletter h2 { margin-bottom: 6px; }
.bv-newsletter p { margin: 0; color: var(--bv-muted); }
.bv-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.bv-newsletter input[type="email"] {
	flex: 1; min-width: 220px;
	padding: 13px 16px;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
	font-size: .95rem;
	background: #fff;
}
.bv-newsletter input[type="email"]:focus { outline: none; border-color: var(--bv-brand); }

/* ---------- 08 Blog cards ------------------------------------------------ */
.bv-post-card {
	background: #fff;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bv-post-card:hover { transform: translateY(-4px); box-shadow: var(--bv-shadow); border-color: #d6dcea; }
.bv-post-card__thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bv-soft); overflow: hidden; }
.bv-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bv-post-card:hover .bv-post-card__thumb img { transform: scale(1.05); }
.bv-post-card__cat {
	position: absolute; left: 12px; top: 12px;
	background: rgba(255, 255, 255, .95);
	color: var(--bv-brand);
	font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
	padding: 5px 10px; border-radius: 6px;
}
.bv-post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bv-post-card__title { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.bv-post-card__title a { color: var(--bv-ink); }
.bv-post-card__title a:hover { color: var(--bv-brand); }
.bv-post-card__excerpt { margin: 0; color: var(--bv-muted); font-size: .93rem; }
.bv-post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--bv-muted); }
.bv-post-card__footer { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--bv-muted); }

/* Generated placeholder shown when a post has no featured image */
.bv-fallback-thumb {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	min-height: 160px;
	padding: 16px;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.bv-fallback-thumb::before {
	content: "";
	position: absolute;
	right: -30px; top: -30px;
	width: 140px; height: 140px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
}
.bv-fallback-thumb__initial { font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em; opacity: .95; line-height: 1; }
.bv-fallback-thumb__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; opacity: .85; margin-top: 6px; }
.bv-post-row__thumb .bv-fallback-thumb { min-height: 120px; }
.bv-post-row__thumb .bv-fallback-thumb__initial { font-size: 2rem; }
.bv-store-logo__mark { width: 100%; height: 100%; border-radius: 20px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.6rem; }
.bv-store-logo .bv-store-mark-img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; padding: 8px; }
.bv-brand-tile__mark.bv-store-mark-img, .bv-coupon-card__mark.bv-store-mark-img { object-fit: contain; background: #fff; border: 1px solid var(--bv-line); }

.bv-post-row {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 22px;
	padding: 22px 0;
	border-bottom: 1px solid var(--bv-line);
}
.bv-post-row:first-child { padding-top: 0; }
.bv-post-row__thumb { border-radius: var(--bv-radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bv-soft); }
.bv-post-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bv-post-row h3 { margin: 4px 0 8px; font-size: 1.22rem; }

.bv-post-grid-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }

/* ---------- 09 Sidebar --------------------------------------------------- */
.bv-widget {
	background: #fff;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	padding: 22px;
	margin-bottom: 24px;
}
.bv-widget h3, .bv-widget .widget-title {
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--bv-muted);
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--bv-line);
}
.bv-widget h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bv-muted); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--bv-line); }
.bv-widget .wp-block-search__button { background: var(--bv-brand); color: #fff; border: 0; border-radius: var(--bv-radius-sm); padding: 10px 14px; font-weight: 700; cursor: pointer; }
.bv-widget .wp-block-search__input { border: 1px solid var(--bv-line); border-radius: var(--bv-radius-sm); padding: 10px 12px; }
.bv-widget .wp-block-latest-posts__list li, .bv-widget .wp-block-archives-list li, .bv-widget .wp-block-categories-list li { border-bottom: 1px dashed var(--bv-line); padding: 9px 0; }
.bv-widget .wp-block-latest-posts__list li a { font-weight: 600; font-size: .93rem; color: var(--bv-body); }
.bv-widget ul { list-style: none; margin: 0; padding: 0; }
.bv-widget ul li { margin: 0; border-bottom: 1px dashed var(--bv-line); padding: 9px 0; }
.bv-widget ul li:last-child { border-bottom: 0; }
.bv-widget ul li a { color: var(--bv-body); font-weight: 600; font-size: .93rem; }
.bv-widget select, .bv-widget input[type="search"], .bv-widget input[type="text"], .bv-widget input[type="email"] {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius-sm);
	font-size: .92rem;
	background: var(--bv-soft-2);
}
.bv-widget .search-field + .search-submit, .bv-widget .bv-btn { margin-top: 10px; }
.bv-widget--sticky { position: sticky; top: calc(var(--bv-header-h) + 22px); }
.bv-widget-about p { font-size: .93rem; color: var(--bv-muted); }
.bv-widget-brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* ---------- 10 Single post ---------------------------------------------- */
.bv-article-header { margin-bottom: 28px; }
.bv-article-header .bv-post-meta { margin-bottom: 12px; }
.bv-article-header h1 { margin-bottom: 12px; }
.bv-article-meta-bar {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--bv-line);
	border-bottom: 1px solid var(--bv-line);
	margin-bottom: 26px;
	flex-wrap: wrap;
}
.bv-author-chip { display: flex; align-items: center; gap: 11px; }
.bv-author-chip .avatar { border-radius: 50%; width: 42px; height: 42px; }
.bv-author-chip strong { display: block; font-size: .92rem; color: var(--bv-ink); }
.bv-author-chip span { font-size: .8rem; color: var(--bv-muted); }
.bv-article-thumb { border-radius: var(--bv-radius); overflow: hidden; margin-bottom: 26px; box-shadow: var(--bv-shadow); }

.bv-entry { font-size: 1.06rem; color: #232c3f; }
.bv-entry > *:last-child { margin-bottom: 0; }
.bv-entry h2 { margin-top: 2em; font-size: 1.55rem; }
.bv-entry h3 { margin-top: 1.6em; font-size: 1.22rem; }
.bv-entry ul li, .bv-entry ol li { margin-bottom: .55em; }
.bv-entry img { border-radius: var(--bv-radius-sm); }
.bv-entry .wp-caption-text, .bv-entry figcaption { font-size: .85rem; color: var(--bv-muted); text-align: center; margin-top: 8px; }
.bv-entry a { text-decoration: underline; text-underline-offset: 3px; }
.bv-entry .alignleft { float: left; margin: 6px 24px 18px 0; }
.bv-entry .alignright { float: right; margin: 6px 0 18px 24px; }
.bv-entry .aligncenter { margin: 24px auto; display: block; }
.bv-toc {
	background: var(--bv-soft);
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	padding: 20px 22px;
	margin: 0 0 28px;
}
.bv-toc h2 { font-size: 1rem; margin-bottom: 10px; }
.bv-toc ol { margin: 0; padding-left: 1.2em; font-size: .94rem; }
.bv-callout {
	border: 1px solid #ffd9c9;
	background: var(--bv-accent-050);
	border-radius: var(--bv-radius);
	padding: 18px 20px;
	margin: 26px 0;
}
.bv-callout strong { color: var(--bv-accent-700); }
.bv-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.bv-author-box {
	display: grid; grid-template-columns: auto 1fr; gap: 18px;
	background: var(--bv-soft);
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	padding: 22px;
	margin: 36px 0;
}
.bv-author-box .avatar { border-radius: 50%; width: 74px; height: 74px; }
.bv-share { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; }
.bv-share a {
	padding: 8px 15px; border-radius: 999px; border: 1px solid var(--bv-line);
	font-size: .85rem; font-weight: 700; color: var(--bv-ink); background: #fff;
}
.bv-share a:hover { background: var(--bv-brand); color: #fff; border-color: var(--bv-brand); }
.bv-related { margin-top: 46px; }

/* ---------- 11 Brands (store CPT) --------------------------------------- */
.bv-store-hero {
	background: linear-gradient(135deg, #1e2a6d, #38459c 60%, #5a49b8);
	color: #fff;
	padding: 44px 0 52px;
}
.bv-store-hero__inner { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.bv-store-logo {
	width: 84px; height: 84px; flex: 0 0 84px;
	border-radius: 20px;
	background: #fff;
	color: var(--bv-brand);
	display: grid; place-items: center;
	font-weight: 900; font-size: 1.6rem;
	box-shadow: var(--bv-shadow-lg);
}
.bv-store-logo img { border-radius: 16px; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.bv-store-hero h1 { color: #fff; margin: 0 0 6px; }
.bv-store-hero__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: #ccd5ef; }
.bv-store-hero__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.bv-store-hero .bv-btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.bv-store-hero .bv-btn--ghost:hover { background: #fff; color: var(--bv-brand); }
.bv-rating { color: #ffcb45; font-weight: 800; }
.bv-store-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 26px; }
.bv-store-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--bv-radius); padding: 14px 16px; }
.bv-store-stat strong { display: block; font-size: 1.3rem; }
.bv-store-stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: #c6cfe9; }

/* ---------- 12 Coupons --------------------------------------------------- */
.bv-coupon-list { display: grid; gap: 16px; }
.bv-coupon {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) 210px;
	gap: 20px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	padding: 18px;
	transition: box-shadow .18s ease, border-color .18s ease;
}
.bv-coupon:hover { box-shadow: var(--bv-shadow); border-color: #ccd4e8; }
.bv-coupon--featured { border-color: var(--bv-accent); background: linear-gradient(0deg, #fff9f6, #fff); }
.bv-coupon__discount {
	text-align: center;
	padding: 12px 8px;
	border-right: 2px dashed var(--bv-line);
}
.bv-coupon__discount strong { display: block; font-size: 1.5rem; color: var(--bv-accent); line-height: 1.15; }
.bv-coupon__discount span { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bv-muted); font-weight: 700; }
.bv-coupon__body h3 { font-size: 1.06rem; margin: 0 0 6px; }
.bv-coupon__body p { margin: 0 0 8px; font-size: .92rem; color: var(--bv-muted); }
.bv-coupon__facts { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--bv-muted); margin-top: 6px; }
.bv-coupon__actions { display: flex; flex-direction: column; gap: 9px; }
.bv-code-btn {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	border: 2px dashed var(--bv-accent);
	background: var(--bv-accent-050);
	color: var(--bv-accent-700);
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 800;
	letter-spacing: .06em;
	cursor: pointer;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .95rem;
	transition: all .16s ease;
	width: 100%;
}
.bv-code-btn:hover { background: var(--bv-accent); color: #fff; border-style: solid; }
.bv-code-btn.is-copied { background: var(--bv-success); border-color: var(--bv-success); color: #fff; border-style: solid; }
.bv-code-btn__hint { font-family: var(--bv-font); font-size: .74rem; letter-spacing: 0; font-weight: 700; }
.bv-coupon__view { font-size: .8rem; color: var(--bv-muted); text-align: center; }

.bv-coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.bv-coupon-card {
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	background: #fff;
	padding: 20px;
	display: flex; flex-direction: column; gap: 12px;
}
.bv-coupon-card__top { display: flex; align-items: center; gap: 12px; }
.bv-coupon-card__mark {
	width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
	display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--bv-brand); font-size: .95rem;
}
.bv-coupon-card h3 { font-size: 1.02rem; margin: 0; }
.bv-coupon-card__store { font-size: .8rem; color: var(--bv-muted); font-weight: 600; }
.bv-coupon-card__discount { font-size: 1.35rem; font-weight: 900; color: var(--bv-accent); }

.bv-filter-bar {
	display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
	background: var(--bv-soft);
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	padding: 16px;
	margin-bottom: 24px;
}
.bv-filter-bar select, .bv-filter-bar input {
	padding: 10px 13px;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
	background: #fff;
	font-size: .9rem;
	min-width: 170px;
}
.bv-filter-bar__spacer { margin-left: auto; font-size: .85rem; color: var(--bv-muted); }

.bv-toast {
	position: fixed;
	left: 50%;
	bottom: 32px;
	transform: translate(-50%, 200%);
	visibility: hidden;
	opacity: 0;
	z-index: 900;
	background: var(--bv-ink);
	color: #fff;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .92rem;
	box-shadow: var(--bv-shadow-lg);
	transition: transform .28s cubic-bezier(.2, .9, .3, 1.3), opacity .2s ease, visibility 0s linear .3s;
	display: flex; align-items: center; gap: 10px;
	max-width: calc(100% - 32px);
}
.bv-toast.is-visible { transform: translate(-50%, 0); visibility: visible; opacity: 1; transition-delay: 0s; }
.bv-toast__code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: rgba(255, 255, 255, .16);
	padding: 3px 9px; border-radius: 6px;
}

/* ---------- 13 Footer ---------------------------------------------------- */
.bv-footer { background: var(--bv-ink); color: #a9b4cc; margin-top: 0; }
.bv-footer a { color: #d5dded; }
.bv-footer a:hover { color: #fff; }
.bv-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 58px 0 40px; }
.bv-footer h4 { color: #fff; font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.bv-footer ul { list-style: none; margin: 0; padding: 0; }
.bv-footer ul li { margin-bottom: 9px; font-size: .93rem; }
.bv-footer__about p { font-size: .93rem; }
.bv-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bv-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 18px 0;
	font-size: .85rem;
	display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.bv-footer__bottom ul { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.bv-footer__bottom li { margin: 0; }
.bv-socials { display: flex; gap: 10px; margin-top: 16px; }
.bv-socials a {
	width: 36px; height: 36px; border-radius: 10px;
	background: rgba(255, 255, 255, .1);
	display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.bv-socials a:hover { background: var(--bv-accent); }

/* ---------- 14 Forms / misc --------------------------------------------- */
.bv-notice {
	border: 1px solid var(--bv-line);
	background: var(--bv-soft);
	border-radius: var(--bv-radius);
	padding: 18px 20px;
	margin-bottom: 22px;
}
.bv-search-page-form { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.bv-search-page-form input[type="search"] {
	flex: 1; min-width: 240px;
	padding: 14px 18px; border: 1px solid var(--bv-line); border-radius: 999px; font-size: 1rem;
}
.bv-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.bv-pagination .page-numbers {
	padding: 9px 15px; border: 1px solid var(--bv-line); border-radius: 9px; font-weight: 700; font-size: .9rem; color: var(--bv-ink); background: #fff;
}
.bv-pagination .page-numbers.current { background: var(--bv-brand); border-color: var(--bv-brand); color: #fff; }
.bv-pagination .page-numbers:hover { border-color: var(--bv-brand); color: var(--bv-brand); }
.bv-breadcrumbs { font-size: .82rem; color: var(--bv-muted); margin-bottom: 18px; }
.bv-breadcrumbs a { color: var(--bv-muted); }
.bv-breadcrumbs a:hover { color: var(--bv-brand); }
.bv-breadcrumbs span { margin: 0 7px; opacity: .5; }

.bv-empty {
	text-align: center;
	padding: 60px 20px;
	border: 2px dashed var(--bv-line);
	border-radius: var(--bv-radius);
	background: var(--bv-soft-2);
}
.bv-empty h2 { margin-bottom: 8px; }

/* ---------- 15 Comments -------------------------------------------------- */
.bv-comments { margin-top: 48px; }
.bv-comments h3 { font-size: 1.3rem; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--bv-line); padding: 20px 0; }
.comment-list .children { list-style: none; margin: 0; padding-left: 34px; border-left: 2px solid var(--bv-line); }
.comment-body { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.comment-body .avatar { border-radius: 50%; }
.comment-meta { font-size: .85rem; color: var(--bv-muted); margin-bottom: 6px; }
.comment-meta cite { font-style: normal; font-weight: 800; color: var(--bv-ink); font-size: .95rem; }
.comment-reply-link { font-size: .82rem; font-weight: 700; }
.bv-comment-form input, .bv-comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius-sm);
	background: var(--bv-soft-2);
	font-family: inherit;
	font-size: .95rem;
	margin-bottom: 12px;
}
.bv-comment-form textarea { min-height: 140px; }
.bv-comment-form input[type="submit"] {
	width: auto; background: var(--bv-brand); color: #fff; border: 0; font-weight: 700;
	padding: 12px 26px; border-radius: 999px; cursor: pointer; margin-bottom: 0;
}
.bv-comment-form input[type="submit"]:hover { background: var(--bv-brand-700); }

/* ---------- 16 Utilities ------------------------------------------------- */
.bv-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bv-center { text-align: center; }
.bv-mt-0 { margin-top: 0; }
.bv-mb-0 { margin-bottom: 0; }
.bv-muted { color: var(--bv-muted); }
.bv-divider { height: 1px; background: var(--bv-line); margin: 26px 0; }
.bv-aligncenter { text-align: center; }
.bv-nowrap { white-space: nowrap; }
.alignwide { width: min(100%, 1100px); margin-inline: auto; }
.alignfull { width: 100%; }

/* ---------- 17 Responsive ------------------------------------------------ */
@media (max-width: 1080px) {
	.bv-content-grid { grid-template-columns: 1fr; gap: 40px; }
	.bv-widget--sticky { position: static; }
	.bv-footer__top { grid-template-columns: 1fr 1fr; }
	.bv-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.bv-nav { display: none; }
	.bv-burger { display: grid; }
	.bv-header__actions { margin-left: auto; }
	.bv-grid--3, .bv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bv-about-strip, .bv-post-grid-lead, .bv-newsletter { grid-template-columns: 1fr; gap: 26px; }
	.bv-coupon { grid-template-columns: 108px minmax(0, 1fr); }
	.bv-coupon__actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
	.bv-coupon__actions .bv-code-btn { flex: 1; }
	.bv-hero__inner { padding: 54px 0 58px; }
}

@media (max-width: 640px) {
	:root { --bv-header-h: 64px; }
	.bv-topbar { display: none; }
	body { font-size: 16px; }
	.bv-container { padding: 0 16px; }
	.bv-section { padding: 40px 0; }
	.bv-grid--3, .bv-grid--2, .bv-grid--4 { grid-template-columns: 1fr; }
	.bv-post-row { grid-template-columns: 1fr; }
	.bv-footer__top { grid-template-columns: 1fr; gap: 28px; }
	.bv-coupon { grid-template-columns: 1fr; text-align: left; }
	.bv-coupon__discount { border-right: 0; border-bottom: 2px dashed var(--bv-line); padding: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
	.bv-coupon__actions { flex-direction: column; align-items: stretch; }
	.bv-store-hero__inner { flex-direction: column; align-items: flex-start; }
	.bv-store-hero__actions { margin-left: 0; }
	.bv-hero__stats { gap: 22px; }
	.bv-newsletter { padding: 22px; }
	.bv-logo__tagline { display: none; }
}

/* ---------- 18 Hidden coupon mode (admin notice) ------------------------- */
.bv-preview-bar {
	background: #7c3aed;
	color: #fff;
	font-size: .82rem;
	padding: 7px 0;
	text-align: center;
}
.bv-preview-bar a { color: #fff; text-decoration: underline; }
