/* Tania Drukarnia — niewymuszający pasek zgody GA4, październik 2026 */
.td-cookie-banner, .td-cookie-banner * { box-sizing: border-box; }
.td-cookie-banner[hidden] { display: none !important; }
.td-cookie-banner {
  position: fixed;
  z-index: 20000;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 30px));
  max-height: min(85vh, 540px);
  overflow-y: auto;
  padding: 18px 21px;
  color: #122947;
  background: #fff;
  border: 1px solid #dbe4ec;
  border-radius: 16px;
  box-shadow: 0 15px 55px rgba(9, 32, 61, .21);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}
.td-cookie-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
}
.td-cookie-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  color: #09203d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}
.td-cookie-label::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #ff641d;
  flex: 0 0 auto;
}
.td-cookie-banner p { margin: 3px 0 5px; color: #536579; font-size: 13px; line-height: 1.5; }
.td-cookie-banner a { color: #092d5a; text-decoration: underline; text-underline-offset: 2px; font-weight: 650; }
.td-cookie-banner a:hover { color: #e65610; }
.td-cookie-current { margin-top: 5px; font-size: 12px; color: #627285; }
.td-cookie-actions { display: flex; gap: 10px; align-items: center; }
.td-cookie-button {
  min-width: 128px;
  min-height: 44px;
  padding: 10px 19px;
  border-radius: 10px;
  border: 2px solid transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
  white-space: nowrap;
}
.td-cookie-button:hover { filter: brightness(.95); transform: translateY(-1px); }
.td-cookie-button:active { transform: translateY(0); }
.td-cookie-button:focus-visible,
.td-cookie-settings:focus-visible,
.td-cookie-banner a:focus-visible { outline: 3px solid #159ded; outline-offset: 3px; }
.td-cookie-reject { background: #102f50; border-color: #102f50; }
.td-cookie-accept { background: #ee631f; border-color: #ee631f; }
.td-cookie-settings {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
}
.td-cookie-settings:hover { color: #ee631f; }
@media (max-width: 700px) {
  .td-cookie-banner {
    bottom: 8px;
    width: calc(100% - 16px);
    padding: 16px;
    border-radius: 13px;
  }
  .td-cookie-inner { grid-template-columns: 1fr; gap: 12px; }
  .td-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .td-cookie-button { min-width: 0; width: 100%; white-space: normal; }
}
@media (max-width: 360px) {
  .td-cookie-actions { grid-template-columns: 1fr; }
  .td-cookie-button { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .td-cookie-button { transition: none; }
}
