.tp-cookie-modal-v2 {
  font-family: var(--terra-font-body, "Source Sans Pro"), Arial, sans-serif;
  color: #1f271c;
}

.tp-cookie-banner-v2 {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 20px;
  z-index: 1400;
  width: min(calc(100vw - 40px), 750px);
  max-width: 750px;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 12px 20px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(22, 31, 24, 0.92);
  border: 1px solid rgba(248, 180, 47, 0.55);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--terra-font-body, "Source Sans Pro"), Arial, sans-serif;
  opacity: 0;
}

.tp-cookie-banner-v2.is-visible {
  display: flex;
  animation: tpCookieBannerIn 300ms ease forwards;
}

.tp-cookie-banner-v2.is-hiding {
  display: flex;
  animation: tpCookieBannerOut 200ms ease forwards;
}

@keyframes tpCookieBannerIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes tpCookieBannerOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
}

.tp-cookie-banner-v2__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.tp-cookie-banner-v2__title {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
  color: #556b2f;
}

.tp-cookie-banner-v2__text {
  margin: 0;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
}

.tp-cookie-banner-v2__link,
.tp-cookie-settings-link {
  color: #556b2f;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tp-cookie-banner-v2__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
}

.tp-cookie-button {
  min-height: 2.6rem;
  border: 1px solid #2d5f3f;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: #2d5f3f;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tp-cookie-button:hover,
.tp-cookie-button:focus {
  background: rgba(45, 95, 63, 0.08);
  transform: translateY(-1px);
}

.tp-cookie-button--primary {
  background: #2d5f3f;
  border-color: #2d5f3f;
  color: #fff;
}

.tp-cookie-button--primary:hover,
.tp-cookie-button--primary:focus {
  background: #244c32;
  color: #fff;
}

.tp-cookie-banner-v2 .tp-cookie-button {
  min-height: 32px;
  border-radius: 8px;
  padding: 0.42rem 0.75rem;
  font-size: 12.5px !important;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tp-cookie-banner-v2 .tp-cookie-button--primary {
  background: #f8b42f;
  border-color: #f8b42f;
  color: #1b2119;
}

.tp-cookie-banner-v2 .tp-cookie-button--primary:hover,
.tp-cookie-banner-v2 .tp-cookie-button--primary:focus {
  background: #ffc94d;
  border-color: #ffc94d;
  color: #1b2119;
}

.tp-cookie-banner-v2 [data-cookie-reject] {
  background: transparent;
  border-color: rgba(248, 180, 47, 0.8);
  color: #fff;
}

.tp-cookie-banner-v2 [data-cookie-reject]:hover,
.tp-cookie-banner-v2 [data-cookie-reject]:focus {
  background: rgba(248, 180, 47, 0.12);
  border-color: rgba(248, 180, 47, 1);
  color: #fff;
}

.tp-cookie-banner-v2 [data-cookie-configure] {
  background: transparent;
  border-color: transparent;
  color: #f8b42f;
}

.tp-cookie-banner-v2 [data-cookie-configure]:hover,
.tp-cookie-banner-v2 [data-cookie-configure]:focus {
  background: rgba(248, 180, 47, 0.09);
  border-color: transparent;
  color: #ffc94d;
}

.tp-cookie-modal-v2 {
  position: fixed;
  inset: 0;
  z-index: 1410;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(18, 22, 16, 0.52);
}

.tp-cookie-modal-v2.is-visible {
  display: flex;
}

.tp-cookie-modal-v2__dialog {
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.tp-cookie-modal-v2__header,
.tp-cookie-modal-v2__body,
.tp-cookie-modal-v2__actions {
  padding: 1.15rem 1.25rem;
}

.tp-cookie-modal-v2__header {
  border-bottom: 1px solid rgba(85, 107, 47, 0.18);
}

.tp-cookie-modal-v2__title {
  margin: 0;
  color: #556b2f;
  font-size: 1.35rem;
}

.tp-cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(85, 107, 47, 0.14);
}

.tp-cookie-category:last-child {
  border-bottom: 0;
}

.tp-cookie-category__name {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: #29351f;
}

.tp-cookie-category__description {
  margin: 0;
  color: #4d5946;
  font-size: 0.96rem;
  line-height: 1.4;
}

.tp-cookie-switch {
  position: relative;
  width: 3.25rem;
  height: 1.7rem;
  align-self: start;
}

.tp-cookie-switch input {
  position: absolute;
  opacity: 0;
}

.tp-cookie-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cfd5c7;
  cursor: pointer;
}

.tp-cookie-switch span::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.tp-cookie-switch input:checked + span {
  background: #556b2f;
}

.tp-cookie-switch input:checked + span::before {
  transform: translateX(1.55rem);
}

.tp-cookie-switch input:disabled + span {
  cursor: not-allowed;
  opacity: 0.72;
}

.tp-cookie-modal-v2__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  border-top: 1px solid rgba(85, 107, 47, 0.18);
}

.tp-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

.tp-map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 18, 0.44);
}

.tp-map-placeholder__overlay {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  max-width: min(88%, 24rem);
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(20, 30, 40, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--terra-font-body, "Source Sans Pro"), Arial, sans-serif;
}

.tp-map-placeholder__text {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--terra-font-body, "Source Sans Pro"), Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.tp-map-placeholder [data-map-show] {
  padding: 8px 18px;
  border: 1px solid #f8b42f;
  border-radius: 6px;
  background: #f8b42f;
  color: #1a1a1a;
  font-family: var(--terra-font-body, "Source Sans Pro"), Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  box-shadow: none;
  transition: filter 160ms ease;
}

.tp-map-placeholder [data-map-show]:hover,
.tp-map-placeholder [data-map-show]:focus {
  filter: brightness(1.1);
  color: #1a1a1a;
}

.tp-contact-map-address {
  margin-top: 0.85rem;
  color: #29351f;
  font-size: 1rem;
  line-height: 1.45;
}

.tp-contact-map-address p {
  margin: 0 0 0.25rem;
}

.tp-contact-map-address a {
  color: #556b2f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .tp-cookie-banner-v2 {
    width: min(calc(100vw - 40px), 600px);
    max-width: 600px;
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .tp-cookie-banner-v2__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 767.98px) {
  .tp-cookie-banner-v2 {
    left: 16px;
    right: 16px;
    width: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
    padding: 12px 16px;
    transform: translateY(8px);
  }

  .tp-cookie-banner-v2.is-visible {
    animation-name: tpCookieBannerMobileIn;
  }

  .tp-cookie-banner-v2.is-hiding {
    animation-name: tpCookieBannerMobileOut;
  }

  .tp-cookie-banner-v2__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .tp-cookie-modal-v2__actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@keyframes tpCookieBannerMobileIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tpCookieBannerMobileOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}
