/* DATA OVEN compact cookie consent */
.do-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2147483000;
  width: 100%;
  border-top: 1px solid rgba(11, 13, 16, 0.15);
  background: rgba(255, 255, 255, 0.98);
  color: #0b0d10;
  box-shadow: 0 -12px 36px rgba(11, 13, 16, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.do-cookie-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 90rem);
  margin: 0 auto;
  padding: 1rem 4.25rem 1rem 1.5rem;
}

.do-cookie-banner__copy {
  min-width: 0;
}

.do-cookie-banner h2,
.do-cookie-preferences h3 {
  margin: 0;
  color: #0b0d10;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 750;
}

.do-cookie-banner p,
.do-cookie-preferences p {
  margin: 0.3rem 0 0;
  max-width: 58rem;
  color: rgba(11, 13, 16, 0.68);
  font-size: 0.86rem;
  line-height: 1.5;
}

.do-cookie-banner a,
.do-cookie-preferences a {
  color: #c94700;
  font-weight: 700;
  text-underline-offset: 3px;
}

.do-cookie-banner__actions,
.do-cookie-preferences__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.do-cookie-button {
  min-height: 44px;
  border-radius: 0.55rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid rgba(11, 13, 16, 0.28);
  background: #fff;
  color: #0b0d10;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.do-cookie-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 0, 0.55);
  background: #fffaf1;
}

.do-cookie-button:focus-visible,
.do-cookie-close:focus-visible,
.do-cookie-settings:focus-visible,
.do-cookie-switch input:focus-visible + span {
  outline: 3px solid rgba(255, 90, 0, 0.28);
  outline-offset: 2px;
}

.do-cookie-button--accept,
.do-cookie-button--save {
  border-color: transparent;
  background: linear-gradient(90deg, #ff5a00, #ff8a00);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 90, 0, 0.22);
}

.do-cookie-button--accept:hover,
.do-cookie-button--save:hover {
  border-color: transparent;
  background: linear-gradient(90deg, #ed5200, #f47b00);
}

.do-cookie-close {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(11, 13, 16, 0.68);
  cursor: pointer;
  font: 500 1.7rem/1 system-ui, sans-serif;
}

.do-cookie-close:hover {
  background: rgba(11, 13, 16, 0.06);
  color: #0b0d10;
}

.do-cookie-preferences {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 2147483001;
  width: min(34rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  border: 1px solid rgba(11, 13, 16, 0.14);
  border-radius: 1rem;
  background: #fff;
  color: #0b0d10;
  box-shadow: 0 24px 80px rgba(11, 13, 16, 0.24);
  padding: 1.25rem;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.do-cookie-preferences__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11, 13, 16, 0.1);
}

.do-cookie-preferences__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(11, 13, 16, 0.08);
}

.do-cookie-preferences__item strong {
  display: block;
  font-size: 0.9rem;
}

.do-cookie-preferences__item small {
  display: block;
  margin-top: 0.22rem;
  color: rgba(11, 13, 16, 0.58);
  font-size: 0.76rem;
  line-height: 1.4;
}

.do-cookie-status {
  flex: 0 0 auto;
  color: #46701d;
  font-size: 0.75rem;
  font-weight: 750;
}

.do-cookie-switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 27px;
}

.do-cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.do-cookie-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9cdd1;
  cursor: pointer;
  transition: background 0.18s ease;
}

.do-cookie-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(11, 13, 16, 0.25);
  transition: transform 0.18s ease;
}

.do-cookie-switch input:checked + span {
  background: linear-gradient(90deg, #ff5a00, #ff8a00);
}

.do-cookie-switch input:checked + span::after {
  transform: translateX(21px);
}

.do-cookie-preferences__actions {
  margin-top: 1rem;
}

.do-cookie-settings {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 2147482999;
  min-height: 40px;
  border: 1px solid rgba(11, 13, 16, 0.15);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: #fffaf1;
  color: #0b0d10;
  box-shadow: 0 12px 34px rgba(11, 13, 16, 0.14);
  cursor: pointer;
  font: 700 0.76rem/1 Inter, system-ui, sans-serif;
}

.do-cookie-settings:hover {
  background: #fff3dc;
}

.do-cookie-toast {
  position: fixed;
  left: 50%;
  bottom: 4.5rem;
  z-index: 2147483002;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: #0b0d10;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  font: 700 0.78rem/1.2 Inter, system-ui, sans-serif;
  text-align: center;
}

@media (max-width: 760px) {
  .do-cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem 3.7rem 1rem 1rem;
  }

  .do-cookie-banner h2 {
    font-size: 0.95rem;
  }

  .do-cookie-banner p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .do-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .do-cookie-button {
    width: 100%;
    padding-inline: 0.75rem;
  }

  .do-cookie-close {
    top: 0.85rem;
    right: 0.65rem;
    transform: none;
  }

  .do-cookie-preferences {
    bottom: 0.5rem;
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    overflow: auto;
    border-radius: 0.9rem;
  }

  .do-cookie-preferences__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .do-cookie-button,
  .do-cookie-switch span,
  .do-cookie-switch span::after {
    transition: none;
  }
}
