/* HBV v5 theme styles. Palette = CSS variables: the mockup's site.css/v5.css load after this file and can override any of them. */
:root {
  --hbv-bg: #0b0b0e;
  --hbv-surface: #15151a;
  --hbv-surface-2: #1d1d24;
  --hbv-border: #2a2a33;
  --hbv-border-strong: #4a4a57;
  --hbv-text: #ece8df;
  --hbv-muted: #a8a39a;
  --hbv-accent: #d4a94c;
  --hbv-accent-contrast: #14110a;
  --hbv-link: #e6c26a;
  --hbv-danger: #ff9b8c;
  --hbv-success: #86e09b;
  --hbv-focus: #8ab4ff;
  --hbv-radius: 12px;
  --hbv-radius-sm: 8px;
  --hbv-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hbv-font-display: ui-serif, Georgia, "Times New Roman", serif;
  --hbv-container: 1180px;
  --hbv-gap: clamp(1rem, 3vw, 2rem);
  --hbv-header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.hbv5, body {
  margin: 0;
  background: var(--hbv-bg);
  color: var(--hbv-text);
  font-family: var(--hbv-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--hbv-link); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--hbv-font-display); line-height: 1.2; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--hbv-focus); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: .75rem 1rem;
  background: var(--hbv-accent); color: var(--hbv-accent-contrast); position: fixed !important; top: .5rem; left: .5rem; z-index: 100000; border-radius: var(--hbv-radius-sm);
}

.hbv-container { width: 100%; max-width: var(--hbv-container); margin: 0 auto; padding: 0 1rem; }
.hbv-main { padding-top: 1.5rem; padding-bottom: 4rem; min-height: 60vh; }
.hbv-page-head { margin: 1rem 0 1.5rem; }
.hbv-page-title { margin: 0; }
.hbv-prose { max-width: 75ch; }
.hbv-woo .hbv-prose, .woocommerce-page .hbv-prose { max-width: none; }
.hbv-meta { color: var(--hbv-muted); }

/* Buttons */
.hbv-btn, .button, button.button, input.button, a.button, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .6rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--hbv-accent); color: var(--hbv-accent-contrast); font: 600 .95rem/1.2 var(--hbv-font);
  text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s;
}
.hbv-btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { filter: brightness(1.12); color: var(--hbv-accent-contrast); }
.hbv-btn.hbv-btn--ghost, a.button.hbv-btn--ghost, .woocommerce a.button.hbv-btn--ghost { background: transparent; color: var(--hbv-text); border-color: var(--hbv-border-strong); }
.hbv-btn.hbv-btn--ghost:hover, a.button.hbv-btn--ghost:hover { color: #fff; background: var(--hbv-surface-2); filter: none; }
.hbv-btn--small { min-height: 38px; padding: .4rem .95rem; font-size: .875rem; }
.button:disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; cursor: not-allowed; }

/* Forms */
label { display: inline-block; margin-bottom: .25rem; font-weight: 500; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="date"], input[type="datetime-local"], textarea, select, .select2-container--default .select2-selection--single {
  width: 100%; min-height: 46px; padding: .6rem .8rem; border-radius: var(--hbv-radius-sm);
  background: var(--hbv-surface-2); color: var(--hbv-text); border: 1px solid var(--hbv-border-strong); font: inherit;
}
textarea { min-height: 120px; }
input::placeholder, textarea::placeholder { color: #8d887f; }
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--hbv-accent); vertical-align: middle; margin-right: .4rem; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--hbv-text); line-height: 30px; padding-left: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.select2-dropdown { background: var(--hbv-surface-2); color: var(--hbv-text); border-color: var(--hbv-border-strong); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--hbv-accent); color: var(--hbv-accent-contrast); }
form .form-row { margin: 0 0 1rem; }
form .form-row-first, form .form-row-last { width: 100%; }
@media (min-width: 640px) {
  form .form-row-first { width: calc(50% - .5rem); float: left; }
  form .form-row-last { width: calc(50% - .5rem); float: right; }
  form .form-row-wide { clear: both; }
}
.required { color: var(--hbv-danger); text-decoration: none; border: 0; }
fieldset { border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1rem; margin: 0 0 1rem; }
legend { padding: 0 .5rem; }

