/*
 * Birthday Banner Studio — site design tokens + chrome + reused sf-* block reskin.
 *
 * Source of truth: design_handoff_banner_studio/README.md ("Design Tokens" +
 * "Shared components") and brand-rules.md. Do not invent new colors/radii/shadows —
 * everything here maps 1:1 to a token in that handoff.
 *
 * Loaded site-wide via the sf_site_enqueue_assets hook (functions.php), which is
 * the engine's documented, non-whitelisted extension point for site-owned CSS.
 */

/* ------------------------------------------------------------------ */
/*  Design tokens                                                      */
/* ------------------------------------------------------------------ */

:root {
  /* Color */
  --bb-blue: #4F82C3;         /* Blauw Vertrouwen — primary */
  --bb-coral: #F15A55;        /* Energie Rood — secondary / conversion */
  --bb-yellow: #FCB830;       /* Confetti Geel — accent only, never a main CTA */
  --bb-ink: #000000;
  --bb-body: #333333;
  --bb-muted: #666666;
  --bb-quiet: #5A5B62;
  --bb-white: #FFFFFF;
  --bb-border: #E5E5E5;
  --bb-surface: #F5F5F5;
  --bb-surface-blue: #F4F9FF;

  /* Floating pill nav: height it takes from the top of the page */
  --bb-nav-h: 74px;

  /* Signature gradient (Feestvibe Gradient) */
  --bb-gradient: linear-gradient(90deg, #4F82C3, #F15A55, #FCB830);
  --bb-gradient-135: linear-gradient(135deg, #4F82C3, #F15A55, #FCB830);
  --bb-gradient-180: linear-gradient(180deg, #4F82C3, #F15A55, #FCB830);

  /* Tints (derived, per brand-rules) */
  --bb-blue-15: #4F82C326;
  --bb-yellow-15: #FCB83026;
  --bb-blue-step-bg: #DCE6F3;
  --bb-blue-33: #4F82C333;
  --bb-step-icon-tile: #CED4E0;
  /* Check / cross marks in lists: line icons used as a mask, tinted by currentColor */
  --bb-mark-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
  --bb-mark-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");

  /* Type */
  /* Plus Jakarta Sans for all website text, never heavier than 600; the
     gradient words in headings use Instrument Serif italic (--bb-font-accent).
     Poppins is only loaded for the banner artwork (Studio designs, drawings). */
  --bb-font-heading: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --bb-font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --bb-font-accent: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  /* One size for every section heading (H2), on every page */
  --bb-h2: clamp(30px, 3.6vw, 44px);
  --bb-h2-lh: 1.12;

  /* Radii */
  --bb-radius-pill: 999px;
  --bb-radius-card: 18px;
  --bb-radius-hero: 32px;
  --bb-radius-hero-mobile: 18px;
  --bb-radius-cta-panel: 36px;
  --bb-radius-inner: 12px;

  /* Shadows */
  --sh-card: 0 18px 40px rgba(0, 0, 0, .08);
  --sh-card-hi: 0 20px 46px rgba(0, 0, 0, .16);
  --sh-cta: 0 14px 34px rgba(0, 0, 0, .22);
  --sh-float: 0 20px 44px rgba(0, 0, 0, .28);
  --sh-photo: 0 22px 54px rgba(0, 0, 0, .20);
  --sh-panel: 0 26px 70px rgba(0, 0, 0, .30);
  --sh-menu: 0 24px 60px rgba(0, 0, 0, .18);

  /* Motion */
  --bb-ease: cubic-bezier(.22, 1, .36, 1);
  --bb-ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ------------------------------------------------------------------ */
/*  Base                                                                */
/* ------------------------------------------------------------------ */

/* Site-wide box-sizing reset. .bb-scope sits on <body> (see header.php), so
   this reaches virtually every element on every page. Without it, any rule
   that pairs `width: 100%`/`width: <fluid>` with padding (the mobile
   breakpoints below routinely do this, e.g. .bb-pricing-card at <=900px)
   renders wider than its container — the box model adds padding/border on
   top of the content width instead of inside it — and the element overflows
   the viewport at narrow widths even though nothing used a fixed px width.
   :where() keeps this at zero specificity so a component's own box-sizing
   (if any) still wins. */
:where(.bb-scope) *,
:where(.bb-scope) *::before,
:where(.bb-scope) *::after {
  box-sizing: border-box;
}

.bb-scope,
.bb-nav,
.bb-footer,
[data-sf-block="sf-process-steps"],
[data-sf-block="sf-faq"] {
  font-family: var(--bb-font-body);
  color: var(--bb-body);
}

.bb-scope h1,
.bb-scope h2,
.bb-scope h3,
.bb-nav,
.bb-footer,
[data-sf-block="sf-process-steps"] h2,
[data-sf-block="sf-process-steps"] h3,
[data-sf-block="sf-faq"] h2 {
  font-family: var(--bb-font-heading);
}

:where(.bb-scope) h1,
:where(.bb-scope) h2 {
  text-wrap: balance;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--bb-ink);
  margin: 0;
}

:where(.bb-scope) h2 {
  font-size: var(--bb-h2);
  line-height: var(--bb-h2-lh);
}

.bb-scope p {
  text-wrap: pretty;
}

/* :where() zeroes the specificity .bb-scope would otherwise add, so this
   base link/heading reset always loses to a component's own class (e.g.
   .bb-btn-primary, .bb-hero-copy h1, .bb-coll-intro h2) instead of tying with
   it on specificity and winning on source order. Without :where(), every
   "<a class="bb-btn-primary">" nested in a .bb-scope wrapper rendered with
   blue link-color text instead of its intended white/ink color, and every
   gradient-panel h1/h2 rendered ink-black instead of white — confirmed via
   getComputedStyle() on the live homepage hero CTA and H1 before this fix. */
:where(.bb-scope) a {
  color: var(--bb-blue);
  text-decoration: none;
  transition: color .18s var(--bb-ease);
}

:where(.bb-scope) a:hover {
  color: var(--bb-ink);
  text-decoration: underline;
}

.bb-scope :focus-visible {
  outline: 2px solid var(--bb-blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.bb-eyebrow {
  margin: 0 0 10px;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--bb-blue);
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* ------------------------------------------------------------------ */
/*  Section rhythm: one spacing system for every page                  */
/* ------------------------------------------------------------------ */
/* --bb-section-y: padding above and below every section.
   --bb-head-gap:  space between a section's heading block and its content.
   Eyebrow -> H2 is 12px, H2 -> intro 16px (DESIGN.md "Layout"). */
:root { --bb-section-y: 96px; --bb-head-gap: 48px; }
@media (max-width: 900px) { :root { --bb-section-y: 64px; } }
@media (max-width: 768px) { :root { --bb-section-y: 48px; --bb-head-gap: 32px; } }
@media (max-width: 620px) { :root { --bb-section-y: 40px; } }

.section-pad {
  padding: var(--bb-section-y) 64px;
}

@media (max-width: 1240px) { .section-pad { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 900px)  { .section-pad { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 768px)  { .section-pad { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 620px)  { .section-pad { padding-left: 18px; padding-right: 18px; } }

/* Blocks that set their own section padding (block stylesheets load later, hence body). */
body [data-sf-block="banner-types-birthdaybanner"],
body [data-sf-block="steps-stepper-birthdaybanner"],
body [data-sf-block="product-card-birthdaybanner"],
body [data-sf-block="order-route-birthdaybanner"],
body .bb-wall { padding-top: var(--bb-section-y); padding-bottom: var(--bb-section-y); }
body .bb-wall .bb-wall-head { padding-top: 0 !important; } /* beats its :not(:has()) rule */
body .bb-wall .bb-wall-head + .bb-wall-slider { margin-top: 0; }

/* Section heading blocks: eyebrow, H2, intro, then the content. */
body :is(.bb-bt-head, .bb-ba-head, .bb-ss-head, .bb-faq-head, .bb-pc-head, .bb-video-head, .bb-route-head, .bb-wall-head, .bb-team-head) {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-bottom: var(--bb-head-gap);
}
body :is(.bb-bt-head, .bb-ba-head, .bb-ss-head, .bb-faq-head, .bb-pc-head, .bb-video-head, .bb-route-head, .bb-wall-head, .bb-team-head) > :is(p, span):first-child { margin: 0 0 12px; }
body :is(.bb-bt-head, .bb-ba-head, .bb-ss-head, .bb-faq-head, .bb-pc-head, .bb-video-head, .bb-route-head, .bb-team-head) > h2,
body .bb-wall .bb-wall-head > h2 { margin: 0; }
body :is(.bb-bt-head, .bb-ba-head, .bb-ss-head, .bb-faq-head, .bb-pc-head, .bb-video-head, .bb-route-head, .bb-wall-head, .bb-team-head) > h2 + * { margin-top: 16px; }
body .bb-final-cta-eyebrow { margin-bottom: 12px; }
body .bb-final-cta-text h2 { margin-bottom: 16px; }

.bb-content-col {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .bb-scope *,
  .bb-scope *::before,
  .bb-scope *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ------------------------------------------------------------------ */
/*  Buttons                                                             */
/* ------------------------------------------------------------------ */

/* One button system for the whole site (artifact "BirthdayBanner Buttons"):
   - .bb-btn-primary         Primary, on white: glossy gradient pill + white arrow circle
   - .bb-btn-secondary       Secondary, on white: soft blue tint
   - .bb-btn-on-gradient     Primary on colour (hero, photos): glossy white pill + gradient arrow circle
   - .bb-btn-outline-gradient Secondary on colour: frosted glass
   - .bb-link                Text link: blue text + arrow dot that turns gradient on hover
   - .bb-search-btn          Search button inside a search field: grey circle
   Modifiers: .bb-btn-sm (42px, product cards), .bb-btn-block (full width),
   .bb-btn-noarrow (no arrow circle). The arrow circle is drawn by ::after, so
   templates need no extra markup. */
:root {
  --bb-btn-grad: linear-gradient(100deg, #3A6BAA 0%, #C83E3A 68%, #FCB830 100%);
  --bb-arrow-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --bb-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --bb-arrow-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A6BAA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --bb-btn-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 12px 26px -8px rgba(200, 62, 58, .55), 0 8px 18px -8px rgba(252, 184, 48, .6), 0 6px 14px -6px rgba(58, 107, 170, .5);
  --bb-btn-shadow-hi: inset 0 1px 0 rgba(255, 255, 255, .55), 0 18px 34px -8px rgba(200, 62, 58, .65), 0 10px 22px -8px rgba(252, 184, 48, .7), 0 8px 18px -6px rgba(58, 107, 170, .55);
}

.bb-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--bb-radius-pill);
  border: 1px solid transparent;
  font-family: var(--bb-font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--bb-ease), box-shadow .2s var(--bb-ease), background-color .2s var(--bb-ease), color .2s var(--bb-ease);
  text-decoration: none !important;
}
.bb-btn:hover { transform: translateY(-2px); }
.bb-btn:active { transform: scale(.98); }
.bb-btn:focus-visible { outline: 3px solid #4F82C3; outline-offset: 3px; }

/* Arrow circle (Primary and Primary on colour) */
.bb-btn-primary::after,
.bb-btn-on-gradient::after {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff var(--bb-arrow-black) center / 18px no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  transition: background-position .2s var(--bb-ease);
}
.bb-btn-primary:hover::after { background-position: calc(50% + 2px) 50%; }
.bb-btn-on-gradient:hover::after { background-position: calc(50% + 2px) 50%, center; } /* 2nd layer = gradient, keep it still */

.bb-btn-primary {
  padding: 0 6px 0 24px;
  background: var(--bb-btn-grad) border-box; /* border-box: the 1px border shows the gradient, not a repeat of its blue start */
  border-color: rgba(255, 255, 255, .35);
  color: var(--bb-white) !important;
  box-shadow: var(--bb-btn-shadow);
}
/* Gloss on the top half */
.bb-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0 0 52% 0;
  z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
}
.bb-btn-primary:hover { box-shadow: var(--bb-btn-shadow-hi); color: var(--bb-white); }

.bb-btn-on-gradient {
  padding: 0 6px 0 24px;
  background: linear-gradient(180deg, #FFFFFF, #F1F4FA) border-box;
  color: #000 !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -6px 12px rgba(30, 50, 90, .08), 0 14px 30px -8px rgba(0, 0, 0, .35);
}
.bb-btn-on-gradient::after { background: var(--bb-arrow-white) center / 18px no-repeat, var(--bb-btn-grad); box-shadow: none; }
.bb-btn-on-gradient:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -6px 12px rgba(30, 50, 90, .08), 0 18px 36px -8px rgba(0, 0, 0, .42); }

.bb-btn-secondary {
  background: #EDF2F9;
  color: #1F3F6B !important;
  box-shadow: none;
}
.bb-btn-secondary:hover { background: #E1EAF6; }

.bb-btn-outline-gradient {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .6);
  color: var(--bb-white) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.bb-btn-outline-gradient:hover { background: rgba(255, 255, 255, .26); }

.bb-btn-quiet {
  width: 100%;
  min-height: 46px;
  background: #EDF2F9;
  color: #1F3F6B !important;
  font-size: 14px;
}
.bb-btn-quiet:hover { background: #E1EAF6; }

/* Sizes and layout */
.bb-btn-sm { min-height: 42px; gap: 10px; font-size: 13.5px; }
.bb-btn-sm.bb-btn-primary, .bb-btn-sm.bb-btn-on-gradient { padding: 0 4px 0 16px; }
.bb-btn-sm::after { width: 34px; height: 34px; background-size: 15px; }
.bb-btn-block { display: flex; width: 100%; justify-content: space-between; }
.bb-btn-noarrow::after { display: none; }
.bb-btn-noarrow.bb-btn-primary, .bb-btn-noarrow.bb-btn-on-gradient { padding: 0 26px; }

/* Text link */
.bb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bb-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #3A6BAA !important;
  text-decoration: none !important;
}
.bb-link::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EDF2F9 var(--bb-arrow-blue) center / 14px no-repeat;
  transition: background .2s var(--bb-ease);
}
.bb-link:hover::after { background: var(--bb-arrow-white) center / 14px no-repeat, var(--bb-btn-grad); }
.bb-link:focus-visible { outline: 3px solid #4F82C3; outline-offset: 3px; border-radius: 6px; }

/* Search button inside a search field */
.bb-search-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #EDF2F9;
  color: #000;
  cursor: pointer;
  transition: background .2s var(--bb-ease);
}
.bb-search-btn:hover { background: #E1EAF6; }
.bb-search-btn:focus-visible { outline: 3px solid #4F82C3; outline-offset: 3px; }
.bb-search-btn svg { width: 19px; height: 19px; }

@media (prefers-reduced-motion: reduce) {
  .bb-btn, .bb-btn::after, .bb-link::after, .bb-search-btn { transition: none; }
  .bb-btn:hover { transform: none; }
}

/* ------------------------------------------------------------------ */
/*  Top navigation                                                      */
/* ------------------------------------------------------------------ */

/* Floating pill nav: a frosted-glass pill centred at the top, clear of the
   page edges. The fixed .bb-nav itself is a transparent, click-through
   frame; only the pill (.bb-nav-inner) catches clicks. The spacer keeps
   ordinary pages clear of it; pages with a hero run it up underneath the
   pill instead (see "Full-bleed heroes" below). */
.bb-nav-spacer { height: var(--bb-nav-h); }

/* Full-bleed heroes: every page hero runs edge to edge and up to the very
   top, under the floating pill, like the homepage. The spacer drops to 0 and
   each hero adds the nav height to its own top padding so its copy still
   clears the pill. `body` prefix outranks the block stylesheets. */
body:has(.bb-hero, .bb-pagehead, .bb-gallery-hero, .bb-contact-hero, .bb-wiz-header, .bb-404) .bb-nav-spacer { height: 0; }
/* Scrolling past the top made Safari/Chrome on a Mac bounce the page down and
   show a white strip above the hero. No bounce; and where a browser still
   bounces, the canvas behind the page is the hero's top blue on the home page
   (body stays white, so nothing else changes). */
html { overscroll-behavior-y: none; }
/* Section heading pattern: black words, then the key phrase in the brand
   gradient (field "heading_accent"). Only on light backgrounds; headings on a
   gradient stay plain white. Same look as .bb-bt-accent. */
.bb-h-accent { background: var(--bb-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The gradient words are set in an italic serif: calm sans for the sentence,
   a personal, handwritten-feeling touch on the key phrase. The small right
   padding keeps the italic's last letter inside the clipped gradient. */
body :is(.bb-h-accent, .bb-bt-accent, .bb-sc-accent) {
  font-family: var(--bb-font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  line-height: 1;
  letter-spacing: 0;
  padding-right: .06em;
}
/* Engine blocks (sf-values, sf-service-overview…) read the Customizer fonts;
   point them at the same fonts so every page matches. */
body { --sf-font-heading: var(--bb-font-heading); --sf-font-body: var(--bb-font-body); }
/* Dot wave background (assets/js/bb-dotwave.js): a canvas behind the
   section's content. Faded out behind the heading so text stays clean. */
[data-bb-dotwave] { position: relative; isolation: isolate; }
.bb-dotwave { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 46% 38% at 50% 30%, transparent 0, rgba(0, 0, 0, .35) 55%, #000 100%);
          mask-image: radial-gradient(ellipse 46% 38% at 50% 30%, transparent 0, rgba(0, 0, 0, .35) 55%, #000 100%); }
.bb-ss > .bb-ss-inner { position: relative; z-index: 1; }
/* Plus Jakarta Sans has narrow word spaces; open them up a little. */
body { word-spacing: .06em; }
body { background-color: #fff; }
html:has(.bb-hero) { background-color: #4F82C3; }
body .bb-pagehead.section-pad,
body .bb-contact-hero.section-pad { padding-top: calc(96px + var(--bb-nav-h)); }
body .bb-gallery-hero { padding-top: calc(56px + var(--bb-nav-h)); }
body .bb-gallery-hero.has-photo { padding-top: calc(88px + var(--bb-nav-h)); }
body .bb-wiz-header { height: calc(220px + var(--bb-nav-h)); padding-top: var(--bb-nav-h); }
@media (max-width: 900px) {
  body .bb-pagehead.section-pad,
  body .bb-contact-hero.section-pad { padding-top: calc(64px + var(--bb-nav-h)); }
}
@media (max-width: 768px) {
  body .bb-pagehead.section-pad,
  body .bb-contact-hero.section-pad { padding-top: calc(48px + var(--bb-nav-h)); }
}
@media (max-width: 720px) {
  body .bb-gallery-hero.has-photo { padding-top: calc(56px + var(--bb-nav-h)); }
}
@media (max-width: 620px) {
  body .bb-pagehead.section-pad,
  body .bb-contact-hero.section-pad { padding-top: calc(40px + var(--bb-nav-h)); }
  body .bb-wiz-header { height: auto; padding-top: calc(22px + var(--bb-nav-h)); }
}

.bb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 8px 48px 0;
  pointer-events: none;
}

.bb-nav-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 58px;
  padding: 0 8px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--bb-radius-pill, 999px);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  pointer-events: auto;
  transition: max-width .35s var(--bb-ease, ease), background .35s var(--bb-ease, ease);
}
.bb-nav.is-scrolled .bb-nav-inner { max-width: 820px; background: rgba(255, 255, 255, .95); }

.bb-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.bb-nav-logo img { height: 38px; width: auto; display: block; }

.bb-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-nav-links a {
  font-family: var(--bb-font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--bb-ink);
}
.bb-nav-links a {
  padding: 8px 13px;
  white-space: nowrap; /* Dutch labels ("Hoe het werkt") must stay on one line. */
  border-radius: var(--bb-radius-pill, 999px);
  transition: background .2s var(--bb-ease, ease);
}
.bb-nav-links a:hover,
.bb-nav-links a.is-active { background: rgba(0, 0, 0, .06); color: var(--bb-ink); text-decoration: none; }

.bb-nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 220px;
  padding: 7px 12px;
  margin: 0 4px;
  border-radius: var(--bb-radius-pill, 999px);
  background: rgba(0, 0, 0, .05);
  color: var(--bb-ink);
}
.bb-nav-search svg { flex-shrink: 0; opacity: .6; }
.bb-nav-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--bb-font-body);
  font-size: 13.5px;
  color: var(--bb-ink);
}
.bb-nav-search input:focus { outline: none; }
.bb-nav-search input::placeholder { color: rgba(0, 0, 0, .45); }

.bb-nav-search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 10px;
  z-index: 120;
  display: none;
}
.bb-nav-search-suggest.is-visible { display: block; }
.bb-nav-search-suggest::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 14px;
  width: 11px;
  height: 11px;
  background: var(--bb-white);
  border-left: 1.5px solid var(--bb-blue);
  border-top: 1.5px solid var(--bb-blue);
  border-radius: 2px;
  transform: rotate(45deg);
}
.bb-nav-search-suggest-btn {
  position: relative;
  display: block;
  background: var(--bb-white);
  border: 1.5px solid var(--bb-blue);
  border-radius: var(--bb-radius-pill, 999px);
  padding: 8px 16px;
  font-family: var(--bb-font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bb-blue);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--sh-card);
  transition: background-color .18s var(--bb-ease, ease);
}
.bb-nav-search-suggest-btn:hover { background: var(--bb-blue-15); }

.bb-nav-search-mobile {
  display: none;
  max-width: none;
  margin: 0 0 8px;
  background: rgba(0, 0, 0, .06);
}

.bb-nav-right { display: flex; align-items: center; gap: 14px; }

/* NL | EN language pill (bb_lang_switch_html). */
.bb-lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--bb-radius-pill, 999px);
  background: rgba(0, 0, 0, .06);
}
.bb-lang-item {
  padding: 5px 10px;
  border-radius: var(--bb-radius-pill, 999px);
  font-family: var(--bb-font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  /* !important: .bb-scope a colour rules load later with equal weight. */
  color: var(--bb-ink) !important;
  text-decoration: none !important;
  transition: background-color .18s var(--bb-ease, ease), color .18s var(--bb-ease, ease);
}
a.bb-lang-item:hover { background: var(--bb-blue-15); color: var(--bb-blue) !important; }
.bb-lang-item.is-active { background: var(--bb-blue); color: var(--bb-white) !important; }
.bb-lang-item.is-missing { opacity: .4; cursor: not-allowed; }

.bb-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--bb-radius-pill, 999px);
  background: var(--bb-gradient-135);
  /* !important: .bb-scope a colour rules load later with equal weight. */
  color: #fff !important;
  font-family: var(--bb-font-heading);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(242, 90, 85, .3);
  transition: transform .2s var(--bb-ease, ease), box-shadow .2s var(--bb-ease, ease);
}
.bb-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(242, 90, 85, .4); }

.bb-nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--bb-ink);
}
.bb-nav-cart:hover { color: var(--bb-blue); }
.bb-nav-cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--bb-coral);
  color: var(--bb-white);
  font-family: var(--bb-font-heading);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.bb-nav-login {
  font-family: var(--bb-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--bb-ink);
}
.bb-nav-login:hover { color: var(--bb-blue); }

.bb-nav-burger {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  color: var(--bb-ink);
}

.bb-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 8px;
  width: 260px;
  background: var(--bb-white);
  border: 1.5px solid rgba(0, 0, 0, .14);
  border-radius: 18px;
  box-shadow: var(--sh-menu);
  padding: 10px;
  z-index: 110;
}
.bb-nav-dropdown.is-open { display: block; }
.bb-nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--bb-ink);
  font-family: var(--bb-font-body);
}
.bb-nav-dropdown a:hover { background: rgba(0, 0, 0, .07); text-decoration: none; }

