/* ==========================================================================
   DNA Gold - Bacteriostatic Water Widgets
   Scoped port of the source landing page stylesheet.
   Every rule lives under .dnabw so it can never leak into the theme.
   ========================================================================== */

:root {
  --dnabw-ink: #151513;
  --dnabw-muted: #65635d;
  --dnabw-paper: #ffffff;
  --dnabw-wash: #f5f3ed;
  --dnabw-line: #dedbd2;
  --dnabw-gold: #bd9348;
  --dnabw-gold-dark: #8a652d;
  --dnabw-success: #446552;
  --dnabw-max: 1180px;
  --dnabw-gutter: 40px;
  --dnabw-font: Inter, Arial, Helvetica, sans-serif;
  --dnabw-font-head: Georgia, 'Times New Roman', serif;
}

/* Box-sizing guard. Covers the widget root and every descendant so a padding
   value entered in Elementor can never blow the layout past the viewport. */
:where(.dnabw),
:where(.dnabw) *,
:where(.dnabw) *::before,
:where(.dnabw) *::after {
  box-sizing: border-box;
}

.dnabw {
  color: var(--dnabw-ink);
  font-family: var(--dnabw-font);
  line-height: 1.55;
  letter-spacing: 0;
}

.dnabw img {
  display: block;
  max-width: 100%;
}

.dnabw a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.dnabw button {
  -webkit-tap-highlight-color: transparent;
}

/* Container ------------------------------------------------------------- */
.dnabw .dnabw-wrap {
  width: min(calc(100% - var(--dnabw-gutter)), var(--dnabw-max));
  margin-right: auto;
  margin-left: auto;
}

/* Shared type ----------------------------------------------------------- */
.dnabw .dnabw-h {
  margin-top: 0;
  font-family: var(--dnabw-font-head);
  font-weight: 500;
  line-height: 1.12;
}

.dnabw .dnabw-h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 70px);
}

.dnabw .dnabw-h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 3vw, 44px);
}

.dnabw .dnabw-h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.dnabw .dnabw-eyebrow {
  margin: 0 0 12px;
  color: var(--dnabw-gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.dnabw .dnabw-lead {
  max-width: 680px;
  margin: 0 0 20px;
  color: #46443f;
  font-size: 18px;
}

.dnabw .dnabw-copy {
  max-width: 700px;
  color: #4f4d47;
}

.dnabw .dnabw-copy p {
  margin-top: 0;
}

.dnabw .dnabw-copy p:last-child {
  margin-bottom: 0;
}

/* Buttons --------------------------------------------------------------- */
.dnabw .dnabw-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.dnabw .dnabw-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--dnabw-ink);
  border-radius: 4px;
  color: #fff !important;
  background: var(--dnabw-ink);
  font-family: var(--dnabw-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.dnabw .dnabw-btn:hover,
.dnabw .dnabw-btn:focus {
  border-color: var(--dnabw-gold-dark);
  background: var(--dnabw-gold-dark);
  color: #fff !important;
}

.dnabw .dnabw-btn--secondary {
  color: var(--dnabw-ink) !important;
  background: transparent;
}

.dnabw .dnabw-btn--secondary:hover,
.dnabw .dnabw-btn--secondary:focus {
  color: #fff !important;
  border-color: var(--dnabw-ink);
  background: var(--dnabw-ink);
}

.dnabw .dnabw-btn:focus-visible {
  outline: 2px solid var(--dnabw-gold-dark);
  outline-offset: 2px;
}

/* Notice bar ------------------------------------------------------------ */
.dnabw-notice {
  padding: 9px 20px;
  color: #fff;
  background: var(--dnabw-ink);
  font-size: 13px;
  text-align: center;
}

/* Hero ------------------------------------------------------------------ */
.dnabw-hero {
  padding: 62px 0 52px;
  background: linear-gradient(90deg, #fff 0 58%, var(--dnabw-wash) 58% 100%);
}

.dnabw .dnabw-hero__grid {
  --dnabw-hero-left: 1.05fr;
  --dnabw-hero-right: .95fr;
  --dnabw-hero-min: 360px;
  display: grid;
  grid-template-columns: minmax(0, var(--dnabw-hero-left)) minmax(var(--dnabw-hero-min), var(--dnabw-hero-right));
  align-items: center;
  gap: 58px;
}

.dnabw .dnabw-usenote {
  margin: 22px 0;
  padding: 15px 17px;
  border-left: 4px solid var(--dnabw-gold);
  background: var(--dnabw-wash);
  font-size: 14px;
  font-weight: 650;
}

.dnabw .dnabw-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e6e1d6;
  border-radius: 6px;
  background: #f7f4ed;
}

.dnabw .dnabw-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dnabw .dnabw-visual__tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 3px;
  color: #fff;
  background: rgba(21, 21, 19, .82);
  font-size: 12px;
}

/* Trust bar ------------------------------------------------------------- */
.dnabw-trustbar {
  border-top: 1px solid var(--dnabw-line);
  border-bottom: 1px solid var(--dnabw-line);
  background: #fff;
}

.dnabw .dnabw-trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dnabw .dnabw-trustbar__item {
  min-height: 92px;
  padding: 22px;
  border-right: 1px solid var(--dnabw-line);
}

.dnabw .dnabw-trustbar__item:last-child {
  border-right: 0;
}

.dnabw .dnabw-trustbar__title {
  display: block;
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 750;
}

.dnabw .dnabw-trustbar__text {
  color: var(--dnabw-muted);
  font-size: 13px;
}

/* Generic section ------------------------------------------------------- */
.dnabw-section {
  padding: 76px 0;
  background: var(--dnabw-paper);
}

.dnabw-section--alt {
  background: var(--dnabw-wash);
}

.dnabw .dnabw-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;
}

