/*
 * BRAVO v24 – header, footer and the new pages (start, brand, product, tool).
 * Inter, regular and medium only. Desktop only, like v23.
 */
:root {
	--bv-navy: #002657;
	--bv-navy-2: #0b3d82;
	--bv-ink: #1d1d1b;
	--bv-muted: #565e6b;
	--bv-line: #e1e5eb;
	--bv-field: #c9ced6;
	--bv-ground: #f4f5f7;
	--bv-tint: #e9eef6;
	--bv-soft: #eef0f3;
	--bv-green: #1d5e3a;
	--bv-green-bg: #e7f2ec;
	--bv-amber: #8a4b0f;
	--bv-amber-bg: #fbeedd;
	--bv-radius: 10px;
}

/* ---------- Base for the new templates ---------- */
body.bv { margin: 0; background: var(--bv-ground); color: var(--bv-ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400; min-width: 1100px; }
body.bv h1, body.bv h2, body.bv h3, .bv-header, .bv-footer { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.bv a { color: var(--bv-navy); }
.bv a:hover { color: var(--bv-navy-2); }
.bv-wrap { max-width: 1360px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.bv-main { padding-top: 28px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.bv-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bv svg { flex-shrink: 0; }

/* ---------- Header ---------- */
.bv-header { background: #fff; border-bottom: 1px solid var(--bv-line); font-family: Inter, system-ui, sans-serif; position: relative; z-index: 20; }
.bv-header * { box-sizing: border-box; }
.bv-header__bar { max-width: 1360px; margin: 0 auto; padding: 0 32px; height: 84px; display: flex; align-items: center; gap: 20px; }
.bv-header a { text-decoration: none; }
.bv-logo { display: flex; flex-shrink: 0; }
.bv-logo img { height: 40px; width: auto; display: block; }
.bv-areas { display: flex; align-items: center; gap: 4px; padding-left: 20px; border-left: 1px solid var(--bv-line); height: 36px; }
.bv-area { font: inherit; font-size: 17px; color: var(--bv-navy); background: transparent; border: 0; padding: 6px 10px; border-radius: 6px; cursor: default; }
.bv-areas.is-tabs .bv-area { cursor: pointer; color: var(--bv-muted); font-size: 15px; }
.bv-areas.is-tabs .bv-area[aria-selected="true"] { color: var(--bv-navy); background: var(--bv-tint); }
.bv-area-brand { font-size: 17px; color: var(--bv-navy); }
.bv-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bv-nav__link { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--bv-navy) !important; font-size: 14px; font-weight: 500; background: transparent; border: 0; font-family: inherit; cursor: pointer; }
.bv-nav__link:hover { background: var(--bv-ground); }
.bv-nav__link.is-active { background: var(--bv-tint); }
.bv-cart { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; margin-left: 6px; border-radius: 10px; background: var(--bv-tint); color: var(--bv-navy) !important; font-size: 14px; font-weight: 500; }
.bv-cart__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bv-navy); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.bv-menu { position: relative; }
.bv-menu > summary { list-style: none; }
.bv-menu > summary::-webkit-details-marker { display: none; }
.bv-menu__panel { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--bv-line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 38, 87, .12); padding: 8px; display: flex; flex-direction: column; }
.bv-menu__panel a { padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--bv-ink) !important; }
.bv-menu__panel a:hover { background: var(--bv-ground); }
.bv-menu__who { padding: 8px 12px 10px; font-size: 13px; color: var(--bv-muted); border-bottom: 1px solid var(--bv-line); margin-bottom: 4px; }

/* Brand row: scrolls sideways without a visible scrollbar; the arrow says there is more. */
.bv-brands { position: relative; background: #fafbfc; border-top: 1px solid var(--bv-line); }
.bv-brands[hidden] { display: none; }
.bv-brands__track { max-width: 1360px; margin: 0 auto; padding: 14px 32px; display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.bv-brands__track::-webkit-scrollbar { display: none; }
.bv-brand { flex: 0 0 auto; width: 186px; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--bv-line); border-radius: 8px; background: #fff; color: var(--bv-navy) !important; font-size: 14px; line-height: 1.2; }
.bv-brand:hover { border-color: var(--bv-field); }
.bv-brand.is-active { border: 2px solid var(--bv-navy); padding: 0 11px; font-weight: 500; }
.bv-brand.is-soon { color: var(--bv-muted) !important; background: #fbfbfc; border-style: dashed; }
.bv-brand__soon { margin-left: auto; font-size: 11px; color: var(--bv-muted); }
.bv-brands__more { position: absolute; top: 0; right: 0; bottom: 0; width: 160px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-right: 32px; background: linear-gradient(to right, rgba(250, 251, 252, 0), #fafbfc 45%); pointer-events: none; }
.bv-brands__more[hidden] { display: none; }
.bv-brands__count { font-size: 13px; color: var(--bv-muted); }
.bv-round { pointer-events: auto; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--bv-field); background: #fff; color: var(--bv-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bv-round:hover { border-color: var(--bv-navy); }
.bv-brands__more.is-end .bv-round svg { transform: rotate(180deg); }

/* Brand symbol: a small square logo, or initials when the brand has none. */
.bv-mark { width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; display: block; }
.bv-initials { width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px; background: #e3e8f0; color: var(--bv-navy); font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Footer ---------- */
.bv-footer { background: var(--bv-navy); color: #fff; font-family: Inter, system-ui, sans-serif; }
.bv-footer__grid { max-width: 1360px; margin: 0 auto; padding: 56px 32px 40px; box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.bv-footer__logo { height: 40px; width: auto; filter: brightness(0) invert(1); }
.bv-footer nav { display: flex; flex-direction: column; gap: 10px; }
.bv-footer__head { margin: 0 0 4px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #a9b8cf; }
.bv-footer a { color: #fff !important; text-decoration: none; font-size: 14px; }
.bv-footer a:hover { text-decoration: underline; }
.bv-footer__legal { max-width: 1360px; margin: 0 auto; padding: 20px 32px 28px; box-sizing: border-box; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; color: #c9d4e4; }

/* ---------- Shared pieces ---------- */
.bv-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bv-muted); }
.bv-chip { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #e6ecf5; color: var(--bv-navy); font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.4; }
.bv-chip--green { background: var(--bv-green-bg); color: var(--bv-green); }
.bv-chip--amber { background: var(--bv-amber-bg); color: var(--bv-amber); }
.bv-chip--violet { background: #efe9f7; color: #4b2a83; }
.bv-chip--outline { background: transparent; border: 1px solid var(--bv-field); color: var(--bv-muted); }
.bv-chip--now { background: #b5470f; color: #fff; }
.bv-btn { height: 52px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--bv-navy); color: #fff !important; font: inherit; font-size: 16px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none !important; }
.bv-btn:hover { background: var(--bv-navy-2); }
.bv-btn[disabled], .bv-btn.disabled { opacity: .45; cursor: not-allowed; }
.bv-btn--block { width: 100%; }
.bv-btn--secondary { height: 44px; padding: 0 18px; background: #fff; color: var(--bv-navy) !important; border: 1px solid var(--bv-navy); font-size: 14px; white-space: nowrap; }
.bv-btn--secondary:hover { background: var(--bv-tint); }
.bv-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: none; }
.bv-panel { background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: 28px 32px; }
.bv-h2 { margin: 0; font-size: 22px; font-weight: 500; color: var(--bv-ink); line-height: 1.3; }
.bv-h1 { margin: 0; font-size: 36px; line-height: 1.15; font-weight: 400; color: var(--bv-navy); }
.bv-lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--bv-muted); }
.bv-muted { color: var(--bv-muted); }
.bv-notice { padding: 14px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--bv-line); font-size: 14px; }
.bv-notice.is-ok { border-color: #b9dcc7; background: #f2f9f5; color: var(--bv-green); }
.bv-notice.is-error { border-color: #f0c2c2; background: #fdf3f3; color: #9b1c1c; }

.bv-crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.bv-crumbs a { text-decoration: none; }
.bv-crumbs span[aria-hidden] { color: var(--bv-muted); }
.bv-crumbs [aria-current] { color: var(--bv-muted); }

/* Section head with link on the right */
.bv-shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.bv-shead h2 { margin: 0; font-size: 26px; font-weight: 500; color: var(--bv-ink); }
.bv-shead p { margin: 4px 0 0; font-size: 15px; color: var(--bv-muted); }

/* Cards */
.bv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); overflow: hidden; text-decoration: none !important; color: var(--bv-ink) !important; transition: border-color .15s, box-shadow .15s; }
.bv-card:hover { border-color: var(--bv-field); box-shadow: 0 4px 16px rgba(0, 38, 87, .08); }
.bv-card[hidden] { display: none; }
.bv-card__media { position: relative; height: 128px; background: var(--bv-tint); display: flex; align-items: center; justify-content: center; color: var(--bv-navy); }
.bv-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bv-card--product .bv-card__media { height: 172px; background: var(--bv-soft); color: #6b7380; }
.bv-card--product .bv-card__media img { object-fit: contain; padding: 12px; box-sizing: border-box; background: #fff; }
.bv-card__flag { position: absolute; top: 12px; left: 12px; }
.bv-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bv-card--product .bv-card__body { padding: 14px 16px 16px; gap: 6px; }
.bv-card__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bv-card__title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--bv-ink); }
.bv-card--product .bv-card__title { font-size: 15px; }
.bv-card__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--bv-muted); }
.bv-card__type { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--bv-muted); }
.bv-card__price { font-size: 15px; color: var(--bv-ink); padding-top: 4px; }
.bv-card__more { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--bv-navy); }
.bv-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #6b7380; }

.bv-empty { background: #fff; border: 1px dashed var(--bv-field); border-radius: var(--bv-radius); padding: 32px 36px; display: flex; align-items: center; gap: 20px; color: var(--bv-navy); }
.bv-empty p { margin: 0; }
.bv-empty__title { font-size: 16px; font-weight: 500; color: var(--bv-ink); }
.bv-empty__text { font-size: 14px; color: var(--bv-muted); margin-top: 4px !important; }

/* Pills for product types */
.bv-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.bv-pill { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--bv-field); background: #fff; color: var(--bv-ink); font: inherit; font-size: 14px; cursor: pointer; }
.bv-pill[aria-pressed="true"] { border-color: var(--bv-navy); background: var(--bv-navy); color: #fff; font-weight: 500; }
.bv-pill__n { opacity: .7; margin-left: 4px; }

/* ---------- Start page ---------- */
.bv-hello { padding: 48px 0 8px; }
.bv-hello h1 { margin: 0; font-size: 40px; font-weight: 400; color: var(--bv-navy); }
.bv-hello p { margin: 8px 0 0; font-size: 17px; color: var(--bv-muted); }
.bv-area-block { display: flex; flex-direction: column; gap: 16px; }
.bv-area-block h2 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--bv-muted); }
.bv-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bv-logo-card { height: 168px; background: #fff; border: 1px solid var(--bv-line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; box-sizing: border-box; text-decoration: none !important; color: var(--bv-navy) !important; transition: border-color .15s, box-shadow .15s; }
.bv-logo-card:hover { border-color: var(--bv-navy); box-shadow: 0 4px 16px rgba(0, 38, 87, .08); }
.bv-logo-card img { max-width: 72%; max-height: 72px; object-fit: contain; }
.bv-logo-card__name { font-size: 14px; color: var(--bv-muted); }
.bv-logo-card__text { font-size: 22px; color: var(--bv-navy); text-align: center; }
.bv-logo-card.is-soon { border-style: dashed; background: #fbfbfc; }
.bv-logo-card.is-soon img { filter: grayscale(1); opacity: .55; }
.bv-about { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.bv-about h2 { margin: 0; font-size: 22px; font-weight: 500; }
.bv-about p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--bv-muted); }

/* ---------- Brand page ---------- */
.bv-intro { background: #fff; border-bottom: 1px solid var(--bv-line); }
.bv-intro__inner { max-width: 1360px; margin: 0 auto; padding: 36px 32px; box-sizing: border-box; display: flex; align-items: center; gap: 24px; }
.bv-intro__logo { width: 180px; height: 72px; display: flex; align-items: center; justify-content: flex-start; }
.bv-intro__logo img { max-width: 180px; max-height: 72px; object-fit: contain; }
.bv-intro h1 { margin: 0; font-size: 34px; font-weight: 400; color: var(--bv-navy); }
.bv-intro p { margin: 6px 0 0; font-size: 16px; color: var(--bv-muted); }
.bv-intro__jump { margin-left: auto; display: flex; gap: 8px; }
.bv-intro__jump .bv-pill { display: inline-flex; align-items: center; text-decoration: none; color: var(--bv-ink); }
.bv-intro__jump .bv-pill:hover { border-color: var(--bv-navy); }
.bv-section { padding-top: 40px; }
.bv-section:first-child { padding-top: 36px; }
.bv-soon-banner { margin-top: 28px; }

/* ---------- Product page ---------- */
.bv-pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.bv-col { display: flex; flex-direction: column; gap: 20px; }
.bv-buy { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.bv-title { display: flex; flex-direction: column; gap: 8px; }
.bv-title__top { display: flex; align-items: center; gap: 10px; }
.bv-price { font-size: 22px; color: var(--bv-ink); }
.bv-price small { font-size: 14px; color: var(--bv-muted); }
.bv-price--muted { font-size: 18px; color: var(--bv-muted); }
.bv-stage { aspect-ratio: 1 / 1; background: var(--bv-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bv-stage img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bv-thumbs { display: flex; gap: 12px; }
.bv-thumbs button { width: 88px; height: 88px; padding: 0; border-radius: 8px; border: 1px solid var(--bv-line); background: #fff; cursor: pointer; overflow: hidden; }
.bv-thumbs button[aria-pressed="true"] { border: 2px solid var(--bv-navy); }
.bv-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.bv-preview { background: #fff; border: 1px solid var(--bv-line); border-radius: 12px; overflow: hidden; }
.bv-preview__tabs { display: flex; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--bv-line); }
.bv-preview__tab { height: 44px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--bv-muted); font: inherit; font-size: 14px; cursor: pointer; }
.bv-preview__tab[aria-selected="true"] { border-bottom-color: var(--bv-navy); color: var(--bv-navy); font-weight: 500; }
.bv-preview__pane { background: var(--bv-tint); padding: 28px 32px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.bv-preview__pane[hidden] { display: none; }
.bv-preview__pane--photo { padding: 0; background: var(--bv-soft); }
.bv-preview__pane--photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; }
.bv-preview__book { position: relative; min-height: 320px; }
.bv-preview__book.is-loading { opacity: .35; }
.bv-preview__caption { margin: 0; padding: 12px 16px; font-size: 13px; color: var(--bv-muted); }

.bv-korr { background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.bv-korr__head { display: flex; gap: 14px; align-items: flex-start; color: var(--bv-navy); }
.bv-korr h2 { margin: 0; font-size: 16px; font-weight: 500; color: var(--bv-ink); }
.bv-korr p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--bv-muted); }
.bv-korr__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: 38px; }
.bv-korr__for { font-size: 13px; color: var(--bv-muted); }

.bv-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bv-legend { font-size: 14px; font-weight: 500; color: var(--bv-ink); margin-bottom: 10px; padding: 0; width: 100%; display: flex; justify-content: space-between; }
.bv-legend span + span { font-weight: 400; color: var(--bv-muted); }
.bv-radios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bv-radios--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bv-radio { position: relative; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--bv-field); background: #fff; cursor: pointer; }
.bv-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bv-radio__dot { width: 18px; height: 18px; flex-shrink: 0; border-radius: 9px; box-sizing: border-box; border: 1.5px solid #9aa1ac; background: #fff; }
.bv-radio__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.3; }
.bv-radio__sub { font-size: 13px; color: var(--bv-muted); }
.bv-radio:has(input:checked) { border: 2px solid var(--bv-navy); padding: 7px 11px; background: #f1f4f9; }
.bv-radio:has(input:checked) .bv-radio__dot { border: 5px solid var(--bv-navy); }
.bv-radio:has(input:focus-visible) { outline: 2px solid var(--bv-navy-2); outline-offset: 2px; }
.bv-radio:has(input:disabled) { cursor: default; background: #f7f8fa; border-color: var(--bv-line); color: #9aa1ac; }
.bv-radio--big { min-height: 60px; padding: 10px 14px; }
.bv-radio--big:has(input:checked) { padding: 9px 13px; }
.bv-radio--big .bv-radio__text { font-size: 15px; }

.bv-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--bv-line); font-size: 14px; color: var(--bv-muted); }
.bv-summary strong { font-weight: 400; font-size: 18px; color: var(--bv-ink); }
.bv-info { display: flex; flex-direction: column; }
.bv-info div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--bv-line); font-size: 14px; }
.bv-info dt { color: var(--bv-muted); }
.bv-info dd { margin: 0; color: var(--bv-ink); text-align: right; }
.bv-dispatch { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--bv-line); color: var(--bv-navy); }
.bv-dispatch span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--bv-ink); }
.bv-dispatch small { font-size: 13px; color: var(--bv-muted); }

.bv-qty { display: flex; flex-direction: column; gap: 8px; }
.bv-qty__row { display: flex; align-items: center; gap: 16px; }
.bv-stepper { display: flex; align-items: center; border: 1px solid var(--bv-field); border-radius: 8px; background: #fff; }
.bv-stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--bv-navy); font: inherit; font-size: 20px; cursor: pointer; }
.bv-stepper .quantity { margin: 0 !important; }
.bv-stepper input.qty { width: 72px !important; height: 44px; border: 0 !important; border-left: 1px solid var(--bv-line) !important; border-right: 1px solid var(--bv-line) !important; border-radius: 0 !important; text-align: center; font: inherit; font-size: 16px; color: var(--bv-ink); -moz-appearance: textfield; padding: 0 !important; background: #fff; }
.bv-stepper input.qty::-webkit-inner-spin-button, .bv-stepper input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bv-label { font-size: 14px; font-weight: 500; color: var(--bv-ink); }

.bv-box { background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.bv-box h2 { margin: 0; font-size: 18px; font-weight: 500; color: var(--bv-ink); }
.bv-box p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bv-muted); }
.bv-input { height: 44px; box-sizing: border-box; border: 1px solid var(--bv-field); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--bv-ink); background: #fff; }
.bv-input:focus { outline: 2px solid var(--bv-navy-2); outline-offset: 1px; }

.bv-details dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.bv-details dl div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--bv-line); }
.bv-details dt { font-size: 13px; color: var(--bv-muted); }
.bv-details dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--bv-ink); }
.bv-sustain { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--bv-line); font-size: 14px; color: var(--bv-green); }
.bv-sustain > span:first-of-type { color: var(--bv-ink); }
.bv-sustain a { margin-left: auto; text-decoration: none; }
.bv-desc { font-size: 15px; line-height: 1.65; color: var(--bv-muted); max-width: 820px; }
.bv-desc > *:first-child { margin-top: 0; }