@media (max-width: 1024px) {
  .bb-nav-links { display: none; }
  .bb-nav-search { display: none; }
  .bb-nav-search-mobile { display: flex; }
  .bb-nav-burger { display: inline-flex; align-items: center; }
}

@media (max-width: 860px) {
  .bb-nav-links a { font-size: 13.5px; }
}

@media (max-width: 620px) {
  .bb-nav-cta { display: none; }
}

@media (max-width: 480px) {
  .bb-nav { padding: 8px 12px 0; }
  .bb-nav-login { display: none; }
}

/* ------------------------------------------------------------------ */
/*  Floating "Create Your Banner" pill                                  */
/* ------------------------------------------------------------------ */

/* Looks like the shared Primary (.bb-btn .bb-btn-primary); this only places
   it and fades it in once the hero has scrolled away. */
.bb-float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .24s var(--bb-ease), transform .24s var(--bb-ease), box-shadow .2s var(--bb-ease);
}
.bb-float-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bb-float-cta.is-visible:hover { transform: translateY(-2px); box-shadow: var(--bb-btn-shadow-hi); }
.bb-float-cta.is-visible:active { transform: scale(.98); }

/* ------------------------------------------------------------------ */
/*  Cards (shared primitive)                                            */
/* ------------------------------------------------------------------ */

