[hidden] {
  display: none !important;
}

.hpv-cookie-modal-open {
  overflow: hidden !important;
}

.hpv-cookie-banner,
.hpv-cookie-overlay,
.hpv-privacy-links,
.hpv-cookie-banner *,
.hpv-cookie-overlay *,
.hpv-privacy-links * {
  box-sizing: border-box;
  font-family: Poppins, Arial, sans-serif;
}

.hpv-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  color: #222;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-top: 5px solid #b83735;
  border-radius: 5px;
  box-shadow: 0 12px 38px rgb(0 0 0 / 24%);
}

.hpv-cookie-banner h2,
.hpv-cookie-dialog h2 {
  margin: 0 0 8px;
  color: #222;
  font-size: 22px;
  line-height: 1.25;
}

.hpv-cookie-banner p,
.hpv-cookie-dialog p {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

.hpv-cookie-banner-copy {
  max-width: 720px;
}

.hpv-cookie-more,
.hpv-cookie-dialog-links {
  margin-top: 8px !important;
}

.hpv-cookie-banner a,
.hpv-cookie-dialog a {
  color: #a52f2d;
  font-weight: 600;
  text-decoration: underline;
}

.hpv-cookie-actions,
.hpv-cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hpv-cookie-actions {
  min-width: 390px;
}

.hpv-cookie-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid #b83735;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.hpv-cookie-button-primary {
  color: #fff;
  background: #b83735;
}

.hpv-cookie-button-outline {
  color: #a52f2d;
  background: #fff;
}

.hpv-cookie-button:hover {
  filter: brightness(.94);
}

.hpv-cookie-button:focus-visible,
.hpv-cookie-close:focus-visible,
.hpv-privacy-links a:focus-visible,
.hpv-privacy-links button:focus-visible,
.hpv-cookie-dialog input:focus-visible {
  outline: 3px solid #f0a929;
  outline-offset: 3px;
}

.hpv-cookie-overlay {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(0 0 0 / 62%);
}

.hpv-cookie-dialog {
  position: relative;
  width: min(650px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 30px;
  color: #222;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 46px rgb(0 0 0 / 35%);
}

.hpv-cookie-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #666;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hpv-cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 16px;
  padding: 16px;
  background: #f7f4ef;
  border: 1px solid #ded8cd;
  border-radius: 5px;
}

.hpv-cookie-option strong,
.hpv-cookie-option span {
  display: block;
}

.hpv-cookie-option span {
  margin-top: 3px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.hpv-cookie-option label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.hpv-cookie-option input {
  width: 20px;
  height: 20px;
  accent-color: #b83735;
}

.hpv-cookie-status {
  min-height: 22px;
  margin-top: 10px !important;
  color: #b00020 !important;
  font-weight: 600;
}

.hpv-cookie-dialog-actions {
  margin-top: 10px;
}

.hpv-privacy-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  color: #fff;
  background: #242424;
  font-size: 13px;
  line-height: 1.4;
}

.hpv-privacy-links a,
.hpv-privacy-links button {
  padding: 3px;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.hpv-policy-page {
  min-height: 100vh;
  margin: 0;
  color: #2d2d2d;
  background: #f5f4f0;
  font-family: Poppins, Arial, sans-serif;
}

.hpv-policy-header {
  padding: 18px 24px;
  color: #222;
  background: #e8e3d2;
  border-bottom: 1px solid #d2cbb9;
}

.hpv-policy-header a {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.hpv-policy-main {
  width: min(920px, calc(100% - 32px));
  margin: 38px auto 56px;
  padding: 42px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 8%);
}

.hpv-policy-main h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
}

.hpv-policy-main h2 {
  margin: 34px 0 10px;
  color: #9f302e;
  font-size: 22px;
}

.hpv-policy-main h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.hpv-policy-main p,
.hpv-policy-main li,
.hpv-policy-main td,
.hpv-policy-main th {
  font-size: 15px;
  line-height: 1.7;
}

.hpv-policy-main a {
  color: #9f302e;
}

.hpv-policy-updated {
  margin-top: 0;
  color: #666;
}

.hpv-policy-table-wrap {
  overflow-x: auto;
}

.hpv-policy-main table {
  width: 100%;
  border-collapse: collapse;
}

.hpv-policy-main th,
.hpv-policy-main td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #ddd;
}

.hpv-policy-main th {
  background: #f2eee5;
}

.hpv-policy-settings {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin: 8px 0;
  padding: 10px 16px;
  color: #fff;
  background: #b83735;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.hpv-map-placeholder {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  color: #2d2d2d;
  background: #e8e3d2;
  border: 1px solid #d2cbb9;
  text-align: center;
}

.hpv-map-placeholder strong {
  font-size: 22px;
}

.hpv-map-placeholder span {
  font-size: 15px;
}

.hpv-map-placeholder a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 6px;
  padding: 10px 16px;
  color: #fff;
  background: #b83735;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.hpv-contact-privacy {
  display: inline-block;
  margin: 12px 0;
  color: #444;
  font-size: 13px;
  line-height: 1.5;
}

.hpv-contact-privacy a {
  color: #a52f2d;
  font-weight: 600;
  text-decoration: underline;
}

.hpv-skip-link {
  position: fixed;
  z-index: 2147483002;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  color: #fff;
  background: #222;
  transform: translateY(-160%);
}

.hpv-skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 820px) {
  .hpv-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hpv-cookie-actions {
    min-width: 0;
    justify-content: stretch;
  }

  .hpv-cookie-actions .hpv-cookie-button {
    flex: 1 1 150px;
  }
}

@media (max-width: 560px) {
  .hpv-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .hpv-cookie-banner h2,
  .hpv-cookie-dialog h2 {
    font-size: 20px;
  }

  .hpv-cookie-dialog {
    padding: 24px 18px;
  }

  .hpv-cookie-option {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hpv-cookie-dialog-actions .hpv-cookie-button {
    flex: 1 1 100%;
  }

  .hpv-policy-main {
    width: min(100% - 20px, 920px);
    margin: 18px auto 30px;
    padding: 24px 18px;
  }
}
