.hydrafacial-template a,
.hydrafacial-template a:hover,
.hydrafacial-template a:focus,
.hydrafacial-template a:active,
.hydrafacial-template a:visited,
body a,
body a:hover,
body a:focus,
body a:active,
body a:visited {
  text-decoration: none !important;
}

/* Hero "Find a Hydrafacialist" CTA uses button-primary-white in source markup.
   Force readable dark text only for that specific hero CTA variant. */
a.button-primary-white.mt-2.px-10.pointer-events-auto[href*="find-a-hydrafacialist"],
a.button-primary-white.mt-2.px-10.pointer-events-auto.normal-case[href*="find-a-hydrafacialist"] {
  color: #000 !important;
}

/* Source template expects dark buttons to carry white label text.
   Our theme-level `a { color: inherit; }` can make labels turn black in content areas,
   so force readable white text for black CTA variants. */
a.button-primary-black,
a.button-primary-black:hover,
a.button-primary-black:focus,
a.button-primary-black:active,
a.button-primary-black:visited,
a.button-primary-black span {
  color: #fff !important;
}

/* Keravive block CTA should stay white button + black text. */
#content-with-slider-1 a.button-primary-white,
#content-with-slider-1 a.button-primary-white:hover,
#content-with-slider-1 a.button-primary-white:focus,
#content-with-slider-1 a.button-primary-white:active,
#content-with-slider-1 a.button-primary-white:visited,
#content-with-slider-1 a.button-primary-white span {
  color: #000 !important;
}

/* Fallback when Instafeed app doesn't hydrate in WP render. */
.hydrafacial-instafeed-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 30px 30px;
}

.hydrafacial-language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hydrafacial-language-switcher__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.hydrafacial-language-switcher__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #111827;
}

.hydrafacial-language-switcher__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.hydrafacial-language-switcher__widget,
.hydrafacial-language-switcher__widget .gtranslate_wrapper {
  width: 100%;
  min-width: 0;
}

.hydrafacial-language-switcher .gt_switcher {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.hydrafacial-language-switcher .gt_switcher a {
  text-decoration: none !important;
}

.hydrafacial-language-switcher .gt_switcher .gt_selected {
  background: transparent !important;
}

.hydrafacial-language-switcher .gt_switcher .gt_selected a {
  width: auto !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 26px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.hydrafacial-language-switcher .gt_switcher .gt_selected a img,
.hydrafacial-language-switcher .gt_switcher .gt_option a img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px;
  object-fit: cover;
  opacity: 1 !important;
}

.hydrafacial-language-switcher .gt_switcher .gt_selected a:after {
  right: 0 !important;
}

.hydrafacial-language-switcher .gt_switcher .gt_option {
  width: min(260px, calc(100vw - 40px)) !important;
  margin-top: 12px !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12) !important;
}

.hydrafacial-language-switcher .gt_switcher .gt_option a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  color: #111827 !important;
  font-size: 14px !important;
}

.hydrafacial-language-switcher--template-desktop .hydrafacial-language-switcher__inner {
  width: auto;
}

.hydrafacial-language-switcher--template-desktop .hydrafacial-language-switcher__icon {
  display: none;
}

.hydrafacial-language-switcher--template-desktop {
  color: rgba(255, 255, 255, 0.82);
}

.hydrafacial-language-switcher--template-desktop .hydrafacial-language-switcher__widget,
.hydrafacial-language-switcher--template-desktop .gtranslate_wrapper,
.hydrafacial-language-switcher--template-desktop .gt_switcher {
  width: auto !important;
}

.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a {
  min-height: 40px !important;
  padding: 8px 30px 8px 0 !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a:hover,
.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a:focus,
.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a:active,
.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a:visited {
  color: #ffffff !important;
}

.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a:after {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_selected a img {
  opacity: 1 !important;
}

.hydrafacial-language-switcher--template-desktop .gt_switcher .gt_option {
  position: absolute !important;
  top: calc(100% + 10px);
  right: 0;
  left: auto !important;
  margin-top: 0 !important;
  z-index: 1000;
}

.hydrafacial-language-switcher--template-mobile {
  width: 100%;
}

.hydrafacial-language-switcher--template-mobile .hydrafacial-language-switcher__inner {
  justify-content: space-between;
  padding: 24px 0;
  border-top: 0.5px solid #c7cbd1;
}

.hydrafacial-language-switcher--template-mobile .hydrafacial-language-switcher__widget {
  display: flex;
  justify-content: flex-end;
}

.hydrafacial-language-switcher--template-mobile .gt_switcher {
  max-width: 210px !important;
}

.hydrafacial-language-switcher--template-mobile .gt_switcher .gt_option {
  right: 0;
  left: auto !important;
}

header nav.hidden.lg\:block > ul {
  gap: 2rem !important;
}

header nav.hidden.lg\:block > ul > li > a {
  white-space: nowrap;
}

/* Header search field: ensure text visible on white background */
header input[type="search"],
header input[type="text"],
header .search-bar input,
header [class*="search"] input,
header input.py-2\.5 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827 !important;
}

header input[type="search"]::placeholder,
header input[type="text"]::placeholder,
header .search-bar input::placeholder,
header [class*="search"] input::placeholder,
header input.py-2\.5::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}