.bb-card {
  background: var(--bb-white);
  border: 1.5px solid rgba(0, 0, 0, .12);
  border-radius: var(--bb-radius-card);
  padding: 28px 32px;
  box-shadow: var(--sh-card);
  transition: transform .24s var(--bb-ease), box-shadow .24s var(--bb-ease);
}
.bb-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card-hi); }
.bb-card h3 {
  color: var(--bb-ink);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}
.bb-card p { font-size: 14px; color: var(--bb-body); line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------------ */
/*  Footer                                                              */
/* ------------------------------------------------------------------ */

.bb-footer {
  background: var(--bb-white);
  padding: 60px 64px 0;
  position: relative;
  overflow: hidden;
}
.bb-footer-wave {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 90px;
  pointer-events: none;
  overflow: hidden;
}
.bb-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bb-footer-cols {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
}
.bb-footer-brand { flex: 2; min-width: 220px; }
.bb-footer-brand img { height: 44px; width: auto; display: block; margin-bottom: 16px; }
.bb-footer-tagline {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--bb-ink);
  line-height: 1.65;
  max-width: 280px;
}
.bb-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--bb-body);
  line-height: 1.6;
}
.bb-footer-contact a { color: var(--bb-blue); font-size: 13px; }
.bb-footer-social { display: flex; gap: 10px; }
.bb-footer-social a {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--bb-surface);
  border: 1px solid var(--bb-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--bb-ink);
}
.bb-footer-social a:hover { background: var(--bb-blue-15); text-decoration: none; }
.bb-footer-col { flex: 1; min-width: 130px; }
.bb-footer-col-title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bb-ink);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.bb-footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.bb-footer-col-links a { font-size: 13px; color: var(--bb-ink); }
.bb-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, .22);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--bb-ink);
}
.bb-footer-bottom-links { display: flex; gap: 20px; }
.bb-footer-bottom-links a { font-size: 12px; color: var(--bb-ink); }

