/* ==========================================================================
   הרבנית מיכל אלחזוב — Elementor widgets stylesheet
   ========================================================================== */
.hb {
  --hb-accent: #8E1B3A;
  --hb-accent-dark: #6E1330;
  --hb-accent-soft: #D98BA4;
  --hb-ink: #1C1A19;
  --hb-paper: #FBF8F4;
  --hb-cream: #F5F0E9;
  --hb-tint: #F5EAEE;
  --hb-r-card: 24px;
  --hb-r-sec: 40px;
  --hb-gap: 18px;
  direction: rtl;
  font-family: 'Google Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--hb-ink);
  background: var(--hb-paper);
  box-sizing: border-box;
}
.hb *, .hb *::before, .hb *::after { box-sizing: border-box; }
.hb img { max-width: 100%; display: block; }
.hb a { text-decoration: none; color: var(--hb-accent); }
.hb a:hover { color: var(--hb-accent-dark); }
.hb h1, .hb h2, .hb h3 { margin: 0; font-weight: 400; line-height: 1.12; }
.hb p { margin: 0; text-wrap: pretty; }
.hb ::selection { background: var(--hb-accent); color: var(--hb-paper); }

/* ---------- layout ---------- */
.hb-sec { padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 44px); }
.hb-wrap { max-width: 1360px; margin: 0 auto; }
.hb-wrap--narrow { max-width: 960px; }
.hb-cream { background: var(--hb-cream); border-radius: var(--hb-r-sec); margin: 0 clamp(12px, 2vw, 24px); }
.hb-dark { background: var(--hb-ink); color: var(--hb-paper); border-radius: var(--hb-r-sec); margin: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 24px); }
.hb-accent-bg { background: var(--hb-accent); color: #fff; border-radius: var(--hb-r-sec); margin: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 24px); overflow: hidden; position: relative; }
.hb-hero-band { border-radius: 0 0 var(--hb-r-sec) var(--hb-r-sec); margin: 0 clamp(12px, 2vw, 24px); padding: clamp(120px, 16vw, 170px) clamp(20px, 4vw, 44px) clamp(44px, 6vw, 70px); background: var(--hb-cream); position: relative; overflow: hidden; }

/* ---------- eyebrow / headings ---------- */
.hb-eyebrow { font-size: 12px; letter-spacing: 5px; color: var(--hb-accent); margin-bottom: 14px; }
.hb-dark .hb-eyebrow { color: var(--hb-accent-soft); }
.hb-accent-bg .hb-eyebrow { color: rgba(255,255,255,.75); }
.hb-h1 { font-size: clamp(32px, 5vw, 78px); line-height: 1.08; letter-spacing: -.5px; overflow-wrap: break-word; }
.hb-h2 { font-size: clamp(26px, 3.8vw, 54px); line-height: 1.15; }
.hb-h3 { font-size: 21px; font-weight: 600; }
.hb-strong { font-weight: 700; }
.hb-accent-t { color: var(--hb-accent); font-weight: 700; }
.hb-lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.85; color: rgba(28,26,25,.7); }
.hb-dark .hb-lead { color: rgba(251,248,244,.78); }
.hb-body { font-size: clamp(16px, 2vw, 18px); line-height: 1.95; color: rgba(28,26,25,.72); }
.hb-rule { width: 44px; height: 2px; border-radius: 2px; background: var(--hb-accent); margin: 0 auto 32px; }

/* ---------- buttons ---------- */
.hb-btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 36px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.hb-btn--solid { background: var(--hb-accent); color: #fff; }
.hb-btn--solid:hover { background: var(--hb-accent-dark); color: #fff; }
.hb-btn--ghost { border-color: rgba(28,26,25,.28); color: var(--hb-ink); }
.hb-btn--ghost:hover { background: var(--hb-ink); color: var(--hb-paper); border-color: var(--hb-ink); }
.hb-btn--light { background: var(--hb-paper); color: var(--hb-ink); }
.hb-btn--light:hover { background: var(--hb-accent); color: #fff; }
.hb-btn--outline { border-color: var(--hb-accent); color: var(--hb-accent); background: transparent; }
.hb-btn--outline:hover { background: var(--hb-accent); color: #fff; }
.hb-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hb-btns--center { justify-content: center; }
.hb-textlink { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--hb-accent); }
.hb-nudge { animation: hb-nudge 2.4s ease-in-out infinite; }

/* ---------- hero ---------- */
.hb-hero { position: relative; min-height: min(100vh, 900px); display: grid; place-items: center; overflow: hidden; background: #EFE7DC; }
.hb-hero__media, .hb-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-hero__video { opacity: 0; transition: opacity 1.4s; }
.hb-hero__video.is-ready { opacity: 1; }
.hb-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,248,244,.9), rgba(251,248,244,.74) 45%, rgba(251,248,244,.96)); }
.hb-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1060px; text-align: center; padding: clamp(120px, 16vw, 170px) clamp(20px, 4vw, 40px) clamp(80px, 12vw, 120px); }
.hb-hero__logo { height: clamp(58px, 9vw, 92px); width: auto; margin: 0 auto clamp(26px, 4vw, 40px); }
.hb-hero__title { font-size: clamp(34px, 6.6vw, 104px); line-height: 1.1; letter-spacing: -.5px; overflow-wrap: break-word; }
.hb-badge { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 5px; color: rgba(28,26,25,.55); margin-bottom: 22px; }
.hb-badge::before, .hb-badge::after { content: ''; width: 24px; height: 1px; background: var(--hb-accent); }
.hb-hero__text { max-width: 620px; margin: clamp(24px, 4vw, 34px) auto clamp(32px, 5vw, 46px); }
.hb-scrollhint { position: absolute; bottom: 26px; left: 50%; width: 1px; height: 38px; background: linear-gradient(180deg, transparent, rgba(28,26,25,.6)); animation: hb-hint 2.2s ease-in-out infinite; }

/* ---------- cards / grids ---------- */
.hb-grid { display: grid; gap: var(--hb-gap); }
.hb-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hb-card { background: #fff; border: 1px solid rgba(28,26,25,.10); border-radius: var(--hb-r-card); padding: 34px 28px; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s; }
.hb-card:hover { transform: translateY(-8px); box-shadow: 0 24px 54px rgba(28,26,25,.10); border-color: rgba(142,27,58,.4); }
.hb-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--hb-tint); color: var(--hb-accent); margin-bottom: 22px; }
.hb-card__title { margin-bottom: 10px; font-size: 21px; font-weight: 600; }
.hb-card__text { font-size: 15px; line-height: 1.75; color: rgba(28,26,25,.62); }

