.tk-cookie-banner,
.tk-cookie-panel,
.tk-cookie-panel *,
.tk-cookie-floating,
.tk-cookie-floating * {
  box-sizing: border-box;
}

.tk-cookie-banner,
.tk-cookie-panel,
.tk-cookie-floating {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.tk-cookie-banner[hidden],
.tk-cookie-panel[hidden],
.tk-cookie-floating[hidden] {
  display: none !important;
}

body.tk-cookie-consent-pending {
  overflow: hidden;
}

body.tk-cookie-consent-pending > *:not(.tk-cookie-banner):not(.tk-cookie-panel):not(script):not(style):not(link) {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.22s ease;
}

body.tk-cookie-consent-pending .tk-cookie-banner,
body.tk-cookie-consent-pending .tk-cookie-panel {
  filter: none;
}

.tk-cookie-floating {
  position: fixed;
  z-index: 11990;
  left: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #ecfeff);
  color: #111111;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tk-cookie-floating:hover,
.tk-cookie-floating:focus {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff, #dff7f4);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.28);
}

.tk-cookie-floating img {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  transform: none;
}

.tk-cookie-banner {
  position: fixed;
  z-index: 12000;
  left: 50%;
  right: auto;
  bottom: 18px;
  width: min(1120px, calc(100vw - 28px));
  transform: translateX(-50%);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.13), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
  color: #0f172a;
  overflow: hidden;
}

.tk-cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid #0f766e;
  pointer-events: none;
}

.tk-cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
  padding: 24px;
}

.tk-cookie-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.1);
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.tk-cookie-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.12);
}

.tk-cookie-banner h2,
.tk-cookie-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.tk-cookie-banner p,
.tk-cookie-panel p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.tk-cookie-link {
  color: #0f766e;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tk-cookie-link:hover,
.tk-cookie-link:focus {
  color: #ef4444;
}

.tk-cookie-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tk-cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 86px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tk-cookie-option:hover,
.tk-cookie-option:focus-within {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.tk-cookie-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #0f766e;
}

.tk-cookie-option input:disabled {
  opacity: 0.55;
}

.tk-cookie-option strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.2;
}

.tk-cookie-option span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.4;
}

.tk-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.tk-cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  padding: 0 17px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.tk-cookie-button:hover,
.tk-cookie-button:focus {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.52);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.13);
}

.tk-cookie-button-primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.tk-cookie-button-danger {
  border-color: rgba(239, 68, 68, 0.38);
  color: #b91c1c;
}

.tk-cookie-button-ghost {
  background: transparent;
}

.tk-cookie-panel {
  position: fixed;
  z-index: 12001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.tk-cookie-panel-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.3);
  padding: 22px;
}

.tk-cookie-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.tk-cookie-panel .tk-cookie-options {
  margin-top: 18px;
}

.tk-cookie-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: #f8fafc;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tk-cookie-detail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tk-cookie-detail {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  background: #f8fafc;
  padding: 13px;
}

.tk-cookie-detail strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.tk-cookie-detail span {
  display: block;
  margin-top: 5px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.footer-link-button,
.footer-widget .footer-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 1.6rem;
  font-weight: inherit;
  line-height: 3.6rem;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-button:hover,
.footer-link-button:focus {
  color: #f44438;
  outline: none;
}

body.tk-cookie-panel-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .tk-cookie-banner-inner {
    grid-template-columns: 1fr;
  }

  .tk-cookie-actions {
    justify-content: stretch;
  }

  .tk-cookie-button {
    flex: 1 1 160px;
  }
}

@media (max-width: 560px) {
  .tk-cookie-floating {
    left: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
  }

  .tk-cookie-floating img {
    width: 30px;
    height: 30px;
  }

  .tk-cookie-banner {
    bottom: 10px;
    width: calc(100vw - 18px);
    border-radius: 18px;
  }

  .tk-cookie-banner-inner {
    gap: 16px;
    padding: 18px;
  }

  .tk-cookie-options {
    grid-template-columns: 1fr;
  }

  .tk-cookie-button {
    width: 100%;
  }
}
