@font-face {
  font-family: "Booze Bag Lora";
  src: url("../fonts/lora-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Booze Bag Lora";
  src: url("../fonts/lora-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Booze Bag Raleway";
  src: url("../fonts/raleway-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Booze Bag Raleway";
  src: url("../fonts/raleway-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Booze Bag Raleway";
  src: url("../fonts/raleway-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bb-popup-cream: #f5efdf;
  --bb-popup-forest: #1f4437;
  --bb-popup-forest-strong: #183b30;
  --bb-popup-ink: #24211f;
  --bb-popup-muted: #696d69;
  --bb-popup-line: #dfe1dc;
  --bb-popup-serif: "Booze Bag Lora", Lora, Georgia, serif;
  --bb-popup-sans: "Booze Bag Raleway", Raleway, "Helvetica Neue", Arial, sans-serif;
}

.bb-account-popup,
.bb-account-popup *,
.bb-account-popup *::before,
.bb-account-popup *::after {
  box-sizing: border-box;
}

.bb-account-popup {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%) !important;
  grid-template-rows: 71px minmax(0, 1fr) !important;
  width: min(1110px, 94vw) !important;
  max-width: 1110px !important;
  height: min(645px, calc(100vh - 76px)) !important;
  min-height: 465px;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--bb-popup-cream) !important;
  box-shadow: 0 30px 90px rgba(6, 22, 17, 0.34) !important;
  color: var(--bb-popup-ink);
  font-family: var(--bb-popup-sans);
}

.bb-account-popup__media {
  grid-column: 1;
  grid-row: 1 / -1;
  min-width: 0;
  min-height: 0;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 185.2% 100%;
}

.bb-account-popup__tabs {
  display: grid !important;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100% !important;
  min-height: 71px;
  margin: 0 !important;
  padding: 0 65px 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(31, 68, 55, 0.12) !important;
  background: rgba(255, 253, 248, 0.16) !important;
  list-style: none !important;
}

.bb-account-popup__tabs > li {
  position: relative !important;
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bb-account-popup__tabs > li::after {
  position: absolute;
  right: 18%;
  bottom: -1px;
  left: 18%;
  height: 3px;
  background: var(--bb-popup-forest);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.bb-account-popup__tabs > li.ui-tabs-active,
.bb-account-popup__tabs > li.active,
.bb-account-popup__tabs > li.qodef-active {
  background: rgba(255, 253, 248, 0.42) !important;
}

.bb-account-popup__tabs > li.ui-tabs-active::after,
.bb-account-popup__tabs > li.active::after,
.bb-account-popup__tabs > li.qodef-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.bb-account-popup__tabs a {
  display: flex !important;
  width: 100% !important;
  height: 71px !important;
  align-items: center;
  justify-content: center;
  padding: 4px 14px 0 !important;
  color: var(--bb-popup-forest) !important;
  background: transparent !important;
  font-family: var(--bb-popup-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.bb-account-popup__panel {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  height: 100% !important;
  padding: 36px clamp(36px, 3.525vw, 57px) 44px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 0 !important;
  background: var(--bb-popup-cream) !important;
  scrollbar-color: rgba(31, 68, 55, 0.3) transparent;
  scrollbar-width: thin;
}

.bb-account-popup__title {
  margin: 0 0 27px !important;
  color: var(--bb-popup-forest) !important;
  font-family: var(--bb-popup-serif) !important;
  font-size: clamp(32px, 2.25vw, 41px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.bb-account-popup .qodef-wp-login-holder,
.bb-account-popup .qodef-social-login-holder,
.bb-account-popup .qodef-social-login-holder-inner,
.bb-account-popup .qodef-wp-register-holder,
.bb-account-popup .qodef-social-register-holder,
.bb-account-popup .qodef-social-register-holder-inner {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bb-account-popup__form,
.bb-account-popup__fieldset {
  display: grid !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bb-account-popup__fieldset {
  min-width: 0 !important;
}

.bb-account-popup__form[data-bb-account-form="register"],
.bb-account-popup__form[data-bb-account-form="register"]
  .bb-account-popup__fieldset {
  gap: 19px !important;
}

.bb-account-popup__field {
  position: relative !important;
  display: grid !important;
  gap: 11px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bb-account-popup__field-label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--bb-popup-ink) !important;
  font-family: var(--bb-popup-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

.bb-account-popup__field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]) {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid var(--bb-popup-line) !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: rgba(255, 253, 248, 0.06) !important;
  box-shadow: none !important;
  color: var(--bb-popup-ink) !important;
  font-family: var(--bb-popup-sans) !important;
  font-size: 16px !important;
}

.bb-account-popup__field[data-bb-field-kind="password"] input,
.bb-account-popup__field[data-bb-field-kind="repeatPassword"] input {
  padding-right: 53px !important;
}

.bb-account-popup__field input:focus {
  border-color: var(--bb-popup-forest) !important;
  box-shadow: 0 0 0 2px rgba(31, 68, 55, 0.12) !important;
}

.bb-account-popup__password-toggle {
  position: absolute !important;
  z-index: 2;
  right: 11px;
  bottom: 11px;
  display: grid !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bb-popup-ink) !important;
  cursor: pointer;
  place-items: center;
}

.bb-account-popup__password-toggle svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.bb-account-popup__remember {
  display: inline-flex !important;
  align-items: center !important;
  justify-self: start;
  gap: 11px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  color: var(--bb-popup-ink) !important;
  cursor: pointer;
  font-family: var(--bb-popup-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.bb-account-popup__remember input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: var(--bb-popup-forest);
}

.bb-account-popup__actions {
  display: grid !important;
  grid-template-columns: minmax(143px, 182px) minmax(101px, 1fr);
  align-items: end;
  gap: 21px;
  width: 100%;
  margin: 0 !important;
}

.bb-account-popup__primary {
  display: inline-grid !important;
  width: min(100%, 182px) !important;
  min-width: 0 !important;
  min-height: 59px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 23px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--bb-popup-forest) !important;
  box-shadow: none !important;
  color: #fff !important;
  cursor: pointer;
  font-family: var(--bb-popup-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.bb-account-popup__primary:hover,
.bb-account-popup__primary:focus {
  background: var(--bb-popup-forest-strong) !important;
}

.bb-account-popup__lost {
  align-self: end;
  justify-self: end;
  padding-bottom: 4px;
  color: var(--bb-popup-forest) !important;
  font-family: var(--bb-popup-sans) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.bb-account-popup__lost:hover,
.bb-account-popup__lost:focus,
.bb-account-popup__privacy a:hover,
.bb-account-popup__privacy a:focus {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.bb-account-popup__privacy {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: var(--bb-popup-muted) !important;
  font-family: var(--bb-popup-sans) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-transform: none !important;
}

.bb-account-popup__privacy a {
  color: var(--bb-popup-forest) !important;
  text-decoration: none !important;
}

.bb-account-popup__close {
  position: absolute !important;
  z-index: 10 !important;
  top: 18px !important;
  right: 21px !important;
  color: var(--bb-popup-forest) !important;
}

@media (max-width: 1100px) {
  .bb-account-popup {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
  }

  .bb-account-popup__media {
    background-size: 200% 100%;
  }

  .bb-account-popup__panel {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .bb-account-popup__actions {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 15px;
  }

  .bb-account-popup__lost {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .bb-account-popup {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 76px minmax(0, 1fr) !important;
    width: min(100%, 500px) !important;
    height: min(780px, calc(100dvh - 28px)) !important;
    min-height: 0 !important;
  }

  .bb-account-popup__media {
    display: none !important;
  }

  .bb-account-popup__tabs {
    grid-column: 1;
    grid-row: 1;
    min-height: 76px;
    padding-right: 64px !important;
  }

  .bb-account-popup__tabs a {
    height: 76px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 12px !important;
    letter-spacing: 0.17em !important;
  }

  .bb-account-popup__panel {
    grid-column: 1;
    grid-row: 2;
    padding: 34px 28px 42px !important;
  }

  .bb-account-popup__title {
    margin-bottom: 30px !important;
    font-size: 42px !important;
  }

  .bb-account-popup__form,
  .bb-account-popup__fieldset {
    gap: 28px !important;
  }

  .bb-account-popup__form[data-bb-account-form="register"],
  .bb-account-popup__form[data-bb-account-form="register"]
    .bb-account-popup__fieldset {
    gap: 23px !important;
  }

  .bb-account-popup__field {
    gap: 11px !important;
  }

  .bb-account-popup__field-label {
    font-size: 12px !important;
    letter-spacing: 0.07em !important;
  }

  .bb-account-popup__field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]) {
    height: 62px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .bb-account-popup__field[data-bb-field-kind="password"] input,
  .bb-account-popup__field[data-bb-field-kind="repeatPassword"] input {
    padding-right: 70px !important;
  }

  .bb-account-popup__password-toggle {
    right: 15px;
    bottom: 10px;
    width: 42px !important;
    height: 42px !important;
  }

  .bb-account-popup__password-toggle svg {
    width: 25px;
    height: 25px;
  }

  .bb-account-popup__remember {
    font-size: 12px !important;
  }

  .bb-account-popup__remember input[type="checkbox"] {
    width: 21px !important;
    height: 21px !important;
  }

  .bb-account-popup__actions {
    gap: 18px;
  }

  .bb-account-popup__primary {
    width: min(100%, 242px) !important;
    min-height: 68px !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
  }

  .bb-account-popup__privacy {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  .bb-account-popup__close {
    top: 17px !important;
    right: 14px !important;
  }
}

@media (max-width: 430px) {
  .bb-account-popup {
    width: 100% !important;
    height: 100dvh !important;
  }

  .bb-account-popup__panel {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-account-popup *,
  .bb-account-popup *::before,
  .bb-account-popup *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