/* products */
.hb-prod { background: #fff; border: 1px solid rgba(28,26,25,.10); border-radius: var(--hb-r-card); overflow: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.hb-prod:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(28,26,25,.12); }
.hb-prod__media { position: relative; height: 300px; background: var(--hb-cream); }
.hb-prod__media img, .hb-prod__media .hb-ph { width: 100%; height: 100%; object-fit: cover; }
.hb-prod__tag { position: absolute; top: 14px; right: 14px; padding: 7px 14px; border-radius: 999px; background: var(--hb-ink); color: #fff; font-size: 11px; letter-spacing: 1px; font-weight: 600; pointer-events: none; }
.hb-prod__tag--accent { background: var(--hb-accent); }
.hb-prod__body { padding: 26px; }
.hb-prod__cat { font-size: 11px; letter-spacing: 2px; color: rgba(28,26,25,.45); margin-bottom: 10px; }
.hb-prod__title { margin-bottom: 10px; font-size: 21px; font-weight: 600; }
.hb-prod__text { margin-bottom: 20px; font-size: 14px; line-height: 1.7; color: rgba(28,26,25,.6); }
.hb-prod__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hb-prod__price { font-size: 22px; font-weight: 700; color: var(--hb-accent); }
.hb-prod__price--muted { font-size: 15px; font-weight: 500; color: rgba(28,26,25,.5); }

/* section head with arrows */
.hb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.hb-head--center { display: block; text-align: center; }
.hb-head--center .hb-eyebrow { text-align: inherit; }

/* ---------- carousel ---------- */
.hb-car { position: relative; }
.hb-car__view { overflow: hidden; }
.hb-car__track { display: flex; gap: var(--hb-gap); transition: transform .85s cubic-bezier(.2,.8,.2,1); }
.hb-car__slide { flex: 0 0 calc((100% - (var(--hb-gap) * 2)) / 3); }
.hb-car[data-visible="1"] .hb-car__slide { flex-basis: 100%; }
.hb-car[data-visible="2"] .hb-car__slide { flex-basis: calc((100% - var(--hb-gap)) / 2); }
.hb-car__nav { display: flex; gap: 10px; }
.hb-car__btn { width: 50px; height: 50px; flex: 0 0 50px; border: 1px solid rgba(28,26,25,.2); border-radius: 50%; background: transparent; color: var(--hb-ink); cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.hb-car__btn:hover { background: var(--hb-accent); color: #fff; border-color: var(--hb-accent); }
.hb-car__btn[disabled] { opacity: .35; cursor: default; }
.hb-car__foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.hb-dots { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.hb-dot { width: 10px; height: 10px; border: none; border-radius: 50%; padding: 0; cursor: pointer; background: rgba(28,26,25,.22); transition: background .4s, transform .4s; }
.hb-dot:hover { transform: scale(1.25); }
.hb-dot.is-active { background: var(--hb-accent); }

/* gallery / media tiles */
.hb-tile { height: clamp(300px, 40vw, 430px); border-radius: var(--hb-r-card); overflow: hidden; background: var(--hb-cream); }
.hb-tile img, .hb-tile .hb-ph { width: 100%; height: 100%; object-fit: cover; }
.hb-msg { position: relative; height: clamp(380px, 44vw, 470px); background: var(--hb-ink); border-radius: var(--hb-r-card); overflow: hidden; display: block; }
.hb-msg img, .hb-msg .hb-ph { width: 100%; height: 100%; object-fit: cover; }
.hb-msg__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hb-msg__play span { position: relative; width: 72px; height: 72px; border-radius: 50%; background: rgba(251,248,244,.94); color: var(--hb-accent); display: grid; place-items: center; }
.hb-msg__play span::after { content: ''; position: absolute; inset: -10px; border: 1px dashed rgba(251,248,244,.6); border-radius: 50%; animation: hb-spin 14s linear infinite; }
.hb-msg__label { position: absolute; bottom: 0; right: 0; left: 0; padding: 20px; background: linear-gradient(0deg, rgba(20,18,17,.85), transparent); color: var(--hb-paper); font-size: 15px; font-weight: 500; pointer-events: none; }

/* social pills / icons */
.hb-socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hb-pill { display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border: 1px solid rgba(28,26,25,.2); border-radius: 999px; color: var(--hb-ink); font-size: 15px; font-weight: 500; transition: border-color .3s, color .3s; }
.hb-pill:hover { border-color: var(--hb-accent); color: var(--hb-accent); }
.hb-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: 1px solid rgba(251,248,244,.3); border-radius: 999px; color: var(--hb-paper); font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.hb-chip:hover { background: var(--hb-paper); color: var(--hb-ink); }
.hb-iconbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.hb-iconbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(28,26,25,.18); color: var(--hb-ink); transition: background .3s, color .3s, border-color .3s; }
.hb-iconbtn:hover { background: var(--hb-accent); color: #fff; border-color: var(--hb-accent); }

/* about strip */
.hb-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(34px, 5vw, 70px); align-items: center; }
.hb-split--top { align-items: start; }
.hb-frame { position: relative; height: clamp(360px, 46vw, 560px); border-radius: 28px; overflow: hidden; background: var(--hb-cream); }
.hb-frame img, .hb-frame .hb-ph { width: 100%; height: 100%; object-fit: cover; }
.hb-frame::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(251,248,244,.28); border-radius: 18px; pointer-events: none; }
.hb-frame--plain::after { display: none; }
.hb-frame__cap { position: absolute; bottom: 14px; right: 14px; left: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(28,26,25,.72); color: var(--hb-paper); font-size: 14px; letter-spacing: .5px; }
.hb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-bottom: 34px; }
.hb-stat { padding: 20px; background: rgba(251,248,244,.06); border-radius: 18px; }
.hb-stat__n { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; color: var(--hb-accent-soft); }
.hb-stat__l { font-size: 14px; color: rgba(251,248,244,.62); margin-top: 6px; }

/* quotes / testimonials */
.hb-quote { position: relative; text-align: center; }
.hb-quote__t { font-size: clamp(19px, 2.5vw, 34px); line-height: 1.6; margin-bottom: 24px; }
.hb-quote__s { font-size: clamp(16px, 2vw, 18px); line-height: 1.85; color: rgba(255,255,255,.85); }
.hb-testi { padding: 30px 26px; background: #fff; border: 1px solid rgba(28,26,25,.10); border-radius: var(--hb-r-card); }
.hb-testi--dark { background: var(--hb-ink); color: var(--hb-paper); border-color: transparent; }
.hb-testi--cream { background: var(--hb-cream); }
.hb-testi__mark { font-size: 36px; line-height: 1; color: var(--hb-accent); }
.hb-testi--dark .hb-testi__mark { color: var(--hb-accent-soft); }
.hb-testi__t { margin: 10px 0 22px; font-size: 17px; line-height: 1.8; }
.hb-testi__a { font-size: 14px; font-weight: 600; color: var(--hb-accent); }
.hb-testi--dark .hb-testi__a { color: var(--hb-accent-soft); }

/* contact */
.hb-contactcard { display: flex; align-items: center; gap: 16px; padding: 22px; background: #fff; border: 1px solid rgba(28,26,25,.12); border-radius: 22px; color: var(--hb-ink); transition: transform .4s, border-color .4s; }
a.hb-contactcard:hover { transform: translateX(-6px); border-color: var(--hb-accent); color: var(--hb-ink); }
.hb-contactcard__i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hb-tint); color: var(--hb-accent); flex: 0 0 48px; }
.hb-contactcard__k { display: block; font-size: 12px; letter-spacing: 2px; color: rgba(28,26,25,.5); margin-bottom: 4px; }
.hb-contactcard__v { display: block; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.hb-socialbox { margin-top: 26px; padding: 26px; background: var(--hb-ink); color: var(--hb-paper); border-radius: var(--hb-r-card); }
.hb-socialbox__t { font-size: 12px; letter-spacing: 3px; color: var(--hb-accent-soft); margin-bottom: 16px; }
.hb-formbox { padding: clamp(26px, 4vw, 44px); background: #fff; border: 1px solid rgba(28,26,25,.12); border-radius: 28px; }
.hb-formbox label { display: grid; gap: 9px; }
.hb-formbox .hb-lbl { font-size: 13px; letter-spacing: 2px; color: rgba(28,26,25,.55); }
.hb-formbox input, .hb-formbox textarea, .hb-formbox select { width: 100%; padding: 15px 18px; background: var(--hb-paper); border: 1px solid rgba(28,26,25,.16); border-radius: 14px; color: var(--hb-ink); font-size: 16px; font-family: inherit; }
.hb-formbox input:focus, .hb-formbox textarea:focus { outline: none; border-color: var(--hb-accent); }
.hb-formbox button[type="submit"], .hb-formbox .hb-submit { width: 100%; padding: 17px; border: none; border-radius: 999px; background: var(--hb-accent); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; font-family: inherit; }
.hb-formgrid { display: grid; gap: 18px; }

/* highlight + info cards (about) */
.hb-highlight { padding: 30px; background: var(--hb-cream); border-radius: var(--hb-r-card); border-right: 3px solid var(--hb-accent); margin: 30px 0; }
.hb-info { padding: 18px 22px; background: var(--hb-cream); border-radius: 18px; }
.hb-info__k { font-size: 12px; letter-spacing: 2px; color: rgba(28,26,25,.5); margin-bottom: 6px; }
.hb-info__v { font-size: 17px; font-weight: 600; }

/* CTA */
.hb-cta { text-align: center; }
.hb-cta__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--hb-accent); color: #fff; margin-bottom: 24px; }

/* footer */
.hb-footer { padding: clamp(56px, 7vw, 76px) clamp(20px, 4vw, 44px) 34px; background: var(--hb-cream); border-radius: var(--hb-r-sec) var(--hb-r-sec) 0 0; margin: 0 clamp(12px, 2vw, 24px); }
.hb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(28px, 4vw, 48px); padding-bottom: 42px; border-bottom: 1px solid rgba(28,26,25,.14); }
.hb-footer__brand { min-width: 240px; }
.hb-footer__logo { height: 50px; width: auto; margin-bottom: 20px; }
.hb-footer__about { margin-bottom: 16px; font-size: 15px; line-height: 1.85; color: rgba(28,26,25,.65); }
.hb-footer__col { display: flex; flex-direction: column; gap: 12px; }
.hb-footer__ct { font-size: 12px; letter-spacing: 3px; color: rgba(28,26,25,.45); margin-bottom: 2px; }
.hb-footer__col a { font-size: 15px; color: rgba(28,26,25,.75); }
.hb-footer__col a:hover { color: var(--hb-accent); }
.hb-footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(28,26,25,.5); }
.hb-footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* misc */
.hb-ph { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, rgba(28,26,25,.05) 0 10px, rgba(28,26,25,.09) 10px 20px); }
.hb-bloom { position: absolute; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(217,139,164,.26), transparent 70%); animation: hb-bloom 18s ease-in-out infinite; }
.hb-bloom--tl { top: -140px; left: -120px; }
.hb-bloom--tr { top: -120px; right: -100px; }
.hb-bloom--bl { bottom: -160px; left: -120px; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); }
.hb-htmlblock > *:first-child { margin-top: 0; }
.hb-reveal { will-change: opacity, transform; }
.hb[data-motion="off"] .hb-bloom,
.hb[data-motion="off"] .hb-scrollhint,
.hb[data-motion="off"] .hb-nudge,
.hb[data-motion="off"] .hb-msg__play span::after { animation: none; }

