/* HBV v5 components. Uses the palette variables from base.css (override them in the mockup's CSS). */

/* ---------- page transitions: native cross-document View Transitions, progressive (Chrome/Edge 126+, Safari 18.2+) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: hbv-vt-out .22s ease both; }
::view-transition-new(root) { animation: hbv-vt-in .32s ease both; }
.hbv-header { view-transition-name: hbv-header; }
@keyframes hbv-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes hbv-vt-in { from { opacity: 0; transform: translateY(8px); } }
html.motion-off::view-transition-group(*), html.motion-off::view-transition-old(*), html.motion-off::view-transition-new(*) { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion-source="user"])::view-transition-group(*), html:not([data-motion-source="user"])::view-transition-old(*), html:not([data-motion-source="user"])::view-transition-new(*) { animation: none !important; } }

/* ---------- scroll-driven reveals (no JS where supported) + kinetic headings ---------- */
@supports (animation-timeline: view()) {
  html:not(.motion-off) [data-reveal] { animation: hbv-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  html:not(.motion-off) .hbv-reading-bar { animation: hbv-grow linear both; animation-timeline: scroll(root); }
}
@keyframes hbv-reveal { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes hbv-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hbv-reveal-js { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.hbv-reveal-js.is-in { opacity: 1; transform: none; }
.hbv-kw { display: inline-block; animation: hbv-kw .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes hbv-kw { from { opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
html.motion-off .hbv-kw, html.motion-off [data-reveal], html.motion-off .hbv-reveal-js { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
body.hbv-modal-open { overflow: hidden; }
.hbv5-hero h1 { font-size: clamp(2.2rem, 6.5vw, 4.2rem); letter-spacing: -.02em; background: linear-gradient(120deg, #fff 30%, var(--hbv-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hbv-lead { font-size: 1.2rem; color: var(--hbv-muted); max-width: 60ch; }
.hbv-fineprint { font-size: .85rem; color: var(--hbv-muted); }
.hbv-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.hbv5-main--bare { padding: 0; }
.hbv-btn--wide { width: 100%; }

/* ---------- micro-interactions ---------- */
.hbv-btn { transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.hbv-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(212,169,76,.25); }
.hbv-btn:active { transform: translateY(1px) scale(.98); }
.hbv-card, .hbv-plan, .hbv-dash__card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hbv-card:hover, .hbv-plan:hover, .hbv-dash__card:hover { transform: translateY(-3px); border-color: var(--hbv-border-strong); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
html.motion-off .hbv-btn, html.motion-off .hbv-card, html.motion-off .hbv-plan, html.motion-off .hbv-dash__card { transform: none !important; box-shadow: none !important; }
.hbv-reading-bar { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--hbv-accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 9500; pointer-events: none; }

/* ---------- shell chrome ---------- */
.hbv-brand { display: inline-flex; align-items: center; gap: .5rem; }
.hbv-search-open { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .3rem .7rem; border: 1px solid var(--hbv-border-strong); border-radius: 999px; background: transparent; color: var(--hbv-muted); cursor: pointer; font: inherit; font-size: .85rem; }
.hbv-search-open kbd, .hbv-palette kbd { font: 600 .7rem/1 var(--hbv-font); border: 1px solid var(--hbv-border-strong); border-radius: 4px; padding: .15rem .35rem; color: var(--hbv-muted); }
.hbv-cart-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--hbv-accent); display: inline-block; margin-left: .3rem; }
.hbv5-footer__grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .hbv5-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.hbv5-footer__h { font: 700 .8rem var(--hbv-font); text-transform: uppercase; letter-spacing: .08em; color: var(--hbv-muted); margin: 0 0 .5rem; }
.hbv5-footer__col ul { list-style: none; margin: 0; padding: 0; }
.hbv5-footer__col a { color: var(--hbv-text); text-decoration: none; display: inline-block; padding: .2rem 0; }
.hbv5-footer__col a:hover { color: var(--hbv-accent); }
.hbv5-footer__stats { color: var(--hbv-accent); font-weight: 600; font-size: .9rem; }
.hbv-prose { max-width: 75ch; }
.hbv-prose h2 { margin-top: 2rem; }
.hbv-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
.hbv-steps li { counter-increment: s; background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.1rem 1.25rem 1.1rem 4rem; position: relative; }
.hbv-steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--hbv-accent); color: var(--hbv-accent-contrast); font-weight: 800; display: grid; place-items: center; }
.hbv-steps h3 { margin: 0 0 .25rem; font-family: var(--hbv-font); }
.hbv-cta-band { margin: 4rem 0 1rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--hbv-border-strong); border-radius: calc(var(--hbv-radius) * 1.6); background: radial-gradient(80% 120% at 50% -20%, rgba(212,169,76,.22), transparent 70%), var(--hbv-surface); text-align: center; }
.hbv-cta-band__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hbv-cta-band__links { color: var(--hbv-muted); font-size: .9rem; }

/* ---------- pricing ---------- */
.hbv-plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1.5rem 0; }
.hbv-plan { position: relative; display: flex; flex-direction: column; gap: .4rem; background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.4rem; }
.hbv-plan--featured { border-color: var(--hbv-accent); box-shadow: 0 0 0 1px var(--hbv-accent), 0 20px 50px rgba(212,169,76,.12); }
.hbv-plan__badge { position: absolute; top: -.8rem; left: 1.2rem; margin: 0; background: var(--hbv-accent); color: var(--hbv-accent-contrast); font-weight: 800; font-size: .75rem; padding: .2rem .7rem; border-radius: 999px; }
.hbv-bonus { display: inline-block; margin: 0 0 .35rem; padding: .15rem .55rem; border-radius: 999px; background: var(--hbv-accent); color: var(--hbv-accent-contrast); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hbv-plan h3 { margin: 0; font-family: var(--hbv-font); }
.hbv-plan__price { font: 800 2rem var(--hbv-font-display); margin: .25rem 0 0; }
.hbv-plan__price small { font: 500 .85rem var(--hbv-font); color: var(--hbv-muted); }
.hbv-plan__note { color: var(--hbv-muted); font-size: .88rem; margin: 0; }
.hbv-plan ul { list-style: none; padding: 0; margin: .5rem 0 1rem; flex: 1; }
.hbv-plan li { padding: .25rem 0 .25rem 1.4rem; position: relative; font-size: .95rem; }
.hbv-plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--hbv-accent); }
.hbv-matrix td, .hbv-matrix th { text-align: center; }
.hbv-matrix th[scope=row] { text-align: left; }
.hbv-guarantee { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--hbv-border-strong); border-radius: var(--hbv-radius); padding: 1rem 1.25rem; background: var(--hbv-surface); margin: 1.5rem 0; }
.hbv-guarantee__seal { flex: 0 0 4rem; height: 4rem; border-radius: 50%; border: 2px solid var(--hbv-accent); color: var(--hbv-accent); display: grid; place-items: center; font: 800 1.5rem var(--hbv-font-display); }
.hbv-guarantee h3 { margin: 0 0 .25rem; font-family: var(--hbv-font); }
.hbv-guarantee p { margin: 0; }
.hbv-faq__item { border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius-sm); background: var(--hbv-surface); margin: .5rem 0; }
.hbv-faq__item summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; min-height: 44px; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.hbv-faq__item summary::after { content: "+"; color: var(--hbv-accent); font-size: 1.3rem; line-height: 1; }
.hbv-faq__item[open] summary::after { content: "\2212"; }
.hbv-faq__a { padding: 0 1.1rem 1rem; color: var(--hbv-muted); }

/* ---------- catalog + cards ---------- */
.hbv-filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.hbv-filters p { margin: 0; }
.hbv-filters__search { flex: 1 1 240px; }
.hbv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .5rem 0; }
.hbv-chip { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--hbv-border-strong); border-radius: 999px; color: var(--hbv-text); text-decoration: none; font-size: .85rem; }
.hbv-chip.is-on, .hbv-chip:hover { background: var(--hbv-accent); color: var(--hbv-accent-contrast); border-color: var(--hbv-accent); }
.hbv-cards { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: var(--hbv-gap); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hbv-card { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: .9rem; display: flex; flex-direction: column; gap: .35rem; }
.hbv-card__thumb { display: block; aspect-ratio: 2/3; border-radius: var(--hbv-radius-sm); overflow: hidden; background: var(--hbv-surface-2); }
.hbv-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hbv-card__ph { display: grid; place-items: center; height: 100%; font-size: 3rem; color: var(--hbv-muted); }
.hbv-card__title { font: 600 1.05rem var(--hbv-font); margin: .3rem 0 0; }
.hbv-card__title a { color: #fff; text-decoration: none; }
.hbv-card__actions { margin-top: auto; }
.hbv-inside { color: var(--hbv-accent); font-weight: 600; font-size: .9rem; margin: 0; }
.hbv-pager { display: flex; gap: .4rem; margin: 1rem 0; }
.hbv-pager a, .hbv-pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hbv-border-strong); border-radius: var(--hbv-radius-sm); text-decoration: none; color: var(--hbv-text); }
.hbv-pager [aria-current] { background: var(--hbv-accent); color: var(--hbv-accent-contrast); }
.hbv-joinbox { margin-top: 1.5rem; padding: 1rem 1.2rem; border: 1px solid var(--hbv-border-strong); border-radius: var(--hbv-radius); background: var(--hbv-surface); }
.hbv-joinbox h3 { margin: 0 0 .5rem; font-family: var(--hbv-font); }
.hbv-joinbox ul { padding-left: 1.1rem; }
.hbv-stats { list-style: none; display: flex; gap: 2rem; flex-wrap: wrap; padding: 0; margin: 1.5rem 0 .5rem; }
.hbv-stats li { display: flex; flex-direction: column; }
.hbv-stats b { font: 800 clamp(2rem, 6vw, 3.4rem) var(--hbv-font-display); color: var(--hbv-accent); line-height: 1; font-variant-numeric: tabular-nums; }
.hbv-stats span { color: var(--hbv-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- forms, notices ---------- */
.hbv-form { max-width: 560px; }
.hbv-form p { margin: 0 0 1rem; }
.hbv-notice--error { border-left-color: var(--hbv-danger); }
.hbv-notice--error ul { margin: 0; padding-left: 1.1rem; }
.hbv-thanks { text-align: center; padding: 2rem 0; }
.hbv-offer { border: 1px solid var(--hbv-accent); border-radius: var(--hbv-radius); background: linear-gradient(180deg, rgba(212,169,76,.10), transparent), var(--hbv-surface); padding: 1rem 1.2rem; margin: 0 0 1.25rem; }
.hbv-offer h3 { margin: 0 0 .4rem; font-family: var(--hbv-font); }
.hbv-offer__books { list-style: none; padding: 0; margin: .4rem 0 1rem; }
.hbv-offer__books li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-bottom: 1px solid var(--hbv-border); }
.hbv-cancel { max-width: 640px; }
.hbv-cancel__offers { list-style: none; padding: 0; display: grid; gap: .75rem; }
.hbv-cancel__final { margin: 1.5rem 0 .5rem; }
.hbv-cancel textarea { min-height: 80px; }

/* ---------- dashboard ---------- */
.hbv-dash { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.hbv-dash__card { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.1rem; }
.hbv-dash__card h3 { margin: 0 0 .4rem; font-family: var(--hbv-font); font-size: 1rem; }
.hbv-dash__big { font: 800 2.4rem var(--hbv-font-display); color: var(--hbv-accent); margin: 0; }
.hbv-dash__big small { font: 500 .9rem var(--hbv-font); color: var(--hbv-muted); }
.hbv-progress { height: 6px; background: var(--hbv-surface-2); border-radius: 999px; overflow: hidden; margin: .5rem 0 .8rem; }
.hbv-progress span { display: block; height: 100%; background: var(--hbv-accent); }
.hbv-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .5rem 0 0; }
.hbv-badge { font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; border: 1px dashed var(--hbv-border-strong); color: var(--hbv-muted); }
.hbv-badge.is-on { border-style: solid; border-color: var(--hbv-accent); color: var(--hbv-accent); }

/* ---------- look inside (page flip) ---------- */
.hbv-lookinside { display: grid; gap: 1.5rem; align-items: center; margin: 2.5rem 0; padding: 1.5rem; border: 1px solid var(--hbv-border); border-radius: calc(var(--hbv-radius) * 1.5); background: var(--hbv-surface); }
@media (min-width: 820px) { .hbv-lookinside { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.hbv-lookinside__stage { display: flex; flex-direction: column; align-items: center; min-height: 340px; justify-content: center; }
.hbv-lookinside__cover { max-height: 420px; width: auto; border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.6); transform: perspective(900px) rotateY(-12deg); transition: transform .4s ease; }
.hbv-lookinside:hover .hbv-lookinside__cover { transform: perspective(900px) rotateY(-3deg); }
html.motion-off .hbv-lookinside__cover { transform: none; transition: none; }
.hbv-lookinside:focus-visible { outline: 2px solid var(--hbv-focus); outline-offset: 4px; }
.hbv-flip { margin: 0 auto; touch-action: pan-y; }
.hbv-flip__page { background: #fff; overflow: hidden; }
.hbv-flip__page img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.hbv-flip__page--end { background: var(--hbv-surface-2); color: var(--hbv-text); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.hbv-flip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-top: .75rem; }
.hbv-flip__sound { min-width: 7.5rem; }

/* ---------- popup, palette, sticky, install ---------- */
.hbv-popup, .hbv-palette { position: fixed; inset: 0; z-index: 99990; background: rgba(5,5,8,.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1rem; }
.hbv-popup[hidden], .hbv-palette[hidden] { display: none; }
.hbv-popup__box { position: relative; width: min(480px, 100%); background: var(--hbv-surface); border: 1px solid var(--hbv-border-strong); border-radius: calc(var(--hbv-radius) * 1.4); padding: 1.6rem; box-shadow: 0 30px 80px rgba(0,0,0,.6); outline: none; }
.hbv-popup__close { position: absolute; top: .5rem; right: .5rem; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--hbv-text); font-size: 1.6rem; cursor: pointer; }
.hbv-popup__consent label { font-weight: 400; display: flex; gap: .4rem; font-size: .88rem; }
.hbv-popup__msg { min-height: 1.2em; color: var(--hbv-danger); font-size: .9rem; }
.hbv-palette { align-items: start; padding-top: 12vh; }
.hbv-palette__box { width: min(640px, 100%); background: var(--hbv-surface); border: 1px solid var(--hbv-border-strong); border-radius: calc(var(--hbv-radius) * 1.4); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hbv-palette input { border: 0; border-bottom: 1px solid var(--hbv-border); border-radius: 0; min-height: 56px; font-size: 1.05rem; background: transparent; }
.hbv-palette ul { list-style: none; margin: 0; padding: .4rem; max-height: 50vh; overflow: auto; }
.hbv-palette li a { display: flex; align-items: center; gap: .75rem; padding: .55rem .7rem; border-radius: var(--hbv-radius-sm); color: var(--hbv-text); text-decoration: none; }
.hbv-palette li a[aria-selected="true"], .hbv-palette li a:hover { background: var(--hbv-surface-2); }
.hbv-palette li img { width: 32px; height: 44px; object-fit: cover; border-radius: 3px; }
.hbv-palette__t { flex: 1; display: flex; flex-direction: column; }
.hbv-palette__t small { color: var(--hbv-muted); }
.hbv-palette__p { color: var(--hbv-accent); font-weight: 700; }
.hbv-palette__head, .hbv-palette__empty { padding: .4rem .8rem; color: var(--hbv-muted); font-size: .8rem; }
.hbv-palette__hints { margin: 0; padding: .5rem .9rem; border-top: 1px solid var(--hbv-border); color: var(--hbv-muted); font-size: .78rem; }
.hbv-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8900; display: none; gap: .5rem; align-items: center; justify-content: center; flex-wrap: wrap; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(11,11,14,.94); border-top: 1px solid var(--hbv-border-strong); backdrop-filter: blur(8px); }
@media (max-width: 760px) { .hbv-sticky:not([hidden]) { display: flex; } body.has-sticky .hbv-dock { bottom: 4.6rem; } body.has-sticky { padding-bottom: 5rem; } }
.hbv-sticky__note { flex-basis: 100%; text-align: center; color: var(--hbv-muted); font-size: .75rem; }
.hbv-install { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 8950; display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; padding: .8rem 2.6rem .8rem 1rem; background: var(--hbv-surface); border: 1px solid var(--hbv-accent); border-radius: var(--hbv-radius); max-width: 560px; margin: 0 auto; }
.hbv-install[hidden] { display: none; }
.hbv-install__x { position: absolute; top: .2rem; right: .3rem; min-width: 40px; min-height: 40px; background: transparent; border: 0; color: var(--hbv-text); font-size: 1.4rem; cursor: pointer; }

/* ---------- quiz ---------- */
.hbv-quiz { background: var(--hbv-surface); border: 1px solid var(--hbv-border); border-radius: var(--hbv-radius); padding: 1.5rem; }
.hbv-quiz fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hbv-quiz legend { font-weight: 700; margin-bottom: .75rem; }
.hbv-quiz__books { padding-left: 1.1rem; }

/* ---------- reader additions ---------- */
.hbv-reader__progress { height: 4px; background: var(--hbv-surface-2); }
.hbv-reader__progress span { display: block; height: 100%; width: 0; background: var(--hbv-accent); transition: width .2s linear; }
.hbv-reader__bookmarks { list-style: none; margin: 0; padding: .4rem .75rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.hbv-reader__bookmarks:empty { display: none; }
.hbv-reader__bm { background: var(--hbv-surface-2); color: var(--hbv-text); border: 1px solid var(--hbv-border-strong); border-radius: 999px; padding: .2rem .7rem; cursor: pointer; font-size: .8rem; min-height: 32px; }
.hbv-reader__btn.is-on { background: var(--hbv-accent); color: var(--hbv-accent-contrast); }
.hbv-reader__theme { width: auto; min-height: 44px; }
.hbv-reader[data-theme="sepia"] .hbv-rpage canvas { filter: sepia(.65) brightness(.96) contrast(.95); }
.hbv-reader[data-theme="dark"] .hbv-rpage canvas { filter: invert(.9) hue-rotate(180deg) brightness(.92); }
.hbv-reader[data-theme="sepia"] .hbv-reader__pages { background: #2a2118; }
.hbv-reader[data-theme="light"] .hbv-reader__pages { background: #d9d6cf; }

/* ---- single book page (WooCommerce product template inside the v5 shell) ---- */
.hbv5-page--product div.product, .hbv5-page--product div.product.type-product { display: block; grid-template-columns: none; max-width: var(--hbv-container); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--hbv-gap); }
.hbv5-page--product .product-entry-wrapper { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hbv5-page--product .woocommerce-product-gallery { margin: 0; max-width: 400px; }
.hbv5-page--product .woocommerce-product-gallery img { width: 100%; height: auto; display: block; border-radius: var(--hbv-radius); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.hbv5-page--product .woocommerce-product-gallery figure, .hbv5-page--product .woocommerce-product-gallery__wrapper { margin: 0; }
.hbv5-page--product .summary .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .4rem; }
.hbv5-page--product .summary .price { font-size: 1.5rem; color: var(--hbv-accent); margin: .6rem 0 1rem; display: block; }
.hbv5-page--product .summary form.cart { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.hbv5-page--product .hbv-lookinside { margin-top: clamp(2rem, 5vw, 4rem); }
.hbv5-page--product .woocommerce-tabs { margin-top: 2.5rem; }
@media (max-width: 760px) { .hbv5-page--product .product-entry-wrapper { grid-template-columns: 1fr; } .hbv5-page--product .woocommerce-product-gallery { max-width: 320px; margin-inline: auto; } }
.hbv5-page--product .summary, .hbv5-page--product .entry-summary { float: none; width: auto; max-width: none; min-width: 0; margin: 0; }
.hbv5-page--product .entry-summary-items { display: block; }
.hbv5-page--product .woocommerce-product-gallery { float: none; width: 100%; opacity: 1 !important; }
.hbv5-page--product div.product::after { content: ""; display: block; clear: both; }
