/* HERZITE v2 – header & footer for the original theme's pages (generated from base.css). */
/* HERZITE – shared styles for inner pages (extracted from the homepage) */
@font-face {
  font-family: "Helvetica Brand";
  src: url("../fonts/helvetica-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Brand";
  src: url("../fonts/helvetica.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Brand";
  src: url("../fonts/helvetica-oblique.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Brand";
  src: url("../fonts/helvetica-bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* palette – HERZITE: ink navy, white, cool crystal mist */
  --c-ink-950: #17191d;
  --c-ink-900: #1f2226;
  --c-ink-800: #33373d;
  --c-ink-600: #657383;
  --c-ink-400: #9aa2ad;
  --c-mist-50: #f8f9fb;
  --c-mist-100: #f1f3f7;
  --c-mist-200: #e5e9f0;
  --c-mist-300: #d3d9e3;
  --c-sky-100: #eef0f3;
  --c-sky-300: #bfc5cc;
  --c-sky-600: #657383;
  --c-lilac-200: #e4dcf3;
  --c-white: #ffffff;
  --c-sale: #b4232f;

  /* semantic */
  --color-bg: var(--c-white);
  --color-surface: var(--c-white);
  --color-surface-soft: var(--c-mist-50);
  --color-surface-muted: var(--c-mist-100);
  --color-text: var(--c-ink-950);
  --color-text-soft: var(--c-ink-600);
  --color-muted: var(--c-ink-400);
  --color-border: var(--c-mist-200);
  --product-bg: #f4f5f6;
  --color-primary: var(--c-ink-950);
  --color-on-primary: var(--c-white);
  --color-accent: var(--c-sky-600);
  --color-accent-soft: var(--c-sky-100);

  /* typography */
  /* one family: SF Pro on Apple devices, the brand Helvetica everywhere else */
  --font-serif: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Brand", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Brand", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-2xs: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  --fs-3xl: clamp(2.2rem, 1.6rem + 2.4vw, 3.8rem);
  --lh-tight: 1.02;
  --lh-snug: 1.3;
  --lh-body: 1.65;
  --tracking-caps: 0.18em;

  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(5rem, 3.5rem + 6vw, 10rem);

  /* shape */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-arch: 999px 999px 28px 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(8 17 27 / 0.05), 0 4px 14px rgb(8 17 27 / 0.04);
  --shadow-md: 0 14px 40px rgb(8 17 27 / 0.08);
  --shadow-lg: 0 30px 80px rgb(8 17 27 / 0.16);

  /* layout */
  --container: 1360px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);
  --header-h: 84px;
  --logo-ratio: 1200 / 328; /* HERZITE logo: emblem + wordmark */

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);
  --dur-fast: 0.25s;
  --dur-base: 0.5s;
  --dur-slow: 0.9s;

  /* layers */
  --z-header: 50;
  --z-drawer: 70;
  --z-float: 80;
  --z-modal: 100;
}

/* =========================================================
   Scoped base – only inside the v2 header/footer, so the original
   theme's pages keep their own typography and layout.
   ========================================================= */
.hz2-chrome,
.hz2-chrome *,
.hz2-chrome *::before,
.hz2-chrome *::after {
  box-sizing: border-box;
}

.hz2-chrome {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  color: var(--color-text);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

.hz2-chrome :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, small, b, strong, span, em) {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  background: none;
  border: 0;
}

.hz2-chrome :is(b, strong) {
  font-weight: 600;
}

.hz2-chrome :is(ul, ol) {
  list-style: none;
}

.hz2-chrome a {
  color: inherit;
  text-decoration: none;
}

.hz2-chrome :is(img, svg) {
  display: block;
  max-width: 100%;
}

.hz2-chrome img {
  height: auto;
}

.hz2-chrome :is(button, input, select) {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
  box-shadow: none;
}

.hz2-chrome button {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 0;
}

.hz2-chrome :focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: var(--z-modal);
  padding: var(--space-2) var(--space-4);
  color: var(--color-on-primary);
  background: var(--color-primary);

  &:focus {
    top: var(--space-4);
  }
}

.hz2-chrome .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hz2-chrome .icon,
.toast .icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   Announcement bar
   ========================================================= */
.announcement {
  color: rgb(255 255 255 / 0.86);
  background: var(--c-ink-950);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  overflow: hidden;

  .track {
    display: flex;
    width: max-content;
    animation: marquee 44s linear infinite;
  }

  &:hover .track {
    animation-play-state: paused;
  }

  ul {
    display: flex;
  }

  li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-7);
    white-space: nowrap;

    &::after {
      content: "";
      width: 5px;
      height: 5px;
      margin-left: var(--space-7);
      border: 1px solid currentColor;
      transform: rotate(45deg);
      opacity: 0.5;
    }

    b {
      font-weight: 600;
      color: var(--c-white);
    }
  }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--color-border);

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(255 255 255 / 0.86);
    backdrop-filter: saturate(1.4) blur(14px);
  }

  .bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-5);
    min-height: var(--header-h);
  }

  .brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .logo img {
    width: 156px;
    height: auto;
    aspect-ratio: var(--logo-ratio);
    transition: opacity var(--dur-fast);
  }

  .logo:hover img {
    opacity: 0.75;
  }

  .nav-toggle {
    display: none;
  }

  .burger,
  .drawer-close {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
}

