.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: #2ecc71;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
}

.cookie-btn:hover,
.cookie-btn:focus {
  background: #00A650;
  color: #ffffff;
  text-decoration: none;
}

.cookie-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: #1a1a1a;
  color: #ffffff;
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  -webkit-transform: none !important;
  transform: none !important;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-banner h2 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.cookie-banner a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-overlay {
  position: absolute;
  z-index: 2147483646;
  box-sizing: border-box;
  margin: 0;
  padding: 1rem;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  -webkit-transform: none !important;
  transform: none !important;
}

.cookie-overlay.is-open {
  display: flex;
}

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

.cookie-panel {
  background: #ffffff;
  color: #333;
  width: 100%;
  max-width: 720px;
  max-height: min(90vh, 90dvh);
  overflow: auto;
  border-radius: 10px;
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-panel h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #333;
}

.cookie-panel p,
.cookie-panel li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
}

.cookie-panel p {
  margin: 0 0 0.85rem;
}

.cookie-cat {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 0.85rem;
}

.cookie-cat h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #00A650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-cat label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cookie-footer-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.footer a:link,
.footer a:visited,
.footer a:hover,
.footer a:active,
.footer a:focus,
.footer .cookie-footer-link,
.footer .cookie-footer-link:hover,
.footer .cookie-footer-link:focus {
  color: #ffffff;
  text-decoration: none;
}

.footer-legal-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.9rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer .footer-legal-row a,
.footer .footer-legal-row .cookie-footer-link {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .footer-legal-row {
    flex-wrap: wrap;
  }
}

.cookie-video-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #111;
  color: #fff;
  min-height: 180px;
  padding: 1.25rem;
  font-size: 0.95rem;
}

.cookie-video-ph button {
  margin-top: 0.75rem;
}

html, body {
  -webkit-transform: none !important;
  transform: none !important;
}

body.cookie-banner-open {
  padding-bottom: 220px;
}

@media (min-width: 768px) {
  .cookie-overlay {
    align-items: center;
  }

  .cookie-panel {
    border-radius: 10px;
    padding: 1.75rem 1.75rem 2rem;
  }

  body.cookie-banner-open {
    padding-bottom: 160px;
  }
}