@media (max-width: 620px) {
  .bb-footer { padding: 48px 24px 0; }
  .bb-footer-cols { gap: 40px; }
}

/* ------------------------------------------------------------------ */
/*  Reused sf-process-steps reskin ("How It Works")                     */
/* ------------------------------------------------------------------ */

[data-sf-block="sf-process-steps"] .process-section {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 64px 64px 96px;
  background:
    radial-gradient(circle at 0% 20%, rgba(79, 130, 195, .22), transparent 60%),
    radial-gradient(circle at 100% 55%, rgba(241, 90, 85, .18), transparent 60%),
    radial-gradient(circle at 25% 100%, rgba(252, 184, 48, .24), transparent 60%),
    linear-gradient(180deg, #FFF8EDCC, #FFF1DEB3);
  border-radius: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-card);
}
/* Gradient ring in place of a flat border-color: a plain `border` can only take
   one solid color, so the brand gradient is painted on a ::before and trimmed
   down to a 1px ring with mask-composite (center knocked out via content-box). */
[data-sf-block="sf-process-steps"] .process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--bb-gradient-135);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* sf-process-steps/style.css loads after this file and caps the section at
   1200px with the same specificity; the `body` prefix keeps it full-bleed. */
body [data-sf-block="sf-process-steps"] .process-section { max-width: none; margin: 0; }
/* Full-bleed, so the 1px gradient outline would only show as a line along
   the screen edges. */
body [data-sf-block="sf-process-steps"] .process-section::before { display: none; }
/* Cards stay in the content column; 4 across so seven steps wrap 4 + 3
   instead of leaving two orphans under five. */
body [data-sf-block="sf-process-steps"] .process-steps { max-width: 1240px; margin-left: auto; margin-right: auto; }
@media (min-width: 1100px) {
  body [data-sf-block="sf-process-steps"] .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1240px) { [data-sf-block="sf-process-steps"] .process-section { padding: 48px 40px 64px; } }
@media (max-width: 620px)  { [data-sf-block="sf-process-steps"] .process-section { padding: 32px 18px 40px; } }

[data-sf-block="sf-process-steps"] .process-title { text-align: center; margin-bottom: 56px; }
[data-sf-block="sf-process-steps"] .section-badge {
  display: inline-block;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--bb-blue) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  background: none !important;
  margin-bottom: 10px;
}
/* sf-process-steps/style.css sets --sf-process-heading-color/--sf-process-step-*
   to a dark-shell white default and loads AFTER this stylesheet (block CSS is
   enqueued on wp_enqueue_scripts priority 20, this file on the default
   priority), so it wins custom-property ties. !important on the CONSUMING
   properties is the only reliable override, confirmed by rendering the
   homepage locally (headings/desc were invisible white-on-white without it). */
[data-sf-block="sf-process-steps"] .process-title h2 {
  font-size: var(--bb-h2);
  color: var(--bb-ink) !important;
}
[data-sf-block="sf-process-steps"] .process-steps {
  display: flex;
  gap: 40px;
  align-items: stretch;
  counter-reset: bb-step;
}
[data-sf-block="sf-process-steps"] .process-step {
  flex: 1;
  position: relative;
  background: var(--bb-white);
  border: 1.5px solid rgba(0, 0, 0, .12);
  border-radius: var(--bb-radius-card);
  padding: 36px 32px;
  box-shadow: var(--sh-card);
  overflow: hidden;
  counter-increment: bb-step;
  /* sf-process-steps/style.css centers the column (text-align:center, and
     .step-num gets margin:0 auto), which left the icon tile (centered) and
     the icon glyph (absolutely positioned at the true left padding edge,
     below) misaligned — confirmed by rendering locally. This design is
     left-aligned. */
  text-align: left !important;
}
[data-sf-block="sf-process-steps"] .process-step::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 5px;
  background: var(--bb-gradient-180);
}
[data-sf-block="sf-process-steps"] .process-step::before {
  content: counter(bb-step, decimal-leading-zero);
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--bb-font-heading);
  font-size: 48px;
  font-weight: 600;
  color: var(--bb-blue-33);
  line-height: 1;
}
/* The digit text stored in .step-num is hidden; the icon (<i>, a sibling)
   is overlaid on the same 52x52 tile so the icon reads inside the tile. */
[data-sf-block="sf-process-steps"] .step-num {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bb-step-icon-tile) !important;
  margin: 0 0 20px !important;
  position: relative;
  font-size: 0;
  color: transparent;
}
/* sf-process-steps/style.css loads later and set the digit back to white
   20px, so it showed through under the black icon. `body` outranks it. */
