.cookie-banner {
  position: fixed;
  z-index: 999999;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 760px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 18px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  box-shadow: 0 18px 40px rgb(0 0 0 / 28%);
  text-align: left;
  font: 15px/1.45 Poppins, Arial, sans-serif;
}
.cookie-banner[hidden], .cookie-launcher[hidden] { display: none !important; }
.cookie-banner h2 { margin: 0 0 12px; color: #fff; font-size: 15px; line-height: 1.4; font-weight: 700; }
.cookie-banner p { margin: 0; color: #f5f5f5; }
.cookie-banner [data-cookie-error]:not(:empty) { margin: 0 0 10px; color: #ffb3b3; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner button { border: 0; border-radius: 8px; background: #303032; color: #fff; padding: 12px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-banner [data-cookie-quick] [data-cookie-accept], .cookie-banner [data-cookie-save] { background: var(--brand, #e0222a); }
.cookie-banner button:hover { filter: brightness(1.15); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cookie-settings-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-banner [data-cookie-back] { flex: none; padding: 0; border-radius: 0; background: transparent; text-decoration: underline; }
.cookie-categories { margin-top: 18px; padding-top: 12px; border-top: 1px solid #39393b; }
.cookie-category { position: relative; padding: 5px 36px 5px 0; }
.cookie-banner .cookie-category label { display: flex; align-items: center; gap: 10px; min-height: 26px; margin: 0; font-weight: 700; cursor: pointer; }
.cookie-category input { width: 13px; height: 13px; margin: 0; accent-color: var(--brand, #e0222a); }
.cookie-category input:disabled { cursor: default; }
.cookie-category summary { position: absolute; top: 5px; right: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #353537; color: #fff; cursor: pointer; list-style: none; font-weight: 700; }
.cookie-category summary::-webkit-details-marker { display: none; }
.cookie-category summary::before { content: "+"; }
.cookie-category details[open] summary::before { content: "−"; }
.cookie-category details p { margin: 2px 0 0 32px; color: #c5c5c7; font-size: 14px; }
.cookie-launcher { position: fixed; left: 20px; bottom: 20px; z-index: 999998; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #bd1720; color: white; cursor: pointer; }
.cookie-banner :focus-visible, .cookie-launcher:focus-visible, .cookie-footer-link:focus-visible { outline: 3px solid #80c7ff; outline-offset: 3px; }
.cookie-footer-link { border: 0; padding: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.cookie-content-placeholder { padding: 1rem; background: #eee; color: #222; }
.cookie-content-placeholder button { border: 0; padding: 0; background: transparent; color: #a00000; text-decoration: underline; cursor: pointer; }
.office-map[hidden] { display: none !important; }
.cookie-map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #d5d9d5;
  border-radius: 5px;
  background: #e7e9e3 url("/assets/office-map-placeholder.svg") center / cover no-repeat;
}
.cookie-map-placeholder::before { content: ""; position: absolute; inset: 0; background: rgb(38 46 48 / 38%); }
.cookie-map-message {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 360px;
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  color: #273c48;
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  text-align: center;
}
.cookie-map-icon { width: 32px; height: 32px; color: #bd1720; }
.cookie-map-caption { position: absolute; right: 12px; bottom: 8px; color: #fff; font-size: 11px; }
.cookie-map-message strong { font-size: 20px; }
.cookie-map-message p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-content-placeholder .cookie-map-button {
  margin-top: 4px;
  padding: 11px 18px;
  border-radius: 6px;
  background: #bd1720;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.cookie-map-button:hover { background: #97131b; }
.cookie-map-button:focus-visible { outline: 3px solid #145cbb; outline-offset: 3px; }
@media (max-width: 576px) {
  .cookie-banner { bottom: 12px; left: 12px; right: 12px; max-height: calc(100dvh - 24px); padding: 16px; }
  .cookie-settings-intro { display: block; }
  .cookie-banner [data-cookie-back] { margin-top: 8px; }
  .cookie-categories { margin-top: 14px; }
  .cookie-actions { flex-direction: column; gap: 10px; }
  .cookie-actions button { width: 100%; }
}
@media (max-width: 700px) {
  .cookie-map-placeholder { min-height: 420px; }
  .cookie-map-message { padding: 22px; }
}