.main-nav {
  .menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }

  .menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 30px var(--space-3);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-text-soft);
    transition: color var(--dur-fast);

    &::after {
      content: "";
      position: absolute;
      left: var(--space-3);
      right: var(--space-3);
      bottom: 22px;
      height: 1px;
      background: var(--color-text);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform var(--dur-base) var(--ease-out);
    }

    .icon {
      width: 14px;
      height: 14px;
      transition: transform var(--dur-base) var(--ease-out);
    }
  }

  .menu > li:is(:hover, :focus-within) > a,
  .menu > li > a[aria-current="page"] {
    color: var(--color-text);

    &::after {
      transform: scaleX(1);
      transform-origin: left;
    }
  }

  .menu > li:is(:hover, :focus-within) > a .icon {
    transform: rotate(180deg);
  }
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 40px 60px rgb(8 17 27 / 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-fast), transform var(--dur-base) var(--ease-out), visibility var(--dur-fast);

  .inner {
    display: grid;
    grid-template-columns: 1fr 1fr 2.2fr;
    gap: var(--space-7);
    padding-block: var(--space-7);
  }

  h4 {
    margin-bottom: var(--space-4);
    font-size: var(--fs-2xs);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-muted);

    a {
      transition: color var(--dur-fast);

      &:hover {
        color: var(--color-text);
      }
    }
  }

  li a {
    display: inline-block;
    padding: 6px 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    transition: color var(--dur-fast), transform var(--dur-base) var(--ease-out);

    &:hover {
      color: var(--color-accent);
      transform: translateX(6px);
    }
  }

  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .feature {
    position: relative;
    display: flex;
    align-items: end;
    aspect-ratio: 3 / 4;
    padding: var(--space-4);
    color: var(--c-white);
    overflow: hidden;
    isolation: isolate;

    img {
      position: absolute;
      inset: 0;
      z-index: -2;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 1.2s var(--ease-out);
    }

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(180deg, transparent 45%, rgb(8 17 27 / 0.7));
    }

    span {
      font-family: var(--font-serif);
      font-size: 1.35rem;
      line-height: 1.1;
    }

    small {
      display: block;
      font-family: var(--font-sans);
      font-size: var(--fs-2xs);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      opacity: 0.8;
    }

    &:hover img {
      transform: scale(1.07);
    }
  }
}