/* Newsletter subscription form in footer */
.hydrafacial-newsletter-form {
  color: #fff;
}
.hydrafacial-newsletter-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.hydrafacial-newsletter-form .hydrafacial-newsletter-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.hydrafacial-newsletter-form input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 10px 16px;
  border-radius: 99px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.hydrafacial-newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}
.hydrafacial-newsletter-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.6);
}
.hydrafacial-newsletter-form button[type="submit"] {
  padding: 10px 20px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.hydrafacial-newsletter-form button[type="submit"]:hover {
  background: rgba(255,255,255,0.9);
}
.hydrafacial-newsletter-form .hydrafacial-privacy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  cursor: pointer;
}
.hydrafacial-newsletter-form .hydrafacial-privacy-label a {
  color: rgba(255,255,255,0.6) !important;
  text-decoration: underline !important;
}
.hydrafacial-newsletter-form .hydrafacial-privacy-label a:hover {
  color: rgba(255,255,255,0.9) !important;
}

/* Guardrail: hide out-of-flow provider CTAs only before slider init. */
.splide:not(.is-initialized) a.button-primary-black.z-30.pointer-events-auto.w-\[170px\] {
  display: none !important;
}

.hydrafacial-wp-form .hydra-form-block {
  padding: 0;
}

.connect-with-sales .info_form,
.connect-with-sales .submission_form {
  flex: 1 1 0%;
  min-width: 0;
}

.connect-with-sales .info_form .hydrafacial-wp-form,
.connect-with-sales .info_form .hydra-form-block,
.connect-with-sales .submission_form .hydrafacial-wp-form {
  background: #eef3fa;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hydrafacial-wp-form .hydra-shell {
  width: 100%;
}

.hydrafacial-wp-form .hydra-form-grid {
  display: block;
}

.hydrafacial-wp-form .hydra-form {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.connect-with-sales .info_form .hydra-form,
.connect-with-sales .submission_form .hydra-form {
  gap: 18px 16px;
}

.hydrafacial-wp-form .hydra-form label,
.hydrafacial-wp-form .hydra-form legend {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.connect-with-sales .info_form .hydra-form label,
.connect-with-sales .info_form .hydra-form legend,
.connect-with-sales .submission_form .hydra-form label,
.connect-with-sales .submission_form .hydra-form legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #18212f;
  font-size: 14px;
  line-height: 20px;
}

.hydrafacial-wp-form .hydra-form label span,
.hydrafacial-wp-form .hydra-form legend {
  display: block;
  margin-bottom: 8px;
}

.connect-with-sales .info_form .hydra-form label span,
.connect-with-sales .info_form .hydra-form legend,
.connect-with-sales .submission_form .hydra-form label span,
.connect-with-sales .submission_form .hydra-form legend {
  margin-bottom: 0;
}

.hydrafacial-wp-form .hydra-form input[type="text"],
.hydrafacial-wp-form .hydra-form input[type="email"],
.hydrafacial-wp-form .hydra-form textarea {
  width: 100%;
  min-height: 51px;
  padding: 14px 16px;
  border: 0.5px solid #c6c6c6;
  border-radius: 4px;
  background: rgba(115, 115, 115, 0.2);
  color: #ffffff;
}

.connect-with-sales .info_form .hydra-form input[type="text"],
.connect-with-sales .info_form .hydra-form input[type="email"],
.connect-with-sales .info_form .hydra-form textarea,
.connect-with-sales .submission_form .hydra-form input[type="text"],
.connect-with-sales .submission_form .hydra-form input[type="email"],
.connect-with-sales .submission_form .hydra-form textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid #ccd6e3 !important;
  border-radius: 18px;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

.hydrafacial-wp-form .hydra-form textarea {
  min-height: 140px;
  resize: vertical;
}

.connect-with-sales .info_form .hydra-form textarea,
.connect-with-sales .submission_form .hydra-form textarea {
  min-height: 150px;
  border-radius: 20px;
}

.hydrafacial-wp-form .hydra-form input::placeholder,
.hydrafacial-wp-form .hydra-form textarea::placeholder {
  color: #f5f5f5;
}

.connect-with-sales .info_form .hydra-form input::placeholder,
.connect-with-sales .info_form .hydra-form textarea::placeholder,
.connect-with-sales .submission_form .hydra-form input::placeholder,
.connect-with-sales .submission_form .hydra-form textarea::placeholder {
  color: #7b8794 !important;
}

.connect-with-sales .info_form .hydra-form input:focus,
.connect-with-sales .info_form .hydra-form textarea:focus,
.connect-with-sales .submission_form .hydra-form input:focus,
.connect-with-sales .submission_form .hydra-form textarea:focus {
  outline: 0;
  border-color: #147bd1;
  box-shadow: 0 0 0 3px rgba(20, 123, 209, 0.12);
}

.hydrafacial-wp-form .hydra-form-full {
  grid-column: 1 / -1;
}

.hydrafacial-wp-form .hydra-form-choice-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.hydrafacial-wp-form .hydra-form-choice-group legend {
  margin-bottom: 10px;
}

.hydrafacial-wp-form .hydra-choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 24px;
}

