/* Scoped styles keep the legacy and current Store10 page layouts intact. */
#cookie-consent { display: none !important; }
#s10-consent { --s10-purple: #6547f5; --s10-ink: #17213b; color: var(--s10-ink); font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.55; }
#s10-consent *, #s10-consent *::before, #s10-consent *::after { box-sizing: border-box; }
#s10-consent [hidden] { display: none !important; }
#s10-consent button, #s10-consent input { font: inherit; }
#s10-consent button { cursor: pointer; }
#s10-consent button:focus-visible, #s10-consent a:focus-visible, #s10-consent input:focus-visible { outline: 3px solid #16a66a; outline-offset: 4px; }
#s10-consent a { color: #5235d6; text-decoration: underline; text-underline-offset: 3px; }
#s10-consent .s10-banner { position: fixed; z-index: 2147483000; inset: auto 24px 24px; margin: 0 auto; max-width: 1180px; padding: 24px 28px; display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid #e4defb; border-radius: 20px; box-shadow: 0 10px 65px #17213b24; max-height: calc(100dvh - 32px); overflow: auto; }
#s10-consent .s10-banner-copy { flex: 1 1 420px; }
#s10-consent h2 { color: var(--s10-ink); font-size: 20px; font-weight: 750; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.02em; }
#s10-consent p { color: #526079; margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
#s10-consent .s10-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
#s10-consent .s10-banner .s10-actions { flex: 0 1 480px; }
#s10-consent .s10-button { appearance: none; display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 17px; border-radius: 10px; border: 1px solid var(--s10-purple); color: var(--s10-purple); background: #fff; font-size: 14px; font-weight: 650; line-height: 1.3; text-align: center; flex: 1 1 135px; }
#s10-consent .s10-button:hover { background: #f1edff; }
#s10-consent .s10-button-choice { background: var(--s10-purple); color: #fff; }
#s10-consent .s10-button-choice:hover { background: #5235d6; color: #fff; }
#s10-consent .s10-reopen { position: fixed; z-index: 999; inset: auto auto 14px 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #ddd6fa; border-radius: 24px; color: #5235d6; background: #fff; box-shadow: 0 2px 12px #17213b14; font-size: 12px; font-weight: 650; min-height: 38px; }
#s10-consent .s10-reopen svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
#s10-consent dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 28px; border: 1px solid #e4defb; border-radius: 22px; background: #fff; color: var(--s10-ink); box-shadow: 0 25px 90px #17213b33; }
#s10-consent dialog::backdrop { background: #17213b99; }
#s10-consent .s10-dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
#s10-consent .s10-close { border: 0; background: #f3f0fe; border-radius: 50%; width: 38px; height: 38px; flex: 0 0 38px; color: #5235d6; font-size: 24px; line-height: 1; }
#s10-consent .s10-category { padding: 18px 0; border-top: 1px solid #ece8f7; }
#s10-consent .s10-category h3, #s10-consent .s10-category label { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; font-weight: 700; margin: 0 0 7px; color: var(--s10-ink); }
#s10-consent .s10-category label { cursor: pointer; }
#s10-consent .s10-category small { font-size: 12px; font-weight: 650; color: #16714d; }
#s10-consent input[type=checkbox] { appearance: auto; accent-color: var(--s10-purple); width: 24px; height: 24px; margin: 0; flex: 0 0 24px; }
#s10-consent .s10-category p { margin: 0; }
#s10-consent .s10-policy { margin-top: 14px; }
#s10-consent .s10-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 850px) {
  #s10-consent .s10-banner { display: block; inset: auto 16px 16px; padding: 21px; }
  #s10-consent .s10-banner .s10-actions { margin-top: 16px; }
}
@media (max-width: 450px) {
  #s10-consent .s10-banner { inset: auto 10px 10px; border-radius: 16px; padding: 18px; }
  #s10-consent .s10-banner .s10-button { flex-basis: calc(50% - 10px); padding: 10px; }
  #s10-consent dialog { padding: 20px; }
}