body [data-sf-block="sf-process-steps"] .step-num { font-size: 0; color: transparent; border-radius: 50%; }
[data-sf-block="sf-process-steps"] .process-step > i.fas {
  position: absolute;
  top: 36px; left: 32px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--bb-ink);
}
[data-sf-block="sf-process-steps"] h3 { font-size: 20px; font-weight: 600; color: var(--bb-ink) !important; margin: 0 0 10px; }
[data-sf-block="sf-process-steps"] .process-step p { font-size: 14px; color: var(--bb-body) !important; line-height: 1.6; margin: 0; }

@media (max-width: 900px) {
  [data-sf-block="sf-process-steps"] .process-steps { flex-direction: column; }
}

/* Homepage only ("Three Steps To A Perfect Banner"): brand-gradient section,
   white text + icons, light frosted-glass cards, white CTA. Scoped to
   body.home so the How It Works page keeps the light reskin above. The dark
   tint layered over the gradient keeps white text readable on the yellow end. */
body.home [data-sf-block="sf-process-steps"] .process-section {
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, .30), transparent 40%),
    radial-gradient(circle at 95% 100%, rgba(255, 255, 255, .24), transparent 45%),
    linear-gradient(rgba(20, 24, 48, .14), rgba(20, 24, 48, .14)),
    var(--bb-gradient-135);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.home [data-sf-block="sf-process-steps"] .process-section::before { display: none; }
body.home [data-sf-block="sf-process-steps"] .section-badge { color: var(--bb-white) !important; opacity: .9; }
body.home [data-sf-block="sf-process-steps"] .process-title h2 {
  color: var(--bb-ink) !important;
}
body.home [data-sf-block="sf-process-steps"] .process-steps { gap: 28px; }
body.home [data-sf-block="sf-process-steps"] .process-step {
  background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .10));
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .5);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform .35s var(--bb-ease), background .35s var(--bb-ease);
}
body.home [data-sf-block="sf-process-steps"] .process-step:hover {
  transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .14));
}
body.home [data-sf-block="sf-process-steps"] .process-step::after { display: none; }
body.home [data-sf-block="sf-process-steps"] .process-step::before { color: rgba(255, 255, 255, .4); }
body.home [data-sf-block="sf-process-steps"] .step-num {
  background: rgba(255, 255, 255, .2) !important;
  border: 1px solid rgba(255, 255, 255, .5);
}
body.home [data-sf-block="sf-process-steps"] .process-step > i.fas { color: var(--bb-white); }
body.home [data-sf-block="sf-process-steps"] h3 { color: var(--bb-white) !important; }
body.home [data-sf-block="sf-process-steps"] .process-step p {
  color: rgba(255, 255, 255, .95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
body.home [data-sf-block="sf-process-steps"] .process-cta { margin-top: 40px; text-align: center; }
body.home [data-sf-block="sf-process-steps"] .process-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bb-font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-white) !important;
  color: var(--bb-ink) !important;
  border: 0 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  text-decoration: none;
  transition: transform .3s var(--bb-ease);
}
body.home [data-sf-block="sf-process-steps"] .process-cta .btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  body.home [data-sf-block="sf-process-steps"] .process-step,
  body.home [data-sf-block="sf-process-steps"] .process-cta .btn { transition: none; }
}

/* ------------------------------------------------------------------ */
/*  Reused sf-faq reskin ("Questions, Answered")                        */
/* ------------------------------------------------------------------ */

/* sf-faq/style.css's "details" layout is a DARK shell by default
   (--sf-faq-bg:#0d0d0d, white summary text, boxed translucent-white items) and
   loads AFTER this stylesheet (see sf-process-steps note above for why), so
   every conflicting property below needs !important — confirmed by rendering
   the homepage locally (FAQ rendered as a black panel without it). */
[data-sf-block="sf-faq"] .faq-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 64px 96px;
  background: var(--bb-white) !important;
}
@media (max-width: 1240px) { [data-sf-block="sf-faq"] .faq-section { padding: 0 40px 64px; } }
@media (max-width: 620px)  { [data-sf-block="sf-faq"] .faq-section { padding: 0 18px 40px; } }

/* sf-faq/style.css's own .section-inner caps the readable column at 880px —
   that's the actual width bottleneck (tighter than .faq-section above), so it
   needs its own override here to let the section use the full 1240px frame. */
[data-sf-block="sf-faq"] .section-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 100px 0 0;
}
@media (max-width: 768px) { [data-sf-block="sf-faq"] .section-inner { padding-top: 64px; } }

[data-sf-block="sf-faq"] .section-title { text-align: center; margin-bottom: 44px; }
[data-sf-block="sf-faq"] .section-badge {
  display: inline-block;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--bb-blue) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 10px;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
[data-sf-block="sf-faq"] .section-title h2 { font-size: var(--bb-h2); color: var(--bb-ink) !important; }
[data-sf-block="sf-faq"] details.faq-item {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, .12) !important;
  padding: 4px 0;
}
[data-sf-block="sf-faq"] details.faq-item[open] { background: none !important; }
[data-sf-block="sf-faq"] details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--bb-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--bb-ink) !important;
}
[data-sf-block="sf-faq"] details.faq-item summary::-webkit-details-marker { display: none; }
[data-sf-block="sf-faq"] .faq-chev {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .07) !important;
  border: none !important;
  color: var(--bb-ink) !important;
  font-size: 0; /* hide the literal "+" text node — the icon is drawn by the bars below so it can morph into a dash on open, the conventional accordion pattern */
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: background-color .18s var(--bb-ease), color .18s var(--bb-ease);
}
[data-sf-block="sf-faq"] .faq-chev::before,
[data-sf-block="sf-faq"] .faq-chev::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transition: transform .18s var(--bb-ease);
}
[data-sf-block="sf-faq"] .faq-chev::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
[data-sf-block="sf-faq"] .faq-chev::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
[data-sf-block="sf-faq"] details.faq-item[open] .faq-chev::after { transform: translate(-50%, -50%) scaleY(0); }
[data-sf-block="sf-faq"] details.faq-item[open] .faq-chev {
  transform: translateY(-50%) !important; /* cancel sf-faq/style.css's rotate(45deg), which would turn our horizontal bar diagonal instead of leaving a flat dash */
  background: var(--bb-coral) !important;
  border-color: var(--bb-coral) !important;
  color: var(--bb-white) !important;
}
[data-sf-block="sf-faq"] .faq-body {
  margin: 0 0 22px;
  padding: 0 40px 22px 0 !important;
  font-size: 14.5px;
  color: var(--bb-quiet) !important;
  line-height: 1.75;
}

/* ------------------------------------------------------------------ */
/*  Reused sf-feature-grid reskin (cards layout, secondary pages)       */
/* ------------------------------------------------------------------ */

/* sf-feature-grid/style.css's "cards" layout is a dark shell by default
   (#111 section, #161616 cards, white/#888 text) and loads AFTER this
   stylesheet (same enqueue-order note as sf-process-steps above), so every
   conflicting property needs !important. */
[data-sf-block="sf-feature-grid"] .features-section {
  background: var(--bb-white) !important;
  padding: 0 64px 96px !important;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 1240px) { [data-sf-block="sf-feature-grid"] .features-section { padding: 0 40px 64px !important; } }