.hydrafacial-wp-form .hydra-choice input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.hydrafacial-wp-form .hydra-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.connect-with-sales .info_form .hydra-check,
.connect-with-sales .submission_form .hydra-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  color: #334155;
}

.hydrafacial-wp-form .hydra-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.connect-with-sales .info_form .hydra-check input,
.connect-with-sales .submission_form .hydra-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.hydrafacial-wp-form .hydra-check span {
  margin-bottom: 0;
}

.hydrafacial-wp-form .hydra-button {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #147bd1;
  color: #ffffff;
  cursor: pointer;
}

.connect-with-sales .info_form .hydra-button,
.connect-with-sales .submission_form .hydra-button {
  min-width: 240px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #147bd1, #0f5fa8);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.connect-with-sales .info_form .hydra-button:hover,
.connect-with-sales .submission_form .hydra-button:hover {
  transform: translateY(-1px);
}

.hydrafacial-wp-form .hydra-form-message {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
}

.hydrafacial-wp-form .hydra-form-message-success {
  background: rgba(24, 160, 88, 0.18);
  color: #e6fff0;
}

.hydrafacial-wp-form .hydra-form-message-error {
  background: rgba(210, 63, 63, 0.18);
  color: #fff0f0;
}

.hydrafacial-resource-slide {
  min-height: 540px;
}

.hydrafacial-resource-placeholder {
  min-height: 540px;
  background: linear-gradient(160deg, rgba(20, 123, 209, 0.95), rgba(16, 35, 61, 0.92));
}

.hydrafacial-resource-slide .media__text-overlay {
  max-width: calc(100% - 52px);
}

.hydrafacial-resource-slide .media__text-overlay h4 {
  text-transform: none;
}

@media (max-width: 767px) {
  .connect-with-sales .info_form .hydrafacial-wp-form,
  .connect-with-sales .info_form .hydra-form-block,
  .connect-with-sales .submission_form .hydrafacial-wp-form {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .hydrafacial-wp-form .hydra-form {
    grid-template-columns: 1fr;
  }

  .connect-with-sales .info_form .hydra-button,
  .connect-with-sales .submission_form .hydra-button {
    width: 100%;
    min-width: 0;
  }

  .hydrafacial-wp-form .hydra-choice {
    display: flex;
    margin: 0 0 10px;
  }

  .hydrafacial-resource-slide,
  .hydrafacial-resource-placeholder {
    min-height: 420px;
  }
}

/* ── Provider Locator ─────────────────────────────────────────── */

.hydrafacial-provider-locator {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.hydrafacial-locator-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hydrafacial-locator-input {
  flex: 1 1 180px;
  min-height: 51px;
  padding: 12px 16px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #ffffff;
  font-size: 14px;
  line-height: 20px;
  color: #1a1a1a;
}

.hydrafacial-locator-input::placeholder {
  color: #808080;
}

.hydrafacial-provider-grid {
  gap: 24px;
}

.hydrafacial-provider-card {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.hydrafacial-provider-card h3 {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .hydrafacial-provider-locator {
    padding-left: 38px;
    padding-right: 38px;
  }
}

/* ── eIFU Document list ────────────────────────────────────────── */

.eifu-document {
  margin-bottom: 24px;
}

.eifu-document + .eifu-document {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}