@keyframes hb-hint { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes hb-bloom { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(18px,-22px,0) scale(1.1); } }
@keyframes hb-spin { to { transform: rotate(360deg); } }
@keyframes hb-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

@media (max-width: 900px) {
  .hb-car__slide { flex-basis: 100% !important; }
  .hb-head { align-items: flex-start; }
}

/* ==========================================================================
   Theme-proofing: explicit colors, centering, spacing, control resets.
   WordPress themes style h1-h3 / a / button globally — these rules win.
   ========================================================================== */
.hb, .hb p, .hb li, .hb span, .hb div { color: inherit; }
.hb { color: var(--hb-ink); }
.hb h1, .hb h2, .hb h3, .hb h4 { color: inherit; font-family: inherit; letter-spacing: inherit; }
.hb .hb-h1, .hb .hb-h2, .hb .hb-h3, .hb .hb-hero__title { color: var(--hb-ink); }
.hb .hb-strong { color: inherit; font-weight: 700; }
.hb .hb-accent-t { color: var(--hb-accent); }

/* dark + accent sections: force their own inherited colors */
.hb .hb-dark, .hb .hb-dark p, .hb .hb-dark h1, .hb .hb-dark h2, .hb .hb-dark h3,
.hb .hb-dark .hb-h1, .hb .hb-dark .hb-h2, .hb .hb-dark .hb-h3 { color: var(--hb-paper); }
.hb .hb-accent-bg, .hb .hb-accent-bg p, .hb .hb-accent-bg h1, .hb .hb-accent-bg h2,
.hb .hb-accent-bg h3, .hb .hb-accent-bg .hb-h2 { color: #fff; }
.hb .hb-testi--dark, .hb .hb-testi--dark p, .hb .hb-socialbox, .hb .hb-socialbox p { color: var(--hb-paper); }
.hb .hb-msg__label, .hb .hb-frame__cap { color: var(--hb-paper); }

/* buttons: theme link/button colors must not leak in */
.hb a.hb-btn, .hb button.hb-btn, .hb .hb-btn { text-decoration: none; }
.hb .hb-btn--solid, .hb a.hb-btn--solid, .hb a.hb-btn--solid:hover, .hb a.hb-btn--solid:focus,
.hb .hb-submit, .hb .hb-formbox button[type="submit"] { color: #fff !important; }
.hb .hb-btn--solid svg, .hb .hb-submit svg { color: #fff; stroke: currentColor; }
.hb .hb-btn--light, .hb a.hb-btn--light { color: var(--hb-ink) !important; }
.hb .hb-btn--light:hover, .hb a.hb-btn--light:hover { color: #fff !important; }
.hb .hb-btn--ghost, .hb a.hb-btn--ghost { color: var(--hb-ink) !important; }
.hb .hb-btn--ghost:hover, .hb a.hb-btn--ghost:hover { color: var(--hb-paper) !important; }
.hb .hb-btn--outline, .hb a.hb-btn--outline { color: var(--hb-accent) !important; }
.hb .hb-btn--outline:hover, .hb a.hb-btn--outline:hover { color: #fff !important; }
.hb .hb-pill, .hb a.hb-pill { color: var(--hb-ink) !important; }
.hb .hb-pill:hover, .hb a.hb-pill:hover { color: var(--hb-accent) !important; }
.hb .hb-chip, .hb a.hb-chip { color: var(--hb-paper) !important; }
.hb .hb-chip:hover, .hb a.hb-chip:hover { color: var(--hb-ink) !important; }
.hb .hb-iconbtn, .hb a.hb-iconbtn { color: var(--hb-ink) !important; }
.hb .hb-iconbtn:hover, .hb a.hb-iconbtn:hover { color: #fff !important; }
.hb .hb-textlink, .hb a.hb-textlink { color: var(--hb-accent) !important; }
.hb .hb-contactcard, .hb a.hb-contactcard, .hb a.hb-contactcard:hover { color: var(--hb-ink) !important; }
.hb .hb-footer__col a, .hb .hb-footer__contact a { color: rgba(28,26,25,.75) !important; }
.hb .hb-footer__col a:hover, .hb .hb-footer__contact a:hover { color: var(--hb-accent) !important; }
.hb .hb-card, .hb a.hb-card, .hb a.hb-card:hover { color: var(--hb-ink) !important; }

/* centered blocks really centre */
.hb .hb-head--center, .hb .hb-cta, .hb .hb-quote { text-align: center; }
.hb .hb-head--center > *, .hb .hb-cta > *, .hb .hb-quote > * { margin-inline: auto; }
.hb .hb-hero__inner { margin-inline: auto; }
.hb .hb-hero__inner .hb-badge, .hb .hb-hero__inner .hb-btns { justify-content: center; }
.hb .hb-intro .hb-wrap { text-align: center; }
.hb .hb-intro .hb-wrap > * { margin-inline: auto; }
.hb .hb-lead, .hb .hb-quote__t, .hb .hb-quote__s { margin-inline: auto; }
.hb .hb-head--center .hb-eyebrow { text-align: inherit; }

/* ==========================================================================
   SPACING SCALE — mirrors the approved sketch exactly. One source of truth:
   every element states its own margins, nothing relies on inherited rhythm.
   ========================================================================== */
.hb :where(h1, h2, h3, h4, p, ul, ol) { margin: 0; }
.hb .hb-btn { line-height: 1.2; }
.hb .hb-btn svg { flex: 0 0 auto; }

/* hero */
.hb .hb-hero__logo { margin: 0 auto clamp(26px, 4vw, 40px); }
.hb .hb-hero__inner .hb-badge { margin: 0 auto 22px; }
.hb .hb-hero__title { margin: 0; }
.hb .hb-hero__text { margin: clamp(24px, 4vw, 34px) auto clamp(32px, 5vw, 46px); }
.hb .hb-hero__inner .hb-btns { margin: 0 auto; gap: 12px; }

/* intro letter */
.hb .hb-intro .hb-rule { margin: 0 auto 32px; }
.hb .hb-intro .hb-intro__lead { margin: 0 auto 24px; }
.hb .hb-intro .hb-body { margin: 0 auto 26px; }
.hb .hb-intro .hb-intro__sign { margin: 0 auto; }

/* section heads */
.hb .hb-eyebrow { margin: 0 0 14px; }
.hb .hb-head { margin-bottom: clamp(32px, 4vw, 48px); }
.hb .hb-head .hb-h2, .hb .hb-head .hb-h1 { margin: 0; }
.hb .hb-head--center { margin-bottom: clamp(38px, 5vw, 54px); }
.hb .hb-head--center .hb-h2 { margin: 0; }
.hb .hb-head--center .hb-lead { margin: 14px auto 0; }

/* gate cards */
.hb .hb-card__icon { margin: 0 0 22px; }
.hb .hb-card__title { margin: 0 0 10px; }
.hb .hb-card__text { margin: 0; }

/* product cards */
.hb .hb-prod__cat { margin: 0 0 10px; }
.hb .hb-prod__title { margin: 0 0 10px; }
.hb .hb-prod__text { margin: 0 0 20px; }
.hb .hb-prod__foot { gap: 12px; }

/* about strip */
.hb .hb-dark .hb-eyebrow { margin: 0 0 16px; }
.hb .hb-dark .hb-h2 { margin: 0 0 24px; }
.hb .hb-dark .hb-lead { margin: 0 0 32px; }
.hb .hb-stats { margin: 0 0 34px; }
.hb .hb-dark .hb-btns, .hb .hb-dark .hb-btn { margin: 0; }

/* quote */
.hb .hb-quote .hb-eyebrow { margin: 0 auto 28px; }
.hb .hb-quote__t { margin: 0 auto 24px; }
.hb .hb-quote__s { margin: 0 auto; }

/* testimonials */
.hb .hb-testi__mark { margin: 0; }
.hb .hb-testi__t { margin: 10px 0 22px; }
.hb .hb-testi__a { margin: auto 0 0; }
.hb .hb-car__foot { margin-top: 34px; }

/* messages */
.hb .hb-socials { margin: 32px 0 0; }

/* CTA */
.hb .hb-cta__icon { margin: 0 auto 24px; }
.hb .hb-cta .hb-h2 { margin: 0 auto 16px; }
.hb .hb-cta .hb-lead { margin: 0 auto 32px; }
.hb .hb-cta .hb-btn { margin: 0 auto; }

/* about page */
.hb-aboutpage .hb-hero-band .hb-h1 { margin: 0 0 20px; }
.hb-aboutpage .hb-about__logo { margin: 0 auto 30px; }
.hb-aboutpage .hb-body p { margin: 0 0 20px; }
.hb-aboutpage .hb-body p:last-child { margin-bottom: 0; }
.hb-aboutpage .hb-highlight { margin: 30px 0; }
.hb-aboutpage .hb-btns { margin-top: 34px; gap: 12px; }
.hb-aboutpage .hb-info { margin: 0; }

/* contact page */
.hb-contactpage .hb-hero-band .hb-h1 { margin: 0 0 16px; }
.hb-contactpage .hb-formgrid label { margin: 0; }
.hb-contactpage .hb-socialbox { margin-top: 26px; }

/* generic fallback for any stray button row */
.hb .hb-btns { gap: 12px; row-gap: 12px; }

/* control resets — themes love restyling buttons */
.hb button, .hb .hb-dot, .hb .hb-car__btn { font-family: inherit; -webkit-appearance: none; appearance: none; box-shadow: none; text-transform: none; letter-spacing: normal; }
.hb .hb-dot { width: 10px !important; height: 10px !important; min-width: 0 !important; min-height: 0 !important; flex: 0 0 10px; padding: 0 !important; margin: 0 !important; border: none !important; border-radius: 50% !important; background: rgba(28,26,25,.22); line-height: 0; font-size: 0; }
.hb .hb-dot.is-active { background: var(--hb-accent); }
.hb .hb-car__btn { width: 50px !important; height: 50px !important; flex: 0 0 50px; padding: 0 !important; margin: 0; border-radius: 50% !important; line-height: 0; }

/* uniform testimonial cards */
.hb .hb-car__track { align-items: stretch; }
.hb .hb-car__slide { display: flex; }
.hb .hb-car__slide > * { width: 100%; }
.hb .hb-testi { display: flex; flex-direction: column; height: 100%; min-height: 300px; }
.hb .hb-testi__t { flex: 1 1 auto; margin: 10px 0 22px; }
.hb .hb-testi__a { margin-top: auto; }

/* media cards fill their box */
.hb .hb-msg { position: relative; }
.hb .hb-msg > img, .hb .hb-msg > video, .hb .hb-msg > .hb-ph,
.hb .hb-msg__media, .hb .hb-msg__media img, .hb .hb-msg__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hb .hb-msg--player > video { position: absolute; inset: 0; }
.hb .hb-msg__poster { position: absolute; inset: 0; cursor: pointer; }
.hb .hb-msg.is-playing .hb-msg__poster, .hb .hb-msg.is-playing .hb-msg__play, .hb .hb-msg.is-playing .hb-msg__label { opacity: 0; pointer-events: none; }
.hb .hb-msg__poster, .hb .hb-msg__play, .hb .hb-msg__label { transition: opacity .4s; }
.hb .hb-msg__embed { position: absolute; inset: 0; }
.hb .hb-msg__embed iframe, .hb .hb-msg__embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hb .hb-tile img, .hb .hb-tile video { width: 100%; height: 100%; object-fit: cover; }

/* form spacing */
.hb .hb-formgrid { gap: 18px; }
.hb .hb-formbox .hb-submit { margin-top: 6px; }

/* ---- contact page: right-aligned band, smaller page title, white icon on accent ---- */
.hb-contactpage .hb-hero-band .hb-wrap,
.hb-contactpage .hb-contact__head { text-align: right; }
.hb-contactpage .hb-contact__head > *,
.hb-contactpage .hb-contact__head .hb-lead { margin-inline: 0; }
.hb-contactpage .hb-hero-band .hb-h1 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.15; }
.hb .hb-cta__icon, .hb .hb-cta__icon svg,
.hb .hb-btn--solid svg, .hb .hb-btn--solid svg *,
.hb .hb-accent-bg svg, .hb .hb-accent-bg svg * { color: #fff; }
.hb .hb-cta__icon svg { stroke: #fff; }
.hb .hb-cta__icon svg [fill]:not([fill="none"]), .hb .hb-btn--solid svg [fill]:not([fill="none"]) { fill: #fff; }
.hb .hb-btn--solid svg { stroke: #fff; }
.hb .hb-iconbtn:hover svg { stroke: #fff; }

/* ==========================================================================
   PDP — single product widget (WooCommerce)
   ========================================================================== */
.hb-pdp .hb-pdp__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 4.5vw, 64px); align-items: start; }
.hb-pdp .hb-pdp__top > * { min-width: 0; }
.hb-pdp .hb-pdp__media { position: sticky; top: 110px; }
.hb-pdp .hb-pdp__stage { position: relative; aspect-ratio: 3 / 4; height: auto; padding: 22px; background: var(--hb-cream); border-radius: var(--hb-r-card); overflow: hidden; display: grid; place-items: center; }
.hb-pdp .hb-pdp__stage img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity .3s; }
.hb-pdp .hb-pdp__sale { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: var(--hb-accent); color: #fff; font-size: 11px; letter-spacing: 1px; font-weight: 600; }
.hb-pdp .hb-pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.hb-pdp .hb-pdp__thumb { width: 78px; height: 78px; padding: 0; border: 1px solid rgba(28,26,25,.14); border-radius: 16px; background: var(--hb-cream); overflow: hidden; cursor: pointer; transition: border-color .3s, transform .3s; }
.hb-pdp .hb-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hb-pdp .hb-pdp__thumb:hover { transform: translateY(-2px); }
.hb-pdp .hb-pdp__thumb.is-active { border-color: var(--hb-accent); }

.hb-pdp .hb-pdp__title { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; color: var(--hb-ink); margin: 0 0 14px; }
.hb-pdp .hb-pdp__rating { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; color: rgba(28,26,25,.6); }
.hb-pdp .hb-pdp__rating .star-rating { color: var(--hb-accent); }
.hb-pdp .hb-pdp__price { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--hb-accent); margin: 0 0 16px; }
.hb-pdp .hb-pdp__price .price, .hb-pdp .hb-pdp__price p { margin: 0; color: inherit; font-size: inherit; }
.hb-pdp .hb-pdp__price del { color: rgba(28,26,25,.4); font-weight: 400; font-size: .7em; margin-inline-end: 8px; }
.hb-pdp .hb-pdp__stock { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: var(--hb-tint); color: var(--hb-accent); font-size: 14px; font-weight: 600; }
.hb-pdp .hb-pdp__stock.is-out { background: rgba(28,26,25,.06); color: rgba(28,26,25,.55); }
.hb-pdp .hb-pdp__excerpt { font-size: clamp(16px, 2vw, 18px); line-height: 1.9; color: rgba(28,26,25,.72); margin: 0 0 24px; }
.hb-pdp .hb-pdp__excerpt p { margin: 0 0 12px; }
.hb-pdp .hb-pdp__excerpt p:last-child { margin: 0; }
.hb-pdp .hb-pdp__cart { padding-top: 22px; border-top: 1px solid rgba(28,26,25,.12); }

/* Woo add-to-cart form, restyled to the brand without breaking its behaviour */
.hb-pdp .hb-pdp__cart table.variations { width: 100%; border: none; margin: 0 0 18px; }
.hb-pdp .hb-pdp__cart table.variations th,
.hb-pdp .hb-pdp__cart table.variations td { border: none; padding: 0 0 12px; background: none; vertical-align: middle; }
.hb-pdp .hb-pdp__cart table.variations label { font-size: 13px; letter-spacing: 2px; color: rgba(28,26,25,.55); font-weight: 500; }
.hb-pdp .hb-pdp__cart select { width: 100%; padding: 14px 16px; border: 1px solid rgba(28,26,25,.16); border-radius: 14px; background: var(--hb-paper); font-family: inherit; font-size: 16px; color: var(--hb-ink); }
.hb-pdp .hb-pdp__cart .reset_variations { font-size: 13px; color: var(--hb-accent) !important; }
.hb-pdp .hb-pdp__cart .wd-swatches-product, .hb-pdp .hb-pdp__cart .variable-items-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-pdp .hb-pdp__cart .wd-swatch, .hb-pdp .hb-pdp__cart .variable-item { border-radius: 12px !important; }
.hb-pdp .hb-pdp__cart .quantity { display: inline-flex; align-items: center; border: 1px solid rgba(28,26,25,.16); border-radius: 999px; overflow: hidden; background: var(--hb-paper); }
.hb-pdp .hb-pdp__cart .quantity .qty { width: 62px; padding: 13px 6px; border: none; background: none; text-align: center; font-family: inherit; font-size: 16px; color: var(--hb-ink); }
.hb-pdp .hb-pdp__cart .quantity input[type="button"], .hb-pdp .hb-pdp__cart .quantity .btn { width: 42px; height: 46px; border: none; background: none; color: var(--hb-ink); font-size: 18px; cursor: pointer; }
.hb-pdp .hb-pdp__cart form.cart { display: flex; flex-direction: column; gap: 14px; }
.hb-pdp .hb-pdp__cart .woocommerce-variation-add-to-cart,
.hb-pdp .hb-pdp__cart form.cart:not(.variations_form) { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hb-pdp .hb-pdp__cart button.single_add_to_cart_button,
.hb-pdp .hb-pdp__cart .single_add_to_cart_button.button {
  flex: 1 1 220px; min-height: 56px; padding: 17px 34px; border: none; border-radius: 999px;
  background: var(--hb-accent) !important; color: #fff !important; font-family: inherit; font-size: 17px; font-weight: 600;
  cursor: pointer; transition: background .3s, transform .3s;
}
.hb-pdp .hb-pdp__cart button.single_add_to_cart_button:hover { background: var(--hb-accent-dark) !important; transform: translateY(-2px); }
.hb-pdp .hb-pdp__cart button.disabled, .hb-pdp .hb-pdp__cart button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.hb-pdp .hb-pdp__cart .woocommerce-variation-price .price { font-size: 22px; font-weight: 700; color: var(--hb-accent); }
.hb-pdp .hb-pdp__cart .woocommerce-variation-availability { font-size: 14px; color: rgba(28,26,25,.6); }
.hb-pdp .hb-pdp__extra { margin-top: 20px; }
.hb-pdp .hb-pdp__meta { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(28,26,25,.12); font-size: 14px; color: rgba(28,26,25,.6); }
.hb-pdp .hb-pdp__meta a { color: var(--hb-accent) !important; }

/* trust row */
.hb-pdp .hb-pdp__trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: clamp(34px, 5vw, 56px); }
.hb-pdp .hb-pdp__trustitem { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--hb-cream); border-radius: var(--hb-r-card); }
.hb-pdp .hb-pdp__trusttitle { display: block; font-size: 16px; font-weight: 600; }
.hb-pdp .hb-pdp__trusttext { display: block; font-size: 14px; color: rgba(28,26,25,.6); margin-top: 2px; }

/* accordion */
.hb-pdp .hb-acc { display: grid; gap: 12px; }
.hb-pdp .hb-acc__item { background: #fff; border: 1px solid rgba(28,26,25,.10); border-radius: var(--hb-r-card); overflow: hidden; }
.hb-pdp .hb-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 26px; border: none; background: none; font-family: inherit; font-size: 18px; font-weight: 600; color: var(--hb-ink); cursor: pointer; text-align: start; }
.hb-pdp .hb-acc__sign { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.hb-pdp .hb-acc__sign::before, .hb-pdp .hb-acc__sign::after { content: ''; position: absolute; inset: 50% 0 auto; height: 2px; border-radius: 2px; background: var(--hb-accent); transform: translateY(-50%); transition: transform .35s; }
.hb-pdp .hb-acc__sign::after { transform: translateY(-50%) rotate(90deg); }
.hb-pdp .hb-acc__item.is-open .hb-acc__sign::after { transform: translateY(-50%) rotate(0deg); }
.hb-pdp .hb-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1); }
.hb-pdp .hb-acc__item.is-open .hb-acc__body { grid-template-rows: 1fr; }
.hb-pdp .hb-acc__inner { overflow: hidden; padding: 0 26px; font-size: 16px; line-height: 1.9; color: rgba(28,26,25,.75); }
.hb-pdp .hb-acc__item.is-open .hb-acc__inner { padding-bottom: 24px; }
.hb-pdp .hb-acc__inner p { margin: 0 0 12px; }
.hb-pdp .hb-pdp__attrs { width: 100%; border-collapse: collapse; }
.hb-pdp .hb-pdp__attrs th, .hb-pdp .hb-pdp__attrs td { padding: 12px 0; border-bottom: 1px solid rgba(28,26,25,.10); text-align: start; font-size: 15px; }
.hb-pdp .hb-pdp__attrs th { width: 34%; font-weight: 600; color: rgba(28,26,25,.6); }
.hb-pdp .hb-pdp__reviews { margin-top: 26px; padding: 26px; background: #fff; border: 1px solid rgba(28,26,25,.10); border-radius: var(--hb-r-card); }

/* related grid uses Woo's own markup */
.hb-pdp .hb-pdp__relgrid ul.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hb-pdp .hb-pdp__relgrid ul.products li.product { margin: 0 !important; width: auto !important; float: none !important; text-align: start; }
.hb-pdp .hb-pdp__relgrid ul.products li.product img { border-radius: var(--hb-r-card); }
.hb-pdp .hb-pdp__relgrid .woocommerce-loop-product__title { font-size: 17px !important; font-weight: 600; padding: 12px 0 6px !important; }
.hb-pdp .hb-pdp__relgrid .price { color: var(--hb-accent) !important; font-weight: 700; }
.hb-pdp .hb-pdp__relgrid a.button { display: inline-flex; align-items: center; margin-top: 10px; padding: 11px 22px !important; border-radius: 999px !important; background: transparent !important; border: 1px solid var(--hb-accent) !important; color: var(--hb-accent) !important; font-size: 14px !important; font-weight: 600; }
.hb-pdp .hb-pdp__relgrid a.button:hover { background: var(--hb-accent) !important; color: #fff !important; }

/* sticky order bar */
.hb-pdp .hb-pdp__sticky { position: fixed; inset: auto 0 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; background: rgba(251,248,244,.97); backdrop-filter: blur(12px); border-top: 1px solid rgba(28,26,25,.12); }
.hb-pdp .hb-pdp__stickyinfo { display: flex; flex-direction: column; min-width: 0; }
.hb-pdp .hb-pdp__stickyname { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-pdp .hb-pdp__stickyprice { font-size: 14px; color: var(--hb-accent); font-weight: 700; }
.hb-pdp .hb-pdp__stickyprice .price, .hb-pdp .hb-pdp__stickyprice p { margin: 0; font-size: inherit; color: inherit; }
.hb-pdp .hb-pdp__stickybtn { flex: 0 0 auto; padding: 13px 24px; font-size: 15px; }

@media (max-width: 900px) {
  .hb-pdp .hb-pdp__top { grid-template-columns: minmax(0, 1fr) !important; }
  .hb-pdp .hb-pdp__media { position: static; }
  .hb-pdp .hb-pdp__stage { height: clamp(320px, 78vw, 480px); }
  .hb-pdp .hb-pdp__sticky { display: flex; }
  .hb-pdp .hb-pdp__rel { padding-bottom: 110px; }
}

/* ---- real WooCommerce cards inside the brand grid/carousel ---- */
.hb .hb-prod { display: flex; flex-direction: column; height: 100%; }
.hb .hb-prod__media { display: block; position: relative; height: 300px; background: var(--hb-cream); overflow: hidden; }
.hb .hb-prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hb .hb-prod:hover .hb-prod__media img { transform: scale(1.04); }
.hb .hb-prod__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px; }
.hb .hb-prod__title a { color: var(--hb-ink) !important; }
.hb .hb-prod__title a:hover { color: var(--hb-accent) !important; }
.hb .hb-prod__foot { margin-top: auto; padding-top: 14px; }
.hb .hb-prod__price ins { text-decoration: none; }
.hb .hb-prod__price del { color: rgba(28,26,25,.4); font-weight: 400; font-size: .75em; margin-inline-end: 6px; }
.hb .hb-prod__price .amount, .hb .hb-prod__price bdi { color: inherit; }
.hb .hb-prod__btn { padding: 12px 22px; font-size: 14px; }

/* ---- mobile hardening across every widget ---- */
@media (max-width: 900px) {
  .hb .hb-split, .hb .hb-split--top { grid-template-columns: minmax(0, 1fr) !important; }
  .hb .hb-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hb .hb-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hb .hb-head .hb-car__nav { align-self: flex-end; }
  .hb .hb-hero__inner { padding-inline: 20px; }
  .hb .hb-frame { height: clamp(300px, 70vw, 460px); }
  .hb .hb-prod__media { height: clamp(240px, 62vw, 320px); }
  .hb .hb-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hb .hb-pdp__thumb { width: 64px; height: 64px; }
  .hb .hb-pdp__cart button.single_add_to_cart_button { flex: 1 1 100%; }
  .hb .hb-pdp__attrs th { width: 45%; }
  .hb .hb-acc__head { padding: 18px 20px; font-size: 16px; }
  .hb .hb-acc__inner { padding-inline: 20px; }
  .hb .hb-pdp__relgrid ul.products { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (max-width: 560px) {
  .hb .hb-btn { width: 100%; justify-content: center; }
  .hb .hb-btns { flex-direction: column; align-items: stretch; }
  .hb .hb-pdp__trust { grid-template-columns: minmax(0, 1fr); }
  .hb .hb-prod__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .hb .hb-prod__btn { width: 100%; justify-content: center; }
  .hb .hb-footer__bar { flex-direction: column; gap: 8px; }
}
.hb * { max-width: 100%; }
.hb img, .hb video, .hb iframe, .hb table { max-width: 100%; }

/* ==========================================================================
   PDP v1.7 — whole-image gallery, panelled summary, safe for every product type
   ========================================================================== */
.hb-pdp .hb-pdp__thumb { background: var(--hb-cream); padding: 6px; }
.hb-pdp .hb-pdp__thumb img { object-fit: contain; }

/* summary panel — clearer separation from the gallery */
.hb-pdp .hb-pdp__panel { padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid rgba(28,26,25,.10); border-radius: var(--hb-r-card); }
.hb-pdp .hb-pdp__panel > *:last-child { margin-bottom: 0; }
.hb-pdp .hb-pdp__cart { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(28,26,25,.12); }

/* add-to-cart: one predictable layout for simple / variable / grouped / external */
.hb-pdp .hb-pdp__cart form.cart { display: block; margin: 0; }
.hb-pdp .hb-pdp__cart form.cart::after { content: ''; display: table; clear: both; }
.hb-pdp .hb-pdp__cart form.cart > .quantity,
.hb-pdp .hb-pdp__cart .woocommerce-variation-add-to-cart > .quantity { float: none; margin: 0 0 12px; }
.hb-pdp .hb-pdp__cart .hb-cartrow,
.hb-pdp .hb-pdp__cart form.cart:not(.variations_form):not(.grouped_form),
.hb-pdp .hb-pdp__cart .woocommerce-variation-add-to-cart {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hb-pdp .hb-pdp__cart form.cart:not(.variations_form):not(.grouped_form) > .quantity { margin: 0; }
.hb-pdp .hb-pdp__cart .single_variation_wrap { display: block; }
.hb-pdp .hb-pdp__cart .woocommerce-variation { margin-bottom: 12px; }
.hb-pdp .hb-pdp__cart .woocommerce-variation:empty { display: none; margin: 0; }
.hb-pdp .hb-pdp__cart table.group_table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.hb-pdp .hb-pdp__cart table.group_table td { padding: 12px 0; border-bottom: 1px solid rgba(28,26,25,.10); vertical-align: middle; }
.hb-pdp .hb-pdp__cart table.group_table label { font-size: 16px; font-weight: 600; }
.hb-pdp .hb-pdp__cart table.group_table a { color: var(--hb-ink) !important; }
.hb-pdp--novar .hb-pdp__cart .single_add_to_cart_button { flex: 1 1 220px; }
.hb-pdp--external .hb-pdp__cart .single_add_to_cart_button { flex: 1 1 100%; }
.hb-pdp .hb-pdp__cart p.stock { margin: 10px 0 0; font-size: 14px; color: rgba(28,26,25,.6); }
.hb-pdp .hb-pdp__cart .woocommerce-notices-wrapper:empty { display: none; }

/* product cards: never crop the artwork */
.hb .hb-prod__media { height: auto; aspect-ratio: 3 / 4; padding: 16px; display: grid; place-items: center; }
.hb .hb-prod__media img { width: 100%; height: 100%; object-fit: contain; }
.hb .hb-prod:hover .hb-prod__media img { transform: scale(1.03); }
.hb .hb-prod__media .hb-ph { position: absolute; inset: 0; }

@media (max-width: 900px) {
  .hb-pdp .hb-pdp__stage { aspect-ratio: 3 / 4; height: auto; }
  .hb-pdp .hb-pdp__panel { padding: 22px 20px; }
  .hb .hb-prod__media { height: auto; aspect-ratio: 3 / 4; }
}

/* ---- gallery: guarantee the full artwork is visible (theme rules can't crop it) ---- */
.hb-pdp .hb-pdp__stage { overflow: visible; }
.hb-pdp .hb-pdp__stage img,
.hb-pdp .hb-pdp__thumb img,
.hb .hb-prod__media img {
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
}
.hb-pdp .hb-pdp__stage { border-radius: var(--hb-r-card); }
.hb-pdp .hb-pdp__stage > img { border-radius: calc(var(--hb-r-card) - 8px); }
.hb-pdp .hb-pdp__stage .hb-pdp__sale { z-index: 3; }
.hb .hb-prod__media { overflow: hidden; }

/* ---- related carousel on the PDP ---- */
.hb-pdp .hb-pdp__relcar .hb-car__slide > * { height: 100%; }
.hb-pdp .hb-pdp__relcar .hb-prod { height: 100%; }
@media (max-width: 900px) {
  .hb-pdp .hb-pdp__relcar .hb-car__slide { flex-basis: 100% !important; }
  .hb-pdp .hb-pdp__relcar .hb-car__nav { justify-content: center !important; }
}

/* ==========================================================================
   PDP v1.8 — the whole product image fits ON SCREEN (no scrolling to see it),
   and quantity + add-to-cart always sit on one line for every product type.
   ========================================================================== */

/* gallery: height is bounded by the viewport, width follows the ratio */
.hb-pdp .hb-pdp__media { display: grid; gap: 12px; }
.hb-pdp .hb-pdp__stage {
  aspect-ratio: 3 / 4;
  height: min(620px, 74vh);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  padding: 18px;
}
/* thumbs centered under the stage, never a tall wrapped block */
.hb-pdp .hb-pdp__thumbs { justify-content: center; gap: 8px; margin: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.hb-pdp .hb-pdp__thumbs::-webkit-scrollbar { height: 4px; }
.hb-pdp .hb-pdp__thumbs::-webkit-scrollbar-thumb { background: rgba(28,26,25,.2); border-radius: 4px; }
.hb-pdp .hb-pdp__thumb { width: 68px; height: 68px; flex: 0 0 68px; }

/* summary panel: independent scroll context is not needed — it simply sits beside */
.hb-pdp .hb-pdp__top { align-items: start; }
.hb-pdp .hb-pdp__media { position: sticky; top: 96px; }

/* one row: quantity + add to cart, whatever the theme wraps around them */
.hb-pdp .hb-pdp__cart .hb-cartrow { display: flex !important; align-items: stretch; gap: 12px; flex-wrap: wrap; width: 100%; }
.hb-pdp .hb-pdp__cart .hb-cartrow > .quantity { flex: 0 0 auto; margin: 0 !important; }
.hb-pdp .hb-pdp__cart .hb-cartrow > .single_add_to_cart_button,
.hb-pdp .hb-pdp__cart .hb-cartrow > button { flex: 1 1 200px; margin: 0 !important; }
.hb-pdp .hb-pdp__cart .quantity { height: 56px; align-items: stretch; }
.hb-pdp .hb-pdp__cart .quantity input[type="button"],
.hb-pdp .hb-pdp__cart .quantity .btn,
.hb-pdp .hb-pdp__cart .quantity .minus,
.hb-pdp .hb-pdp__cart .quantity .plus { height: auto; width: 44px; }
.hb-pdp .hb-pdp__cart .quantity .qty { height: auto; padding: 0 4px; }
.hb-pdp .hb-pdp__cart button.single_add_to_cart_button { height: 56px; min-height: 56px; }
/* Woodmart / themes that turn the button into a block with margins */
.hb-pdp .hb-pdp__cart .wd-add-btn, .hb-pdp .hb-pdp__cart .wd-buy-now-btn { width: 100%; }
.hb-pdp .hb-pdp__cart form.cart > br,
.hb-pdp .hb-pdp__cart form.cart > .clear { display: none; }

@media (max-width: 900px) {
  .hb-pdp .hb-pdp__media { position: static; }
  .hb-pdp .hb-pdp__stage { height: min(520px, 58vh); padding: 14px; }
  .hb-pdp .hb-pdp__thumb { width: 58px; height: 58px; flex: 0 0 58px; }
  .hb-pdp .hb-pdp__cart .hb-cartrow > .quantity { flex: 1 1 100%; justify-content: center; }
  .hb-pdp .hb-pdp__cart .hb-cartrow > .single_add_to_cart_button { flex: 1 1 100%; }
}

/* ==========================================================================
   v1.9 — white letterbox background + guaranteed containment inside the frame
   ========================================================================== */
.hb-pdp .hb-pdp__stage,
.hb-pdp .hb-pdp__thumb,
.hb .hb-prod__media { background: #fff !important; }
.hb-pdp .hb-pdp__stage { position: relative; border: 1px solid rgba(28,26,25,.10); overflow: hidden; }
/* the image is positioned against the frame box itself, never auto-sized from
   its own intrinsic ratio (that was what pushed it past the frame edges) */
.hb-pdp .hb-pdp__stage > img {
  position: absolute !important;
  inset: 18px !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 36px) !important;
  max-height: calc(100% - 36px) !important;
  margin: auto !important;
  object-fit: contain !important;
}
.hb-pdp .hb-pdp__thumb { position: relative; overflow: hidden; }
.hb-pdp .hb-pdp__thumb > img {
  position: absolute !important; inset: 5px !important;
  width: auto !important; height: auto !important;
  max-width: calc(100% - 10px) !important; max-height: calc(100% - 10px) !important;
  margin: auto !important; object-fit: contain !important;
}
.hb .hb-prod__media { position: relative; padding: 0; overflow: hidden; border-bottom: 1px solid rgba(28,26,25,.08); }
.hb .hb-prod__media > img {
  position: absolute !important; inset: 14px !important;
  width: auto !important; height: auto !important;
  max-width: calc(100% - 28px) !important; max-height: calc(100% - 28px) !important;
  margin: auto !important; object-fit: contain !important;
}
.hb .hb-prod__media > .hb-ph { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .hb-pdp .hb-pdp__stage > img { inset: 14px !important; max-width: calc(100% - 28px) !important; max-height: calc(100% - 28px) !important; }
}

.hb .hb-prod__media--frame { position: relative; background: #fff !important; }
.hb .hb-prod__media--frame > img, .hb .hb-prod__media--frame image-slot {
  position: absolute !important; inset: 14px !important;
  width: auto !important; height: auto !important;
  max-width: calc(100% - 28px) !important; max-height: calc(100% - 28px) !important;
  margin: auto !important; object-fit: contain !important;
}

/* ---- v1.9.1: frame tone matched to studio-photo background, no seam ---- */
.hb { --hb-shot-bg: #FBFBFA; }
.hb-pdp .hb-pdp__stage,
.hb-pdp .hb-pdp__thumb,
.hb .hb-prod__media,
.hb .hb-prod__media--frame { background: var(--hb-shot-bg) !important; }
.hb-pdp .hb-pdp__stage > img { inset: 10px !important; max-width: calc(100% - 20px) !important; max-height: calc(100% - 20px) !important; }
.hb .hb-prod__media > img { inset: 10px !important; max-width: calc(100% - 20px) !important; max-height: calc(100% - 20px) !important; }
.hb-pdp .hb-pdp__thumb > img { inset: 3px !important; max-width: calc(100% - 6px) !important; max-height: calc(100% - 6px) !important; }

/* ==========================================================================
   v2.0 — matches the approved sketch exactly
   ========================================================================== */

/* summary sits on the page background — no floating white panel */
.hb-pdp .hb-pdp__panel { padding: 0; background: none; border: none; border-radius: 0; }

/* variation swatches — the look from the design */
.hb-pdp .hb-pdp__cart .hb-hidden-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hb-pdp .hb-pdp__cart .hb-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-pdp .hb-pdp__cart .hb-swatch {
  min-width: 54px; padding: 11px 16px; border: 1px solid rgba(28,26,25,.18); border-radius: 12px;
  background: transparent; color: var(--hb-ink); font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.hb-pdp .hb-pdp__cart .hb-swatch:hover { border-color: var(--hb-accent); color: var(--hb-accent); }
.hb-pdp .hb-pdp__cart .hb-swatch.is-active { background: var(--hb-accent); border-color: var(--hb-accent); color: #fff; }
.hb-pdp .hb-pdp__cart .hb-swatch.is-off { opacity: .4; cursor: not-allowed; }
.hb-pdp .hb-pdp__cart table.variations th.label { padding-bottom: 10px; }
.hb-pdp .hb-pdp__cart table.variations th.label label { font-size: 13px; letter-spacing: 2px; color: rgba(28,26,25,.55); }
.hb-pdp .hb-pdp__cart table.variations,
.hb-pdp .hb-pdp__cart table.variations tbody,
.hb-pdp .hb-pdp__cart table.variations tr,
.hb-pdp .hb-pdp__cart table.variations th,
.hb-pdp .hb-pdp__cart table.variations td { display: block; width: 100%; }
.hb-pdp .hb-pdp__cart .wd-reset-var, .hb-pdp .hb-pdp__cart .reset_variations { display: none !important; }

/* compact trust row under the add-to-cart, inside the summary column */
.hb-pdp .hb-pdp__trust { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 22px; }
.hb-pdp .hb-pdp__trustitem { gap: 12px; padding: 12px 16px; background: var(--hb-cream); border-radius: 16px; }
.hb-pdp .hb-pdp__trusticon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: #fff; color: var(--hb-accent); }
.hb-pdp .hb-pdp__trusttitle { font-size: 15px; font-weight: 600; }
.hb-pdp .hb-pdp__trusttext { font-size: 13px; color: rgba(28,26,25,.6); margin-top: 1px; }

/* tabs / accordion: contained, not full page width */
.hb-pdp .hb-pdp__tabs .hb-wrap { max-width: 900px; }
.hb-pdp .hb-acc { max-width: 900px; margin-inline: auto; }
.hb-pdp .hb-pdp__reviews { max-width: 900px; margin-inline: auto; }

/* five cards in a row */
.hb .hb-car[data-visible="5"] .hb-car__slide { flex-basis: calc((100% - (var(--hb-gap) * 4)) / 5); }
.hb .hb-car[data-visible="4"] .hb-car__slide { flex-basis: calc((100% - (var(--hb-gap) * 3)) / 4); }
.hb .hb-car { --hb-gap: 16px; }
.hb .hb-car[data-visible="5"] .hb-prod__body { padding: 18px; }
.hb .hb-car[data-visible="5"] .hb-prod__title { font-size: 16px; }
.hb .hb-car[data-visible="5"] .hb-prod__text { display: none; }
.hb .hb-car[data-visible="5"] .hb-prod__price { font-size: 18px; }
.hb .hb-car[data-visible="5"] .hb-prod__btn { padding: 10px 16px; font-size: 13px; }

@media (max-width: 1200px) {
  .hb .hb-car[data-visible="5"] .hb-car__slide { flex-basis: calc((100% - (var(--hb-gap) * 2)) / 3); }
}
@media (max-width: 900px) {
  .hb .hb-car[data-visible="5"] .hb-car__slide,
  .hb .hb-car[data-visible="4"] .hb-car__slide { flex-basis: 100% !important; }
  .hb-pdp .hb-pdp__tabs .hb-wrap, .hb-pdp .hb-acc { max-width: none; }
}

/* ==========================================================================
   v2.1 — trust row on ONE line (desktop) and the tabs inside the same column
   ========================================================================== */
.hb-pdp .hb-pdp__trust { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
.hb-pdp .hb-pdp__trustitem { flex: 1 1 0; min-width: 0; align-items: center; gap: 10px; padding: 12px 14px; }
.hb-pdp .hb-pdp__trusticon { width: 32px; height: 32px; flex: 0 0 32px; }
.hb-pdp .hb-pdp__trusttitle { font-size: 13px; font-weight: 600; line-height: 1.25; }
.hb-pdp .hb-pdp__trusttext { font-size: 12px; line-height: 1.25; margin-top: 2px; color: rgba(28,26,25,.6); }

/* tabs live in the summary column, directly under the trust row */
.hb-pdp .hb-pdp__tabs { margin-top: 26px; }
.hb-pdp .hb-pdp__tabsinner { max-width: none; }
.hb-pdp .hb-pdp__tabs .hb-acc { max-width: none; margin: 0; gap: 10px; }
.hb-pdp .hb-pdp__tabs .hb-acc__item { border-radius: 18px; }
.hb-pdp .hb-pdp__tabs .hb-acc__head { padding: 18px 20px; font-size: 16px; }
.hb-pdp .hb-pdp__tabs .hb-acc__inner { padding-inline: 20px; font-size: 15px; }
.hb-pdp .hb-pdp__tabs .hb-pdp__reviews { max-width: none; margin-top: 18px; padding: 20px; }

@media (max-width: 1100px) {
  .hb-pdp .hb-pdp__trust { flex-wrap: wrap; }
  .hb-pdp .hb-pdp__trustitem { flex: 1 1 46%; }
}
@media (max-width: 560px) {
  .hb-pdp .hb-pdp__trustitem { flex: 1 1 100%; }
}

/* ---- v2.2: "יכול להתאים לך גם.." — small right-aligned title, tight spacing ---- */
.hb-pdp .hb-pdp__rel { padding: clamp(26px, 3.4vw, 44px) clamp(20px, 4vw, 44px) clamp(40px, 5vw, 64px); }
.hb-pdp .hb-pdp__relhead { text-align: right; margin: 0 0 18px; }
.hb-pdp .hb-pdp__reltitle { margin: 0; font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; line-height: 1.25; color: var(--hb-ink); }
.hb-pdp .hb-pdp__relcar .hb-car__nav { margin-bottom: 14px; }
.hb-pdp .hb-pdp__wrap { padding-bottom: clamp(20px, 2.5vw, 34px); }

/* ---- v2.2.1: trust row is a single line of pills ---- */
.hb-pdp .hb-pdp__trust { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 20px; overflow-x: auto; padding-bottom: 2px; }
.hb-pdp .hb-pdp__trustitem { flex: 1 1 auto; min-width: 0; gap: 8px; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.hb-pdp .hb-pdp__trusticon { width: 28px; height: 28px; flex: 0 0 28px; }
.hb-pdp .hb-pdp__trustlabel { display: inline; }
.hb-pdp .hb-pdp__trusttitle { display: inline; font-size: 12px; font-weight: 600; }
.hb-pdp .hb-pdp__trusttext { display: inline; font-size: 12px; color: rgba(28,26,25,.55); margin: 0; }
@media (max-width: 560px) {
  .hb-pdp .hb-pdp__trust { flex-wrap: wrap; overflow: visible; }
  .hb-pdp .hb-pdp__trustitem { flex: 1 1 100%; }
}

/* ---- v2.3: trust row spans the full content width — all three pills visible ---- */
.hb-pdp .hb-pdp__trust,
.hb-pdp .hb-pdp__trust--full {
  display: flex; flex-wrap: nowrap; gap: 10px; overflow: visible;
  margin-top: clamp(20px, 2.4vw, 30px);
}
.hb-pdp .hb-pdp__trust--full .hb-pdp__trustitem { flex: 1 1 0; min-width: 0; justify-content: center; }
.hb-pdp .hb-pdp__trustitem { white-space: nowrap; }
.hb-pdp .hb-pdp__trustlabel { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .hb-pdp .hb-pdp__trust, .hb-pdp .hb-pdp__trust--full { flex-wrap: wrap; }
  .hb-pdp .hb-pdp__trust--full .hb-pdp__trustitem { flex: 1 1 100%; justify-content: flex-start; }
}

/* tabs after the trust row, in the same content area (not a separate band) */
.hb-pdp .hb-pdp__tabs { margin-top: clamp(22px, 2.6vw, 32px); }
.hb-pdp .hb-pdp__tabs .hb-acc { max-width: 900px; margin-inline: 0; }

/* ---- v2.3.1: two product cards per row inside carousels on mobile ---- */
@media (max-width: 900px) {
  .hb .hb-car[data-visible="5"] .hb-car__slide,
  .hb .hb-car[data-visible="4"] .hb-car__slide,
  .hb .hb-car[data-visible="3"] .hb-car__slide,
  .hb-pdp .hb-pdp__relcar .hb-car__slide {
    flex-basis: calc((100% - var(--hb-gap)) / 2) !important;
  }
  .hb .hb-car .hb-prod__body { padding: 14px; }
  .hb .hb-car .hb-prod__title { font-size: 15px; }
  .hb .hb-car .hb-prod__cat { font-size: 10px; }
  .hb .hb-car .hb-prod__text { display: none; }
  .hb .hb-car .hb-prod__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .hb .hb-car .hb-prod__price { font-size: 16px; }
  .hb .hb-car .hb-prod__btn { width: 100%; justify-content: center; padding: 9px 12px; font-size: 12px; }
}
@media (max-width: 420px) {
  .hb .hb-car .hb-prod__title { font-size: 14px; }
}

/* ==========================================================================
   v2.4 — trust row + tabs back under add-to-cart, calmer accordion
   ========================================================================== */
.hb-pdp .hb-pdp__trust {
  display: flex; flex-wrap: wrap; gap: 8px; overflow: visible;
  margin-top: 20px;
}
.hb-pdp .hb-pdp__trustitem {
  flex: 1 1 100%; min-width: 0; justify-content: flex-start;
  gap: 10px; padding: 11px 14px; border-radius: 999px; white-space: nowrap; overflow: hidden;
}
.hb-pdp .hb-pdp__trustlabel { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* accordion: no colour shift on hover, breathing room when open */
.hb-pdp .hb-acc__head,
.hb-pdp .hb-acc__head:hover,
.hb-pdp .hb-acc__head:focus { color: var(--hb-ink) !important; background: none !important; }
.hb-pdp .hb-acc__head:hover .hb-acc__sign::before,
.hb-pdp .hb-acc__head:hover .hb-acc__sign::after { background: var(--hb-accent); }
.hb-pdp .hb-acc__item:hover { border-color: rgba(28,26,25,.10); }
.hb-pdp .hb-acc__inner { padding-top: 0; }
.hb-pdp .hb-acc__item.is-open .hb-acc__inner { padding-top: 4px; padding-bottom: 22px; }
.hb-pdp .hb-acc__item.is-open .hb-acc__head { padding-bottom: 14px; }

/* ---- v2.5: no mobile sticky bar, testimonials 1-up on phones ---- */
.hb-pdp .hb-pdp__sticky { display: none !important; }
@media (max-width: 900px) {
  .hb .hb-car .hb-car__slide:has(.hb-testi) { flex-basis: 100% !important; }
  .hb-pdp .hb-pdp__rel { padding-bottom: clamp(40px, 5vw, 64px); }
}

/* swipeable carousels */
.hb .hb-car__view { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.hb .hb-car__view:active { cursor: grabbing; }
.hb .hb-car__slide img, .hb .hb-car__slide a { -webkit-user-drag: none; user-drag: none; }
.hb .hb-msg__embed iframe { pointer-events: auto; }

/* ---- v2.7: brand-coloured social icons ---- */
.hb .hb-brandicon { display: inline-flex; }
.hb .hb-pill:hover .hb-brandicon,
.hb .hb-chip:hover .hb-brandicon,
.hb .hb-iconbtn:hover .hb-brandicon { color: inherit; }
.hb .hb-stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.hb .hb-stat__n { line-height: 1.15; }

/* ---- v2.9: journey tiles carry a caption ---- */
.hb .hb-tile { position: relative; }
.hb .hb-tile__cap { position: absolute; inset: auto 0 0; padding: 16px 18px; background: linear-gradient(0deg, rgba(20,18,17,.82), transparent); color: var(--hb-paper); font-size: 14px; font-weight: 500; pointer-events: none; }

/* ---- v3.1: bundled journey images fill their tile ---- */
.hb .hb-tile > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   v3.5 — fix: about main image + all HTML blocks always render
   ========================================================================== */
/* About page main image: a real default height so the frame never collapses to 0 */
.hb-aboutpage .hb-about__img { height: clamp(360px, 46vw, 560px); }
.hb-aboutpage .hb-about__img img { width: 100% !important; height: 100% !important; object-fit: cover !important; position: static !important; inset: auto !important; max-width: 100% !important; max-height: 100% !important; }

/* HTML blocks / shortcodes must never be held hidden by the reveal animation,
   and embedded iframes/videos need a real height to be visible */
.hb .hb-htmlblock { opacity: 1 !important; transform: none !important; }
.hb .hb-htmlblock, .hb .hb-htmlblock * { max-width: 100%; }
.hb .hb-htmlblock iframe { width: 100%; min-height: 340px; border: 0; display: block; }
.hb .hb-htmlblock video { width: 100%; height: auto; display: block; }
.hb .hb-htmlblock .elementor-widget, .hb .hb-htmlblock .wpforms-container, .hb .hb-htmlblock form { width: 100%; }
/* the messages section rendered as an HTML block sits in a normal flow, not absolute */
.hb .hb-msg .hb-htmlblock, .hb .hb-msg__embed { position: static; inset: auto; }
.hb .hb-msg > .hb-htmlblock iframe, .hb .hb-msg > .hb-htmlblock video { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }

/* ==========================================================================
   v4.0 — HTML blocks rebuilt: admin markup rendered raw, always visible
   ========================================================================== */
.hb .hb-formbox--raw { padding: 0; background: none; border: none; }
.hb .hb-formbox--raw .hb-htmlblock { width: 100%; }
.hb .hb-htmlblock { opacity: 1 !important; transform: none !important; display: block; width: 100%; }
.hb .hb-htmlblock iframe { width: 100%; min-height: 320px; border: 0; display: block; }
.hb .hb-htmlblock form, .hb .hb-htmlblock .wpcf7, .hb .hb-htmlblock .wpforms-container,
.hb .hb-htmlblock .elementor-form, .hb .hb-htmlblock .nf-form-cont { width: 100%; }
.hb .hb-htmlblock input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.hb .hb-htmlblock textarea, .hb .hb-htmlblock select {
  width: 100%; padding: 15px 18px; background: var(--hb-paper);
  border: 1px solid rgba(28,26,25,.16); border-radius: 14px; color: var(--hb-ink);
  font-size: 16px; font-family: inherit; box-sizing: border-box;
}
.hb .hb-htmlblock input[type="submit"], .hb .hb-htmlblock button {
  padding: 15px 30px; border: none; border-radius: 999px; background: var(--hb-accent);
  color: #fff; font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer;
}
/* messages section rendered as an HTML block flows normally */
.hb .hb-sec > .hb-wrap > .hb-htmlblock { min-height: 40px; }
/* about main image: never collapse, always show the chosen photo */
.hb-aboutpage .hb-about__img { height: clamp(360px, 46vw, 560px); background: var(--hb-cream); }
.hb-aboutpage .hb-about__img img { width: 100% !important; height: 100% !important; object-fit: cover !important; position: static !important; inset: auto !important; max-width: 100% !important; max-height: 100% !important; display: block; }
