/* Shared storefront privacy controls. */
.sf-cookie-banner,.sf-cookie-dialog,.sf-cookie-toast,.sf-cookie-reopen,.sf-cookie-noscript { font-family: Outfit,Cairo,sans-serif; color: #302442; text-align: start; }
html[dir='rtl'] :is(.sf-cookie-banner,.sf-cookie-dialog,.sf-cookie-toast,.sf-cookie-reopen) { direction: rtl; font-family: Cairo,Outfit,sans-serif; }
.sf-cookie-banner[hidden],.sf-cookie-toast[hidden],.sf-cookie-error[hidden] { display: none !important; }
.sf-cookie-dialog[hidden],.sf-cookie-dialog:not([open]) { display: none !important; }
.sf-storefront > .sf-cookie-banner { z-index: 1200; }
.sf-cookie-banner .sf-cookie-banner-close { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; width: 28px; height: 28px; min-height: 28px; font-size: 20px; border: 0; background: transparent; }
.sf-cookie-banner .sf-cookie-copy { padding-inline-end: 12px; }
.sf-cookie-terms { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; color: #5d4b70; font-size: 12px; line-height: 1.6; cursor: pointer; }
.sf-cookie-terms input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: #7040bd; cursor: pointer; }
.sf-cookie-terms a { color: #7040bd; text-decoration: underline; text-underline-offset: 3px; }
.sf-cookie-terms input:focus-visible { outline: 3px solid #b98cdd; outline-offset: 3px; }
.sf-cookie-banner { position: fixed; z-index: 1050; inset-inline: 24px; inset-block-end: max(24px,env(safe-area-inset-bottom)); display: grid; grid-template-columns: 54px minmax(0,1fr) minmax(260px,320px); align-items: center; gap: 22px; width: calc(100% - 48px); max-width: 1120px; margin-inline: auto; padding: 26px; border: 1px solid #e5dbf2; border-radius: 22px; background: #fff; box-shadow: 0 16px 70px #28164129,0 2px 8px #28164108; }
.sf-cookie-symbol { display: grid; place-items: center; width: 54px; height: 58px; border: 1px solid #dfd1f2; border-radius: 17px; background: #f1e9fc; color: #7040bd; transform: rotate(-7deg); }
.sf-cookie-symbol svg { width: 32px; height: 32px; }
.sf-cookie-eyebrow { display: block; color: #7040bd; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px; }
.sf-cookie-copy h2 { margin: 0 0 8px; font-family: inherit; font-size: 21px; font-weight: 600; line-height: 1.3; color: #302442; }
.sf-cookie-copy p { margin: 0; color: #71657f; font-size: 13px; line-height: 1.65; }
.sf-cookie-copy a,.sf-cookie-policy { color: #7040bd; text-decoration: underline; text-underline-offset: 3px; }
.sf-cookie-actions { display: grid; grid-template-columns: repeat(1,minmax(0,1fr)); align-items: center; gap: 10px; }
.sf-cookie-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 11px 16px; border: 1px solid #d7c5ee; border-radius: 10px; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; cursor: pointer; transition: background .18s,border-color .18s; }
.sf-cookie-button--primary { color: #fff; border-color: #7040bd; background: #7040bd; }
.sf-cookie-button--primary:hover { background: #582d9c; border-color: #582d9c; }
.sf-cookie-button--outline { color: #6333aa; background: #fff; }
.sf-cookie-button--outline:hover { background: #f7f2fd; border-color: #a984d8; }
.sf-cookie-customize { grid-column: 1/-1; border: 0; background: transparent; color: #71657f; font-family: inherit; font-size: 12px; text-align: center; min-height: 32px; cursor: pointer; }
.sf-cookie-customize:hover { color: #7040bd; text-decoration: underline; text-underline-offset: 4px; }
.sf-cookie-customize span { display: inline-block; margin-inline-start: 4px; }
.sf-cookie-error { grid-column: 1/-1; margin: 0; padding: 10px 12px; border-radius: 8px; color: #9c3f4f; background: #fcf0f2; font-size: 12px; line-height: 1.6; }
.sf-cookie-dialog { padding: 0; width: min(640px,calc(100% - 32px)); max-width: 640px; max-height: calc(100dvh - 40px); border: 1px solid #e7dff0; border-radius: 24px; background: #fff; box-shadow: 0 24px 100px #1c103d40; overflow: auto; overscroll-behavior: contain; }
.sf-cookie-dialog::backdrop { background: #20123380; backdrop-filter: blur(5px); }
.sf-cookie-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 28px 22px; border-bottom: 1px solid #eee7f5; background: linear-gradient(120deg,#faf7fe,#fff); }
.sf-cookie-dialog-head h2 { margin: 0; color: #302442; font-family: inherit; font-size: 25px; line-height: 1.3; font-weight: 600; }
.sf-cookie-close { display: grid; place-items: center; flex: 0 0 36px; height: 36px; padding: 0; border: 1px solid #e7dff0; border-radius: 10px; background: #fff; color: #71657f; font-size: 24px; cursor: pointer; }
.sf-cookie-dialog-body { padding: 22px 28px; }
.sf-cookie-dialog-body > p:first-child { margin: 0 0 22px; color: #71657f; font-size: 14px; line-height: 1.7; }
.sf-cookie-category { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid #e7dff0; border-radius: 14px; margin-bottom: 12px; }
.sf-cookie-category--necessary { background: #faf8fd; }
.sf-cookie-category h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; color: #302442; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.5; }
.sf-cookie-category h3 label { margin: 0; cursor: pointer; }
.sf-cookie-category p { margin: 0; color: #71657f; font-size: 12px; line-height: 1.7; }
.sf-cookie-required { padding: 2px 7px; border-radius: 6px; color: #14645a; background: #e0f4ec; font-size: 9px; font-weight: 500; }
.sf-cookie-locked { display: grid; place-items: center; flex: 0 0 42px; height: 28px; color: #8c7ba0; }
.sf-cookie-locked svg { width: 20px; height: 20px; }
.sf-cookie-switch { position: relative; flex: 0 0 44px; width: 44px; height: 26px; margin: 2px 0 0; cursor: pointer; }
.sf-cookie-switch input { position: absolute; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.sf-cookie-switch > span:first-of-type { display: block; width: 44px; height: 26px; border: 1px solid #d5cddd; border-radius: 99px; background: #e5dfeb; pointer-events: none; transition: background .18s; }
.sf-cookie-switch > span:first-of-type::after { content: ''; position: absolute; inset-block-start: 4px; inset-inline-start: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #28164126; transition: inset-inline-start .18s; }
.sf-cookie-switch input:checked + span { border-color: #7040bd; background: #7040bd; }
.sf-cookie-switch input:checked + span::after { inset-inline-start: 22px; }
.sf-cookie-switch input:focus-visible + span { outline: 3px solid #ba97e7; outline-offset: 3px; }
.sf-cookie-switch input:disabled + span { opacity: .6; }
.sf-cookie-retention { display: flex; align-items: flex-start; gap: 8px; color: #71657f; font-size: 11px; line-height: 1.7; margin: 18px 0 8px; }
.sf-cookie-retention svg { flex: 0 0 16px; width: 16px; height: 20px; color: #7040bd; }
.sf-cookie-policy { font-size: 11px; }
.sf-cookie-dialog-body .sf-cookie-error { margin-top: 14px; }
.sf-cookie-dialog-footer { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 18px 28px 24px; border-top: 1px solid #eee7f5; background: #fff; }
.sf-cookie-dialog-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.sf-cookie-footer-link { padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.sf-cookie-footer-link:hover { color: #7040bd; text-decoration: underline; text-underline-offset: 4px; }
.sf-cookie-toast { position: fixed; z-index: 1060; inset-block-end: max(24px,env(safe-area-inset-bottom)); inset-inline-start: 24px; max-width: calc(100% - 48px); margin: 0; padding: 13px 18px; border: 1px solid #c8e5d9; border-radius: 12px; background: #effaf5; color: #14645a; box-shadow: 0 8px 28px #28164114; font-size: 13px; }
.sf-cookie-reopen { position: fixed; z-index: 1040; inset-inline-start: 16px; bottom: 16px; padding: 10px 14px; border: 1px solid #e7dff0; border-radius: 10px; background: #fff; font-size: 12px; }
.sf-cookie-noscript { margin: 16px; padding: 20px; border: 1px solid #e7dff0; border-radius: 12px; background: #faf8fd; font-size: 13px; }
:is(.sf-cookie-banner,.sf-cookie-dialog) :is(button,a):focus-visible,.sf-cookie-footer-link:focus-visible { outline: 3px solid #b98cdd; outline-offset: 3px; }
:is(.sf-cookie-banner,.sf-cookie-dialog) button:disabled { opacity: .6; cursor: wait; }
@media(max-width:900px) { .sf-cookie-banner { grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 22px; } .sf-cookie-symbol { width: 44px; height: 48px; border-radius: 13px; } .sf-cookie-actions { grid-column: 1/-1; grid-template-columns: repeat(3,minmax(0,1fr)); } .sf-cookie-customize { grid-column: auto; min-height: 44px; } }
@media(max-width:575.98px) {
    .sf-cookie-banner { inset-inline: 12px; inset-block-end: max(12px,env(safe-area-inset-bottom)); width: calc(100% - 24px); grid-template-columns: minmax(0,1fr); gap: 16px; padding: 20px; border-radius: 18px; max-height: calc(100dvh - 32px); overflow-y: auto; }
    .sf-cookie-symbol { display: none; }
    .sf-cookie-copy h2 { font-size: 20px; }
    .sf-cookie-copy p { font-size: 12px; }
    .sf-cookie-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .sf-cookie-customize { grid-column: 1/-1; min-height: 36px; }
    .sf-cookie-button { padding-inline: 10px; font-size: 11px; }
    .sf-cookie-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
    .sf-cookie-dialog-head { padding: 22px 20px 18px; }
    .sf-cookie-dialog-head h2 { font-size: 22px; }
    .sf-cookie-dialog-body { padding: 20px; }
    .sf-cookie-category { padding: 15px; gap: 12px; }
    .sf-cookie-dialog-footer { padding: 16px 20px 20px; }
}
@media(prefers-reduced-motion:reduce) { .sf-cookie-banner *,.sf-cookie-dialog * { transition: none !important; } }