.menu > li:is(:hover, :focus-within) > .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: var(--space-1);

  .lang {
    position: relative;

    > button {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 42px;
      padding: 0 var(--space-3);
      font-size: var(--fs-xs);
      letter-spacing: 0.08em;
      white-space: nowrap;
      color: var(--color-text-soft);

      .icon {
        width: 16px;
        height: 16px;
      }

      .chev {
        width: 12px;
        height: 12px;
      }
    }

    ul {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      min-width: 160px;
      padding: var(--space-2);
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      box-shadow: var(--shadow-md);
      opacity: 0;
      visibility: hidden;
      transform: translateY(6px);
      transition: opacity var(--dur-fast), transform var(--dur-base) var(--ease-out), visibility var(--dur-fast);
    }

    li a {
      display: flex;
      justify-content: space-between;
      padding: 8px 12px;
      font-size: var(--fs-sm);
      transition: background var(--dur-fast);

      &:hover {
        background: var(--color-surface-muted);
      }
    }

    &:is(:hover, :focus-within) ul {
      opacity: 1;
      visibility: visible;
      transform: none;
    }
  }

  .divider {
    width: 1px;
    height: 18px;
    margin-inline: var(--space-2);
    background: var(--color-border);
  }

  .tool {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: background var(--dur-fast);

    .icon {
      width: 21px;
      height: 21px;
    }

    &:hover {
      background: var(--color-surface-muted);
    }
  }

  .count {
    position: absolute;
    top: 3px;
    right: 3px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--c-white);
    background: var(--c-ink-950);
    border-radius: var(--radius-pill);
  }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 1);
  background: rgb(8 17 27 / 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base), visibility var(--dur-base);
}

@media (max-width: 1180px) {
  .main-nav .menu > li > a {
    padding-inline: var(--space-2);
    letter-spacing: 0.1em;

    &::after {
      left: var(--space-2);
      right: var(--space-2);
    }
  }

  .header-tools .lang .label {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    .bar {
      grid-template-columns: 1fr auto;
    }

    .burger {
      display: grid;
      margin-left: calc(var(--space-2) * -1);
    }

    .logo img {
      width: 138px;
    }

    .drawer-close {
      display: grid;
      position: absolute;
      top: var(--space-3);
      right: var(--space-3);
    }
  }

  .site-header .bar > .main-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: var(--z-drawer);
    width: min(88vw, 380px);
    padding: 80px var(--space-6) var(--space-6);
    overflow-y: auto;
    background: var(--color-surface);
    box-shadow: none;
    transform: translateX(-102%);
    transition: transform var(--dur-base) var(--ease-out);

    .menu {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }

    .menu > li > a {
      display: flex;
      justify-content: space-between;
      padding: var(--space-4) 0;
      font-family: var(--font-serif);
      font-size: 1.6rem;
      letter-spacing: 0;
      text-transform: none;
      color: var(--color-text);
      border-bottom: 1px solid var(--color-border);

      &::after {
        display: none;
      }

      .icon {
        transform: rotate(-90deg);
      }
    }

    .mega {
      position: static;
      background: none;
      border: 0;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      transform: none;

      .container.inner {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: var(--space-4) 0 var(--space-5) var(--space-4);
      }

      h4 {
        margin-bottom: var(--space-1);
      }

      li a {
        font-size: 1.15rem;
      }

      .features {
        display: none;
      }
    }

    .menu > li > a .icon {
      display: none;
    }
  }

  .header-tools .lang,
  .header-tools .divider,
  .header-tools .tool-account {
    display: none;
  }

  body:has(#nav-toggle:checked) {
    overflow: hidden;

    .promo-tab,
    .to-top {
      display: none;
    }

    .site-header .bar > .main-nav {
      box-shadow: var(--shadow-lg);
      transform: none;
    }

    .drawer-backdrop {
      opacity: 1;
      visibility: visible;
    }
  }
}


