.tp-cookie-banner {
  inset: auto 0 0;
  display: block;
  max-width: none;
  margin: 0;
  padding: 20px max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  border: 0;
  border-top: 1px solid #e1e5e9;
  border-radius: 0;
  background: #fff;
  color: #26313c;
  box-shadow: 0 -6px 28px #26313c0d;
}
.tp-cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; max-width: 1320px; margin: 0 auto; }
.tp-cookie-banner__content { display: block; max-width: 620px; min-width: 0; }
.tp-cookie-banner__content h2 { margin: 0 0 6px; font-size: 17px; font-weight: 550; line-height: 1.4; letter-spacing: 0; }
.tp-cookie-banner__content p { margin: 0; color: #59636e; font-size: 13px; line-height: 1.7; }
.tp-cookie-banner__link { display: inline; color: #26313c; white-space: nowrap; text-underline-offset: 3px; }
.tp-cookie-banner__actions { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); flex: 0 0 auto; gap: 4px 10px; }
.tp-cookie-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #007da8; border-radius: 4px; background: #fff; color: #007da8; font-size: 13px; font-weight: 550; line-height: 1.5; text-align: center; }
.tp-cookie-customize { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: #59636e; font-size: 12px; line-height: 1.5; }
.tp-cookie-customize .icon { font-size: 16px; }
.tp-cookie-button:hover { background: #007da8; color: #fff; }
.tp-cookie-customize:hover, .tp-cookie-banner__link:hover { color: #007da8; }
.tp-cookie-banner :focus-visible, .tp-cookie-modal :focus-visible { outline: 2px solid #007da8; outline-offset: 3px; }
.tp-cookie-modal__dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: 24px auto; padding: 26px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #e1e5e9; border-radius: 8px; box-shadow: 0 16px 48px #26313c26; }
.tp-cookie-modal__header { align-items: center; margin-bottom: 12px; }
.tp-cookie-modal__title { color: #26313c; font-size: 22px; font-weight: 550; line-height: 1.4; letter-spacing: 0; }
.tp-cookie-modal__close { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 4px; color: #59636e; background: #f5f7f8; }
.tp-cookie-modal__close:hover { color: #007da8; background: #edf9fd; }
.tp-cookie-modal__body { gap: 0; }
.tp-cookie-modal__body > p { margin-bottom: 8px !important; font-size: 13px; line-height: 1.7; }
.tp-cookie-preference { display: flex; gap: 20px; padding: 18px 0; border: 0; border-bottom: 1px solid #e1e5e9; border-radius: 0; background: transparent; }
.tp-cookie-preference > div { min-width: 0; }
.tp-cookie-preference strong { color: #26313c; font-size: 14px; font-weight: 550; }
.tp-cookie-preference .text-sm { font-size: 12px; line-height: 1.7; }
.tp-cookie-switch { min-height: 44px; cursor: pointer; }
.tp-cookie-switch input:checked + .tp-cookie-switch__slider { background: #007da8; }
.tp-cookie-switch input:disabled + .tp-cookie-switch__slider { background: #68717a; }
.tp-cookie-switch input:focus-visible + .tp-cookie-switch__slider { outline: 2px solid #007da8; outline-offset: 3px; }
.tp-cookie-modal__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
@media (max-width: 767px) {
  .tp-cookie-banner { padding: 16px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .tp-cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .tp-cookie-banner__content { max-width: none; }
  .tp-cookie-banner__content h2 { font-size: 16px; }
  .tp-cookie-banner__content p { font-size: 12px; line-height: 1.6; }
  .tp-cookie-banner__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
  .tp-cookie-button { min-width: 0; padding: 10px; font-size: 12px; }
  .tp-cookie-modal__dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); margin: 12px auto; padding: 18px; }
  .tp-cookie-modal__title { font-size: 20px; }
  .tp-cookie-modal__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .tp-cookie-button, .tp-cookie-customize, .tp-cookie-modal__close, .tp-cookie-banner__link { transition: color .16s, background-color .16s; }
}