/* Header */
.hbv-header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,14,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hbv-border); }
.hbv-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--hbv-header-h); gap: 1rem; flex-wrap: wrap; }
@font-face { font-family: 'HBV Wordmark'; font-style: normal; font-weight: 600; font-display: swap; src: url('../brand/fonts/outfit-600.woff2') format('woff2'); }
.hbv-brand { color: #fff; font: 700 1.2rem var(--hbv-font-display); text-decoration: none; letter-spacing: .01em; }
.hbv-brand img { max-height: 40px; width: auto; display: block; }
.hbv-brand__text { font: 600 .84rem/1 'HBV Wordmark', var(--hbv-font-display); text-transform: uppercase; letter-spacing: .16em; color: #e3b652; white-space: nowrap; }
.hbv-footer__brand { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 420px) { .hbv-brand__text { font-size: .72rem; letter-spacing: .1em; } }
.hbv-header__tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.hbv-header__join { flex: none; }
.hbv-nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--hbv-border-strong); border-radius: var(--hbv-radius-sm); cursor: pointer; }
.hbv-nav-toggle__bars, .hbv-nav-toggle__bars::before, .hbv-nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--hbv-text); content: ""; position: relative; }
.hbv-nav-toggle__bars::before { position: absolute; top: -6px; }
.hbv-nav-toggle__bars::after { position: absolute; top: 6px; }
.hbv-nav { display: none; flex-basis: 100%; flex-direction: column; gap: .75rem; padding: .5rem 0 1rem; }
.hbv-nav.is-open { display: flex; }
.hbv-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.hbv-menu a { display: block; padding: .5rem 0; color: var(--hbv-text); text-decoration: none; min-height: 44px; }
.hbv-menu a:hover, .hbv-menu .current-menu-item > a { color: var(--hbv-accent); }
.hbv-cart-link { color: var(--hbv-text); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.hbv-cart-count { display: inline-flex; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; align-items: center; justify-content: center; background: var(--hbv-accent); color: var(--hbv-accent-contrast); border-radius: 999px; font-size: .75rem; font-weight: 700; }
@media (min-width: 820px) {
  .hbv-header__tools { margin-left: 0; }
  .hbv-nav-toggle { display: none; }
  .hbv-nav { display: flex; flex-direction: row; align-items: center; flex-basis: auto; padding: 0; gap: 1.25rem; margin-left: auto; }
  .hbv-menu { flex-direction: row; gap: 1.25rem; }
  .hbv-menu a { padding: .25rem 0; min-height: 0; }
}

/* Footer */
.hbv-footer { border-top: 1px solid var(--hbv-border); background: var(--hbv-surface); color: var(--hbv-muted); padding: 2rem 0; font-size: .9rem; }
.hbv-footer__inner { display: grid; gap: 1rem; }
.hbv-footer__brand { color: #fff; font-weight: 700; margin: 0; }
.hbv-menu--footer { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
.hbv-menu--footer a { color: var(--hbv-muted); min-height: 0; padding: .25rem 0; }
.hbv-menu--footer a:hover { color: #fff; }
.hbv-footer__legal { margin: 0; }
@media (min-width: 820px) { .hbv-footer__inner { grid-template-columns: 1fr auto; align-items: center; } .hbv-footer__legal { grid-column: 1 / -1; } }

/* Dock: countdown + motion toggle (fixed, bottom) */
.hbv-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); pointer-events: none; }
.hbv-dock > * { pointer-events: auto; }
.hbv-dock:not(:has(.hbv-countdown)) { justify-content: flex-end; }
.hbv-motion-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--hbv-border-strong); background: rgba(21,21,26,.92); color: var(--hbv-text); font: 600 .8rem var(--hbv-font); cursor: pointer; backdrop-filter: blur(8px); margin-left: auto; }
.hbv-motion-toggle[hidden] { display: none; }
.hbv-motion-toggle:hover { background: var(--hbv-surface-2); }
.hbv-motion-toggle__icon { width: 14px; height: 14px; border-radius: 50%; background: var(--hbv-success); box-shadow: 0 0 0 3px rgba(134,224,155,.25); }
.hbv-motion-toggle[aria-pressed="false"] .hbv-motion-toggle__icon { background: #777; box-shadow: none; }
.hbv-countdown { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .45rem .9rem; border-radius: 999px; background: var(--hbv-accent); color: var(--hbv-accent-contrast); font-weight: 700; font-size: .85rem; box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.hbv-countdown__digits { display: inline-flex; gap: .5rem; font-variant-numeric: tabular-nums; }
.hbv-countdown__digits[hidden], .hbv-countdown[hidden] { display: none; }
.hbv-countdown__digits b { font-size: 1rem; }
.hbv-countdown__digits i { font-style: normal; opacity: .75; margin-left: 1px; }
.hbv-countdown__static { font-weight: 600; }
.hbv-countdown.is-live .hbv-countdown__static { display: none; }
body { padding-bottom: 0; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-radius: var(--hbv-radius-sm);
  background: var(--hbv-surface); border: 1px solid var(--hbv-border-strong); border-left-width: 4px; display: block; overflow: hidden;
}
.woocommerce-message { border-left-color: var(--hbv-success); }
.woocommerce-info { border-left-color: var(--hbv-focus); }
.woocommerce-error { border-left-color: var(--hbv-danger); }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin-left: 1rem; min-height: 38px; }
.hbv-notice { border: 1px solid var(--hbv-border); border-left: 3px solid var(--hbv-accent); background: var(--hbv-surface); color: var(--hbv-text); padding: .75rem 1rem; border-radius: var(--hbv-radius-sm); font-size: .875rem; line-height: 1.5; margin: 1rem 0; }
.hbv-notice a { color: var(--hbv-link); }

/* WooCommerce: breadcrumb, archive */
.woocommerce-breadcrumb { color: var(--hbv-muted); font-size: .875rem; margin-bottom: 1rem; }
.woocommerce-breadcrumb a { color: var(--hbv-muted); }
.woocommerce-products-header__title, .product_title { margin-bottom: .5rem; }
.woocommerce-result-count { color: var(--hbv-muted); float: left; margin: 0 0 1rem; }
.woocommerce-ordering { float: right; margin: 0 0 1rem; }
.woocommerce-ordering select { min-width: 200px; }
ul.products { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: var(--hbv-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); clear: both; }
@media (min-width: 720px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { ul.products.columns-4, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products li.product { position: relative; display: flex; flex-direction: column; background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: .75rem; transition: border-color .2s, transform .2s; margin: 0; float: none; width: auto; }
ul.products li.product:hover { border-color: var(--hbv-border-strong); }
ul.products li.product a { text-decoration: none; }
ul.products li.product img { border-radius: var(--hbv-radius-sm); width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--hbv-surface-2); margin-bottom: .6rem; display: block; }
.woocommerce-loop-product__title { font-size: 1rem; margin: 0 0 .25rem; color: #fff; font-family: var(--hbv-font); font-weight: 600; }
ul.products li.product .button { margin-top: auto; width: 100%; }
ul.products li.product .price { margin-bottom: .75rem; }
.price, .woocommerce-Price-amount { color: var(--hbv-accent); font-weight: 700; }
.price del { color: var(--hbv-muted); font-weight: 400; margin-right: .35rem; opacity: .85; }
.price ins { text-decoration: none; }
.onsale { position: absolute; top: .5rem; left: .5rem; z-index: 3; background: var(--hbv-accent); color: var(--hbv-accent-contrast); font-weight: 800; font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; }
.woocommerce-pagination { margin: 2rem 0; }
.woocommerce-pagination ul, .page-numbers { list-style: none; padding: 0; margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.page-numbers li { margin: 0; }
.page-numbers a, .page-numbers span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: var(--hbv-radius-sm); border: 1px solid var(--hbv-border-strong); color: var(--hbv-text); text-decoration: none; padding: 0 .6rem; }
.page-numbers .current { background: var(--hbv-accent); color: var(--hbv-accent-contrast); border-color: var(--hbv-accent); }
.nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }

/* Single product */
div.product { display: grid; gap: var(--hbv-gap); }
@media (min-width: 860px) { div.product.type-product, .single-product div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells, .single-product div.product > .hbv-compare { grid-column: 1 / -1; } }
.woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery img { border-radius: var(--hbv-radius); background: var(--hbv-surface-2); }
.woocommerce-product-gallery__trigger { position: absolute; top: .6rem; right: .6rem; z-index: 5; width: 40px; height: 40px; background: rgba(0,0,0,.6); border-radius: 50%; text-indent: -999px; overflow: hidden; }
.flex-control-thumbs { list-style: none; display: flex; gap: .5rem; padding: 0; margin: .75rem 0 0; }
.flex-control-thumbs img { width: 64px; opacity: .6; cursor: pointer; }
.flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--hbv-accent); }
.summary .price { font-size: 1.6rem; display: block; margin-bottom: 1rem; }
.summary form.cart { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: 1.25rem 0; }
.quantity .qty { width: 5.5rem; text-align: center; }
.product_meta { color: var(--hbv-muted); font-size: .9rem; border-top: 1px solid var(--hbv-border); padding-top: 1rem; margin-top: 1rem; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; border-bottom: 1px solid var(--hbv-border); }
.woocommerce-tabs ul.tabs li a { display: block; padding: .7rem 1rem; color: var(--hbv-muted); text-decoration: none; border-bottom: 3px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: #fff; border-bottom-color: var(--hbv-accent); }
.woocommerce-tabs .panel { padding: .5rem 0 1.5rem; }
.related.products > h2, .upsells.products > h2 { margin-top: 2rem; }
.stock { color: var(--hbv-success); }
.out-of-stock { color: var(--hbv-danger); }
.star-rating { color: var(--hbv-accent); font-size: .9rem; }

/* Tables (cart, order review, account) */
table.shop_table, table.shop_table_responsive, .woocommerce table.my_account_orders, table.woocommerce-table, table.my_account_subscriptions, table.my_account_memberships, table.shop_table_responsive {
  width: 100%; border-collapse: separate; border-spacing: 0; background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); overflow: hidden; margin: 0 0 1.5rem;
}
table.shop_table th, table.shop_table td, table.woocommerce-table th, table.woocommerce-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--hbv-border); vertical-align: middle; }
table.shop_table thead th { background: var(--hbv-surface-2); color: var(--hbv-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
table.shop_table tr:last-child > * { border-bottom: 0; }
.product-remove a.remove { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--hbv-surface-2); color: var(--hbv-danger); text-decoration: none; font-size: 1.2rem; }
.product-thumbnail { width: 84px; }
.product-remove { width: 48px; }
.product-thumbnail img { width: 64px; border-radius: 6px; }
@media (max-width: 719px) {
  table.shop_table_responsive thead { display: none; }
  table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--hbv-border); }
  table.shop_table_responsive tr td, table.shop_table_responsive tr th { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 0; text-align: right; }
  table.shop_table_responsive tr td::before { content: attr(data-title) ": "; font-weight: 600; text-align: left; color: var(--hbv-muted); }
  table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.product-thumbnail::before, table.shop_table_responsive tr td.actions::before { display: none; }
}

