/* SG consent: inherits the store's existing light/dark design tokens. */
#sg-cookie-panel, #sg-cookie-chat-launcher { box-sizing: border-box; font-family: 'Open Sans', Arial, sans-serif; }
#sg-cookie-panel { position: fixed; z-index: 1060; left: 24px; bottom: 24px; width: 390px; max-width: calc(100% - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 22px; border: 1px solid var(--sg-border, #252c32); border-top: 2px solid var(--sg-red, #ef171c); border-radius: 10px; background: var(--sg-surface, #10151a); color: var(--sg-text, #f5f7f8); box-shadow: 0 12px 42px rgba(0,0,0,.24); text-align: left; }
#sg-cookie-panel[hidden], #sg-cookie-panel [hidden], #sg-cookie-chat-launcher[hidden] { display: none !important; }
#sg-cookie-panel h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; padding: 0; color: var(--sg-text, #f5f7f8); font-size: 17px; font-weight: 700; line-height: 1.4; }
#sg-cookie-panel h2 i { color: var(--sg-red, #ef171c); font-size: 18px; }
#sg-cookie-panel p { margin: 0; color: var(--sg-muted, #a2a9af); font-size: 13px; line-height: 1.65; }
#sg-cookie-panel .sg-cookie-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; }
#sg-cookie-panel .sg-cookie-links a, #sg-cookie-panel .sg-cookie-link { display: inline-block; padding: 2px 0; border: 0; background: transparent; color: var(--sg-muted, #a2a9af); font: inherit; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#sg-cookie-panel .sg-cookie-links a:hover, #sg-cookie-panel .sg-cookie-link:hover { color: var(--sg-red, #ef171c); }
#sg-cookie-panel .sg-cookie-actions { display: grid; gap: 9px; margin-top: 20px; }
#sg-cookie-panel .sg-cookie-button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 43px; margin: 0; padding: 11px 14px; border: 1px solid var(--sg-border, #252c32); border-radius: 7px; background: var(--sg-surface, #10151a); color: var(--sg-text, #f5f7f8); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; cursor: pointer; }
#sg-cookie-panel .sg-cookie-button--primary { border-color: var(--sg-red, #ef171c); background: var(--sg-red, #ef171c); color: #fff; }
#sg-cookie-panel .sg-cookie-button--secondary:hover { border-color: var(--sg-red, #ef171c); }
#sg-cookie-panel button:focus-visible, #sg-cookie-panel a:focus-visible, #sg-cookie-chat-launcher:focus-visible, .sg-cookie-footer-settings:focus-visible { outline: 2px solid var(--sg-red, #ef171c); outline-offset: 3px; }
#sg-cookie-panel .sg-cookie-settings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 5px; }
#sg-cookie-panel .sg-cookie-settings-head h2 { margin-bottom: 0; }
#sg-cookie-panel .sg-cookie-setting { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--sg-border, #252c32); cursor: pointer; }
#sg-cookie-panel .sg-cookie-setting strong { display: block; color: var(--sg-text, #f5f7f8); font-size: 13px; font-weight: 700; line-height: 1.5; }
#sg-cookie-panel .sg-cookie-setting small { display: block; margin-top: 3px; color: var(--sg-muted, #a2a9af); font-size: 12px; line-height: 1.5; }
#sg-cookie-panel .sg-cookie-setting input { position: static; flex: none; width: 18px; height: 18px; margin: 0; opacity: 1; appearance: auto; accent-color: var(--sg-red, #ef171c); }
#sg-cookie-panel .sg-cookie-reload-note { margin-top: 13px; font-size: 12px; }
#sg-cookie-panel .sg-cookie-status:not(:empty) { margin-top: 12px; }
.sg-cookie-footer-settings { display: inline-block; margin: 0 0 0 14px; padding: 5px 0; border: 0; background: transparent; color: var(--sg-muted, #a2a9af); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sg-cookie-footer-settings:hover { color: var(--sg-red, #ef171c); }
#sg-cookie-chat-launcher { position: fixed; z-index: 1040; right: 24px; bottom: 24px; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; max-width: calc(100% - 48px); padding: 11px 16px; border: 1px solid var(--sg-border, #252c32); border-radius: 9px; background: var(--sg-surface, #10151a); color: var(--sg-text, #f5f7f8); box-shadow: 0 6px 22px rgba(0,0,0,.16); font-size: 13px; font-weight: 700; cursor: pointer; }
#sg-cookie-chat-launcher i { color: var(--sg-red, #ef171c); }
#sg-cookie-chat-launcher:disabled { cursor: default; }
@media (max-width: 640px) {
  #sg-cookie-panel { left: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: none; max-height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px)); padding: 18px; }
  #sg-cookie-chat-launcher { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 24px); }
  body.sg-cookie-panel-open #sg-cookie-chat-launcher { display: none; }
  #sg-cookie-panel .sg-cookie-button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { #sg-cookie-panel *, #sg-cookie-chat-launcher { scroll-behavior: auto; } }
