/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 09 2026 | 03:02:19 */
/* ================================
   Ventari Search Modal
   Works when modal HTML is in footer/snippet
================================ */

body.ventari-search-open {
  overflow: hidden;
}

body .ventari-search-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

/* Opens with either JS body class OR aria-hidden change */
body.ventari-search-open .ventari-search-modal,
body .ventari-search-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body .ventari-search-modal__backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 78% 18%, rgba(216, 155, 43, 0.12), transparent 34%),
    rgba(7, 24, 39, 0.88);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body .ventari-search-modal__panel {
  position: relative;
  width: min(920px, 100%);
  padding: clamp(32px, 5vw, 64px);

  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(36, 58, 94, 0.9), rgba(7, 24, 39, 0.96));

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;

  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transform: translateY(14px);
  transition: transform 260ms ease;
}

body.ventari-search-open .ventari-search-modal__panel,
body .ventari-search-modal[aria-hidden="false"] .ventari-search-modal__panel {
  transform: translateY(0);
}

body .ventari-search-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;
  padding: 0;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;

  font-size: 0;
  line-height: 0;
  cursor: pointer;

  transform-origin: center;

  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

body .ventari-search-modal__close::before {
  content: "×";
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  color: currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.72rem;
  font-weight: 400;
  line-height: 1;
}

body .ventari-search-modal__close:hover {
  color: var(--ventari-amber, #D89B2B);
  border-color: rgba(216, 155, 43, 0.62);
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(90deg);
}

body .ventari-search-modal__close:active {
  color: #ffffff;
  background: var(--ventari-amber, #D89B2B);
  border-color: var(--ventari-amber, #D89B2B);
  transform: rotate(0deg) translateY(1px);
}

body .ventari-search-modal__eyebrow {
  margin: 0 0 12px;

  color: var(--ventari-amber, #D89B2B);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body .ventari-search-modal__title {
  margin: 0 0 16px;

  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 1;
}

body .ventari-search-modal__text {
  max-width: 720px;
  margin: 0 0 28px;

  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}

body .ventari-search-modal__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;

  margin: 0 0 24px;
}

body .ventari-search-modal__input {
  min-height: 58px;
  width: 100%;
  padding: 0 18px;

  color: #ffffff;
  caret-color: #ffffff;

  background: rgba(7, 24, 39, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;

  font: inherit;

  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease,
    caret-color 220ms ease;
}

body .ventari-search-modal__input:hover:not(:focus):not(.is-typing) {
  border-color: var(--ventari-amber, #D89B2B);
  box-shadow: none;
}

body .ventari-search-modal__input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

body .ventari-search-modal__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;

  width: 15px;
  height: 15px;
  margin-left: 12px;

  cursor: pointer;
  opacity: 0.92;

  background:
    linear-gradient(
      45deg,
      transparent 43%,
      var(--ventari-amber, #D89B2B) 44%,
      var(--ventari-amber, #D89B2B) 56%,
      transparent 57%
    ),
    linear-gradient(
      -45deg,
      transparent 43%,
      var(--ventari-amber, #D89B2B) 44%,
      var(--ventari-amber, #D89B2B) 56%,
      transparent 57%
    );

  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

body .ventari-search-modal__input::-webkit-search-cancel-button:hover {
  opacity: 1;
  transform: scale(1.06);
}

body .ventari-search-modal__input::-webkit-search-cancel-button:active {
  opacity: 1;
  transform: translateY(1px) scale(1);
  background:
    linear-gradient(
      45deg,
      transparent 43%,
      #ffffff 44%,
      #ffffff 56%,
      transparent 57%
    ),
    linear-gradient(
      -45deg,
      transparent 43%,
      #ffffff 44%,
      #ffffff 56%,
      transparent 57%
    );
}

body .ventari-search-modal__input:focus {
  outline: none;
  border-color: rgba(216, 155, 43, 0.78);
  background: rgba(7, 24, 39, 0.72);
  box-shadow: 0 0 0 3px rgba(216, 155, 43, 0.14);
}

body .ventari-search-modal__submit {
  min-height: 58px;
  padding: 0 28px;

  color: #ffffff;
  background: var(--ventari-amber, #D89B2B);
  border: 1px solid var(--ventari-amber, #D89B2B);
  border-radius: 2px;

  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.015em;

  cursor: pointer;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

body .ventari-search-modal__input.is-typing {
  caret-color: var(--ventari-amber, #D89B2B);

  border-color: rgba(216, 155, 43, 0.86);
  background: rgba(7, 24, 39, 0.76);

  box-shadow:
    0 0 0 3px rgba(216, 155, 43, 0.16),
    0 0 24px rgba(216, 155, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body .ventari-search-modal__submit:hover {
  color: #ffffff;
  background: rgba(216, 155, 43, 0.48);
  border-color: rgba(216, 155, 43, 0.58);
  transform: translateY(-1px);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 12px 24px rgba(216, 155, 43, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body .ventari-search-modal__submit:active {
  color: #243A5E;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.82);
  transform: translateY(1px);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(216, 155, 43, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(216, 155, 43, 0.18),
    inset 0 -8px 18px rgba(216, 155, 43, 0.08);
}

body .ventari-search-modal__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body .ventari-search-modal__suggestions a {
  display: inline-flex;
  align-items: center;

  min-height: 38px;
  padding: 0 14px;

  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;

  font-size: 0.88rem;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

body .ventari-search-modal__suggestions a:hover {
  color: #ffffff;
  background: rgba(216, 155, 43, 0.16);
  border-color: rgba(216, 155, 43, 0.5);
  transform: translateY(-1px);
}

body .ventari-search-modal__suggestions a:active {
  color: #ffffff;
  background: rgba(216, 155, 43, 0.82);
  border-color: rgba(216, 155, 43, 0.96);
  transform: translateY(1px);
}

@media (max-width: 599px) {
  body .ventari-search-modal {
    align-items: stretch;
    padding: 14px;
  }

  body .ventari-search-modal__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 34px 20px;
  }

  body .ventari-search-modal__form {
    grid-template-columns: 1fr;
  }

  body .ventari-search-modal__submit {
    width: 100%;
  }
}