/* Scoped cookie controls shared by the Jackowo site and shop. */
.jack-consent[hidden] { display: none !important; }
.jack-consent {
  position: fixed; inset: auto 20px 20px; z-index: 100000;
  box-sizing: border-box; max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; padding: 22px 24px;
  max-height: calc(100dvh - 40px); overflow: auto;
  border: 1px solid #c7cbbf; border-radius: 12px;
  background: #fbf9f5; color: #172a20; box-shadow: 0 8px 40px #11241a33;
  font: 15px/1.55 Inter, system-ui, sans-serif; text-align: left;
}
.jack-consent .jack-consent__copy { flex: 1; min-width: 0; }
.jack-consent h2 { margin: 0 0 6px; color: #172a20; font: 600 19px/1.35 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.jack-consent p { margin: 0 0 8px; max-width: none; font-size: 14px; line-height: 1.55; color: #172a20; }
.jack-consent .jack-consent__state { font-size: 12px; margin: 6px 0 0; }
.jack-consent a { color: #235536; text-decoration: underline; text-underline-offset: 3px; }
.jack-consent__actions { display: flex; flex-direction: column; flex: 0 0 195px; gap: 8px; }
.jack-consent .jack-consent__actions button {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 16px;
  border: 1px solid #235536; border-radius: 6px; margin: 0;
  background: #235536; color: #fff; cursor: pointer;
  font: 600 14px/1.4 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none;
}
.jack-consent .jack-consent__actions button:hover { background: #163d25; }
.jack-consent button:focus-visible, .jack-consent a:focus-visible, .jack-consent-settings:focus-visible {
  outline: 3px solid #b7801f; outline-offset: 3px;
}
footer .jack-consent-settings {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  border: 0; border-radius: 0; background: none; color: inherit;
  cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: none;
  text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .jack-consent { inset: auto 12px 12px; max-height: calc(100dvh - 24px); padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; }
  .jack-consent__actions { flex: auto; flex-direction: row; }
  .jack-consent .jack-consent__actions button { flex: 1; padding: 10px 8px; }
}
@media print { .jack-consent, .jack-consent-settings { display: none !important; } }
