/* =========================================================================
   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-header: #d21a27;       /* the darker red of the header heart pattern (client artwork, 2 Oct 2026): fallback colour and the mobile menu panel */
  --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: 1920px;          /* hero is full-bleed up to this width, then stays centred at this size (keeps the approved crop on ultra-wide screens) */
  --hb-gutter: 20px;
  /* space above the first heading on pages with no hero: the header wave hangs ~26px (44px desktop) into it */
  --hb-top-gap: 60px;
}
@media (min-width: 900px) { :root { --hb-top-gap: 88px; } }

/* ---------- 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 ---------- */
/* Header = the client's heart pattern, running through the bar AND the wave beneath it. The pattern is painted on
   ::before, which is the bar plus the wave's height, masked to "rectangle + wave" so the wavy edge is cut out of
   the artwork itself. The header box has no background of its own (that is what broke the first attempt at this). */
.hb-header { position: relative; z-index: 20; color: var(--hb-white); --hb-wave: 26px; }
.hb-header::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(100% + var(--hb-wave));
  background: var(--hb-header) url("../img/header-pattern.png?v=2") center 42% / cover no-repeat;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--hb-wave) + 1px) no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0 0H1440V22C1370 22 1300 10 1210 10C1110 10 1040 30 950 30C860 30 790 8 700 8C610 8 540 30 450 30C360 30 290 10 200 10C120 10 60 26 0 32Z'/></svg>") bottom / 100% var(--hb-wave) no-repeat;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--hb-wave) + 1px) no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0 0H1440V22C1370 22 1300 10 1210 10C1110 10 1040 30 950 30C860 30 790 8 700 8C610 8 540 30 450 30C360 30 290 10 200 10C120 10 60 26 0 32Z'/></svg>") bottom / 100% var(--hb-wave) no-repeat; }
.hb-header__wave { display: none; }   /* the inline SVG wave is replaced by the masked pattern */
.hb-nav a { text-shadow: 0 1px 3px rgba(120, 0, 10, .45); }
.hb-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding-top: 8px; padding-bottom: 8px; }
/* The logo is the same size as the footer one and hangs over the header wave, like the footer logo straddles the footer wave. */
.hb-logo { display: block; width: 150px; flex: 0 0 auto; position: relative; z-index: 3; margin-bottom: calc(-0.36 * 150px); }
.hb-logo img { width: 100%; }
.hb-nav { display: none; }
.hb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(28px, 6vw, 96px); }
.hb-nav a { font-family: var(--hb-font-display); font-weight: 400; font-size: 19px; letter-spacing: .02em; 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-header); padding: 6px var(--hb-gutter) 22px; box-shadow: 0 16px 30px rgba(0,0,0,.25); }
/* The logo hangs 36% of its 150px width below the bar, so the open menu starts below that overhang. */
.hb-header.is-open .hb-nav { padding-top: calc(0.36 * 150px - 12px); }
.hb-header.is-open .hb-header__wave { display: none; }
.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,.25); }
@media (min-width: 900px) {
  .hb-header__bar { min-height: 96px; }
  .hb-logo { width: clamp(190px, 20vw, 230px); margin-bottom: calc(-0.4 * clamp(190px, 20vw, 230px)); }
  .hb-nav { display: block; }
  .hb-nav { margin: 0 auto; padding-left: clamp(0px, 6vw, 90px); }
  .hb-header__bar { justify-content: flex-start; }
  .hb-burger { display: none; }
}
/* the header's curved bottom edge (inline SVG in Navigation.cshtml), laid over the top of the hero */
.hb-header__wave { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: var(--hb-wave, 26px); z-index: 2; color: var(--hb-header); pointer-events: none; }  /* hangs below the header box, over the hero */
@media (min-width: 900px) { .hb-header { --hb-wave: 44px; } }

/* ---------- hero ---------- */
.hb-hero { position: relative; overflow: hidden; background: var(--hb-white); color: var(--hb-white); max-width: var(--hb-site); margin: 0 auto; }
/* CMS hero images render at their own proportions (width-driven, never zoomed or cropped); the height is whatever
   the artwork gives, so a 1920x650 banner is 650px tall at full width. Only the baked-in Home placeholder is
   height-capped and cover-cropped, because that file is 1920x1080. */
