/**
 * Palazzo Marchi - Cookie Banner GDPR
 * Design coordinato (Dark Charcoal & Oro Palazzo Marchi)
 */
.pm-cookie-overlay {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.96);
  border: 1px solid #c5a059;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 22px 26px;
  z-index: 999999;
  backdrop-filter: blur(8px);
  color: #f0f0f0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  animation: pmFadeIn 0.35s ease;
  box-sizing: border-box;
}

@keyframes pmFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.pm-cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pm-cookie-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: #c5a059;
  letter-spacing: 0.5px;
}

.pm-cookie-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #d1d1d1;
}

.pm-cookie-text a {
  color: #c5a059;
  text-decoration: underline;
  transition: color 0.2s;
}

.pm-cookie-text a:hover {
  color: #e5be75;
}

.pm-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.pm-cookie-btn {
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-transform: uppercase;
}

.pm-cookie-btn-accept {
  background: #c5a059;
  color: #1a1a1a;
  border: 1px solid #c5a059;
}

.pm-cookie-btn-accept:hover {
  background: #d8b268;
  color: #000;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}

.pm-cookie-btn-reject {
  background: transparent;
  color: #ccc;
  border: 1px solid #555;
}

.pm-cookie-btn-reject:hover {
  border-color: #888;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Floating Cookie Badge */
.pm-cookie-badge {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #c5a059;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5a059;
  z-index: 999990;
  transition: transform 0.2s, background 0.2s;
}

.pm-cookie-badge:hover {
  transform: scale(1.1);
  background: #c5a059;
  color: #1a1a1a;
}

@media (max-width: 600px) {
  .pm-cookie-overlay {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 18px 16px;
  }
  .pm-cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .pm-cookie-btn {
    width: 100%;
    text-align: center;
  }
}
