/* ============================================================
   Hestia Home — RODO Consent Banner
   Uses same design tokens as the site (gold + dark blue)
   ============================================================ */

.hesia-consent-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hesia-consent-box {
  pointer-events: auto;
  width: 100%;
  max-width: 1100px;
  margin: 0 16px 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10, 31, 68, 0.25);
  padding: 28px 32px;
  border: 1px solid #e8e3d8;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hesia-consent-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #0A1F44;
  letter-spacing: -0.01em;
}

.hesia-consent-body {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5f6c7b;
}

.hesia-consent-body a {
  color: #d7b36a;
  font-weight: 600;
  text-decoration: underline;
}

.hesia-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hesia-consent-btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.hesia-consent-btn-accept {
  background: #d7b36a;
  color: #0A1F44;
  border-color: #d7b36a;
}

.hesia-consent-btn-accept:hover {
  background: #e3c280;
  border-color: #e3c280;
  transform: translateY(-1px);
}

.hesia-consent-btn-reject {
  background: transparent;
  color: #0A1F44;
  border-color: #c8cfd8;
}

.hesia-consent-btn-reject:hover {
  border-color: #0A1F44;
  background: #f8f9fa;
}

.hesia-consent-btn-custom {
  background: transparent;
  color: #5f6c7b;
  border-color: transparent;
  text-decoration: underline;
}

.hesia-consent-btn-custom:hover {
  color: #0A1F44;
}

/* ===== Customize view ===== */
.hesia-consent-custom {
  max-width: 100%;
}

.hesia-consent-cat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0ede5;
  cursor: pointer;
}

.hesia-consent-cat:last-of-type {
  border-bottom: none;
  margin-bottom: 14px;
}

.hesia-consent-cat input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #d7b36a;
  flex-shrink: 0;
}

.hesia-consent-cat input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hesia-consent-cat div {
  flex: 1;
}

.hesia-consent-cat strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0A1F44;
  margin-bottom: 4px;
}

.hesia-consent-cat small {
  display: block;
  font-size: 13px;
  color: #5f6c7b;
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .hesia-consent-box {
    padding: 20px 18px;
    margin: 0 10px 10px;
    border-radius: 12px;
  }

  .hesia-consent-title {
    font-size: 17px;
  }

  .hesia-consent-body {
    font-size: 13.5px;
  }

  .hesia-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hesia-consent-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
}

/* ===== Footer link ===== */
.hesia-open-consent {
  background: none;
  border: none;
  color: #5f6c7b;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.hesia-open-consent:hover {
  color: #d7b36a;
}