.hb-hero__media { position: relative; }
.hb-hero__media img { width: 100%; height: auto; display: block; }
.hb-hero--baked .hb-hero__media { height: clamp(320px, 46vw, 800px); }
.hb-hero--baked .hb-hero__media img { height: 100%; object-fit: cover; object-position: center 28%; }
.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); }
.hb-hero--slim .hb-hero__media img { height: 100%; object-fit: cover; }

/* ---------- 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: var(--hb-top-gap); 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: var(--hb-top-gap); }
.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 th:first-child, .hb-nutrition td:first-child { text-align: left; padding-left: 16px; }  /* row labels left-aligned (David) */
.hb-nutrition thead th, .hb-nutrition thead td, .hb-nutrition table > tbody:first-child > tr:first-child > *, .hb-nutrition table > tr:first-child > * { background: var(--hb-green-dark); color: var(--hb-white); }
.hb-nutrition td, .hb-nutrition th { border-right: 1px solid #d9e6dd; border-bottom: 1px solid #d9e6dd; }
.hb-nutrition td:last-child, .hb-nutrition th:last-child { border-right: 0; }
.hb-nutrition tr:last-child td { border-bottom: 0; }
.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); }
/* Portrait (a transparent cut-out) sits bottom-left of the top panel with the heading to its right, as in the design. */
.hb-history__top { display: flex; align-items: flex-end; justify-content: center; gap: 0 clamp(4px, 2vw, 20px); padding-bottom: 0; }
/* Sized by height, not width, so a wide or a tall cut-out gives the same-sized man. Bottom sits under the wave (::after is above it). */
.hb-history__img { flex: 0 0 auto; margin: 0 -3% 0 0; position: relative; z-index: 1; line-height: 0; }
.hb-history__img img { height: clamp(200px, 34vw, 370px); width: auto; max-width: none; display: block; }
.hb-history__title { position: relative; z-index: 3; padding-bottom: clamp(44px, 7vw, 84px); text-align: left; }
.hb-history__top::after { z-index: 2; }
.hb-history__body { position: relative; z-index: 2; }
.hb-history__title .hb-history__word { display: block; }
.hb-history__top:not(:has(.hb-history__img)) { justify-content: center; }
.hb-history__top:not(:has(.hb-history__img)) .hb-history__title { text-align: center; }
.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 ---------- */
/* Footer carries the same heart pattern as the header (client, 2 Oct 2026). A translucent wash of the darker red sits
   over it so the small white text stays readable on the lighter stripes; the pattern still shows through. */
.hb-footer { position: relative; clear: both; display: flow-root; margin-top: clamp(64px, 10vw, 120px);
  background: linear-gradient(rgba(200, 20, 34, .38), rgba(200, 20, 34, .38)), var(--hb-header) url("../img/header-pattern.png?v=2") center / cover no-repeat;
  color: var(--hb-white); padding: 0 0 28px; font-size: 15px; text-shadow: 0 1px 2px rgba(120, 0, 10, .35); }
.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(-0.42 * clamp(150px, 20vw, 230px) - 10px) 0 22px; position: relative; z-index: 2; }
.hb-footer__tag { margin: 0 0 6px; font-weight: 400; max-width: 220px; line-height: 1.5; }
.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-header); 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,.35); font-size: 12px; opacity: .95; 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%, 1280px, calc((100vh - 40px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }  /* never taller than the viewport, so landscape phones get the whole frame */
.hb-modal__box iframe, .hb-modal__box video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
@media (max-width: 600px) { .hb-modal { padding: 12px; } .hb-modal__box { border-radius: 10px; } }
.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 */
/* The rebrand reset makes every <img> display:block, which stacks the legacy pages' inline icons
   (share buttons, difficulty whisks, the raty rating stars). Legacy content gets inline images back;
   the new header/footer keep block images. */
.hb-legacy img { display: inline-block; }
.hb-legacy .hb-header img, .hb-legacy .hb-footer img, .hb-legacy .hb-nav img { display: block; }
.hb-legacy .img-responsive, .hb-legacy .bxslider img, .hb-legacy .carousel img { display: block; }
.hb-legacy #content::after { content: ""; display: block; clear: both; }

/* ---------- generic inner pages (policies, history, recipes, FAQs, errors) ---------- */
.hb-page { padding-top: var(--hb-top-gap); }
.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; } }

