/* Promo Gifts: document links and optional analytics consent. */
#footer .pg-footer-legal {
  background: #333;
  border-top: 1px solid #474747;
}
.pg-footer-legal__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.pg-footer-legal__documents {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
#footer .pg-footer-legal a,
#footer .pg-footer-legal__settings {
  color: #bdbdbd;
  font: inherit;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
  transition: color .2s;
}
#footer .pg-footer-legal__settings {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#footer .pg-footer-legal a:hover,
#footer .pg-footer-legal__settings:hover { color: #fff; }
.pg-footer-legal a:focus-visible,
.pg-footer-legal__settings:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

#pg-analytics-choice {
  position: fixed;
  z-index: 10000;
  left: 24px;
  bottom: 24px;
  width: 520px;
  max-width: calc(100% - 48px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  color: #555;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  font-family: inherit;
}
.pg-analytics-choice__title {
  margin-bottom: 10px;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.pg-analytics-choice__text { font-size: 13px; line-height: 1.65; }
.pg-analytics-choice__text a { text-decoration: underline; text-underline-offset: 3px; }
.pg-analytics-choice__actions { display: flex; gap: 12px; margin-top: 20px; }
#pg-analytics-choice .btn {
  flex: 1;
  min-height: 44px;
  margin: 0;
  padding: 12px 14px;
  font-size: 10px;
  white-space: normal;
}
#pg-analytics-choice .btn:focus-visible { outline: 2px solid #333; outline-offset: 3px; }

.pg-subscribe-consents { margin-top: 16px; }
.pg-subscribe-consents--popup { margin: 0 0 24px; }
.pg-subscribe-consents .pg-consent-field {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  cursor: pointer;
}
.pg-subscribe-consents .pg-consent-field::before,
.pg-subscribe-consents .pg-consent-field::after { content: none; }
.pg-consent-field > span { flex: 1; min-width: 0; }
.pg-consent-field a { text-decoration: underline; text-underline-offset: 3px; }
.pg-subscribe-consents .pg-consent-field > input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: static;
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.pg-subscribe-consents .pg-consent-field > input[type="checkbox"]:checked {
  border-color: #e30613;
  background: #e30613 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.pg-consent-field > input:focus-visible { outline: 2px solid #e30613; outline-offset: 3px; }
.pg-subscribe-consents .pg-consent-field > input.error { border-color: #e30613; }
#footer .pg-consent-field { color: #bdbdbd; }
#footer .pg-consent-field a { color: #eee; }
#footer .pg-consent-field a:hover { color: #fff; }
#footer .pg-consent-field > input[type="checkbox"] {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background-color: transparent;
  border-color: #777;
  box-shadow: none;
  outline: none;
}
#footer .pg-consent-field > input[type="checkbox"]:checked {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23bdbdbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: #777;
}
#footer .pg-consent-field > input[type="checkbox"]:focus-visible {
  outline: 1px solid #bdbdbd;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .pg-footer-legal__inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .pg-footer-legal__documents { flex-direction: column; gap: 14px; }
  #pg-analytics-choice {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-width: 520px;
    max-height: calc(100dvh - 24px);
    padding: 20px;
  }
}
@media (max-width: 420px) {
  .pg-analytics-choice__actions { flex-direction: column; gap: 8px; margin-top: 16px; }
  #pg-analytics-choice .btn { flex: auto; width: 100%; }
}