.bv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bv-step { display: flex; gap: 14px; align-items: flex-start; }
.bv-step__n { width: 32px; height: 32px; flex-shrink: 0; border-radius: 16px; background: var(--bv-tint); color: var(--bv-navy); font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.bv-step h3 { margin: 0; font-size: 16px; font-weight: 500; color: var(--bv-ink); }
.bv-step p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--bv-muted); }

/* WooCommerce bits inside the new product page */
.bv .woocommerce-notices-wrapper:empty { display: none; }
.bv .bv-wc-hidden, .bv .variations_form table.variations, .bv .variations_form .single_variation, .bv .variations_form .reset_variations { display: none !important; }
.bv .woocommerce-message, .bv .woocommerce-error, .bv .woocommerce-info { margin: 0 0 8px; border-radius: 8px; }

/* ---------- Tool page ---------- */
.bv-tool-head { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.bv-tool-body { background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: 32px; }
.bv-tool-body > *:first-child { margin-top: 0; }

/* Old page templates keep their look; the new header/footer sit on top of them. */
body:not(.bv) .bv-header, body:not(.bv) .bv-footer { font-family: Inter, system-ui, sans-serif; }

/* ---------- Beat WooCommerce's and Bootstrap's defaults inside the new pages ---------- */
.bv-footer .bv-footer__logo { height: 40px; width: auto; max-width: none; }
.bv-header .bv-logo img { height: 40px; width: auto; max-width: none; }
body.bv .bv-info dt, body.bv .bv-details dt { font-weight: 400; }
body.bv .bv-info dd, body.bv .bv-details dd { margin-bottom: 0; }
body.bv button.button.alt.bv-btn, body.bv button.button.bv-btn { height: 52px; padding: 0 24px; border-radius: 8px; background: var(--bv-navy); color: #fff; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
body.bv button.button.alt.bv-btn:hover, body.bv button.button.bv-btn:hover { background: var(--bv-navy-2); color: #fff; }
body.bv button.button.alt.bv-btn.disabled, body.bv button.button.alt.bv-btn:disabled { background: var(--bv-navy); color: #fff; opacity: .45; }
body.bv .bv-btn--block { width: 100%; }
body.bv .bv-card img { height: 100%; }
body.bv .bv-stage img, body.bv .bv-preview__pane--photo img { height: auto; max-height: 100%; }
body.bv { display: flex; flex-direction: column; min-height: 100vh; }
body.bv > main { flex: 1 0 auto; width: 100%; }

/* ---------- Header: the account menu opens over the brand row ---------- */
.bv-header__bar { position: relative; z-index: 3; }
.bv-menu__panel { z-index: 40; }

/* ---------- WooCommerce notices ("added to cart" …) in the new style ---------- */
body.bv .woocommerce-message, body.bv .woocommerce-info, body.bv .woocommerce-error { position: relative; display: flex; align-items: center; gap: 16px; margin: 0 0 4px; padding: 14px 16px 14px 48px; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); background: #fff; color: var(--bv-ink); font-size: 15px; line-height: 1.5; list-style: none; box-shadow: none; }
body.bv .woocommerce-message { border-color: #b9dcc7; background: #f6fbf8; }
body.bv .woocommerce-error { border-color: #f0c2c2; background: #fdf6f6; flex-direction: column; align-items: flex-start; gap: 4px; }
body.bv .woocommerce-message::before, body.bv .woocommerce-info::before, body.bv .woocommerce-error::before { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--bv-green); }
body.bv .woocommerce-info::before { color: var(--bv-navy); }
body.bv .woocommerce-error::before { color: #b42318; top: 22px; transform: none; }
body.bv .woocommerce-message .button, body.bv .woocommerce-info .button { order: 2; margin-left: auto; float: none; height: 40px; padding: 0 16px; border: 1px solid var(--bv-navy); border-radius: 8px; background: #fff; color: var(--bv-navy); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 38px; white-space: nowrap; text-decoration: none; }
body.bv .woocommerce-message .button:hover, body.bv .woocommerce-info .button:hover { background: var(--bv-tint); color: var(--bv-navy); }
body.bv .woocommerce-notices-wrapper { display: flex; flex-direction: column; gap: 8px; }
body.bv .woocommerce-message a:not(.button), body.bv .woocommerce-info a:not(.button) { color: var(--bv-navy); }

/* ---------- Account page ---------- */
.bv-chip--red { background: #fdecec; color: #9b1c1c; }
.bv-acc-head { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.bv-acc-head .bv-h1 { font-size: 40px; }
.bv-acc { display: flex; gap: 32px; align-items: flex-start; }
.bv-acc-nav { width: 240px; flex-shrink: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: 12px; position: sticky; top: 24px; }
.bv-acc-nav a { height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--bv-navy); }
.bv-acc-nav a:hover { background: var(--bv-ground); }
.bv-acc-nav a[aria-current] { background: var(--bv-tint); font-weight: 500; }
.bv-acc-nav a.is-muted { color: var(--bv-muted); }
.bv-acc-nav__sep { height: 1px; background: var(--bv-line); margin: 8px 0; }
.bv-acc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bv-acc-main > .woocommerce:empty { display: none; }
.bv-acc-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.bv-acc-card h2 { margin: 0; font-size: 18px; font-weight: 500; color: var(--bv-ink); }
.bv-acc-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--bv-muted); }
.bv-acc-card > .bv-link { margin-top: auto; }
.bv-acc-card--flush { padding: 0; gap: 0; overflow: hidden; }
.bv-acc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.bv-acc-facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.bv-acc-facts div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bv-acc-facts dt { font-size: 13px; color: var(--bv-muted); font-weight: 400; }
.bv-acc-facts dd { margin: 0; font-size: 15px; color: var(--bv-ink); overflow-wrap: anywhere; }
.bv-acc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bv-acc-addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bv-acc-addr span { display: block; font-size: 13px; color: var(--bv-muted); margin-bottom: 4px; }
.bv-acc-addr address { font-style: normal; font-size: 15px; line-height: 1.55; color: var(--bv-ink); margin: 0; }
.bv-acc-empty { padding: 0 24px 24px; color: var(--bv-muted); font-size: 15px; margin: 0; }
.bv-acc-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; font-size: 14px; }
.bv-pills a.bv-pill { display: inline-flex; align-items: center; text-decoration: none; color: var(--bv-ink); }
.bv-pills a.bv-pill[aria-pressed="true"] { color: #fff; }
.bv-table { width: 100%; border-collapse: collapse; }
.bv-table th { text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 500; color: var(--bv-muted); border-top: 1px solid var(--bv-line); border-bottom: 1px solid var(--bv-line); background: #fbfbfc; }
.bv-table td { padding: 16px; font-size: 15px; color: var(--bv-ink); border-bottom: 1px solid var(--bv-line); vertical-align: middle; }
.bv-table tr:last-child td { border-bottom: 0; }
.bv-table th:first-child, .bv-table td:first-child { padding-left: 24px; }
.bv-table td.bv-table__act { text-align: right; padding-right: 24px; white-space: nowrap; }
.bv-table__items { max-width: 360px; }

/* WooCommerce forms and tables inside the new frame (addresses, account details, single order) */
.bv-acc-wc { padding: 28px 32px; }
.bv-acc-wc .woocommerce { font-size: 15px; color: var(--bv-ink); }
.bv-acc-wc h2, .bv-acc-wc h3 { font-size: 18px; font-weight: 500; color: var(--bv-ink); margin: 24px 0 12px; }
.bv-acc-wc .form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--bv-ink); }
body.bv .bv-acc-wc input.input-text, body.bv .bv-acc-wc select, body.bv .bv-acc-wc textarea, body.bv .bv-acc-wc .select2-container .select2-selection--single { height: 44px; box-sizing: border-box; border: 1px solid var(--bv-field); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--bv-ink); background: #fff; width: 100%; }
body.bv .bv-acc-wc textarea { height: auto; padding: 10px 12px; }
body.bv .bv-acc-wc .password-input { display: block; position: relative; }
body.bv .bv-acc-wc .show-password-input { top: 50%; transform: translateY(-50%); right: 12px; }
body.bv .bv-acc-wc .woocommerce-Address-title h2 { text-align: left; }
.bv-acc-wc .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 0; }
.bv-acc-wc .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.bv-acc-wc fieldset { border: 1px solid var(--bv-line); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.bv-acc-wc legend { font-size: 15px; font-weight: 500; padding: 0 6px; }
.bv-acc-wc button.button, .bv-acc-wc a.button { height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--bv-navy); color: #fff; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 48px; display: inline-block; text-decoration: none; }
.bv-acc-wc button.button:hover, .bv-acc-wc a.button:hover { background: var(--bv-navy-2); color: #fff; }
.bv-acc-wc .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bv-acc-wc .woocommerce-Addresses::before, .bv-acc-wc .woocommerce-Addresses::after { display: none; }
.bv-acc-wc .woocommerce-Address { width: auto !important; float: none !important; border: 1px solid var(--bv-line); border-radius: 8px; padding: 16px 20px; }
.bv-acc-wc .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; }
.bv-acc-wc .woocommerce-Address-title h2 { margin: 0; }
.bv-acc-wc .woocommerce-Address-title a.edit { font-size: 14px; font-weight: 500; text-decoration: none; float: none; }
.bv-acc-wc address { font-style: normal; line-height: 1.55; }
.bv-acc-wc table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--bv-line); border-radius: 8px; }
.bv-acc-wc table.shop_table th, .bv-acc-wc table.shop_table td { padding: 12px 16px; border-top: 1px solid var(--bv-line); text-align: left; font-weight: 400; }
.bv-acc-wc table.shop_table thead th { font-size: 13px; font-weight: 500; color: var(--bv-muted); background: #fbfbfc; }
.bv-acc-wc mark { background: var(--bv-tint); color: var(--bv-navy); padding: 1px 6px; border-radius: 4px; }

/* Brand Center templates on the brand page */
.bv-card--template .bv-card__media { height: 220px; background: var(--bv-tint); }
.bv-card--template .bv-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; box-sizing: border-box; background: var(--bv-tint); }

/* ---------- Guests: welcome with login, registration and lost password ---------- */
.bv-welcome { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; }
.bv-welcome__text { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.bv-welcome__text h1 { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 400; color: var(--bv-navy); }
.bv-welcome__points { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bv-welcome__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--bv-navy); }
.bv-welcome__points span { font-size: 15px; line-height: 1.5; color: var(--bv-muted); }
.bv-welcome__points strong { font-weight: 500; color: var(--bv-ink); }
.bv-login { background: #fff; border: 1px solid var(--bv-line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 24px rgba(0, 38, 87, .06); }
.bv-login h2 { margin: 0; font-size: 24px; font-weight: 500; color: var(--bv-ink); }
.bv-login p { margin: 0; font-size: 14px; }
.bv-login form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.bv-login .bv-input { width: 100%; margin-bottom: 8px; }
.bv-login .bv-btn { margin-top: 8px; }
.bv-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bv-muted); margin: 0 0 4px; }
.bv-login__new { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--bv-line); font-size: 15px; color: var(--bv-muted); }
.bv-welcome__brands { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; padding: 28px 0 8px; border-top: 1px solid var(--bv-line); margin-top: 24px; }
.bv-welcome__brands img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .6; }
.bv-guest-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.bv-guest-body { background: #fff; border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: 32px; max-width: 760px; box-sizing: border-box; }
.bv-guest-body > *:first-child { margin-top: 0; }
.bv-nav .bv-btn--secondary { height: 40px; margin-left: 6px; }

/* ---------------------------------------------------------------------------------------------
 * Core Gutenberg blocks in tools, products and info posts (they replace the old Spectra layouts)
 * ------------------------------------------------------------------------------------------- */
.wp-block-button__link,
.wp-block-button__link:visited {
	display: inline-block;
	background: var(--bv-navy);
	color: #fff !important;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background: #0a3a78;
	color: #fff !important;
}
.wp-block-details {
	border-bottom: 1px solid var(--bv-line);
	padding: 10px 0;
	margin: 0;
}
.wp-block-details summary {
	cursor: pointer;
	font-weight: 500;
	color: var(--bv-ink);
}
.wp-block-details > :not(summary) {
	margin-top: 8px;
}
