/* First-party privacy controls. Keep these styles independent of Bootstrap. */
[data-cookie-controls] { font-family: Poppins, system-ui, sans-serif; color: #202738; font-size: 15px; line-height: 1.6; }
[data-cookie-controls] *, [data-cookie-controls] *::before, [data-cookie-controls] *::after { box-sizing: border-box; }
[data-cookie-controls] [hidden] { display: none !important; }
[data-cookie-controls] h2, [data-cookie-controls] h3, [data-cookie-controls] p { margin: 0; }
[data-cookie-controls] a { color: #2340b5; text-decoration: underline; text-underline-offset: 3px; }
[data-cookie-controls] button { font: inherit; cursor: pointer; }
[data-cookie-controls] button:disabled { opacity: .5; cursor: default; }
[data-cookie-controls] :focus-visible { outline: 3px solid #2340b5; outline-offset: 4px; }
.aom-cookie-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.aom-cookie-banner {
  --aom-cookie-banner-gap: 20px;
  --aom-cookie-banner-inset: 24px;
  --aom-cookie-banner-bottom: calc(var(--aom-cookie-banner-gap) + max(var(--aom-cookie-bottom-bar-space, 0px), env(safe-area-inset-bottom, 0px)));
  position: fixed;
  /* Keep shipping and payment modals above the banner. */
  z-index: 1030;
  bottom: var(--aom-cookie-banner-bottom);
  left: max(var(--aom-cookie-banner-inset), env(safe-area-inset-left, 0px));
  right: max(var(--aom-cookie-banner-inset), env(safe-area-inset-right, 0px));
  max-width: 460px;
  max-height: calc(100vh - var(--aom-cookie-banner-bottom) - var(--aom-cookie-banner-gap));
  max-height: calc(100dvh - var(--aom-cookie-banner-bottom) - var(--aom-cookie-banner-gap));
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 12px;
  background: rgb(52 58 64 / 95%);
  color: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 16%);
}
.aom-cookie-copy { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.aom-cookie-banner.aom-cookie-unavailable { position: static; max-height: none; }
.aom-cookie-banner.aom-cookie-inline-feedback { position: static; max-height: none; margin-block: 12px; }
.aom-cookie-unavailable .aom-cookie-actions button:disabled { display: none; }
.aom-cookie-copy h2 { font-size: 19px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.aom-cookie-copy > p { font-size: 14px; line-height: 1.65; }
.aom-cookie-actions { display: flex; flex: none; gap: 8px; }
.aom-cookie-button { min-height: 46px; flex: 1 1 0; padding: 11px 15px; border: 1px solid #66718a; border-radius: 6px; background: #fff; color: #202738; font-size: 14px !important; font-weight: 600 !important; line-height: 1.5; text-align: center; }
.aom-cookie-button:hover { background: #f3f5fa; border-color: #2340b5; }
.aom-cookie-banner .aom-cookie-button { background: transparent; color: #fff; border-color: rgb(255 255 255 / 65%); }
.aom-cookie-banner .aom-cookie-button:hover { background: rgb(255 255 255 / 12%); border-color: #fff; }
[data-cookie-controls] .aom-cookie-banner a,
.aom-cookie-banner .aom-cookie-text-button { color: #fff; }
[data-cookie-controls] .aom-cookie-banner :focus-visible { outline-color: #fff; }
[data-cookie-controls] .aom-cookie-banner .aom-cookie-signal { background: rgb(255 255 255 / 10%); color: #fff; }
[data-cookie-controls] .aom-cookie-banner .aom-cookie-error { color: #ffced4; }
.aom-cookie-dialog { width: 640px; max-width: calc(100% - 40px); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #d9dfeb; border-radius: 14px; background: #fff; color: #202738; box-shadow: 0 24px 80px rgb(15 23 42 / 22%); font: inherit; }
.aom-cookie-dialog[open] { display: flex; flex-direction: column; }
.aom-cookie-dialog::backdrop { background: rgb(15 23 42 / 45%); }
.aom-cookie-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px 16px; flex-shrink: 0; border-bottom: 1px solid #e6eaf1; }
.aom-cookie-dialog-header h2 { flex: 1; min-width: 0; font-size: 23px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.aom-cookie-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #505b70; }
.aom-cookie-close:hover { background: #f3f5fa; color: #202738; }
.aom-cookie-dialog-body { overflow-y: auto; min-height: 0; padding: 22px 28px 24px; overscroll-behavior: contain; }
.aom-cookie-intro { color: #505b70; padding-bottom: 8px; }
.aom-cookie-purpose { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 22px 0; border-bottom: 1px solid #e6eaf1; }
.aom-cookie-purpose > h3 { margin: 0; }
.aom-cookie-purpose > p { grid-column: 1 / -1; }
.aom-cookie-purpose h3, .aom-cookie-optout h3 { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.aom-cookie-purpose > h3 { margin-bottom: 0; }
.aom-cookie-purpose h3 label { cursor: pointer; margin: 0; }
.aom-cookie-purpose p, .aom-cookie-optout p { color: #505b70; font-size: 14px; line-height: 1.65; }
.aom-cookie-always { font-size: 12px; font-weight: 600; color: #505b70; text-align: right; }
.aom-cookie-switch { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; width: 120px; }
.aom-cookie-switch input { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.aom-cookie-switch-track { display: block; flex: 0 0 44px; width: 44px; height: 24px; border-radius: 20px; background: #717b8f; pointer-events: none; }
.aom-cookie-switch-track::before { content: ''; display: block; width: 18px; height: 18px; margin: 3px; border-radius: 50%; background: #fff; }
.aom-cookie-switch input:checked + .aom-cookie-switch-track { background: #2340b5; }
.aom-cookie-switch input:checked + .aom-cookie-switch-track::before { transform: translateX(20px); }
.aom-cookie-switch input:focus-visible { outline: none; }
.aom-cookie-switch input:focus-visible + .aom-cookie-switch-track { outline: 3px solid #2340b5; outline-offset: 4px; }
.aom-cookie-switch input:disabled { cursor: not-allowed; }
.aom-cookie-switch input:disabled + .aom-cookie-switch-track { background: #d4d9e3; }
.aom-cookie-switch-state { font-size: 12px; color: #505b70; white-space: nowrap; }
[data-cookie-controls] .aom-cookie-signal { padding: 12px 14px; margin-top: 16px; border-radius: 6px; background: #f0f3fc; color: #203a92; font-size: 13px; line-height: 1.6; }
.aom-cookie-optout { margin-top: 22px; padding-top: 2px; }
.aom-cookie-text-button { min-height: 44px; margin: 4px 0 0; padding: 8px 0; border: 0; background: transparent; color: #2340b5; text-decoration: underline; text-underline-offset: 3px; text-align: left; font-size: 14px !important; }
.aom-cookie-policy { display: inline-block; min-height: 44px; padding-top: 12px; font-size: 13px; }
.aom-cookie-browser-note { margin-top: 20px !important; padding-top: 16px; border-top: 1px solid #e6eaf1; color: #505b70; font-size: 13px; }
.aom-cookie-dialog-footer { display: flex; flex-shrink: 0; gap: 12px; padding: 18px 28px; border-top: 1px solid #e6eaf1; background: #fff; }
.aom-cookie-save { color: #fff; background: #2340b5; border-color: #2340b5; }
.aom-cookie-save:hover { color: #fff; background: #1b3290; border-color: #1b3290; }
[data-cookie-controls] .aom-cookie-error { margin-top: 12px; color: #a7192b; font-size: 14px; line-height: 1.6; }
[data-cookie-controls] .aom-cookie-saved { color: #244d3c; font-size: 13px; margin-top: 6px; }
.aom-cookie-links { margin: 0; padding: 8px 0; background: #000; border-top: 1px solid #272b33; }
.aom-cookie-links-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 20px; margin: 0 auto; padding: 0 24px; }
.aom-cookie-links button { min-height: 44px; max-width: 100%; padding: 9px 0; border: 0; background: transparent; color: #d2d6df; font-size: 13px; line-height: 1.6; text-align: center; text-decoration: none; text-underline-offset: 4px; }
.aom-cookie-links button:hover, .aom-cookie-links button:focus-visible { color: #fff; text-decoration: underline; }
.aom-cookie-links button:focus-visible { outline: 2px solid #b8c6ff; outline-offset: 4px; border-radius: 2px; }
.aom-cookie-links-separator { flex: 0 0 1px; height: 14px; background: #4b5260; }
.aom-cookie-footer-signal { width: 100%; margin: 2px 0 4px !important; font-size: 12px; color: #bdc9fa; text-align: center; }
.aom-cookie-noscript { padding: 12px 20px; text-align: center; }
@media (max-width: 767px) {
  .aom-cookie-banner { max-width: none; }
}
@media (max-width: 600px) {
  .aom-cookie-banner { --aom-cookie-banner-gap: 12px; --aom-cookie-banner-inset: 12px; padding: 14px; border-radius: 10px; gap: 12px; }
  .aom-cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .aom-cookie-actions .aom-cookie-button { min-width: 0; padding: 6px 2px; font-size: 13px !important; overflow-wrap: anywhere; }
  .aom-cookie-banner .aom-cookie-copy > p { line-height: 1.5; }
  [data-cookie-controls] .aom-cookie-banner .aom-cookie-signal { padding: 8px 10px; margin-top: 10px; }
  .aom-cookie-copy h2 { font-size: 18px; }
  .aom-cookie-dialog { max-width: 100%; width: 100%; max-height: 90vh; max-height: 90dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; border-bottom: 0; }
  .aom-cookie-dialog-header { padding: 16px 20px 12px; gap: 8px; }
  .aom-cookie-dialog-header h2 { font-size: 20px; }
  .aom-cookie-dialog-body { padding: 20px; }
  .aom-cookie-dialog-footer { padding: 14px 20px max(14px, env(safe-area-inset-bottom)); }
  .aom-cookie-purpose { gap: 8px 14px; }
  .aom-cookie-links { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .aom-cookie-links-inner { flex-direction: column; gap: 0; padding: 0 20px; }
  .aom-cookie-links-separator { display: none; }
}
