#polaris-cmp-root {
  --polaris-cmp-accent: #97bc23;
  --polaris-cmp-reopen-bg: #97bc23;
  --polaris-cmp-reopen-color: #111111;
  --polaris-cmp-primary-bg: #97bc23;
  --polaris-cmp-primary-color: #111111;
  --polaris-cmp-secondary-bg: #f5f6f3;
  --polaris-cmp-secondary-color: #1f241f;
  --polaris-cmp-secondary-border: #d7dacd;
  --polaris-cmp-switch-active: #97bc23;
  --polaris-cmp-text: #1f241f;
  --polaris-cmp-muted: #5d665d;
  --polaris-cmp-bg: #fff;
  --polaris-cmp-soft: #f5f6f3;
  --polaris-cmp-border: #e5e8df;
  --polaris-cmp-shadow: 0 22px 70px rgba(0, 0, 0, .18);
  font-family: inherit;
  color: var(--polaris-cmp-text);
}

.polaris-cmp-hidden { display: none !important; }

.polaris-cmp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999997;
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(2px);
}

.polaris-cmp-banner {
  position: fixed;
  z-index: 999998;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--polaris-cmp-border);
  border-radius: 18px;
  background: var(--polaris-cmp-bg);
  box-shadow: var(--polaris-cmp-shadow);
}

.polaris-cmp-style-bar .polaris-cmp-banner {
  left: 0;
  right: 0;
  max-width: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.polaris-cmp-style-minimal .polaris-cmp-banner {
  max-width: 760px;
  align-items: flex-start;
  flex-direction: column;
}

.polaris-cmp-bottom { bottom: 24px; }
.polaris-cmp-top { top: 24px; }
.polaris-cmp-center {
  top: 50%;
  transform: translateY(-50%);
}

.polaris-cmp-logo {
  display: block;
  max-width: 120px;
  max-height: 42px;
  object-fit: contain;
  margin-bottom: 10px;
}

.polaris-cmp-copy {
  min-width: 0;
}

.polaris-cmp-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.25;
}

.polaris-cmp-copy p,
.polaris-cmp-modal-intro p {
  margin: 0;
  color: var(--polaris-cmp-muted);
  line-height: 1.5;
  font-size: 14px;
}

.polaris-cmp-copy .polaris-cmp-dnt {
  margin-top: 8px;
  font-size: 13px;
  color: var(--polaris-cmp-text);
}

.polaris-cmp-copy a,
.polaris-cmp-modal-intro a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.polaris-cmp-actions,
.polaris-cmp-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.polaris-cmp-btn {
  appearance: none;
  border: 1px solid var(--polaris-cmp-border);
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.polaris-cmp-btn:hover { transform: translateY(-1px); }
.polaris-cmp-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--polaris-cmp-accent), white 30%);
  outline-offset: 2px;
}
.polaris-cmp-btn-primary {
  border-color: var(--polaris-cmp-primary-bg);
  background: var(--polaris-cmp-primary-bg);
  color: var(--polaris-cmp-primary-color);
}
.polaris-cmp-btn-light {
  border-color: var(--polaris-cmp-secondary-border);
  background: var(--polaris-cmp-secondary-bg);
  color: var(--polaris-cmp-secondary-color);
}
.polaris-cmp-btn-ghost { background: transparent; color: var(--polaris-cmp-text); }

.polaris-cmp-modal {
  position: fixed;
  z-index: 999999;
  left: 50%;
  top: 50%;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid var(--polaris-cmp-border);
  border-radius: 22px;
  background: var(--polaris-cmp-bg);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
  padding: 22px;
}

.polaris-cmp-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.polaris-cmp-modal-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.polaris-cmp-modal-head button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: var(--polaris-cmp-text);
}

.polaris-cmp-modal-intro {
  margin-bottom: 10px;
}

.polaris-cmp-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--polaris-cmp-border);
}

.polaris-cmp-preference strong {
  display: block;
  margin-bottom: 4px;
}

.polaris-cmp-preference p {
  margin: 0;
  color: var(--polaris-cmp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.polaris-cmp-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
}

.polaris-cmp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.polaris-cmp-switch span {
  position: absolute;
  inset: 0;
  cursor: pointer;
  border-radius: 999px;
  background: #d9ddd3;
  transition: background .2s ease;
}

.polaris-cmp-switch span:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}

.polaris-cmp-switch input:checked + span { background: var(--polaris-cmp-switch-active); }
.polaris-cmp-switch input:checked + span:before { transform: translateX(22px); }
.polaris-cmp-switch input:disabled + span { cursor: not-allowed; opacity: .75; }

.polaris-cmp-modal-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--polaris-cmp-border);
}

.polaris-cmp-reopen {
  position: fixed;
  z-index: 999996;
  left: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--polaris-cmp-reopen-bg);
  color: var(--polaris-cmp-reopen-color);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.polaris-cmp-reopen:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .26);
}
.polaris-cmp-reopen:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--polaris-cmp-reopen-bg), white 30%);
  outline-offset: 3px;
}
.polaris-cmp-reopen-right .polaris-cmp-reopen {
  left: auto;
  right: 18px;
}
.polaris-cmp-reopen-icon,
.polaris-cmp-reopen svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.polaris-cookie-policy {
  overflow-x: auto;
}

.polaris-cookie-policy-table {
  width: 100%;
  border-collapse: collapse;
}
.polaris-cookie-policy-table th,
.polaris-cookie-policy-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  text-align: left;
  vertical-align: top;
}

@media (max-width: 760px) {
  .polaris-cmp-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .polaris-cmp-style-bar .polaris-cmp-banner {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px 16px 0 0;
  }

  .polaris-cmp-actions,
  .polaris-cmp-modal-actions {
    justify-content: stretch;
  }

  .polaris-cmp-btn {
    flex: 1 1 auto;
  }

  .polaris-cmp-preference {
    align-items: flex-start;
  }
}
