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

.cookie-consent {
  position: fixed;
  z-index: 10000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #173b43;
  font-family: "DM Sans", sans-serif;
}

.cookie-consent__inner {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: #fffaf3;
  border: 1px solid rgba(23, 59, 67, 0.18);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(23, 59, 67, 0.18);
}

.cookie-consent__copy h2 {
  margin: 0 0 5px;
  color: #173b43;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.cookie-consent__copy p {
  margin: 0;
  color: #53666a;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 9px;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #173b43;
  border-radius: 999px;
  background: #173b43;
  color: #fffaf3;
  font: 700 13px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.cookie-consent__button:hover { background: #24545e; }
.cookie-consent__button:focus-visible { outline: 3px solid #ef705d; outline-offset: 3px; }

.cookie-settings-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cookie-consent { left: 10px; right: 10px; bottom: 10px; }
  .cookie-consent__inner { grid-template-columns: 1fr; gap: 14px; padding: 16px; border-radius: 16px; }
  .cookie-consent__actions { width: 100%; }
}

@media (max-width: 360px) {
  .cookie-consent__actions { grid-template-columns: 1fr; }
}