/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  padding-top: var(--space-9);
  background: var(--c-mist-50);
  border-top: 1px solid var(--color-border);
  overflow: hidden;

  .footer-top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: var(--space-7);
    padding-bottom: var(--space-8);
  }

  .footer-brand {
    img {
      width: 222px;
      height: auto;
      aspect-ratio: var(--logo-ratio);
    }

    .serif {
      max-width: 26ch;
      margin-top: var(--space-5);
      font-size: var(--fs-base);
      line-height: 1.5;
    }
  }

  .socials {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-6);

    a {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border: 1px solid var(--color-border);
      border-radius: 50%;
      transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);

      &:hover {
        color: var(--c-white);
        background: var(--c-ink-950);
        border-color: var(--c-ink-950);
      }
    }

    .icon {
      width: 18px;
      height: 18px;
    }
  }

  h2 {
    margin-bottom: var(--space-4);
    font-size: var(--fs-2xs);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    &.mt {
      margin-top: var(--space-6);
    }
  }

  .footer-col li a {
    display: inline-block;
    padding: 4px 0;
    font-size: var(--fs-sm);
    color: var(--color-text-soft);
    transition: color var(--dur-fast), transform var(--dur-base) var(--ease-out);

    &:hover {
      color: var(--color-text);
      transform: translateX(4px);
    }
  }

  .footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-5);
    font-size: var(--fs-xs);
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
  }

  .legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);

    a:hover {
      color: var(--color-text);
    }
  }

  .footer-word {
    display: block;
    margin-bottom: -0.2em;
    font-family: var(--font-serif);
    font-size: clamp(5rem, 1rem + 18vw, 19rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--color-text);
    user-select: none;
  }
}


/* back to top */
.to-top {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: calc(var(--z-float) - 1);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--c-ink-950);
  background: rgb(255 255 255 / 0.9);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  transition: background var(--dur-fast), color var(--dur-fast);

  .icon {
    width: 18px;
    height: 18px;
    transform: rotate(-90deg);
  }

  &:hover {
    color: var(--c-white);
    background: var(--c-ink-950);
  }
}

@supports (animation-timeline: scroll()) {
  .to-top {
    animation: to-top-in linear both;
    animation-timeline: scroll();
    animation-range: 0 700px;
  }

  @keyframes to-top-in {
    from {
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px);
    }

    to {
      opacity: 1;
      visibility: visible;
      transform: none;
    }
  }
}


@media (max-width: 1024px) {
  .site-footer .footer-top {
    grid-template-columns: repeat(3, 1fr);

    .footer-brand {
      grid-column: 1 / -1;
    }
  }
}

@media (max-width: 560px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- demo cart: toast + badge bump ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-6);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: calc(100vw - 2 * var(--gutter));
  padding: var(--space-3) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--c-white);
  background: var(--c-ink-950);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);

  .icon {
    width: 18px;
    height: 18px;
    padding: 3px;
    color: var(--c-ink-950);
    background: var(--c-white);
    border-radius: 50%;
    stroke-width: 2.6;
  }

  &.is-on {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.header-tools .count.is-bump {
  animation: badge-bump 0.5s var(--ease-out);
}

@keyframes badge-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}


/* WordPress additions for the header */
/* sticky header below the admin toolbar */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* counts come from the server now, not CSS counters */
.header-tools .tool-likes .count::after {
  content: none;
}

.header-tools .count:empty,
.header-tools .tool-likes .count[data-zero] {
  display: none;
}

button.tool {
  color: inherit;
}

/* language + currency list */
.header-tools .lang ul {
  max-height: min(70vh, 460px);
  overflow-y: auto;

  .sep {
    height: 1px;
    margin: 6px 0;
    padding: 0;
    background: var(--color-border);
  }

  a[aria-current="true"] {
    font-weight: 600;
  }
}

/* search bar under the header */
.hz2-search {
  position: absolute;
  inset: 100% 0 auto;
  z-index: 2;
  padding-block: var(--space-4);
  background: var(--color-surface, #fff);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 24px 40px rgb(8 17 27 / 0.06);

  &[hidden] {
    display: none;
  }

  .container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    font: inherit;
    font-size: var(--fs-md);
    background: none;
    border: 0;
    outline: 0;
  }

  .close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    &:hover {
      background: var(--color-surface-muted);
    }
  }
}


/* original newsletter gate: the theme's copy was white on white */
.hz-newsletter-gate p {
  color: #4b5563 !important;
}
