/* Scope every rule to campaign content. Original hero has no matching descendant. */
.ozb-bbd {
  --bbd-char: #1c1b19;
  --bbd-paper: #ffffff;
  --bbd-muted: #d9d3c9;
  --bbd-red: #c8202f;
  --bbd-red-hover: #a51a26;
  --bbd-line: #8a8680;
  color: var(--bbd-paper);
  font-family: var(--ozb-font, "Archivo", Arial, sans-serif);
  text-align: left;
  max-width: 620px;
  min-width: 0;
}
.ozb-bbd, .ozb-bbd * { box-sizing: border-box; }
:root:not(#ozb) .ozb-bbd .ozb-bbd__eyebrow {
  margin: 0 0 8px; color: var(--bbd-muted); font-size: 12px;
  font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase;
}
:root:not(#ozb) .ozb-bbd h1.ozb-bbd__title {
  margin: 0 0 12px; color: var(--bbd-paper); font-family: inherit;
  font-size: clamp(42px, 6.4vw, 76px); font-stretch: 78%; font-weight: 750;
  line-height: 1; letter-spacing: -.025em; text-wrap: balance;
}
:root:not(#ozb) .ozb-bbd .ozb-bbd__lead {
  margin: 0 0 18px; color: var(--bbd-paper); max-width: 31em;
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5;
}
:root:not(#ozb) .ozb-bbd :is(a.ozb-bbd__shop, a.ozb-bbd__recipe) {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; max-width: 100%; padding: 12px 22px; margin: 0;
  border: 1px solid transparent; border-radius: 99px; background: var(--bbd-red);
  color: #fff; text-decoration: none; font-size: 16px; font-weight: 650; line-height: 1.5;
}
:root:not(#ozb) .ozb-bbd a.ozb-bbd__shop:hover { background: var(--bbd-red-hover); }
:root:not(#ozb) .ozb-bbd :is(a, button):focus-visible {
  outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 6px var(--bbd-char);
}
.ozb-bbd .ozb-bbd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
:root:not(#ozb) .ozb-bbd a.ozb-bbd__recipe { background: transparent; border-color: #fff; }
:root:not(#ozb) .ozb-bbd a.ozb-bbd__recipe:hover { background: #fff; color: var(--bbd-char); }
.ozb-bbd .ozb-bbd__example {
  padding: 14px; margin: 0; border: 1px solid var(--bbd-line);
  border-radius: 10px; background: rgb(28 27 25 / .96);
}
.ozb-bbd .ozb-bbd__example-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
:root:not(#ozb) .ozb-bbd h2.ozb-bbd__label {
  color: #fff; font: 650 16px/1.4 var(--ozb-font, "Archivo", Arial, sans-serif); margin: 0;
}
.ozb-bbd .ozb-bbd__tag { color: var(--bbd-muted); font-size: 12px; line-height: 1.5; }
:root:not(#ozb) .ozb-bbd .ozb-bbd__explanation { color: var(--bbd-muted); margin: 6px 0 10px; font-size: 13px; line-height: 1.5; }
:root:not(#ozb) .ozb-bbd .ozb-bbd__tiers {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px; margin: 0; padding: 0; list-style: none;
}
:root:not(#ozb) .ozb-bbd .ozb-bbd__tier {
  display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 8px 10px 12px;
  border: 1px solid var(--bbd-line); border-radius: 8px; color: #fff;
  background: #2a2825; min-width: 0; position: relative;
}
.ozb-bbd .ozb-bbd__tier::after {
  content: ""; position: absolute; inset: auto 10px 5px; height: 2px;
  background: var(--bbd-muted); transform: scaleX(0); transform-origin: left;
}
.ozb-bbd .ozb-bbd__tier.is-demonstrating::after { transform: scaleX(1); transition: transform 650ms ease-out; }
.ozb-bbd .ozb-bbd__spend { font-size: 14px; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ozb-bbd .ozb-bbd__rate { color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 750; }
.ozb-bbd .ozb-bbd__saving { color: var(--bbd-muted); font-size: 12px; line-height: 1.5; }
:root:not(#ozb) .ozb-bbd .ozb-bbd__note { margin: 10px 0 0; color: var(--bbd-muted); font-size: 12px; line-height: 1.5; }
:root:not(#ozb) .ozb-bbd button.ozb-bbd__replay {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0;
  margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  color: #fff; font: 600 13px/1.5 var(--ozb-font, "Archivo", Arial, sans-serif);
  letter-spacing: normal; text-transform: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.ozb-bbd .ozb-bbd__controls { min-height: 44px; }
:root:not(#ozb) .ozb-bbd button[hidden] { display: none; }
/* Keep the captured image, crop and lower-left alignment. Only campaign descendants
   opt in. Normal flow lets long text/zoom grow the hero instead of clipping inside
   Flatsome's fixed-height, absolutely positioned layers. Stored shortcode sizes stay intact. */
:root:not(#ozb) .ozb-hero:has(.ozb-bbd) {
  --bbd-hero-height: 640px;
  padding-top: 0 !important;
  height: auto !important;
}
:root:not(#ozb) .ozb-hero:has(.ozb-bbd) > .banner-inner {
  position: relative !important; inset: auto !important; height: auto !important;
}
:root:not(#ozb) .ozb-hero:has(.ozb-bbd) .banner-layers {
  position: relative !important; height: auto !important;
  max-height: none; overflow: visible;
  min-height: var(--bbd-hero-height); box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 40px; padding-bottom: clamp(40px, 8vh, 80px);
}
:root:not(#ozb) .ozb-hero:has(.ozb-bbd) .text-box.ozb-hero__box {
  position: relative !important;
  inset: auto !important; transform: none !important; margin: 0 !important;
  width: 100% !important; max-width: 620px; max-height: none;
}
:root:not(#ozb) .ozb-hero:has(.ozb-bbd) .overlay {
  background: linear-gradient(90deg, rgb(12 10 8 / .88), rgb(12 10 8 / .65) 50%, rgb(12 10 8 / .28)),
    linear-gradient(0deg, rgb(12 10 8 / .7), transparent) !important;
}
@media (min-width: 550px) and (max-width: 849px) {
  :root:not(#ozb) .ozb-hero:has(.ozb-bbd) { --bbd-hero-height: 560px; }
}
@media (max-width: 549px) {
  :root:not(#ozb) .ozb-hero:has(.ozb-bbd) { --bbd-hero-height: 620px; }
  :root:not(#ozb) .ozb-hero:has(.ozb-bbd) .banner-layers { padding-block: 32px 28px; }
  :root:not(#ozb) .ozb-bbd .ozb-bbd__tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ozb-bbd .ozb-bbd__example { padding: 12px; }
  .ozb-bbd .ozb-bbd__actions { gap: 8px; margin-bottom: 16px; }
  :root:not(#ozb) .ozb-bbd :is(a.ozb-bbd__shop, a.ozb-bbd__recipe) { padding: 10px 16px; min-height: 44px; font-size: 14px; }
  :root:not(#ozb) .ozb-bbd .ozb-bbd__lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ozb-bbd .ozb-bbd__tier::after { transition: none !important; transform: none !important; }
  :root:not(#ozb) .ozb-bbd button.ozb-bbd__replay { display: none; }
}
.ozb-bbd .ozb-bbd__example {
  box-shadow:
    0 0 16px 2px rgb(200 32 47 / .26),
    -8px -4px 30px -8px rgb(224 38 48 / .28),
    10px 8px 38px -8px rgb(200 24 38 / .30),
    0 0 56px 4px rgb(180 18 32 / .14);
}