/* Cart */
.woocommerce-cart-form .coupon { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.woocommerce-cart-form .coupon input.input-text { width: auto; min-width: 180px; flex: 1 1 180px; }
.woocommerce-cart-form .actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: space-between; }
.cart-collaterals { margin-top: 1rem; }
.cart_totals { max-width: 480px; margin-left: auto; }
.cart_totals h2 { font-size: 1.3rem; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 1.05rem; min-height: 52px; }
.cart-empty { font-size: 1.1rem; }

/* Checkout */
form.checkout { display: grid; gap: var(--hbv-gap); }
@media (min-width: 900px) { form.checkout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } #order_review_heading, #order_review { grid-column: 2; } #customer_details { grid-column: 1; grid-row: 1 / span 3; } }
#order_review_heading { margin-top: 0; }
#order_review { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1rem; }
#order_review table.shop_table { border: 0; background: transparent; }
#payment { background: transparent; }
#payment ul.payment_methods { list-style: none; margin: 0 0 1rem; padding: 0; border-bottom: 1px solid var(--hbv-border); }
#payment ul.payment_methods li { padding: .75rem 0; }
#payment div.payment_box { background: var(--hbv-surface-2); border-radius: var(--hbv-radius-sm); padding: .9rem; margin-top: .5rem; font-size: .92rem; }
#place_order { width: 100%; min-height: 54px; font-size: 1.05rem; }
.woocommerce-terms-and-conditions-wrapper { margin: 1rem 0; }
.woocommerce-terms-and-conditions { max-height: 200px; overflow: auto; background: var(--hbv-surface-2); padding: .75rem; border-radius: var(--hbv-radius-sm); margin-bottom: .75rem; }
.woocommerce-privacy-policy-text { color: var(--hbv-muted); font-size: .85rem; }
.hbv-newsletter { margin-top: .25rem; }
.hbv-newsletter label, .hbv-terms-ack label { font-weight: 400; display: flex; align-items: flex-start; gap: .25rem; }
.woocommerce-checkout .hbv-notice { margin-top: 0; }
.woocommerce-order-received .hbv-notice { margin: 1.25rem 0; }
ul.woocommerce-thankyou-order-details { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem; margin: 0 0 1.5rem; background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); }
ul.woocommerce-thankyou-order-details li { font-size: .85rem; color: var(--hbv-muted); }
ul.woocommerce-thankyou-order-details li strong { display: block; color: #fff; font-size: 1rem; }

/* Account + memberships/subscriptions */
.woocommerce-account .hbv-prose { max-width: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.woocommerce-MyAccount-navigation a { display: block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--hbv-border-strong); color: var(--hbv-text); text-decoration: none; min-height: 44px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--hbv-accent); color: var(--hbv-accent-contrast); border-color: var(--hbv-accent); font-weight: 700; }
@media (min-width: 900px) {
  .woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--hbv-gap); align-items: start; }
  .woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .woocommerce-MyAccount-navigation ul { flex-direction: column; }
}
.woocommerce-account .u-columns { display: grid; gap: var(--hbv-gap); }
@media (min-width: 720px) { .woocommerce-account .u-columns { grid-template-columns: 1fr 1fr; } }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-EditAccountForm, .woocommerce-address-fields { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.25rem; margin: 0 0 1.5rem; }
.woocommerce-Addresses { display: grid; gap: var(--hbv-gap); }
@media (min-width: 720px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.25rem; }
.wc-memberships-members-area, .my_account_memberships, .woocommerce-MyAccount-content .wc-memberships-restriction-message { color: var(--hbv-text); }
.woocommerce-MyAccount-content > p:first-child { color: var(--hbv-muted); }
.wc-memberships-restriction-message, .wc-memberships-message { background: var(--hbv-surface); border: 1px solid var(--hbv-border-strong); border-left: 4px solid var(--hbv-accent); padding: 1rem 1.25rem; border-radius: var(--hbv-radius-sm); margin: 0 0 1.5rem; }
.woocommerce-MyAccount-downloads-file, .download-file a { font-weight: 600; }
mark, .order-status { background: var(--hbv-surface-2); color: var(--hbv-text); padding: .1rem .45rem; border-radius: 4px; }

