.pp-cookie-consent[hidden],
.pp-cookie-preferences[hidden] {
  display: none !important;
}

.pp-cookie-consent {
  bottom: 0;
  left: 0;
  padding: 16px;
  position: fixed;
  right: 0;
  z-index: 9999;
}

.pp-cookie-consent__panel {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #d7e2dc;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(18, 38, 32, 0.18);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1080px;
  padding: 18px;
}

.pp-cookie-consent__mobile-trigger {
  display: none;
}

.pp-cookie-consent h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.pp-cookie-consent p {
  margin: 0;
}

.pp-cookie-consent__links,
.pp-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pp-cookie-consent__links {
  margin-top: 10px;
}

.pp-cookie-consent__choices {
  grid-column: 1 / -1;
}

.pp-cookie-consent__choices label {
  display: block;
  margin: 8px 0;
}

.pp-cookie-consent__current {
  color: #53635d;
  font-size: 13px;
  margin-top: 8px !important;
}

.pp-cookie-preferences {
  background: #ffffff;
  border: 1px solid #d7e2dc;
  border-radius: 6px 6px 0 0;
  bottom: 0;
  color: #1f6f50;
  font-size: 13px;
  left: 16px;
  padding: 8px 12px;
  position: fixed;
  z-index: 9998;
}

@media (max-width: 767px) {
  .pp-cookie-consent {
    bottom: 86px;
    left: 16px;
    padding: 0;
    right: auto;
  }

  .pp-cookie-consent__mobile-trigger {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d7e2dc;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(18, 38, 32, 0.18);
    color: #1f6f50;
    display: flex;
    font-size: 22px;
    height: 52px;
    justify-content: center;
    min-height: 52px;
    padding: 0;
    width: 52px;
  }

  .pp-cookie-consent__mobile-trigger:focus {
    outline: 3px solid rgba(47, 125, 92, .25);
    outline-offset: 3px;
  }

  .pp-cookie-consent:not(.is-open) .pp-cookie-consent__panel {
    display: none;
  }

  .pp-cookie-consent.is-open {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }

  .pp-cookie-consent.is-open .pp-cookie-consent__mobile-trigger {
    display: none;
  }

  .pp-cookie-consent__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 16px;
    width: 100%;
  }

  .pp-cookie-consent h2 {
    font-size: 18px;
  }

  .pp-cookie-consent p {
    font-size: 14px;
    line-height: 1.45;
  }

  .pp-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pp-cookie-consent__actions .btn {
    min-height: 44px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .pp-cookie-preferences {
    border-radius: 999px;
    bottom: 86px;
    font-size: 0;
    height: 52px;
    left: 16px;
    padding: 0;
    width: 52px;
  }

  .pp-cookie-preferences::before {
    content: "🍪";
    font-size: 22px;
  }
}
