.ybx-consent-panel {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 1rem;
  background: #fff;
  color: #111113;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  font-family: Inter, Arial, sans-serif;
}

.ybx-consent-panel[hidden] { display: none; }
.ybx-consent-copy { max-width: 36rem; }
.ybx-consent-copy h2 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 800; }
.ybx-consent-copy p { margin: 0 0 0.35rem; font-size: 0.9rem; line-height: 1.5; }
.ybx-consent-copy a { color: #7a5415; text-decoration: underline; }
.ybx-consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ybx-consent-actions button,
.ybx-cookie-preferences {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 2px solid #9a6b1f;
  border-radius: 0.65rem;
  background: #fff;
  color: #111113;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
}

.ybx-consent-actions button:hover,
.ybx-cookie-preferences:hover { background: #fff8e8; }
.ybx-consent-actions button:focus-visible,
.ybx-cookie-preferences:focus-visible,
.ybx-consent-copy a:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }

.ybx-cookie-preferences {
  position: fixed;
  z-index: 9999;
  right: auto;
  bottom: 0.75rem;
  left: 0.75rem;
  border-width: 1px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

@media (max-width: 640px) {
  .ybx-consent-panel { flex-direction: column; align-items: stretch; }
  .ybx-consent-actions { flex-direction: column; }
  .ybx-consent-actions button { width: 100%; }
}
