/* ============================================================
   Tremosine Holiday — Cookie Banner
   GDPR-compliant notice bar
   ============================================================ */

#th-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark, #2C2A27);
  color: var(--cream, #F5EBE0);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -2px 16px rgba(44,42,39,0.22);
  font-size: 0.88rem;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

#th-cookie-banner.is-visible {
  transform: translateY(0);
}

#th-cookie-banner p {
  margin: 0;
  flex: 1;
  color: var(--cream, #F5EBE0);
  opacity: 0.92;
}

#th-cookie-banner .cb-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

#th-cookie-banner .cb-btn-ok {
  background: var(--olive, #918469);
  color: var(--cream, #F5EBE0);
  border: none;
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s;
}

#th-cookie-banner .cb-btn-ok:hover {
  background: var(--clay, #BC7942);
}

#th-cookie-banner .cb-btn-more {
  color: var(--cream, #F5EBE0);
  font-size: 0.82rem;
  opacity: 0.72;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#th-cookie-banner .cb-btn-more:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  #th-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.2rem 1.4rem;
    gap: 1rem;
  }

  #th-cookie-banner .cb-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
