/* =========================================================================
   Hartley's 2026 rebrand stylesheet
   Mobile-first. All brand values live in :root so a colour or font change is
   one edit. Class prefix "hb-" keeps this clear of the legacy style.css that
   still loads on pages not yet rebuilt.

   Proportions are taken from the designer's home-page comp: a narrow content
   column (~900px on desktop), tiles always two across, big display headings.
   ========================================================================= */

/* ---------- fonts (webfont files in /assets/rebrand/fonts) ---------- */
@font-face { font-family: "Giulia"; src: url("../fonts/giulia-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Giulia"; src: url("../fonts/giulia-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Giulia"; src: url("../fonts/giulia-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barricada"; src: url("../fonts/barricada-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- brand tokens ---------- */
:root {
  --hb-green-dark: #0e4d31;   /* header, footer, nutrition table */
  --hb-green: #007742;        /* logo green, body headings */
  --hb-green-bright: #259447;
  --hb-lime: #9dc41f;
  --hb-orange: #f26b1d;
  --hb-orange-light: #fcb020;
  --hb-yellow: #fcb414;
  --hb-purple: #6e1e82;
  --hb-purple-light: #95509b;
  --hb-pink: #ed86b3;
  --hb-pink-hot: #d23994;
  --hb-raspberry: #951842;
  --hb-red: #d91638;
  --hb-cream: #fffaf3;
  --hb-ink: #0e4d31;          /* body text is the dark green, as in the designs */
  --hb-white: #ffffff;

  --hb-font-display: "Barricada", "Arial Black", Impact, sans-serif;   /* big section headings */
  --hb-font-body: "Giulia", "Trebuchet MS", Arial, sans-serif;          /* everything else */
  --hb-font-ui: "Gotham", "Helvetica Neue", Arial, sans-serif;          /* nav + small caps labels */

  --hb-radius: 26px;
  --hb-col: 900px;            /* the content column: tiles, cards, history box, product lists */
  --hb-wide: 1180px;          /* header / footer inner width */
  --hb-site: 1600px;          /* hero stops growing here */
  --hb-gutter: 20px;
}

/* ---------- base ---------- */
.hb-body { margin: 0; background: var(--hb-white); color: var(--hb-ink); font-family: var(--hb-font-body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.hb-body *, .hb-body *::before, .hb-body *::after { box-sizing: border-box; }
.hb-body img { max-width: 100%; height: auto; display: block; }
.hb-body a { color: inherit; text-decoration: none; }
.hb-wrap { width: 100%; max-width: calc(var(--hb-col) + 2 * var(--hb-gutter)); margin: 0 auto; padding-left: var(--hb-gutter); padding-right: var(--hb-gutter); }
.hb-wrap.hb-wrap { padding-left: var(--hb-gutter); padding-right: var(--hb-gutter); }
.hb-wrap--wide { max-width: calc(var(--hb-wide) + 2 * var(--hb-gutter)); }
.hb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* headings */
.hb-display { font-family: var(--hb-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; }
.hb-h1 { font-size: clamp(40px, 7.5vw, 78px); }
.hb-h2 { font-size: clamp(32px, 6vw, 64px); }
.hb-h3 { font-family: var(--hb-font-body); font-weight: 700; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; margin: 0; }
.hb-strap { font-weight: 700; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.35; margin: 10px 0 0; }
.hb-center { text-align: center; }

/* theme colours (applied via .hb-t-*) */
.hb-t-green    { --hb-theme: var(--hb-green); --hb-theme-soft: #e6f2ea; }
.hb-t-orange   { --hb-theme: var(--hb-orange); --hb-theme-soft: #ffe9d6; }
.hb-t-purple   { --hb-theme: var(--hb-purple); --hb-theme-soft: #efe2f3; }
.hb-t-pink     { --hb-theme: var(--hb-pink-hot); --hb-theme-soft: #fbe3ef; }
.hb-t-raspberry{ --hb-theme: var(--hb-raspberry); --hb-theme-soft: #f5e1e8; }
.hb-t-yellow   { --hb-theme: var(--hb-orange-light); --hb-theme-soft: #fff1d6; }
.hb-t-red      { --hb-theme: var(--hb-red); --hb-theme-soft: #fbe1e5; }
.hb-themed { color: var(--hb-theme, var(--hb-green)); }

/* ---------- header ---------- */
.hb-header { position: relative; z-index: 20; background: var(--hb-green-dark); color: var(--hb-white); }
.hb-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding-top: 8px; padding-bottom: 8px; }
.hb-logo { display: block; width: 120px; flex: 0 0 auto; }
.hb-logo img { width: 100%; }
.hb-nav { display: none; }
.hb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(28px, 5vw, 84px); }
.hb-nav a { font-family: var(--hb-font-ui); font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--hb-white); padding: 10px 2px; display: inline-block; transition: color .2s; }
.hb-nav a:hover, .hb-nav a:focus, .hb-nav a.is-active { color: var(--hb-yellow); }
.hb-burger { appearance: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; }
.hb-burger span { display: block; height: 3px; border-radius: 3px; background: var(--hb-white); transition: transform .25s, opacity .25s; }
.hb-header.is-open .hb-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hb-header.is-open .hb-burger span:nth-child(2) { opacity: 0; }
.hb-header.is-open .hb-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.hb-header.is-open .hb-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--hb-green-dark); padding: 6px var(--hb-gutter) 22px; box-shadow: 0 16px 30px rgba(0,0,0,.25); }
.hb-header.is-open .hb-nav ul { flex-direction: column; gap: 0; }
.hb-header.is-open .hb-nav a { display: block; font-size: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) {
  .hb-header__bar { min-height: 96px; }
  .hb-logo { width: 168px; }
  .hb-nav { display: block; }
  .hb-nav ul { padding-right: clamp(0px, 4vw, 60px); }
  .hb-burger { display: none; }
}
/* the header's curved bottom edge, laid over the top of the hero */
.hb-header::after { content: ""; display: block; height: 22px; background: var(--hb-green-dark); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 22' preserveAspectRatio='none'><path d='M0 0h1440v4c-200 18-420 20-640 10S420 -2 240 6 60 20 0 12z'/></svg>") center / 100% 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 22' preserveAspectRatio='none'><path d='M0 0h1440v4c-200 18-420 20-640 10S420 -2 240 6 60 20 0 12z'/></svg>") center / 100% 100% no-repeat; margin-bottom: -22px; position: relative; z-index: 2; }

/* ---------- hero ---------- */
.hb-hero { position: relative; overflow: hidden; background: var(--hb-green-dark); color: var(--hb-white); max-width: var(--hb-site); margin: 0 auto; }
.hb-hero__media { position: relative; height: clamp(320px, 51vw, 800px); }
.hb-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hb-hero__play { position: absolute; right: clamp(16px, 5vw, 72px); top: clamp(24px, 12vw, 120px); display: flex; align-items: center; gap: 10px; color: var(--hb-white); font-family: var(--hb-font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(12px, 1.4vw, 16px); line-height: 1.25; text-align: right; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hb-hero__play svg { width: clamp(44px, 6vw, 72px); height: auto; flex: 0 0 auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); transition: transform .2s; }
.hb-hero__play:hover svg { transform: translateX(4px) rotate(-8deg); }
/* placeholder artwork already has the title and "watch the vid" pointer baked in:
   keep the link as an invisible hotspot over that corner */
.hb-hero--baked .hb-hero__play { top: 0; right: 0; width: 42%; height: 100%; opacity: 0; }
/* wave at the bottom of the hero into the white page */
.hb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(30px, 6vw, 80px); background: var(--hb-white); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0 46C260 90 520 84 760 40S1220 -10 1440 40V80H0z'/></svg>") center / 100% 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0 46C260 90 520 84 760 40S1220 -10 1440 40V80H0z'/></svg>") center / 100% 100% no-repeat; }
.hb-hero--slim .hb-hero__media { height: clamp(200px, 28vw, 440px); }
@media (min-width: 1601px) { .hb-hero { border-radius: 0 0 var(--hb-radius) var(--hb-radius); } }

/* ---------- intro ---------- */
.hb-intro { padding-top: clamp(24px, 4vw, 48px); }
.hb-intro p { font-weight: 700; font-size: clamp(19px, 2.6vw, 27px); line-height: 1.35; max-width: 820px; margin: 0 auto; }

/* ---------- generic section ---------- */
.hb-section { padding-top: clamp(36px, 6vw, 72px); }
.hb-section__head { margin-bottom: clamp(18px, 3vw, 30px); }

/* ---------- category tiles (Home + Range page): always two across, as designed ---------- */
.hb-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 4vw, 44px) clamp(14px, 4vw, 40px); list-style: none; margin: 0; padding: 0; }
.hb-tile a { display: block; text-align: center; }
.hb-tile__img { border-radius: var(--hb-radius); overflow: hidden; aspect-ratio: 1806 / 1400; background: var(--hb-theme-soft, #f4f4f4); transition: transform .25s, box-shadow .25s; }
.hb-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.hb-tile a:hover .hb-tile__img { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(14,77,49,.16); }
.hb-tile__name { margin: 14px 0 0; font-weight: 700; font-size: clamp(17px, 3vw, 30px); color: var(--hb-green); line-height: 1.15; }

/* ---------- category section with product list (Range page) ---------- */
.hb-cat { padding-top: clamp(36px, 6vw, 72px); scroll-margin-top: 90px; }
.hb-cat__head { text-align: center; margin-bottom: clamp(20px, 3vw, 40px); }
.hb-cat__head .hb-strap { color: var(--hb-ink); }
.hb-products { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(22px, 4vw, 44px); }
.hb-product { display: grid; grid-template-columns: 1fr; gap: 14px 36px; align-items: center; }
.hb-product__img { border-radius: var(--hb-radius); overflow: hidden; aspect-ratio: 1806 / 1400; background: var(--hb-theme-soft, #f4f4f4); transition: transform .25s; }
.hb-product__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }  /* contain: current CMS shots are tall cut-outs */
.hb-product a:hover .hb-product__img { transform: translateY(-4px); }
.hb-product__body { text-align: center; }
.hb-product__name { font-family: var(--hb-font-display); text-transform: none; font-size: clamp(30px, 4.6vw, 56px); line-height: .95; color: var(--hb-theme, var(--hb-green)); margin: 0 0 12px; }
.hb-product__desc { margin: 0; font-weight: 700; font-size: 17px; }
.hb-product__desc p { margin: 0; }
@media (min-width: 720px) {
  .hb-product { grid-template-columns: minmax(0, 420px) 1fr; }
  .hb-product__body { text-align: left; }
}

/* ---------- product page ---------- */
.hb-pd { padding-top: clamp(24px, 4vw, 56px); }
.hb-pd__title { color: var(--hb-theme, var(--hb-green)); }
.hb-pd__sub { font-family: var(--hb-font-display); text-transform: none; font-size: clamp(22px, 3vw, 40px); color: var(--hb-theme, var(--hb-green)); opacity: .85; margin-top: 8px; }
.hb-pd__grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: clamp(24px, 4vw, 48px); }
@media (min-width: 800px) { .hb-pd__grid { grid-template-columns: minmax(0, 400px) 1fr; gap: 48px; align-items: start; } }
.hb-pd__img { border-radius: var(--hb-radius); overflow: hidden; background: var(--hb-theme-soft, #f4f4f4); padding: 6%; }
.hb-pd__img img { width: 100%; }
.hb-pd__copy { font-weight: 700; font-size: 17px; }
.hb-pd__copy p { margin: 0 0 16px; }
.hb-pd__copy h3, .hb-pd__copy h4 { font-family: var(--hb-font-display); text-transform: none; font-weight: 400; font-size: 22px; margin: 22px 0 8px; color: var(--hb-ink); }
.hb-pd__copy ul { padding-left: 20px; }

/* nutrition table: dark green header row, rounded, as in the design */
.hb-nutrition { margin-top: clamp(28px, 4vw, 48px); }
.hb-nutrition table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid var(--hb-green-dark); border-radius: 24px; overflow: hidden; font-weight: 700; font-size: 15px; }
.hb-nutrition th, .hb-nutrition td { padding: 12px 10px; text-align: center; }
.hb-nutrition tr:first-child th, .hb-nutrition tr:first-child td, .hb-nutrition thead th { background: var(--hb-green-dark); color: var(--hb-white); }
.hb-nutrition td:first-child, .hb-nutrition th:first-child { text-align: left; padding-left: 22px; }
.hb-nutrition p { margin: 0; }
@media (max-width: 480px) { .hb-nutrition th, .hb-nutrition td { padding: 9px 6px; font-size: 13px; } }

/* ---------- scrollers: social posts + similar products ---------- */
.hb-scroller { position: relative; }
.hb-scroller__track { display: flex; gap: clamp(12px, 2.5vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 0 14px; scrollbar-width: none; list-style: none; margin: 0; }
.hb-scroller__track::-webkit-scrollbar { display: none; }
.hb-card { flex: 0 0 calc(33.333% - 16px); min-width: 150px; scroll-snap-align: start; }
.hb-card a { display: block; text-align: center; }
.hb-card__img { border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--hb-theme-soft, #f4f4f4); box-shadow: 0 8px 20px rgba(14,77,49,.10); }
.hb-card__img--product { aspect-ratio: 1806 / 1400; border-radius: var(--hb-radius); }
.hb-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hb-card__img--product img { object-fit: contain; padding: 6%; }
.hb-card__name { margin: 10px 0 0; font-weight: 700; color: var(--hb-theme, var(--hb-green)); font-size: 18px; line-height: 1.2; }
.hb-card__sub { margin: 4px 0 0; font-weight: 700; color: var(--hb-theme, var(--hb-green)); font-size: 14px; }
.hb-card__caption { margin: 8px 0 0; font-weight: 700; color: var(--hb-ink); font-size: 13px; line-height: 1.3; }
.hb-arrow { position: absolute; top: 42%; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--hb-raspberry); color: var(--hb-white); font-size: 30px; line-height: 1; font-family: var(--hb-font-display); cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.hb-arrow--prev { left: -26px; } .hb-arrow--next { right: -26px; }
/* the little decorative dot beside each arrow, as on the comp */
.hb-arrow::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--hb-raspberry); bottom: -8px; }
.hb-arrow--prev::after { right: -6px; } .hb-arrow--next::after { left: -6px; }
@media (min-width: 720px) { .hb-arrow { display: inline-flex; } }
.hb-arrow[disabled] { opacity: .35; cursor: default; }
.hb-scroller.is-static .hb-arrow { display: none; }

/* ---------- home: social + history ---------- */
.hb-social-head { color: var(--hb-purple-light); }
.hb-history { margin: clamp(44px, 8vw, 96px) auto 0; border-radius: 30px; overflow: hidden; background: var(--hb-orange); color: var(--hb-green-dark); text-align: center; }
.hb-history__top { position: relative; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 64px) clamp(44px, 7vw, 84px); background: var(--hb-orange-light); background-image: repeating-radial-gradient(ellipse at 20% 120%, rgba(252,176,32,0) 0, rgba(252,176,32,0) 60px, rgba(255,255,255,.14) 60px, rgba(255,255,255,.14) 100px); }
.hb-history__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(22px, 4vw, 46px); background: var(--hb-orange); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 46' preserveAspectRatio='none'><path d='M0 30C140 0 260 0 400 24S660 50 800 16V46H0z'/></svg>") center / 100% 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 46' preserveAspectRatio='none'><path d='M0 30C140 0 260 0 400 24S660 50 800 16V46H0z'/></svg>") center / 100% 100% no-repeat; }
.hb-history__top .hb-h1 { color: var(--hb-white); font-size: clamp(38px, 7.5vw, 80px); text-shadow: 0 3px 0 rgba(0,0,0,.08); }
.hb-history__img { width: min(40%, 240px); margin: 0 auto 12px; border-radius: 20px; overflow: hidden; }
.hb-history__body { padding: clamp(22px, 4vw, 44px) clamp(22px, 5vw, 64px) clamp(28px, 5vw, 56px); font-weight: 700; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.5; }
.hb-history__body p { margin: 0 0 12px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hb-history__body p:last-of-type { margin-bottom: 0; color: var(--hb-yellow); }
.hb-history__more { display: inline-block; margin-top: 18px; font-weight: 700; text-decoration: underline; }

/* ---------- footer: logo straddles the wave, three columns ---------- */
.hb-footer { position: relative; clear: both; display: flow-root; margin-top: clamp(64px, 10vw, 120px); background: var(--hb-green-dark); color: var(--hb-white); padding: 0 0 28px; font-size: 15px; }
.hb-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(24px, 5vw, 60px); transform: rotate(180deg); background: var(--hb-white); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M0 30C240 70 480 70 720 34S1200 -6 1440 30V64H0z'/></svg>") center / 100% 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M0 30C240 70 480 70 720 34S1200 -6 1440 30V64H0z'/></svg>") center / 100% 100% no-repeat; }
.hb-footer__grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: clamp(30px, 5vw, 56px); }
@media (min-width: 720px) { .hb-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; } }
.hb-footer__logo { width: clamp(150px, 20vw, 230px); margin: calc(-1 * clamp(70px, 11vw, 130px)) 0 10px; position: relative; z-index: 2; }
.hb-footer__tag { margin: 0 0 4px; font-weight: 400; max-width: 220px; }
.hb-footer h4 { font-family: var(--hb-font-display); text-transform: none; font-weight: 400; font-size: 20px; margin: 0 0 12px; letter-spacing: .02em; }
.hb-footer ul { list-style: none; margin: 0; padding: 0; }
.hb-footer li { margin: 0 0 7px; }
.hb-footer a:hover { color: var(--hb-yellow); }
.hb-socials { display: flex; gap: 10px; margin-top: 18px; }
.hb-socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--hb-white); color: var(--hb-green-dark); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.hb-socials a:hover { background: var(--hb-yellow); }
.hb-socials svg { width: 17px; height: 17px; fill: currentColor; }
.hb-footer__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; opacity: .75; line-height: 1.6; }

/* ---------- video lightbox ---------- */
.hb-modal { position: fixed; inset: 0; z-index: 100; background: rgba(6,32,21,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.hb-modal.is-open { display: flex; }
.hb-modal__box { width: min(100%, 1100px); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hb-modal__box iframe { width: 100%; height: 100%; border: 0; display: block; }
.hb-modal__close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--hb-white); color: var(--hb-green-dark); font-size: 26px; cursor: pointer; }

/* ---------- legacy page shim ----------
   Pages not yet rebuilt still load bootstrap + the old style.css. These rules
   keep the new header/footer looking right when that CSS is also present. */
.hb-legacy .hb-header, .hb-legacy .hb-footer { font-family: var(--hb-font-body); }
.hb-legacy .hb-nav ul { margin: 0; }
.hb-legacy #content { padding-top: 20px; display: flow-root; }  /* contains bootstrap-era floats */
.hb-legacy #content::after { content: ""; display: block; clear: both; }

/* ---------- generic inner pages (policies, history, recipes, FAQs, errors) ---------- */
.hb-page { padding-top: clamp(28px, 4vw, 56px); }
.hb-page__head { margin-bottom: clamp(20px, 3vw, 36px); }
.hb-page__title { color: var(--hb-green); }
.hb-crumb { margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.hb-crumb a:hover { text-decoration: underline; }
.hb-page__images { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: clamp(24px, 4vw, 40px); }
@media (min-width: 640px) { .hb-page__images { grid-template-columns: 1fr 1fr; } }
.hb-page__image { border-radius: var(--hb-radius); overflow: hidden; }
.hb-error__img { max-width: 360px; margin: 0 auto 20px; }
.hb-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* buttons */
.hb-btn { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--hb-theme, var(--hb-green)); color: var(--hb-white); font-weight: 700; font-size: 16px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; font-family: var(--hb-font-body); }
.hb-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14,77,49,.18); }
.hb-btn--ghost { background: transparent; color: var(--hb-theme, var(--hb-green)); border-color: currentColor; }

/* rich text from the CMS */
.hb-prose { font-size: 17px; line-height: 1.6; }
.hb-prose--lead { font-weight: 700; font-size: clamp(17px, 2vw, 20px); }
.hb-prose > *:first-child { margin-top: 0; }
.hb-prose p { margin: 0 0 1em; }
.hb-prose h2, .hb-prose h3, .hb-prose h4 { font-family: var(--hb-font-display); font-weight: 400; text-transform: none; line-height: 1.05; color: var(--hb-theme, var(--hb-green)); margin: 1.6em 0 .5em; }
.hb-prose h2 { font-size: clamp(26px, 3.4vw, 38px); }
.hb-prose h3 { font-size: clamp(22px, 2.6vw, 28px); }
.hb-prose h4 { font-size: 20px; }
.hb-prose ul, .hb-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.hb-prose li { margin-bottom: .35em; }
.hb-prose a { color: var(--hb-theme, var(--hb-green)); text-decoration: underline; }
.hb-prose img { border-radius: 18px; margin: 1em 0; }
.hb-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.hb-prose th, .hb-prose td { border: 1px solid #d9e6dd; padding: 8px 10px; text-align: left; vertical-align: top; }
.hb-prose th { background: var(--hb-green-dark); color: var(--hb-white); }
.hb-prose blockquote { margin: 1em 0; padding: 12px 20px; border-left: 4px solid var(--hb-theme, var(--hb-green)); background: var(--hb-theme-soft, #f4f4f4); border-radius: 0 14px 14px 0; }

/* recipes */
.hb-recipes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 32px) clamp(14px, 3vw, 28px); }
@media (min-width: 720px) { .hb-recipes { grid-template-columns: repeat(3, 1fr); } }
.hb-recipe a { display: block; text-align: center; }
.hb-recipe__img { border-radius: var(--hb-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--hb-theme-soft, #f4f4f4); transition: transform .25s, box-shadow .25s; }
.hb-recipe__img img { width: 100%; height: 100%; object-fit: cover; }
.hb-recipe a:hover .hb-recipe__img { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(14,77,49,.16); }
.hb-recipe__name { margin: 10px 0 0; font-weight: 700; font-size: clamp(15px, 2vw, 20px); color: var(--hb-theme, var(--hb-green)); line-height: 1.2; }
.hb-recipe-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: clamp(20px, 3vw, 36px); }
@media (min-width: 800px) { .hb-recipe-grid { grid-template-columns: minmax(0, 440px) 1fr; gap: 44px; align-items: start; } }
.hb-recipe-grid__img { border-radius: var(--hb-radius); overflow: hidden; background: var(--hb-theme-soft, #f4f4f4); }
.hb-recipe-method { margin-top: clamp(24px, 4vw, 40px); }
.hb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(24px, 4vw, 40px); padding-top: 20px; border-top: 2px dotted var(--hb-theme-soft, #eee); }
.hb-share__label { font-weight: 700; margin-right: 6px; }
.hb-share__btn { font: inherit; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--hb-theme, var(--hb-green)); color: var(--hb-theme, var(--hb-green)); background: transparent; cursor: pointer; }
.hb-share__btn:hover { background: var(--hb-theme, var(--hb-green)); color: var(--hb-white); }

/* paging (recipes list + FAQ tables) */
.hb-paging { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 24px; }
.hb-paging:empty { display: none; }
.hb-paging__link { font: inherit; font-weight: 700; min-width: 40px; padding: 8px 12px; border-radius: 999px; border: 2px solid var(--hb-theme, var(--hb-green)); color: var(--hb-theme, var(--hb-green)); background: transparent; text-align: center; cursor: pointer; }
.hb-paging__link:hover, .hb-paging__link.is-current { background: var(--hb-theme, var(--hb-green)); color: var(--hb-white); }

/* FAQs: native <details> accordions */
.hb-faqs { display: grid; gap: 12px; }
.hb-faq { border: 2px solid var(--hb-theme-soft, #e6f2ea); border-radius: 20px; overflow: hidden; background: var(--hb-white); }
.hb-faq[open] { border-color: var(--hb-theme, var(--hb-green)); }
.hb-faq__q { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; font-size: clamp(16px, 2vw, 19px); color: var(--hb-theme, var(--hb-green)); position: relative; }
.hb-faq__q::-webkit-details-marker { display: none; }
.hb-faq__q::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--hb-theme, var(--hb-green)); color: var(--hb-white); font-family: var(--hb-font-display); font-size: 22px; line-height: 30px; text-align: center; }
.hb-faq[open] .hb-faq__q::after { content: "\2013"; }
.hb-faq__a { padding: 0 20px 20px; }
.hb-faq__a > p:first-child { margin-top: 0; }
.hb-faq__video { display: block; position: relative; max-width: 420px; margin-top: 12px; border-radius: 18px; overflow: hidden; }
.hb-faq__video img { width: 100%; }
.hb-faq__video .hb-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hb-select { display: block; margin: 0 0 14px; }
.hb-select select { font: inherit; font-weight: 700; padding: 10px 40px 10px 14px; border-radius: 999px; border: 2px solid var(--hb-theme, var(--hb-green)); color: var(--hb-theme, var(--hb-green)); background: var(--hb-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23007742' stroke-width='2'/></svg>") no-repeat right 14px center / 12px; appearance: none; -webkit-appearance: none; max-width: 100%; }
.hb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 2px solid var(--hb-theme-soft, #e6f2ea); }
.hb-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.hb-table th, .hb-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #e6efe9; white-space: nowrap; }
.hb-table th { background: var(--hb-green-dark); color: var(--hb-white); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.hb-table th:first-child, .hb-table td:first-child { text-align: left; padding-left: 14px; white-space: normal; min-width: 180px; font-weight: 700; position: sticky; left: 0; }
.hb-table th:first-child { background: var(--hb-green-dark); }
.hb-table td:first-child { background: var(--hb-white); }
.hb-table tbody tr:nth-child(even) td { background: #f6faf7; }
.hb-table th img { height: 22px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.hb-table .allergens-tick::before { content: "\2713"; color: var(--hb-green); font-weight: 700; }
.hb-table .allergens-cross::before { content: "\2715"; color: #c9c9c9; }

/* ---------- cookie notice (replaces cookieCuttr) ---------- */
.hb-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: var(--hb-green-dark); color: var(--hb-white); border-radius: 18px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.3); display: none; gap: 14px; align-items: center; font-size: 14px; line-height: 1.45; }
.hb-cookie.is-visible { display: flex; }
.hb-cookie p { margin: 0; flex: 1; }
.hb-cookie a { text-decoration: underline; }
.hb-cookie .hb-btn { flex: 0 0 auto; background: var(--hb-yellow); color: var(--hb-green-dark); padding: 10px 18px; font-size: 15px; }
@media (max-width: 520px) { .hb-cookie { flex-direction: column; align-items: stretch; text-align: center; } }
