/* ==========================================================================
   Cookie Consent Banner - Corktex
   ========================================================================== */

/* Banner */
.cktx-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.4;
}

.cktx-cookie-banner.--visible {
  transform: translateY(0);
}

.cktx-cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.cktx-cookie-banner-text {
  flex: 1;
  text-align: center;
}

.cktx-cookie-banner-text a {
  color: #8bc34a;
  text-decoration: underline;
}

.cktx-cookie-banner-text a:hover {
  color: #9ccc65;
}

.cktx-cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cktx-cookie-btn {
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.cktx-cookie-btn-accept {
  background: #8bc34a;
  color: #fff;
}

.cktx-cookie-btn-accept:hover {
  background: #7cb342;
}

.cktx-cookie-btn-essential {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cktx-cookie-btn-essential:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Map placeholder */
.cktx-map-placeholder {
  width: 100%;
  height: 450px;
  background: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #424242;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.cktx-map-placeholder-btn {
  background: #8bc34a;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.2s ease;
}

.cktx-map-placeholder-btn:hover {
  background: #7cb342;
}

/* Footer cookie link */
.cktx-footer-cookie-link {
  width: 100%;
  text-align: center;
  padding: 0 0 8px;
}

.cktx-footer-cookie-link a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.cktx-footer-cookie-link a:hover {
  color: #8bc34a;
  text-decoration: underline;
}

/* Legal / policy page content */
.cktx-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.cktx-legal-content h3 {
  color: #8bc34a;
  font-weight: 400;
  font-size: 18px;
  margin: 30px 0 12px;
}

.cktx-legal-content h3.cktx-legal-subtitle {
  font-size: 24px;
  margin-top: 50px;
}

.cktx-legal-content h4 {
  font-weight: 400;
  font-size: 16px;
  margin: 20px 0 8px;
}

.cktx-legal-content p {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.7;
}

.cktx-legal-content ul {
  list-style: disc;
  margin: 0 0 16px 20px;
  padding: 0;
}

.cktx-legal-content ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
}

.cktx-legal-content a {
  color: #8bc34a;
}

.cktx-legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 14px;
}

.cktx-legal-content th {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
  font-weight: 400;
}

.cktx-legal-content td {
  border: 1px solid #e0e0e0;
  padding: 10px;
}

/* Responsive */
@media screen and (min-width: 768px) {
  .cktx-cookie-banner-inner {
    flex-direction: row;
    text-align: left;
  }

  .cktx-cookie-banner-text {
    text-align: left;
  }
}
