/* A compact first-visit notice and permanently available cookie preferences. */
.pack-cookie-settings { position: relative; color: #061b52; font: inherit; font-size: 13px; }
.pack-cookie-settings > summary { display: flex; align-items: center; min-height: 44px; list-style: none; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.pack-cookie-settings > summary::-webkit-details-marker { display: none; }
.pack-cookie-panel { position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 120; width: min(410px, calc(100vw - 40px)); max-height: 70vh; max-height: 70svh; overflow-y: auto; padding: 24px; border: 1px solid #d9dde4; border-radius: 12px; background: #fff; box-shadow: 0 14px 50px #061b5220; text-align: left; }
.pack-cookie-settings.is-ready .pack-cookie-panel { position: fixed; right: 22px; bottom: 96px; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }
.pack-cookie-panel h2 { margin: 0 44px 12px 0; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.pack-cookie-panel p { margin: 0 0 16px; color: #4d5668; font-size: 14px; line-height: 1.65; }
.pack-cookie-panel .pack-cookie-status { font-size: 12px; margin-bottom: 12px; }
.pack-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pack-cookie-actions button { flex: 1 1 145px; min-height: 44px; padding: 10px 14px; border: 1px solid #061b52; border-radius: 5px; background: #fff; color: #061b52; font: inherit; font-weight: 500; cursor: pointer; }
.pack-cookie-actions button[aria-pressed="true"] { background: #061b52; color: #fff; }
.pack-cookie-actions button:disabled { opacity: .5; cursor: default; }
.pack-cookie-panel .pack-cookie-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: #061b52; font-size: 26px; line-height: 1; cursor: pointer; }
.pack-cookie-close[hidden], .cargo-cookie-notice[hidden] { display: none !important; }
.pack-cookie-panel .pack-cookie-policy { color: #061b52; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.pack-cookie-settings :focus-visible, .cargo-cookie-notice :focus-visible { outline: 2px solid #061b52; outline-offset: 4px; }
.cargo-cookie-notice { position: fixed; z-index: 120; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: min(560px, calc(100% - 40px)); max-height: calc(100vh - 44px); max-height: calc(100dvh - 44px); overflow-y: auto; box-sizing: border-box; padding: 14px 16px; border: 1px solid #d9e2e8; border-radius: 8px; background: #fff; color: #173e55; box-shadow: 0 5px 24px #173e5517; font: inherit; font-size: 12px; line-height: 1.6; text-align: left; }
.cargo-cookie-notice p { flex: 1 1 auto; min-width: 0; margin: 0; color: #465e70; font-size: inherit; line-height: inherit; }
.cargo-cookie-notice strong { color: #173e55; font-weight: 700; }
.cargo-cookie-notice a { display: inline; color: #173e55; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cargo-cookie-notice-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cargo-cookie-notice-actions button { min-width: 76px; min-height: 44px; padding: 8px 12px; border: 1px solid #afbdc8; border-radius: 5px; background: #fff; color: #173e55; font: inherit; font-weight: 600; line-height: 1.4; cursor: pointer; }
.cargo-cookie-notice-actions button:hover { background: #eff4f7; border-color: #173e55; }
.cargo-cookie-notice-actions button:disabled { opacity: .5; cursor: default; }
@media (max-width: 991px), (hover: none) and (pointer: coarse) {
  .cargo-cookie-notice { bottom: calc(96px + env(safe-area-inset-bottom)); display: grid; width: min(340px, calc(100% - 24px)); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); gap: 10px; padding: 14px 16px; }
  .cargo-cookie-notice-actions { justify-content: center; }
  .cargo-cookie-notice-actions button { flex: 1; }
}
@media (max-width: 520px) {
  .pack-cookie-panel { left: 0; right: auto; }
  .pack-cookie-settings.is-ready .pack-cookie-panel { left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); width: auto; padding: 22px; max-height: calc(100dvh - 120px - env(safe-area-inset-bottom)); }
}
@media print { .cargo-cookie-notice, .pack-cookie-panel { display: none !important; } }