@media (max-width: 620px)  { [data-sf-block="sf-feature-grid"] .features-section { padding: 0 18px 40px !important; } }
[data-sf-block="sf-feature-grid"] .features-inner { max-width: 1240px; margin: 0 auto; }
[data-sf-block="sf-feature-grid"] .features-title { text-align: center; margin-bottom: 44px; }
[data-sf-block="sf-feature-grid"] .section-badge {
  display: inline-block;
  background: none !important;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--bb-blue) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 10px;
  padding: 0 !important;
}
[data-sf-block="sf-feature-grid"] .features-title h2 { font-size: var(--bb-h2); color: var(--bb-ink) !important; }
[data-sf-block="sf-feature-grid"] .features-title p {
  margin: 0 auto;
  max-width: 660px;
  font-size: 15.5px;
  color: var(--bb-muted) !important;
  line-height: 1.75;
}
[data-sf-block="sf-feature-grid"] .feature-card {
  background: var(--bb-white) !important;
  border: 1.5px solid rgba(0, 0, 0, .12) !important;
  border-radius: var(--bb-radius-card);
  padding: 28px 26px;
  box-shadow: var(--sh-card);
  transition: transform .2s var(--bb-ease), box-shadow .2s var(--bb-ease);
}
[data-sf-block="sf-feature-grid"] .feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hi); border-color: rgba(0, 0, 0, .12) !important; }
[data-sf-block="sf-feature-grid"] .feature-card .f-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bb-blue-15);
  color: var(--bb-blue);
  font-size: 20px;
  margin-bottom: 18px;
}
[data-sf-block="sf-feature-grid"] .feature-card .f-icon:empty { display: none; margin-bottom: 0; }
[data-sf-block="sf-feature-grid"] .feature-card h3 { font-size: 17px; font-weight: 600; color: var(--bb-ink) !important; margin: 0 0 8px; }
[data-sf-block="sf-feature-grid"] .feature-card p { font-size: 13.5px; color: var(--bb-body) !important; line-height: 1.65; margin: 0; }
[data-sf-block="sf-feature-grid"] .feature-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
[data-sf-block="sf-feature-grid"] .feature-list li {
  font-size: 13px;
  color: var(--bb-body) !important;
  font-family: var(--bb-font-body);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
[data-sf-block="sf-feature-grid"] .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: var(--bb-ink);
  -webkit-mask: var(--bb-mark-check) center / contain no-repeat;
  mask: var(--bb-mark-check) center / contain no-repeat;
}
[data-sf-block="sf-feature-grid"] a.feature-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
[data-sf-block="sf-feature-grid"] .feature-card__link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bb-font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bb-white) !important;
  background: var(--bb-gradient-135);
  border-radius: 13px;
  padding: 14px;
  justify-content: center;
}
[data-sf-block="sf-feature-grid"] .features-grid { gap: 18px !important; }
@media (max-width: 900px) {
  [data-sf-block="sf-feature-grid"] .features-grid { grid-template-columns: 1fr !important; }
}

/* ------------------------------------------------------------------ */
/*  Reused sf-values reskin ("Three rules we never break")              */
/* ------------------------------------------------------------------ */

/* sf-values/style.css is a dark shell by default (#111 section, #161616
   cards) and loads after this stylesheet, so conflicts need !important. */
[data-sf-block="sf-values"] .values-section {
  background: var(--bb-white) !important;
  max-width: 1240px;
  margin: 0 auto;
  /* The standard section rhythm (.section-pad): the eyebrow used to start
     right under the section above ("Wie doet wat", "Drie regels"). */
  padding: 96px 64px;
}
@media (max-width: 1240px) { [data-sf-block="sf-values"] .values-section { padding: 96px 40px; } }
@media (max-width: 900px)  { [data-sf-block="sf-values"] .values-section { padding: 64px 28px; } }
@media (max-width: 620px)  { [data-sf-block="sf-values"] .values-section { padding: 40px 18px; } }
[data-sf-block="sf-values"] .section-title { margin-bottom: var(--bb-head-gap); }
[data-sf-block="sf-values"] .section-title p:empty { display: none; } /* empty intro kept its 16px margins */
[data-sf-block="sf-values"] .section-badge {
  display: inline-block;
  background: none !important;
  border: none !important;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--bb-blue) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 12px !important;
  padding: 0 !important;
}
[data-sf-block="sf-values"] .section-title h2 { font-size: var(--bb-h2); line-height: var(--bb-h2-lh); color: var(--bb-ink) !important; max-width: 640px; }
[data-sf-block="sf-values"] .section-title p { color: var(--bb-body) !important; }
[data-sf-block="sf-values"] .values-grid { gap: 20px !important; }
[data-sf-block="sf-values"] .value-card {
  background: var(--bb-white) !important;
  border: 1.5px solid rgba(0, 0, 0, .12) !important;
  border-radius: 20px;
  padding: 28px 26px !important;
  box-shadow: var(--sh-card);
}
[data-sf-block="sf-values"] .value-card:hover { border-color: rgba(0, 0, 0, .12) !important; transform: translateY(-6px); }
/* Site-wide icon tile (see design.md "Icons"): black glyph on a round grey
   tile, same as the sf-process-steps tiles. `body` outranks sf-values/style.css,
   which loads later and sets font-size 28px. */
body [data-sf-block="sf-values"] .value-card .val-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bb-step-icon-tile);
  color: var(--bb-ink);
  font-size: 0;
  margin-bottom: 18px;
}
body [data-sf-block="sf-values"] .value-card .val-icon svg { width: 22px; height: 22px; stroke-width: 2.2; }
[data-sf-block="sf-values"] .value-card h3 { color: var(--bb-ink) !important; font-size: 18px; }
[data-sf-block="sf-values"] .value-card p { color: var(--bb-body) !important; font-size: 14.5px; line-height: 1.68; }

/* ------------------------------------------------------------------ */
/*  Reused sf-results-stats reskin (gradient stat panel, About page)    */
/* ------------------------------------------------------------------ */

/* sf-results-stats/style.css is a dark bar by default (#111 bg) and loads
   after this stylesheet, so conflicts need !important. */
