.scrubbie-header {
  --dark: #042d35;
  --teal: #063f4a;
  --gold: #f9c947;
  --aqua: #4df3ef;
  --white: #f8ffff;
  --soft: #d1eded;
  --rule: #2a636b;
}

.scrubbie-header, .scrubbie-header * {
  box-sizing: border-box;
}

body:has(.scrubbie-header) {
  background: radial-gradient(ellipse at 74% 7%,#0c6470 0%,#063f4a 43%,#042d35 81%) fixed;
}

.scrubbie-header a:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.scrubbie-header {
  width: min(1280px,calc(100% - 56px));
  margin: 16px auto 0;
  color: var(--white);
  font: 16px/1.5 Arial,sans-serif;
}

.scrubbie-header .campaign {
  display: grid;
  grid-template-columns: minmax(0,515px) minmax(0,475px);
  justify-content: center;
  align-items: center;
  gap: clamp(24px,3vw,44px);
  padding: 12px 24px 20px;
}

.scrubbie-header .message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 12px;
  text-align: center;
}

.scrubbie-header .brand {
  position: relative;
  width: clamp(117px,14vw,165px);
  aspect-ratio: 1455/1565;
  overflow: hidden;
  margin: 0 0 12px;
}

.scrubbie-header .brand img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 140.75%;
  max-width: none;
  height: auto;
  transform: translate(-14.45%,-11.48%);
}

.scrubbie-header .brand .brand-light {
  clip-path: inset(72% 0 0);
  filter: brightness(0) invert(1);
}

.scrubbie-header h1 {
  margin: 0;
  color: var(--white);
  font: 900 italic clamp(34px,4.35vw,62px)/.96 Georgia,serif;
  letter-spacing: -.045em;
  padding-top: 25px;
}

.scrubbie-header h1 span {
  display: block;
  color: var(--aqua);
}

.scrubbie-header .deck {
  max-width: 39ch;
  margin: 12px 0 14px;
  color: var(--soft);
  font-size: 15px;
}

.scrubbie-header .scrubbie-shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 9px 19px;
  border: 1px solid #b67d10;
  border-radius: 99px;
  background: linear-gradient(#ffe68b,#f8c544);
  color: #182e31;
  font-weight: 800;
  text-decoration: none;
}

.scrubbie-header .scrubbie-shop-button:hover {
  background: #ffe89e;
}

.scrubbie-header .stage {
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 15px;
  background: #062e35;
  box-shadow: 0 12px 25px #001c21;
}

.scrubbie-header .stage-photo {
  position: relative;
  aspect-ratio: 548/430;
  overflow: hidden;
  background: #d5ccbe;
}

.scrubbie-header .stage-photo video {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.scrubbie-header .stage-photo {
    aspect-ratio: auto;
    padding: 0;
    margin-top: 65px;
    margin-right: 60px;
    border: 4px solid var(--gold, #f9c947);
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.scrubbie-header .stage {
  border: 1px solid var(--gold);
  border-radius: 15px;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .scrubbie-header .stage {
    margin-top: 25px;
    margin-right: 25px;
    max-width: calc(100% - 25px);
    justify-self: end;
  }
}

.scrubbie-header .stage figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  color: var(--white);
}

.scrubbie-header .stage figcaption strong {
  font-size: 14px;
}

.scrubbie-header .stage-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fbe29f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scrubbie-header .stage-label svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scrubbie-header .product-scene {
  margin: 0;
  aspect-ratio: 1080/298;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  border-radius: 15px 15px 0 0;
  background: #f6efe5;
}

.scrubbie-header .product-scene img {
  display: block;
  width: 100%;
  transform: translateY(-53%);
  height: auto;
}

.scrubbie-header .benefits {
  margin: 0;
  padding: 14px 18px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--rule);
}

.scrubbie-header .benefits li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font: 700 clamp(16px,2.4vw,26px)/1.15 Georgia,serif;
  text-align: center;
}

.scrubbie-header .benefits li+li {
  border-left: 1px solid var(--rule);
}

.scrubbie-header .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid #e7ad21;
  border-radius: 50%;
  background: #08424b;
  color: white;
}

.scrubbie-header .icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.scrubbie-header .offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  background: #073740;
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin-top: 14px;
}

.scrubbie-header .offer p {
  margin: 0;
}

.scrubbie-header .offer strong {
  display: block;
  font-size: 18px;
  color: #ffe09a;
}

.scrubbie-header .offer small {
  font-size: 14px;
  color: var(--soft);
}

.scrubbie-header .offer a {
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 850px) {

  .scrubbie-header {
    width: calc(100% - 28px);
    margin-top: 10px;
  }

  .scrubbie-header .message {
    padding: 18px 8px;
  }

}