/* Specifications list --------------------------------------------------- */
.dnabw .dnabw-specs {
  margin: 0;
  border-top: 1px solid var(--dnabw-line);
}

.dnabw .dnabw-specs__row {
  --dnabw-spec-label: 180px;
  display: grid;
  grid-template-columns: var(--dnabw-spec-label) 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dnabw-line);
}

.dnabw .dnabw-specs__dt {
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.dnabw .dnabw-specs__dd {
  margin: 0;
  color: #4f4d47;
}

/* Benefits -------------------------------------------------------------- */
.dnabw .dnabw-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.dnabw .dnabw-benefit {
  padding: 24px 0;
  border-top: 2px solid var(--dnabw-gold);
}

.dnabw .dnabw-benefit p {
  margin: 0;
  color: var(--dnabw-muted);
}

/* Product box ----------------------------------------------------------- */
.dnabw .dnabw-pbox {
  --dnabw-pbox-img: 180px;
  display: grid;
  grid-template-columns: var(--dnabw-pbox-img) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--dnabw-line);
  border-radius: 6px;
  background: #fff;
}

.dnabw .dnabw-pbox img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.dnabw .dnabw-pbox p {
  margin: 5px 0;
  color: var(--dnabw-muted);
}

.dnabw .dnabw-price {
  color: var(--dnabw-ink);
  font-size: 24px;
  font-weight: 750;
}

/* FAQ ------------------------------------------------------------------- */
.dnabw .dnabw-faq {
  border-top: 1px solid var(--dnabw-line);
}

.dnabw .dnabw-faq__item {
  border-bottom: 1px solid var(--dnabw-line);
}

.dnabw .dnabw-faq__q {
  position: relative;
  padding: 20px 34px 20px 4px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.dnabw .dnabw-faq__q::-webkit-details-marker {
  display: none;
}

.dnabw .dnabw-faq__q::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--dnabw-gold-dark);
  font-size: 22px;
  line-height: 1;
}

.dnabw .dnabw-faq__item[open] > .dnabw-faq__q::after {
  content: '\2212';
}

.dnabw .dnabw-faq__q:focus-visible {
  outline: 2px solid var(--dnabw-gold-dark);
  outline-offset: -2px;
}

.dnabw .dnabw-faq__a {
  max-width: 820px;
  margin: -5px 0 20px;
  color: var(--dnabw-muted);
}

/* Mobile sticky CTA ----------------------------------------------------- */
.dnabw-mcta {
  display: none;
}

.dnabw .dnabw-mcta .dnabw-btn {
  width: 100%;
}

.dnabw .dnabw-mcta__note {
  margin: 0 0 6px;
  color: var(--dnabw-muted);
  font-size: 12px;
  text-align: center;
}

/* "Always visible" option. */
.dnabw.dnabw-mcta-at-0 .dnabw-mcta {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 10px 14px;
  border-top: 1px solid var(--dnabw-line);
  background: #fff;
}

/* Colour scheme presets -------------------------------------------------- */
.dnabw.dnabw-scheme--paper > .elementor-widget-container > .dnabw-section,
.dnabw.dnabw-scheme--paper > .elementor-widget-container > .dnabw-hero,
.dnabw.dnabw-scheme--paper > .elementor-widget-container > .dnabw-trustbar,
.dnabw.dnabw-scheme--paper > .elementor-widget-container > .dnabw-notice {
  background: var(--dnabw-paper) !important;
  color: var(--dnabw-ink) !important;
}

