/* Cookie banner. Loaded on its own so the shop, blue route and route
   comparison pick it up without the rest of the marketing sheet. */
.cookie-banner {
  position: fixed;
  z-index: 95;
  right: 1rem;
  bottom: 1rem;
  left: auto;
  width: min(38rem, calc(100% - 2rem));
  margin: 0;
  padding: 1.05rem 1.15rem 1.15rem;
  background: #0A0A0A;
  color: #fff;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .35);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #E30613;
}
.cookie-banner-title {
  margin: 0 0 .35rem;
  font-family: var(--font-display, "Chakra Petch", sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cookie-banner-copy {
  margin: 0 0 .9rem;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  line-height: 1.45;
}
.cookie-banner-copy a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .14em;
}
.cookie-banner-copy a:hover { color: #fff; }
.cookie-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.cookie-btn {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  margin: 0;
  padding: .75rem .7rem;
  border: 0;
  background: #fff;
  color: #0A0A0A;
  cursor: pointer;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.cookie-btn-reject { background: #fff; color: #0A0A0A; }
.cookie-btn-accept { background: #E30613; color: #fff; }
.cookie-btn-reject:hover { background: #f3f3f3; }
.cookie-btn-accept:hover { background: #B0050F; }
.cookie-banner :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 780px) {
  .cookie-banner {
    right: .75rem;
    left: .75rem;
    width: auto;
  }
  body:has(.hire-dock) .cookie-banner {
    bottom: calc(5.35rem + env(safe-area-inset-bottom));
  }
}