[data-sf-block="sf-results-stats"] .results-section {
  background: var(--bb-gradient-135) !important;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 52px 48px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
[data-sf-block="sf-results-stats"] .results-inner {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px !important;
  text-align: left !important;
  justify-content: initial !important;
  max-width: none;
}
[data-sf-block="sf-results-stats"] .result-stat h3 { font-size: 38px !important; margin-bottom: 6px; }
[data-sf-block="sf-results-stats"] .result-stat p { font-size: 13.5px !important; color: rgba(255, 255, 255, .86) !important; line-height: 1.55; }

/* ------------------------------------------------------------------ */
/*  Reused sf-service-overview reskin (About page split sections)       */
/* ------------------------------------------------------------------ */

/* sf-service-overview/style.css is a dark shell by default (white h2 on
   transparent, #161616 media panel) and loads after this stylesheet, so
   conflicts need !important. */
[data-sf-block="sf-service-overview"] .service-overview {
  max-width: 1240px !important; /* the engine's 1200px put its left edge 20px off the other sections */
  padding: 96px 64px !important; /* standard section rhythm, also under the last one before the footer */
}
@media (max-width: 1240px) { [data-sf-block="sf-service-overview"] .service-overview { padding: 96px 40px !important; } }
@media (max-width: 900px)  { [data-sf-block="sf-service-overview"] .service-overview { padding: 64px 28px !important; } }
@media (max-width: 620px)  { [data-sf-block="sf-service-overview"] .service-overview { padding: 40px 18px !important; } }
[data-sf-block="sf-service-overview"] .overview-grid { gap: var(--bb-head-gap) 56px !important; } /* row gap when text and photo stack */
[data-sf-block="sf-service-overview"] .section-badge {
  display: inline-block;
  background: none !important;
  font-family: var(--bb-font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--bb-blue) !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 12px;
  padding: 0 !important;
}
[data-sf-block="sf-service-overview"] .overview-text h2 { font-size: var(--bb-h2) !important; color: var(--bb-ink) !important; line-height: var(--bb-h2-lh); margin: 0 0 16px !important; }
[data-sf-block="sf-service-overview"] .overview-text p { font-size: 15.5px !important; color: var(--bb-body) !important; line-height: 1.7 !important; }
[data-sf-block="sf-service-overview"] .overview-tagline { color: var(--bb-blue) !important; }
[data-sf-block="sf-service-overview"] .overview-media,
[data-sf-block="sf-service-overview"] .overview-img {
  background: none !important;
  border: none !important;
  min-height: 0 !important;
  border-radius: var(--bb-radius-card) !important;
}
[data-sf-block="sf-service-overview"] .overview-img img,
[data-sf-block="sf-service-overview"] .overview-media img {
  height: auto; /* the width/height attributes would otherwise squash it at width:100% */
  border-radius: var(--bb-radius-card);
  box-shadow: none !important; /* no grey shade under the photos */
}

/* Photo grid that tilts toward the cursor (About "Ons verhaal", class bb-photo-tilt in the
   page content). Every photo always shows its caption (no ring around the photos). The
   photo you point at tilts and zooms a little; the others step back. Tap does the same on phones. Script:
   includes/site-birthdaybanner-launch.php ("Photo tilt"). */
.bb-photo-tilt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; perspective: 900px; }
.bb-photo-tilt figure {
  position: relative;
  margin: 0;
  height: 210px;
  border-radius: var(--bb-radius-card);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .35s var(--bb-ease), opacity .3s var(--bb-ease), filter .3s var(--bb-ease);
}
.bb-photo-tilt figure:nth-child(even) { margin-top: 26px; }
.bb-photo-tilt figure:nth-child(n+3) { height: 180px; }
[data-sf-block="sf-service-overview"] .bb-photo-tilt figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .6s var(--bb-ease);
}
.bb-photo-tilt figure:nth-child(4) img { object-position: left center; }
.bb-photo-tilt figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 11px;
  border-radius: var(--bb-radius-pill);
  background: rgba(15, 18, 34, .45);
  border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  font-family: var(--bb-font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bb-white);
  white-space: nowrap;
}
.bb-photo-tilt.has-on figure:not(.is-on) { opacity: .55; filter: saturate(.6); }
[data-sf-block="sf-service-overview"] .bb-photo-tilt figure.is-on img { transform: scale(1.06); }
.bb-photo-tilt figure:focus-visible { outline: 3px solid var(--bb-blue); outline-offset: 3px; }
@media (max-width: 420px) {
  .bb-photo-tilt figure { height: 160px; }
  .bb-photo-tilt figure:nth-child(n+3) { height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-photo-tilt figure, .bb-photo-tilt figure img { transition: none; }
  .bb-photo-tilt figure { transform: none !important; }
  [data-sf-block="sf-service-overview"] .bb-photo-tilt figure.is-on img { transform: none; }
}
[data-sf-block="sf-service-overview"] .overview-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
/* Engine block, so no .bb-btn classes in its markup: give its buttons the
   site button system here (Primary, Secondary, text link). */
[data-sf-block="sf-service-overview"] .overview-buttons .btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent !important;
  border-radius: var(--bb-radius-pill);
  font-family: var(--bb-font-heading); font-size: 15px; font-weight: 600; line-height: 1.1;
  text-decoration: none !important;
  transition: transform .2s var(--bb-ease), box-shadow .2s var(--bb-ease), background-color .2s var(--bb-ease);
}
[data-sf-block="sf-service-overview"] .overview-buttons .btn:hover { transform: translateY(-2px); }
[data-sf-block="sf-service-overview"] .overview-buttons .btn:focus-visible { outline: 3px solid #4F82C3; outline-offset: 3px; }
[data-sf-block="sf-service-overview"] .overview-buttons .btn-primary {
  padding: 0 6px 0 24px;
  background: var(--bb-btn-grad) border-box !important;
  border-color: rgba(255, 255, 255, .35) !important;
  color: var(--bb-white) !important;
  box-shadow: var(--bb-btn-shadow);
}
[data-sf-block="sf-service-overview"] .overview-buttons .btn-primary:hover { box-shadow: var(--bb-btn-shadow-hi); }
[data-sf-block="sf-service-overview"] .overview-buttons .btn-primary::before {
  content: ""; position: absolute; inset: 0 0 52% 0; z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
}
[data-sf-block="sf-service-overview"] .overview-buttons .btn-primary::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #fff var(--bb-arrow-black) center / 18px no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
[data-sf-block="sf-service-overview"] .overview-buttons .btn-white,
[data-sf-block="sf-service-overview"] .overview-buttons .btn-outline-white {
  background: #EDF2F9 !important;
  color: #1F3F6B !important;
}
[data-sf-block="sf-service-overview"] .overview-buttons .btn-white:hover,
[data-sf-block="sf-service-overview"] .overview-buttons .btn-outline-white:hover { background: #E1EAF6 !important; }
/* Text link: hide the typed arrow, draw the arrow dot. */
[data-sf-block="sf-service-overview"] .sf-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--bb-font-heading); font-size: 15px; font-weight: 600; color: #3A6BAA !important; text-decoration: none !important; }
[data-sf-block="sf-service-overview"] .sf-link-arrow > span[aria-hidden] { display: none; }
[data-sf-block="sf-service-overview"] .sf-link-arrow::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #EDF2F9 var(--bb-arrow-blue) center / 14px no-repeat; transition: background .2s var(--bb-ease); }
[data-sf-block="sf-service-overview"] .sf-link-arrow:hover::after { background: var(--bb-arrow-white) center / 14px no-repeat, var(--bb-btn-grad); }

/* ================================================================
   Plain text pages (page.php: Privacybeleid, Algemene voorwaarden).
   page.php uses Tailwind classes but the site ships no Tailwind build,
   so the text ran edge to edge. Cart, checkout and account are
   .woocommerce-page and keep their own layout (bb-order-shared.css).
   ================================================================ */
body.page-template-default:not(.woocommerce-page) main > .max-w-4xl {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}
body.page-template-default:not(.woocommerce-page) article > h1 {
  margin: 0 0 24px;
  font-family: var(--bb-font-heading);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  color: var(--bb-ink);
  text-wrap: balance;
}
body.page-template-default:not(.woocommerce-page) .prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--bb-body);
}
body.page-template-default:not(.woocommerce-page) .prose h2 {
  margin: 36px 0 10px;
  font-family: var(--bb-font-heading);
  font-size: 22px;
  line-height: 1.25;
  color: var(--bb-ink);
}
body.page-template-default:not(.woocommerce-page) .prose p { margin: 0 0 14px; }
body.page-template-default:not(.woocommerce-page) .prose ul { margin: 0 0 14px; padding-left: 22px; }
body.page-template-default:not(.woocommerce-page) .prose li { margin: 0 0 6px; }
body.page-template-default:not(.woocommerce-page) .prose a { color: var(--bb-blue); }
@media (max-width: 600px) {
  body.page-template-default:not(.woocommerce-page) main > .max-w-4xl { padding: 32px 16px 64px; }
  body.page-template-default:not(.woocommerce-page) .prose { font-size: 16px; }
}

/* ================================================================
   404 page (404.php): full-bleed gradient header like the other pages,
   runs up under the floating pill (see "Full-bleed heroes").
   ================================================================ */
.bb-404 {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: calc(40px + var(--bb-nav-h)) 24px 64px;
  background: var(--bb-gradient-135);
  text-align: center;
}
.bb-404-orb { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.bb-404-orb-1 { top: -80px; right: -60px; width: 320px; height: 320px; }
.bb-404-orb-2 { bottom: -60px; left: 6%; width: 220px; height: 220px; background: rgba(255, 255, 255, .06); }
.bb-404-inner { position: relative; z-index: 1; max-width: 640px; }
.bb-404-code {
  margin: 0;
  font-family: var(--bb-font-heading);
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  color: rgba(255, 255, 255, .22);
}
.bb-404 h1 {
  margin: 8px 0 16px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  color: var(--bb-white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.bb-404-sub { margin: 0 auto; max-width: 520px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.bb-404-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin: 28px auto 0;
  padding: 0 20px;
  height: 52px;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-white);
  color: var(--bb-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}
.bb-404-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--bb-ink);
}
.bb-404-search:focus-within { outline: 2px solid var(--bb-white); outline-offset: 3px; }
.bb-404-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }


/* ================================================================
   WooCommerce shop + product pages (.sfwc-main wrapper from the
   salesfision-woocommerce plugin). Its Tailwind utility classes are not
   in the compiled tailwind.css, so the layout is set here in brand
   tokens instead. The .woocommerce body class prefix outranks
   WooCommerce's own stylesheets (e.g. `.woocommerce a.button.alt`).
   ================================================================ */
