.cookie-consent,
.cookie-modal,
.cookie-fab {
  box-sizing: border-box;
  font-family: "Barlow", Arial, sans-serif;
}

.cookie-consent *,
.cookie-modal * {
  box-sizing: border-box;
}

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

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--red, #ff4800);
  background: rgba(17, 17, 17, 0.98);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: var(--red, #ff4800);
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 14px !important;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-transform: uppercase;
}

.cookie-consent__copy p:last-child {
  margin-bottom: 0;
}

.cookie-consent__copy,
.cookie-consent__copy p,
.cookie-consent__copy a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px !important;
  line-height: 1.55;
}

.cookie-consent__copy a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-btn--primary {
  background: var(--red, #ff4800);
  color: #fff;
}

.cookie-btn--dark {
  background: #111;
  color: #fff;
}

.cookie-btn--light {
  background: #fff;
  color: #111;
}

.cookie-btn--outline {
  border-color: rgba(255, 255, 255, 0.48);
  background: transparent;
  color: #fff;
}

.cookie-btn:focus-visible,
.site-footer-privacy-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.cookie-label-short {
  display: none;
}

.cookie-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 10040;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.cookie-modal__panel {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-top: 4px solid var(--red, #ff4800);
  border-radius: 8px;
  background: #fff;
  color: #111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.cookie-modal__header,
.cookie-modal__body,
.cookie-modal__footer {
  padding: 24px;
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--rule, #e0e0e0);
}

.cookie-modal__title {
  margin: 0 0 8px;
  color: #111;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 34px !important;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.cookie-modal__intro,
.cookie-modal__body p,
.cookie-modal__body li {
  color: #333;
  font-size: 16px !important;
  line-height: 1.6;
}

.cookie-modal__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule, #e0e0e0);
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__group {
  display: grid;
  gap: 14px;
}

.cookie-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--rule, #e0e0e0);
  border-radius: 8px;
  background: #f7f7f7;
}

.cookie-choice input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--red, #ff4800);
}

.cookie-choice strong {
  display: block;
  margin-bottom: 4px;
  color: #111;
  font-family: "Barlow Condensed", Arial Narrow, sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-choice p {
  margin: 0;
}

.cookie-gpc-note {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--red, #ff4800);
  background: #f7f7f7;
}

.cookie-gpc-note.is-visible {
  display: block;
}

.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  border-top: 1px solid var(--rule, #e0e0e0);
}

.site-footer-privacy-button {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 17px !important;
  line-height: 1.65;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-footer-privacy-button:hover,
.site-footer-privacy-button:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-embed-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--rule, #e0e0e0);
  background: #f5f5f5;
  text-align: center;
}

.cookie-embed-placeholder p {
  max-width: 520px;
  margin: 0 auto 16px;
  color: #333;
  font-size: 16px !important;
  line-height: 1.55;
}

iframe[data-cookie-src]:not([src]) {
  display: none !important;
}

@media (min-width: 1025px) {
  .cookie-consent {
    left: 24px;
    right: auto;
    bottom: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: min(660px, calc(100vw - 48px));
    padding: 10px 12px 12px;
    margin: 0;
    border-top-width: 3px;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
  }

  .cookie-consent__eyebrow {
    margin-bottom: 3px;
    font-size: 10px !important;
    letter-spacing: 0.18em;
  }

  .cookie-consent__copy,
  .cookie-consent__copy p,
  .cookie-consent__copy a {
    font-size: 12px !important;
    line-height: 1.25;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: stretch;
  }

  .cookie-consent .cookie-btn {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 7px 9px;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .cookie-consent {
    left: 18px;
    right: auto;
    bottom: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: min(620px, calc(100vw - 36px));
    padding: 10px 12px 12px;
    border-top-width: 3px;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
  }

  .cookie-consent__eyebrow {
    margin-bottom: 3px;
    font-size: 10px !important;
    letter-spacing: 0.18em;
  }

  .cookie-consent__copy,
  .cookie-consent__copy p,
  .cookie-consent__copy a {
    font-size: 12px !important;
    line-height: 1.25;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
  }

  .cookie-consent .cookie-btn {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 7px 9px;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: calc(124px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    width: auto;
    max-height: min(34vh, calc(100vh - 132px - env(safe-area-inset-bottom, 0px)));
    overflow: auto;
    padding: 11px 12px 12px;
    border-top-width: 3px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  }

  .cookie-consent__eyebrow {
    margin-bottom: 4px;
    font-size: 11px !important;
    letter-spacing: 0.18em;
  }

  .cookie-consent__copy,
  .cookie-consent__copy p,
  .cookie-consent__copy a {
    font-size: 12px !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .cookie-consent__copy p {
    margin: 0;
  }

  .cookie-consent__copy,
  .cookie-consent__actions {
    min-width: 0;
    width: 100%;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
  }

  .cookie-consent__actions .cookie-btn--primary {
    grid-column: 1 / -1;
  }

  .cookie-btn {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 8px 6px;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    line-height: 1.1;
    white-space: normal;
  }

  .cookie-consent .cookie-label-full {
    display: none;
  }

  .cookie-consent .cookie-label-short {
    display: inline;
  }

  .cookie-modal__actions,
  .cookie-modal__footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .cookie-fab {
    left: 12px;
    right: auto;
    bottom: calc(124px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: calc(100% - 24px);
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .cookie-modal {
    align-items: end;
    padding: 12px;
  }

  .cookie-modal__panel {
    max-height: calc(100vh - 24px);
  }

  .cookie-modal__header,
  .cookie-modal__body,
  .cookie-modal__footer {
    padding: 18px;
  }

  .cookie-modal__title {
    font-size: 28px !important;
  }
}
