:root {
  --gtbw-green: #227a45;
  --gtbw-green-dark: #155932;
  --gtbw-lime: #b9dd62;
  --gtbw-ink: #15251c;
  --gtbw-muted: #68766e;
  --gtbw-cream: #f4f1e7;
}

.gtbw-lock {
  overflow: hidden;
}

.gtbw-desktop-source {
  display: none;
}

body.single-to_book .twwr-container.twwr-floating {
  display: none !important;
}

.gtbw-desktop-source.is-mounted {
  display: block;
  margin-bottom: 24px;
}

.gtbw-card {
  position: relative;
  overflow: hidden;
  padding: 31px 28px 27px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(185, 221, 98, .4), transparent 31%),
    linear-gradient(145deg, #193f2a, #28794a);
  color: #fff;
  box-shadow: 0 18px 42px rgba(23, 74, 43, .2);
}

.gtbw-card::after {
  position: absolute;
  right: -34px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255, 255, 255, .05), 0 0 0 52px rgba(255, 255, 255, .035);
  content: "";
}

.gtbw-card__eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--gtbw-lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gtbw-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
}

.gtbw-card p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.gtbw-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, .67);
  font-size: 11px;
  line-height: 1.45;
}

.gtbw-primary,
.gtbw-submit,
.gtbw-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
}

.gtbw-primary {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: var(--gtbw-green-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(7, 42, 23, .18);
}

.gtbw-primary:hover,
.gtbw-primary:focus {
  background: var(--gtbw-lime);
  color: var(--gtbw-green-dark);
}

.gtbw-primary svg,
.gtbw-submit svg,
.gtbw-mobile-bar svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.gtbw-mobile-bar {
  display: none;
}

.gtbw-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.gtbw-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.gtbw-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 17, .72);
  backdrop-filter: blur(5px);
}

.gtbw-modal__dialog {
  position: relative;
  width: min(570px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(6, 27, 14, .35);
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}

.gtbw-modal.is-open .gtbw-modal__dialog {
  transform: translateY(0) scale(1);
}

.gtbw-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(0, 0, 0, .15);
  color: #fff;
  cursor: pointer;
  font-size: 27px;
  line-height: 32px;
}

.gtbw-modal__head {
  padding: 30px 34px 27px;
  background:
    radial-gradient(circle at 90% 0, rgba(185, 221, 98, .43), transparent 30%),
    linear-gradient(135deg, #173d29, #277c4b);
  color: #fff;
}

.gtbw-modal__head span {
  color: var(--gtbw-lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.gtbw-modal__head h2 {
  margin: 7px 0 7px;
  color: #fff;
  font-size: 29px;
  line-height: 1.15;
}

.gtbw-modal__head p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.55;
}

.gtbw-form {
  display: grid;
  gap: 16px;
  padding: 28px 34px 31px;
}

.gtbw-package {
  padding: 13px 15px;
  border: 1px solid #dce7df;
  border-left: 4px solid var(--gtbw-green);
  border-radius: 9px;
  background: #f5f8f5;
}

.gtbw-package small,
.gtbw-package strong {
  display: block;
}

.gtbw-package small {
  margin-bottom: 3px;
  color: var(--gtbw-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.gtbw-package strong {
  color: var(--gtbw-ink);
  font-size: 14px;
}

.gtbw-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 14px;
}

.gtbw-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--gtbw-ink);
  font-size: 12px;
  font-weight: 750;
}

.gtbw-form label > span em {
  color: #879188;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.gtbw-form input:not([type="checkbox"]),
.gtbw-form textarea {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--gtbw-ink);
  font: inherit;
  box-shadow: none;
}

.gtbw-form textarea {
  min-height: 82px;
  resize: vertical;
}

.gtbw-form input:focus,
.gtbw-form textarea:focus {
  border-color: var(--gtbw-green);
  box-shadow: 0 0 0 3px rgba(34, 122, 69, .11);
}

.gtbw-field-help {
  display: block;
  margin-top: 5px;
  color: #849087;
  font-size: 10px;
}

.gtbw-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.gtbw-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.gtbw-submit.is-loading::after {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: gtbw-spin .7s linear infinite;
}

@keyframes gtbw-spin {
  to { transform: rotate(360deg); }
}

.gtbw-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.gtbw-consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--gtbw-green);
}

.gtbw-consent > span {
  margin: 0 !important;
  color: #67736b !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.gtbw-error {
  display: none;
  margin: -4px 0 0;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
}

.gtbw-error:not(:empty) {
  display: block;
}

.gtbw-submit {
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 9px;
  background: var(--gtbw-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(28, 111, 61, .21);
}

.gtbw-submit:hover,
.gtbw-submit:focus {
  background: var(--gtbw-green-dark);
  color: #fff;
}

.gtbw-form__note {
  margin-top: -7px;
  color: #7a867e;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 767px) {
  body.single-to_book {
    padding-bottom: 82px;
  }

  .gtbw-desktop-source,
  .gtbw-desktop-source.is-mounted {
    display: none;
  }

  .gtbw-mobile-bar {
    position: fixed;
    z-index: 99990;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    min-height: 62px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 15px;
    background: linear-gradient(135deg, var(--gtbw-green-dark), var(--gtbw-green));
    color: #fff;
    box-shadow: 0 15px 35px rgba(10, 55, 29, .35);
  }

  .gtbw-mobile-bar span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
  }

  .gtbw-mobile-bar small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
  }

  .gtbw-mobile-bar strong {
    color: #fff;
    font-size: 14px;
  }

  .gtbw-modal {
    align-items: end;
    padding: 0;
  }

  .gtbw-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: 21px 21px 0 0;
    transform: translateY(35px);
  }

  .gtbw-modal__head {
    padding: 25px 24px 22px;
  }

  .gtbw-modal__head h2 {
    font-size: 25px;
  }

  .gtbw-form {
    gap: 14px;
    padding: 22px 24px calc(25px + env(safe-area-inset-bottom));
  }

  .gtbw-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .gtbw-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gtbw-modal,
  .gtbw-modal__dialog {
    transition: none;
  }
}