.woocommerce .sfwc-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 40px 96px;
  font-family: var(--bb-font-body);
  color: var(--bb-body);
}
.woocommerce .sfwc-main .woocommerce-breadcrumb {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--bb-muted);
}
.woocommerce .sfwc-main .woocommerce-breadcrumb a { color: var(--bb-blue); text-decoration: none; }
.woocommerce .sfwc-main .woocommerce-products-header { margin-bottom: 6px; }
.woocommerce .sfwc-main .page-title,
.woocommerce .sfwc-main .product_title {
  margin: 0 0 8px;
  font-family: var(--bb-font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--bb-ink);
}
.woocommerce .sfwc-main .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--bb-muted); }
.woocommerce .sfwc-main .woocommerce-ordering { margin: 0 0 28px; float: right; }
.woocommerce .sfwc-main .woocommerce-result-count { float: left; line-height: 44px; }
.woocommerce .sfwc-main .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  padding: 0 44px 0 18px;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-pill);
  background: var(--bb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
  font: 500 14px var(--bb-font-body);
  color: var(--bb-ink);
  cursor: pointer;
}
.woocommerce .sfwc-main .woocommerce-ordering select:focus-visible { outline: 2px solid var(--bb-blue); outline-offset: 2px; }

/* Product grid */
.woocommerce .sfwc-main ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce .sfwc-main ul.products::before,
.woocommerce .sfwc-main ul.products::after { display: none; }
.woocommerce .sfwc-main ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-card);
  background: var(--bb-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  transition: transform .25s var(--bb-ease), box-shadow .25s var(--bb-ease);
}
.woocommerce .sfwc-main ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .10); }
.woocommerce .sfwc-main ul.products li.product > a:first-child { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.woocommerce .sfwc-main ul.products li.product img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  margin: 0 0 18px;
  object-fit: cover;
}
.woocommerce .sfwc-main ul.products li.product .woocommerce-loop-product__title {
  margin: 0 22px 6px;
  padding: 0;
  font-family: var(--bb-font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--bb-ink);
}
.woocommerce .sfwc-main ul.products li.product .price {
  display: block;
  margin: 0 22px 16px;
  font-family: var(--bb-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--bb-blue);
}
/* Note above the button, button pinned to the card bottom, so buttons line
   up across cards whether or not a card has a note. */
.woocommerce .sfwc-main ul.products li.product .bb-loop-note { order: 1; margin: 0 22px 18px; font-size: 13px; line-height: 1.5; color: var(--bb-muted); }
.woocommerce .sfwc-main ul.products li.product .bb-loop-personalise { order: 2; margin: auto 22px 0; align-self: flex-start; }

/* WooCommerce buttons in the shared button system: the "Personaliseer" and
   order buttons are Primary (gradient + white arrow circle), every other
   WooCommerce button is Secondary (soft blue). */
.woocommerce .sfwc-main .button,
.woocommerce-cart .button,
.woocommerce-checkout .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--bb-radius-pill);
  background: #EDF2F9;
  box-shadow: none;
  font-family: var(--bb-font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: #1F3F6B;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: transform .2s var(--bb-ease), background-color .2s var(--bb-ease), box-shadow .2s var(--bb-ease);
}
.woocommerce .sfwc-main .button:hover,
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover { transform: translateY(-2px); background: #E1EAF6; color: #1F3F6B; }

.woocommerce .sfwc-main ul.products li.product .bb-loop-personalise,
.woocommerce .sfwc-main a.button.alt.bb-product-cta-btn,
.woocommerce-checkout #payment #place_order {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 14px;
  min-height: 52px;
  padding: 0 6px 0 24px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: var(--bb-btn-grad) border-box;
  color: var(--bb-white);
  font-size: 15px;
  box-shadow: var(--bb-btn-shadow);
}
.woocommerce .sfwc-main ul.products li.product .bb-loop-personalise::before,
.woocommerce .sfwc-main a.button.alt.bb-product-cta-btn::before,
.woocommerce-checkout #payment #place_order::before {
  content: "";
  position: absolute;
  inset: 0 0 52% 0;
  z-index: -1;
  background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
}
.woocommerce .sfwc-main ul.products li.product .bb-loop-personalise::after,
.woocommerce .sfwc-main a.button.alt.bb-product-cta-btn::after,
.woocommerce-checkout #payment #place_order::after {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff var(--bb-arrow-black) center / 18px no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.woocommerce .sfwc-main ul.products li.product .bb-loop-personalise:hover,
.woocommerce .sfwc-main a.button.alt.bb-product-cta-btn:hover,
.woocommerce-checkout #payment #place_order:hover { background: var(--bb-btn-grad) border-box; color: var(--bb-white); box-shadow: var(--bb-btn-shadow-hi); }
.woocommerce-checkout #payment #place_order { display: flex; width: 100%; justify-content: space-between; }

/* Single product */
.woocommerce .sfwc-main div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
/* #content: WooCommerce sizes these with `.woocommerce #content div.product
   div.summary` (48%), and the theme's <main> is #content. */
.woocommerce .sfwc-main div.product .woocommerce-product-gallery,
.woocommerce .sfwc-main div.product .summary,
.woocommerce #content .sfwc-main div.product div.images,
.woocommerce #content .sfwc-main div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce .sfwc-main div.product .woocommerce-product-gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--bb-radius-card);
  background: var(--bb-surface);
}
.woocommerce .sfwc-main div.product .woocommerce-product-gallery img { display: block; width: 100%; height: auto; }
/* Main photo rounds with its frame (the plugin's 12px left uneven corners). */
.woocommerce .sfwc-main div.product .woocommerce-product-gallery__image img { border-radius: var(--bb-radius-card); }
.woocommerce .sfwc-main div.product .woocommerce-product-gallery__trigger {
  position: absolute; top: 16px; right: 16px; z-index: 2;
}
.woocommerce .sfwc-main div.product .summary .price {
  margin: 0 0 18px;
  font-family: var(--bb-font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--bb-blue);
}
.woocommerce .sfwc-main div.product .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.7; }
.woocommerce .sfwc-main .bb-product-placement {
  display: inline-block;
  margin: 4px 0 14px;
  padding: 5px 12px;
  border-radius: var(--bb-radius-pill);
  background: var(--bb-blue-15);
  font-family: var(--bb-font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--bb-blue);
}
.woocommerce .sfwc-main .bb-product-sizes { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.woocommerce .sfwc-main .bb-product-sizes a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-inner);
  background: var(--bb-white);
  font-size: 15px;
  color: var(--bb-ink);
  text-decoration: none;
  transition: border-color .18s var(--bb-ease), background .18s var(--bb-ease);
}
.woocommerce .sfwc-main .bb-product-sizes a:hover { border-color: var(--bb-blue); background: var(--bb-surface-blue); }
.woocommerce .sfwc-main .bb-product-sizes a span:first-child { font-weight: 600; }
.woocommerce .sfwc-main .bb-product-sizes a span:nth-child(2) { color: var(--bb-muted); }
.woocommerce .sfwc-main .bb-product-sizes strong { font-family: var(--bb-font-heading); color: var(--bb-blue); }
/* SKU and the "Uncategorized" category mean nothing to a customer. */
.woocommerce .sfwc-main .product_meta { display: none; }
.woocommerce .sfwc-main .woocommerce-tabs,
.woocommerce .sfwc-main .related { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .woocommerce .sfwc-main { padding: 28px 24px 72px; }
  .woocommerce .sfwc-main div.product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .woocommerce .sfwc-main { padding: 20px 18px 56px; }
  .woocommerce .sfwc-main .woocommerce-ordering,
  .woocommerce .sfwc-main .woocommerce-result-count { float: none; }
  .woocommerce .sfwc-main .woocommerce-ordering { margin: 10px 0 20px; }
  .woocommerce .sfwc-main .bb-product-sizes a { grid-template-columns: 1fr auto; }
  .woocommerce .sfwc-main .bb-product-sizes a span:first-child { grid-column: 1 / -1; }
}