.dnabw.dnabw-scheme--wash > .elementor-widget-container > .dnabw-section,
.dnabw.dnabw-scheme--wash > .elementor-widget-container > .dnabw-hero,
.dnabw.dnabw-scheme--wash > .elementor-widget-container > .dnabw-trustbar,
.dnabw.dnabw-scheme--wash > .elementor-widget-container > .dnabw-notice {
  background: var(--dnabw-wash) !important;
  color: var(--dnabw-ink) !important;
}

.dnabw.dnabw-scheme--ink > .elementor-widget-container > .dnabw-section,
.dnabw.dnabw-scheme--ink > .elementor-widget-container > .dnabw-hero,
.dnabw.dnabw-scheme--ink > .elementor-widget-container > .dnabw-trustbar,
.dnabw.dnabw-scheme--ink > .elementor-widget-container > .dnabw-notice {
  background: var(--dnabw-ink) !important;
  color: #f3f2ee !important;
}

.dnabw.dnabw-scheme--ink .dnabw-h,
.dnabw.dnabw-scheme--ink .dnabw-lead,
.dnabw.dnabw-scheme--ink .dnabw-copy,
.dnabw.dnabw-scheme--ink .dnabw-specs__dd,
.dnabw.dnabw-scheme--ink .dnabw-trustbar__text,
.dnabw.dnabw-scheme--ink .dnabw-benefit p,
.dnabw.dnabw-scheme--ink .dnabw-faq__a {
  color: #d9d7d1 !important;
}

.dnabw.dnabw-scheme--gold-tint > .elementor-widget-container > .dnabw-section,
.dnabw.dnabw-scheme--gold-tint > .elementor-widget-container > .dnabw-hero,
.dnabw.dnabw-scheme--gold-tint > .elementor-widget-container > .dnabw-trustbar,
.dnabw.dnabw-scheme--gold-tint > .elementor-widget-container > .dnabw-notice {
  background: #f6efe1 !important;
  color: var(--dnabw-ink) !important;
}

.dnabw.dnabw-scheme--split > .elementor-widget-container > .dnabw-section,
.dnabw.dnabw-scheme--split > .elementor-widget-container > .dnabw-hero,
.dnabw.dnabw-scheme--split > .elementor-widget-container > .dnabw-trustbar {
  background: linear-gradient(90deg, #fff 0 58%, var(--dnabw-wash) 58% 100%) !important;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .dnabw {
    --dnabw-gutter: 28px;
  }

  .dnabw-hero {
    padding: 38px 0;
    background: #fff;
  }

  .dnabw .dnabw-hero__grid,
  .dnabw .dnabw-twocol {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dnabw .dnabw-visual {
    min-height: 360px;
  }

  .dnabw .dnabw-trustbar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dnabw .dnabw-trustbar__item:nth-child(2n) {
    border-right: 0;
  }

  .dnabw .dnabw-trustbar__item:nth-last-child(n + 3) {
    border-bottom: 1px solid var(--dnabw-line);
  }

  .dnabw-section {
    padding: 56px 0;
  }

  .dnabw .dnabw-benefits {
    grid-template-columns: 1fr;
  }

  .dnabw .dnabw-pbox {
    --dnabw-pbox-img: 110px;
    grid-template-columns: var(--dnabw-pbox-img) 1fr;
  }

  .dnabw .dnabw-pbox img {
    width: var(--dnabw-pbox-img);
  }

  .dnabw .dnabw-pbox .dnabw-btn {
    grid-column: 1 / -1;
  }

  .dnabw.dnabw-mcta-at-1024 .dnabw-mcta {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 14px;
    border-top: 1px solid var(--dnabw-line);
    background: #fff;
  }
}

@media (max-width: 767px) {
  .dnabw .dnabw-h1 {
    font-size: 40px;
  }

  .dnabw .dnabw-trustbar__grid {
    grid-template-columns: 1fr;
  }

  .dnabw .dnabw-trustbar__item {
    border-right: 0;
    border-bottom: 1px solid var(--dnabw-line);
  }

  .dnabw .dnabw-specs__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dnabw .dnabw-pbox {
    grid-template-columns: 1fr;
  }

  .dnabw .dnabw-pbox img {
    width: 100%;
  }

  .dnabw .dnabw-pbox .dnabw-btn {
    width: 100%;
  }

  .dnabw.dnabw-mcta-at-767 .dnabw-mcta {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 14px;
    border-top: 1px solid var(--dnabw-line);
    background: #fff;
  }
}

/* The sticky CTA is a fixed element. Inside the Elementor editor it is forced
   back into normal flow so it does not cover the canvas. */
.elementor-editor-active .dnabw-mcta,
.elementor-editor-preview .dnabw-mcta {
  position: static !important;
  display: block !important;
}