/* ---- Contact Us: Probase HDCCW form widget (ContactUsForm2) injected into #divContactUs.
   The page runs in legacy mode (jQuery + Bootstrap for the widget's modals/grid); these rules
   re-skin the widget's own ContactUs2.css, hence the id-heavy selectors. ---- */
.hb-legacy #content > .hb-contact { padding-top: calc(var(--hb-top-gap) - 20px); padding-bottom: clamp(30px, 5vw, 60px); }
.hb-contact .hb-strap { margin: 12px auto 0; max-width: 640px; }
.hb-contact__loading { text-align: center; color: #8a8a8a; padding: 40px 0; }
.hb-contact__fallback { padding: 30px 0; font-size: 18px; }
.hb-contact__fallback a { color: var(--hb-green); text-decoration: underline; }
.hb-contact #frmContactUsForm2, .hb-contact .modal-content.productOtherDetailHelp { font-family: var(--hb-font-body); font-size: 16px; color: var(--hb-text); }
.hb-contact #frmContactUsForm2 .section-heading { margin-top: 10px; }
.hb-contact #frmContactUsForm2 .section-heading h3 { font-family: var(--hb-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1; font-size: clamp(18px, 2.4vw, 22px); background: var(--hb-theme-soft); color: var(--hb-green); border-radius: 999px; padding: 16px 26px; margin: 0 0 6px; }
.hb-contact #frmContactUsForm2 .section-heading.active h3 { background: var(--hb-green); color: var(--hb-white); margin-bottom: 20px; }
.hb-contact #frmContactUsForm2 .section { padding: 0 6px; }
.hb-contact #frmContactUsForm2 .form-group > label, .hb-contact #frmContactUsForm2 .form-group > label span { color: var(--hb-green-dark); font-weight: 700; font-size: 16px; }
.hb-contact #frmContactUsForm2 .form-group > label.control-label, .hb-contact #frmContactUsForm2 .form-group > label:not(.error) { float: none; display: inline-block; margin: 0 0 8px; }
.hb-contact #frmContactUsForm2 .form-group .required { float: none; display: inline-block; margin: 0 0 8px 2px; }
.hb-contact #frmContactUsForm2 .form-group .donateStyle { float: none; display: inline; margin-top: 0; }
@media (min-width: 992px) { .hb-contact #section3 .col-lg-8 { width: 50%; } .hb-contact #section3 .col-lg-2 { width: 25%; } }
.hb-contact #frmContactUsForm2 .form-group .form-control,
.hb-contact .select2-container--default .select2-selection--single,
.hb-contact #postcode_lookup input, .hb-contact #postcode_lookup > select#opc_dropdown {
  border: 2px solid #d9e6dd; border-radius: 14px; background: var(--hb-white); color: var(--hb-text);
  font-family: var(--hb-font-body); font-size: 16px; height: 48px; padding: 0 18px; box-shadow: none; }
.hb-contact #frmContactUsForm2 .form-group textarea.form-control { border-radius: 18px; padding: 14px 18px !important; height: 180px !important; line-height: 1.5; color: var(--hb-text); }
.hb-contact #frmContactUsForm2 .form-group .form-control:focus,
.hb-contact .select2-container--default .select2-selection--single:focus,
.hb-contact #postcode_lookup > input:focus, .hb-contact #postcode_lookup > select:focus { border-color: var(--hb-green); outline: none; box-shadow: none; }
.hb-contact .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; color: var(--hb-text); font-family: var(--hb-font-body); font-size: 16px; }
.hb-contact .select2-container--default .select2-selection--single .select2-selection__arrow { top: 11px; right: 14px; }
.select2-container--default .select2-results__option[aria-selected=true] { background: var(--hb-green); color: #fff; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: #e6f2ea; color: var(--hb-green-dark); }
.select2-dropdown { border: 2px solid #d9e6dd; border-radius: 14px; overflow: hidden; font-family: var(--hb-font-body); }
.hb-contact #postcode_lookup #opc_button { height: 46px; }
.hb-contact #frmContactUsForm2 .btn, .hb-contact #frmContactUsForm2 .section button {
  border-radius: 999px; background: var(--hb-green); color: var(--hb-white); border: 2px solid transparent;
  font-family: var(--hb-font-body); font-weight: 700; font-size: 16px; line-height: 1.2; padding: 12px 28px; margin-bottom: 26px; transition: transform .15s, box-shadow .15s; }
.hb-contact #frmContactUsForm2 .btn:hover, .hb-contact #frmContactUsForm2 .section button:hover,
.hb-contact #frmContactUsForm2 .btn:focus, .hb-contact #frmContactUsForm2 .section button:focus { background: var(--hb-green-dark); color: var(--hb-white); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14,77,49,.18); }
.hb-contact #frmContactUsForm2 a#btnUpload { background: transparent; color: var(--hb-green); border-color: currentColor; padding: 10px 22px; margin-bottom: 0; }
.hb-contact #frmContactUsForm2 a#btnUpload:hover { background: var(--hb-green); color: var(--hb-white); }
.hb-contact #frmContactUsForm2 .fileuploadbtns.input-group-addon { background: transparent; }
.hb-contact #frmContactUsForm2 .upload-img img { border-radius: 14px; }
.hb-contact #frmContactUsForm2 #btnSubmit { margin-top: 20px; }
.hb-contact #frmContactUsForm2 .form-group .required, .hb-contact #frmContactUsForm2 .donateStyle,
.hb-contact #frmContactUsForm2 label.error, .hb-contact #frmContactUsForm2 span.error, .hb-contact #frmContactUsForm2 .capcha-error,
.hb-contact #frmContactUsForm2 #error-msg, .hb-contact #postcode_lookup > p { color: var(--hb-red) !important; font-weight: 700; }
.hb-contact #frmContactUsForm2 label.error { font-size: 14px; }
.hb-contact #frmContactUsForm2 .form-footer { border-top: 2px solid #d9e6dd; margin-top: 20px; }
.hb-contact #divContactUs .form-footer p, .hb-contact #divContactUs .form-footer p > span { font-family: var(--hb-font-body); font-size: 16px !important; color: var(--hb-text); line-height: 1.55; padding-top: 22px; }
.hb-contact #divContactUs .form-footer p > span { padding-top: 0; font-weight: 700; color: var(--hb-green); }
.hb-contact #frmContactUsForm2 p a { color: var(--hb-green); text-decoration: underline; }
.hb-contact #frmContactUsForm2 .thank-youPage { margin: 30px 0 40px; }
.hb-contact #frmContactUsForm2 .thank-youPage h3 { font-family: var(--hb-font-display); font-weight: 400; text-transform: uppercase; line-height: 1; font-size: clamp(30px, 5vw, 54px); color: var(--hb-green); }
.hb-contact #frmContactUsForm2 .website-logo { display: none; }
.hb-contact .modal-content.productOtherDetailHelp { border-radius: 24px; overflow: hidden; border: 0; }
.hb-contact .modal-content.productOtherDetailHelp .section-heading.active h3 { font-family: var(--hb-font-display); font-weight: 400; text-transform: uppercase; background: var(--hb-green); color: var(--hb-white); font-size: 22px; }
.hb-contact .modal-content.productOtherDetailHelp p { font-size: 16px; line-height: 1.55; }
.hb-contact .modal-content.productOtherDetailHelp p strong { color: var(--hb-green); font-family: var(--hb-font-body); font-size: inherit; }
.hb-contact .g-recaptcha { margin-bottom: 20px; }
@media (max-width: 767px) { .hb-contact #frmContactUsForm2 .section button, .hb-contact #frmContactUsForm2 #btnSubmit { float: none !important; width: 100%; } }
