/* Shared Jahazi consent presentation — Astro storefront + WooCommerce plugin. */
.jh-cookie-panel[hidden], .jh-cookie-panel [hidden] { display: none !important; }
.jh-cookie-panel {
  position: fixed;
  z-index: 900; /* Below the active cart drawer (1000). */
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(454px, calc(100vw - 40px));
  max-height: min(76vh, 600px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px 27px 19px;
  background: #f4f0e8;
  color: #172a36;
  border: 1px solid #b8ada0;
  box-shadow: 0 12px 36px rgba(17, 29, 36, .14);
  border-radius: 2px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.jh-cookie-panel *, .jh-cookie-panel *::before, .jh-cookie-panel *::after { box-sizing: border-box; }
.jh-cookie-panel h2 {
  margin: 0 0 9px;
  color: #172a36;
  font: 400 27px/1.13 "Newsreader", Georgia, serif;
  letter-spacing: -.025em;
}
.jh-cookie-panel h2:focus { outline: none; }
.jh-cookie-panel p { margin: 0 0 10px; }
.jh-cookie-panel__fine { color: #56636a; font-size: 12px; line-height: 1.55; margin-bottom: 0; }
.jh-cookie-panel a { color: #172a36; text-decoration: underline; text-underline-offset: 3px; }
.jh-cookie-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.jh-cookie-panel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #172a36;
  border-radius: 2px;
  font: 600 11px/1.45 "DM Sans", Arial, sans-serif;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s, color .18s;
}
.jh-cookie-panel__button--outline { background: transparent; color: #172a36; }
.jh-cookie-panel__button--outline:hover { background: #e9e2d7; }
.jh-cookie-panel__button--filled { background: #172a36; color: #faf9f6; }
.jh-cookie-panel__button--filled:hover { background: #284354; }
.jh-cookie-panel__button--full { width: 100%; margin-top: 18px; }
.jh-cookie-panel__text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 3px 0 -10px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #172a36;
  font: 500 12px/1.5 "DM Sans", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.jh-cookie-panel :is(button, a, input):focus-visible {
  outline: 2px solid #9c7944;
  outline-offset: 3px;
}
.jh-cookie-panel__intro { margin-bottom: 15px !important; }
.jh-cookie-panel__category {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #b8ada0;
  color: #172a36;
}
.jh-cookie-panel__category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}
.jh-cookie-panel__category-heading strong { font-size: 13px; font-weight: 600; }
.jh-cookie-panel__category-description {
  display: block;
  margin-top: 2px;
  max-width: 335px;
  color: #56636a;
  font-size: 12px;
  line-height: 1.5;
}
.jh-cookie-panel p.jh-cookie-panel__category-description { margin: 2px 0 0; }
.jh-cookie-panel__always { flex: none; color: #56636a; font-size: 11px; }
.jh-cookie-panel__category--control { cursor: pointer; }
.jh-cookie-panel__category input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #172a36; cursor: pointer; }
.jh-cookie-panel__details .jh-cookie-panel__button--full { margin-top: 12px; }
.jh-cookie-panel__details .jh-cookie-panel__text-button { margin-top: 0; }
.jh-cookie-footer-control { background: #172a36; color: #f4f0e8; text-align: center; padding: 0 16px 18px; }
.jh-cookie-footer-control button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  font: 500 12px/1.5 "DM Sans", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .jh-cookie-panel {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    max-height: min(74dvh, 570px);
    padding: 18px 19px 14px;
  }
  .jh-cookie-panel h2 { font-size: 24px; }
  .jh-cookie-panel__actions { margin-top: 12px; }
  .jh-cookie-panel__summary .jh-cookie-panel__text-button { font-size: 11px; }
  .jh-cookie-panel__button { min-height: 48px; font-size: 10px; }
  .jh-cookie-panel__category { padding: 11px 0; }
}
@media (max-width: 350px) {
  .jh-cookie-panel__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .jh-cookie-panel__button { transition: none; }
}
