/* === COOKIE CONSENT BANNER === */
.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #2c2c2c;
  color: #f5f0eb;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cc-banner.cc-visible {
  transform: translateY(0);
}
.cc-banner:focus-visible {
  outline: 2px solid #d4c5a9;
  outline-offset: -2px;
}
.cc-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}
.cc-banner-text {
  flex: 1 1 100%;
}
.cc-banner-text h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4c5a9;
  margin-bottom: 6px;
}
.cc-banner-text p {
  font-size: 0.88rem;
  color: rgba(244,239,228,0.75);
  margin-bottom: 4px;
}
.cc-banner-text a {
  color: #d4c5a9;
  text-decoration: underline;
}
.cc-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 100%;
}
.cc-btn {
  padding: 10px 20px;
  border: 2px solid #d4c5a9;
  border-radius: 4px;
  font-family: 'Georgia','Times New Roman',serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
  flex: 1 1 auto;
  min-width: 140px;
}
.cc-btn-accept {
  background: #6b7b4f;
  color: #fff;
  border-color: #6b7b4f;
}
.cc-btn-accept:hover,
.cc-btn-accept:focus-visible {
  background: #4a5a32;
  border-color: #4a5a32;
}
.cc-btn-reject {
  background: transparent;
  color: #d4c5a9;
  border-color: #d4c5a9;
}
.cc-btn-reject:hover,
.cc-btn-reject:focus-visible {
  background: rgba(212,197,169,0.12);
}
.cc-btn-custom {
  background: transparent;
  color: rgba(244,239,228,0.65);
  border-color: rgba(212,197,169,0.35);
}
.cc-btn-custom:hover,
.cc-btn-custom:focus-visible {
  color: #d4c5a9;
  border-color: #d4c5a9;
  background: rgba(212,197,169,0.08);
}
.cc-btn-primary {
  background: #6b7b4f;
  color: #fff;
  border-color: #6b7b4f;
}
.cc-btn-primary:hover,
.cc-btn-primary:focus-visible {
  background: #4a5a32;
  border-color: #4a5a32;
}

/* === PREFERENCE PANEL === */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.cc-overlay.cc-active {
  opacity: 1;
  visibility: visible;
}
.cc-panel {
  background: #faf7f2;
  color: #3d3d3d;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  font-family: 'Georgia','Times New Roman',serif;
  line-height: 1.6;
  position: relative;
}
.cc-panel h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4a5a32;
  margin-bottom: 16px;
  padding-right: 32px;
}
.cc-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #6b6b6b;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 4px;
}
.cc-panel-close:hover,
.cc-panel-close:focus-visible {
  color: #3d3d3d;
  background: rgba(0,0,0,0.06);
}
.cc-category {
  padding: 14px 0;
  border-bottom: 1px solid #e8dec8;
}
.cc-category:last-child {
  border-bottom: none;
}
.cc-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cc-cat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3d3d3d;
  margin: 0;
  cursor: pointer;
}
.cc-category p {
  font-size: 0.82rem;
  color: #6b6b6b;
  margin-top: 4px;
}
.cc-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cc-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cc-toggle-slider {
  position: absolute;
  inset: 0;
  background: #bbb;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.cc-toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.cc-toggle input:checked + .cc-toggle-slider {
  background: #6b7b4f;
}
.cc-toggle input:checked + .cc-toggle-slider::before {
  transform: translateX(20px);
}
.cc-toggle input:focus-visible + .cc-toggle-slider {
  outline: 2px solid #6b7b4f;
  outline-offset: 2px;
}
.cc-toggle.cc-disabled .cc-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.cc-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cc-panel-actions .cc-btn {
  min-width: 110px;
}

/* === GOOGLE MAPS PLACEHOLDER === */
.cc-map-placeholder {
  background: #f0ede6;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  min-height: 350px;
  gap: 14px;
}
.cc-map-placeholder p {
  font-size: 0.88rem;
  color: #6b6b6b;
  max-width: 380px;
  margin: 0 auto;
}
.cc-map-placeholder .cc-btn {
  min-width: 180px;
}
.cc-map-placeholder .cc-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cc-map-placeholder .cc-link-group a {
  font-size: 0.85rem;
  color: #5f6e45;
  text-decoration: underline;
  padding: 4px 8px;
  border-radius: 4px;
}
.cc-map-placeholder .cc-link-group a:hover,
.cc-map-placeholder .cc-link-group a:focus-visible {
  color: #4a5a32;
  background: rgba(107,123,79,0.08);
}

/* === LINKS BELOW MAP (after consent) === */
.cc-after-map {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px 20px;
  background: #f0ede6;
  border-radius: 0 0 4px 4px;
}
.cc-after-map a {
  font-size: 0.9rem;
  color: #5f6e45;
  text-decoration: underline;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
}
.cc-after-map a:hover,
.cc-after-map a:focus-visible {
  color: #4a5a32;
  background: rgba(107,123,79,0.1);
}

/* === FOOTER SETTINGS LINK === */
.cc-settings-link {
  display: inline-block;
  background: none;
  border: none;
  color: rgba(244,239,228,0.6);
  font-family: 'Georgia','Times New Roman',serif;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s;
}
.cc-settings-link:hover,
.cc-settings-link:focus-visible {
  color: #d4c5a9;
  outline: none;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .cc-banner {
    padding: 16px;
  }
  .cc-btn {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .cc-panel {
    padding: 20px 16px;
  }
  .cc-map-placeholder {
    min-height: 260px;
    padding: 24px 16px;
  }
  .cc-map-placeholder .cc-btn {
    min-width: 140px;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  .cc-banner,
  .cc-overlay,
  .cc-toggle-slider,
  .cc-toggle-slider::before,
  .cc-btn {
    transition: none;
  }
}
