/* ============================================================
   Individual Journey — Cookie Consent Banner
   Brand: Warm White #FDFAF5 | Gold #E8C97E | Anthrazit #3D3D3D
   Fonts: Cormorant Garamond (title) | DM Sans (body)
   ============================================================ */

#ij-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 48px);
  max-width: 760px;
  background: #FDFAF5;
  border: 1px solid #E8C97E;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(61, 61, 61, 0.12), 0 2px 8px rgba(61, 61, 61, 0.06);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-family: 'DM Sans', sans-serif;
}

.ij-cb-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}

.ij-cb-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.ij-cb-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 600;
  color: #3D3D3D;
  line-height: 1.2;
}

.ij-cb-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #7a7468;
  line-height: 1.55;
  font-weight: 300;
}

.ij-cb-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#ij-cb-necessary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #3D3D3D;
  background: transparent;
  border: 1px solid #D4B896;
  border-radius: 3px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

#ij-cb-necessary:hover {
  border-color: #3D3D3D;
  background: rgba(212, 184, 150, 0.08);
}

#ij-cb-accept {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #3D3D3D;
  background: #E8C97E;
  border: 1px solid #E8C97E;
  border-radius: 3px;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}

#ij-cb-accept:hover {
  background: #dbb96a;
  border-color: #dbb96a;
}

/* Mobile */
@media (max-width: 580px) {
  #ij-cookie-banner {
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(20px);
    border-radius: 4px 4px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  #ij-cookie-banner[style*="opacity: 1"] {
    transform: translateY(0) !important;
  }

  .ij-cb-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px 22px;
  }

  .ij-cb-btns {
    width: 100%;
  }

  #ij-cb-necessary,
  #ij-cb-accept {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
  }
}