/* Block cart/checkout fallback (only used if the block pages are kept) */
.wc-block-components-text-input input, .wc-block-components-select .wc-block-components-select__select { background: var(--hbv-surface-2); color: var(--hbv-text); border-color: var(--hbv-border-strong); }
.wc-block-components-text-input label, .wc-block-components-checkbox__label { color: var(--hbv-muted); }
.wc-block-components-button:not(.is-link) { background: var(--hbv-accent); color: var(--hbv-accent-contrast); border-radius: 999px; }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { color: var(--hbv-text); }
.wc-block-components-sidebar-layout .wc-block-components-main, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--hbv-text); }

/* Comparison */
.hbv-compare { margin: 3rem 0; }
.hbv-compare__placeholder { background: rgba(212,169,76,.12); border: 1px dashed var(--hbv-accent); color: var(--hbv-text); padding: .6rem .9rem; border-radius: var(--hbv-radius-sm); font-size: .9rem; }
.hbv-compare__scroll { overflow-x: auto; border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); background: var(--hbv-surface); }
.hbv-compare__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.hbv-compare__table th, .hbv-compare__table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--hbv-border); vertical-align: top; }
.hbv-compare__table thead th { font-family: var(--hbv-font); font-size: .9rem; color: var(--hbv-muted); }
.hbv-compare__table thead th.is-ours, .hbv-compare__table td.is-ours { background: rgba(212,169,76,.08); color: #fff; font-weight: 600; }
.hbv-compare__table td.is-typical { color: var(--hbv-muted); }
.hbv-compare__table tbody tr:last-child > * { border-bottom: 0; }
.hbv-compare__table tbody th { font-weight: 500; }

/* Testimonials (only rendered when switched on) */
.hbv-testimonials { margin: 3rem 0; }
.hbv-testimonials__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--hbv-gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hbv-testimonial { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.25rem; }
.hbv-testimonial blockquote { margin: 0 0 .75rem; }
.hbv-testimonial__rating { color: var(--hbv-accent); margin: 0 0 .5rem; letter-spacing: .1em; }
.hbv-testimonial__by { color: var(--hbv-muted); font-size: .9rem; margin: 0; }

/* 404, posts */
.hbv-404 { text-align: center; padding-top: 4rem; }
.hbv-404__code { font: 800 clamp(4rem, 18vw, 9rem)/1 var(--hbv-font-display); color: var(--hbv-accent); margin: 0; opacity: .9; }
.hbv-404__text { color: var(--hbv-muted); max-width: 46ch; margin: 0 auto 1.5rem; }
.hbv-404 .search-form { display: flex; gap: .5rem; max-width: 460px; margin: 0 auto 1.5rem; }
.hbv-404__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.search-form { display: flex; gap: .5rem; }
.hbv-posts { display: grid; gap: var(--hbv-gap); }
.hbv-post { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.25rem; }
.hbv-post__title a { color: #fff; text-decoration: none; }
.entry-content a { color: var(--hbv-link); }
.entry-content a.hbv-btn, .entry-content a.button { color: var(--hbv-accent-contrast); text-decoration: none; }
.entry-content a.hbv-btn.hbv-btn--ghost { color: var(--hbv-text); }
.entry-content a.hbv-btn.hbv-btn--ghost:hover { color: #fff; }
.entry-content img { border-radius: var(--hbv-radius-sm); }

/* Placeholder home (replaced by the mockup's own markup/CSS at install) */
.hbv-ph { --ph-pad: clamp(3rem, 9vw, 7rem); }
.hbv-ph a.hbv-btn:not(.hbv-btn--ghost) { color: var(--hbv-accent-contrast); }
.hbv-ph__nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem; max-width: var(--hbv-container); margin: 0 auto; }
.hbv-ph__nav a.brand { color: #fff; font: 700 1.2rem var(--hbv-font-display); text-decoration: none; }
.hbv-ph__nav ul { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; align-items: center; }
.hbv-ph__nav a { color: var(--hbv-text); text-decoration: none; }
.hbv-ph__hero { text-align: center; padding: var(--ph-pad) 1rem; background: radial-gradient(60% 60% at 50% 0%, rgba(212,169,76,.18), transparent 70%); }
.hbv-ph__hero p { max-width: 56ch; margin: 0 auto 1.5rem; color: var(--hbv-muted); font-size: 1.1rem; }
.hbv-ph__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hbv-ph__section { max-width: var(--hbv-container); margin: 0 auto; padding: 3rem 1rem; }
.hbv-ph__plans { display: grid; gap: var(--hbv-gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hbv-ph__plan { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.hbv-ph__plan h3 { margin: 0; }
.hbv-ph__plan .amount { font: 800 2rem var(--hbv-font-display); color: var(--hbv-accent); margin: 0; }
.hbv-ph__plan p { color: var(--hbv-muted); margin: 0 0 .75rem; flex: 1; }
.hbv-ph__covers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hbv-ph__covers img { border-radius: var(--hbv-radius-sm); width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid var(--hbv-border); }
.hbv-ph__footer { border-top: 1px solid var(--hbv-border); text-align: center; padding: 2rem 1rem 5rem; color: var(--hbv-muted); font-size: .9rem; }
.hbv-ph__footer a { color: var(--hbv-muted); }

/* Motion off: also covers the mockup's own CSS animations and common reveal classes */
html.motion-off { scroll-behavior: auto; }
html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}
html.motion-off [data-reveal], html.motion-off [data-animate], html.motion-off [data-fade], html.motion-off .reveal, html.motion-off .fade-up, html.motion-off .fade-in, html.motion-off .fadeup {
  opacity: 1 !important; transform: none !important; visibility: visible !important;
}
html.motion-off .marquee__track, html.motion-off [class*="marquee"] > * { animation: none !important; transform: none !important; }
html.motion-off video[autoplay] { display: block; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion-source="user"]) *, html:not([data-motion-source="user"]) *::before, html:not([data-motion-source="user"]) *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media print { .hbv-dock, .hbv-header, .hbv-footer { display: none !important; } body { background: #fff; color: #000; } }
