/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  border-top: 1px solid #dde5d8;
  padding: 20px 24px;
  animation: hpcc-slide-up 0.4s ease;
}

@keyframes hpcc-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-consent-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #444;
}

.cookie-consent-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.cookie-consent-text p {
  margin: 0;
}

.cookie-consent-text a {
  color: #3d7a2d;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid #3d7a2d;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-family: inherit;
}

.cookie-btn-accept {
  background: #3d7a2d;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #5a9a45;
  border-color: #5a9a45;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: #3d7a2d;
}

.cookie-btn-decline:hover {
  background: #3d7a2d;
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Google Maps Consent Placeholder
   ========================================================================== */

.maps-consent-placeholder {
  background: #f0f4ee;
  border: 1px dashed #c5d5bc;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.maps-consent-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: #444;
}

.maps-consent-placeholder .cookie-btn {
  margin-top: 12px;
  font-size: 0.78rem;
  padding: 8px 18px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-actions {
    justify-content: center;
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    min-width: 130px;
  }
}