@media (max-width: 650px) {

  .scrubbie-header {
    width: 100%;
    margin-top: 0;
  }

  .scrubbie-header .campaign {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    padding: 0 0 15px;
  }

  .scrubbie-header .message {
    padding: 18px 14px 16px;
  }

  .scrubbie-header .brand {
    width: 104px;
    margin-bottom: 9px;
  }

  .scrubbie-header h1 {
    font-size: clamp(33px,9.5vw,50px);
  }

  .scrubbie-header .deck {
    margin: 10px 0 12px;
  }

  .scrubbie-header .stage {
    width: min(calc(100% - 52px),355px);
  }

  .scrubbie-header .stage-photo {
    aspect-ratio: 548/400;
  }

  .scrubbie-header .stage figcaption {
    padding: 8px 11px;
  }

  .scrubbie-header .product-scene {
    border-radius: 0;
  }

  .scrubbie-header .offer {
    margin-inline: 12px;
  }

}

@media (max-width: 520px) {

  .scrubbie-header .benefits {
    padding: 13px 8px;
  }

  .scrubbie-header .benefits li {
    flex-direction: column;
    gap: 5px;
    font-size: 15px;
  }

  .scrubbie-header .icon {
    width: 36px;
    height: 36px;
  }

  .scrubbie-header .icon svg {
    width: 20px;
    height: 20px;
  }

  .scrubbie-header .offer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }

  .scrubbie-header .offer strong {
    font-size: 16px;
  }

}

body.single-elementor_library:has(.scrubbie-header) .page-header .entry-title {
  display: none !important;
}

body:has(.scrubbie-header) #scrubbie-products {
  scroll-margin-top: 100px;
}

@media (min-width: 1200px) {
  .scrubbie-header {
    width: 100%;
    max-width: none;
    padding-inline: 50px;
    margin-top: 0;
  }

  .scrubbie-header .campaign {
    position: relative;
    isolation: isolate;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 64px);
    padding: 56px 0 18px;
  }

  /* Stretch source rows 51%–53% to join the photo at its 53% crop. */
  .scrubbie-header .campaign::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 50px 0 0;
    pointer-events: none;
    border-radius: 16px 16px 0 0;
    background-image:
      linear-gradient(to bottom, rgb(0 0 0 / 58%), transparent 45%),
      url("../images/scrubbie-lineup.webp");
    background-size: 100% 100%, 100% 5000%;
    background-position: center, center 52.040816%;
    background-repeat: no-repeat;
  }

  .scrubbie-header .message {
    padding: 12px;
  }

.scrubbie-header .brand {
  width: min(340px, 100%);
 
}

  .scrubbie-header h1 {
    font-size: clamp(56px, 3.8vw, 69px);
    color: var(--dark);
  }

  .scrubbie-header h1 span {
    color: var(--teal);
  }

  .scrubbie-header .brand .brand-light {
    display: none;
  }

  .scrubbie-header .deck {
    max-width: 49ch;
    color: var(--dark);
  }

  .scrubbie-header .stage {
    width: min(100%, clamp(460px, 33vw, 620px));
    margin-top: 32px !important;
  }

  .scrubbie-header .stage-photo {
  aspect-ratio: auto;
  max-width: 950px;
  justify-self: center;
}

  .scrubbie-header .stage-photo {
    aspect-ratio: 4 / 3;
  }
  .scrubbie-header .product-scene {
    border-top: 0;
    border-radius: 0;
  }

  .scrubbie-header .campaign {
  grid-template-columns: minmax(0, 1fr) min(52vw, 910px);
}

.scrubbie-header .stage-photo {
  width: min(500px, calc(100% - 60px));
max-width: 500px;
}
}

@media (min-width: 1200px) {
  .scrubbie-header .scrubbie-hero-art {
    margin-top: 50px;
    border-radius: 16px 16px 0 0;
    background:
      linear-gradient(to bottom, rgb(0 0 0 / 18%), transparent 30%),
      url("../images/scrubbie-kitchen-hero-v2.png") center bottom / 125% auto no-repeat;
  }

.scrubbie-header .campaign {
  grid-template-columns: minmax(0, 1fr) min(48vw, 820px);
}

.scrubbie-header .stage-photo {
  aspect-ratio: auto;
  width: min(760px, calc(100% - 60px));
  max-width: 760px;
  justify-self: center;
}

  .scrubbie-header .campaign {
    padding-top: 6px;
  }

  .scrubbie-header .campaign::before {
    content: none;
  }

  .scrubbie-header .product-scene {
    background: transparent;
  }

  .scrubbie-header .product-scene img {
    opacity: 0;
  }
}
