/* Aurora — self-contained, responsive purchase notification component. */
.aurora-layer{position:fixed;z-index:75;right:max(var(--aurora-offset,24px),env(safe-area-inset-right,0px));bottom:max(var(--aurora-offset,24px),env(safe-area-inset-bottom,0px));width:min(356px,calc(100vw - 32px));pointer-events:none;isolation:isolate}
.aurora-layer[hidden]{display:none!important}
.aurora-layer[data-desktop="bottom-left"]{right:auto;left:max(var(--aurora-offset,24px),env(safe-area-inset-left,0px))}
.aurora-layer[data-desktop="top-right"]{bottom:auto;top:var(--aurora-header-top,90px)}
.aurora-card{box-sizing:border-box;position:relative;width:100%;margin:0;padding:17px 29px 16px 14px;overflow:hidden;border:1px solid rgba(185,145,245,.48);border-radius:16px;background:linear-gradient(115deg,rgba(55,39,79,.97),rgba(30,26,44,.98) 80%);color:#f5f0ff;box-shadow:0 16px 48px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.09);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);font-family:inherit;line-height:1.45;pointer-events:auto;animation:aurora-enter .6s cubic-bezier(.16,1,.3,1) both;text-align:left}
.aurora-main{display:flex;align-items:center;gap:13px;min-width:0}
.aurora-thumb{position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid #c6a7ff26;background:#d9c7ff12;border-radius:13px}
.aurora-thumb img{display:block;width:43px;height:43px;object-fit:contain;border-radius:9px;filter:drop-shadow(0 4px 7px #0003)}
.aurora-thumb.is-loading:before{content:"";position:absolute;inset:7px;border-radius:7px;background:linear-gradient(100deg,#ffffff08 20%,#ffffff23 48%,#ffffff08 75%);background-size:220% 100%;animation:aurora-shimmer 1.4s infinite}
.aurora-thumb.is-loading img{opacity:0}
.aurora-check{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;box-sizing:border-box;height:16px;width:16px;border:2px solid #332642;border-radius:50%;background:#b393ee;color:#fff}
.aurora-check svg{height:8px;width:8px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.aurora-copy{flex:1;min-width:0}
.aurora-customer{color:#d5c5ed;font-size:11px;line-height:1.55;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;letter-spacing:.1px}
.aurora-action{font-size:10px;color:#b09bc9;line-height:1.65}
.aurora-product{display:block;color:#f5efff;font-size:15px;font-weight:800;line-height:1.5;letter-spacing:-.25px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}
a.aurora-product:hover{color:#dac0ff;text-decoration:underline;text-underline-offset:3px}
.aurora-meta{display:flex;align-items:center;gap:8px;color:#b4a2c6;font-size:9px;margin-top:4px;line-height:1.5}
.aurora-badge{border:1px solid #c7ace33b;border-radius:4px;padding:2px 5px;background:#b89cdb0d;font-size:7px;line-height:1.2;letter-spacing:.9px;font-weight:800;color:#d8c6ed;white-space:nowrap}
.aurora-card[data-demo="true"] .aurora-badge{color:#eddba8;border-color:#eed3924a;background:#eed3920c}
.aurora-dismiss{position:absolute;display:grid;place-items:center;right:6px;top:7px;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:50%;color:#b7a4cc;background:transparent;cursor:pointer;box-shadow:none;line-height:1}
.aurora-dismiss svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.aurora-dismiss:hover{background:#ffffff13;color:white}
.aurora-dismiss:focus-visible,.aurora-product:focus-visible{outline:2px solid #d7baff;outline-offset:2px}
.aurora-life{position:absolute;left:0;right:0;bottom:0;height:2px;overflow:hidden;background:#ae8bdf12;pointer-events:none}
.aurora-life:before{content:"";display:block;width:100%;height:100%;background:linear-gradient(90deg,#b79af1,#9570c6);transform-origin:left;animation:aurora-drain var(--aurora-duration,8000ms) linear forwards}
.aurora-paused .aurora-life:before{animation-play-state:paused}
.aurora-leaving{animation:aurora-exit .24s ease-in both!important;pointer-events:none}
@keyframes aurora-enter{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes aurora-enter-top{from{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes aurora-exit{to{opacity:0;transform:translateY(8px) scale(.98)}}
@keyframes aurora-drain{to{transform:scaleX(0)}}
@keyframes aurora-shimmer{to{background-position:-220% 0}}
.aurora-layer[data-desktop="top-right"] .aurora-card{animation-name:aurora-enter-top}
@media(max-width:767px){
 .aurora-layer,.aurora-layer[data-desktop="bottom-left"],.aurora-layer[data-desktop="top-right"]{width:min(356px,calc(100vw - 24px));left:50%;right:auto;bottom:auto;top:var(--aurora-header-top,80px);transform:translateX(-50%)}
 .aurora-layer .aurora-card{animation-name:aurora-enter-top;padding:14px 28px 14px 12px;border-radius:14px}
 .aurora-layer[data-mobile="bottom"]{top:auto;bottom:var(--aurora-mobile-bottom,80px)}
 .aurora-layer[data-mobile="bottom"] .aurora-card{animation-name:aurora-enter}
 .aurora-layer .aurora-thumb{flex-basis:47px;width:47px;height:47px;border-radius:12px}
 .aurora-layer .aurora-thumb img{height:39px;width:39px}
 .aurora-layer .aurora-main{gap:11px}
 .aurora-layer .aurora-product{font-size:14px}
 .aurora-layer .aurora-customer{font-size:10px}
 .aurora-layer .aurora-action{font-size:9px}
 .aurora-layer .aurora-meta{font-size:8px}
 .aurora-layer .aurora-dismiss{width:30px;height:30px;top:3px;right:2px}
}
@media(prefers-reduced-motion:reduce){.aurora-card,.aurora-leaving,.aurora-life:before,.aurora-thumb.is-loading:before{animation:none!important;transition:none!important}.aurora-thumb.is-loading:before{background:#ffffff12}}
/* Admin controls — scoped so the Aurora card never changes other store components. */
.pn-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:20px;align-items:start}
.pn-layout .acard{margin-bottom:0;min-width:0}
.pn-intro{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.pn-intro h3{font-size:22px;letter-spacing:-.7px;margin:0 0 6px;line-height:1.3}
.pn-intro p{margin:0;font-size:12px;line-height:1.8;color:var(--muted,#a5a2b7)}
.pn-style-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #a580e345;background:#ab7fe610;color:#ae8fe4;font-size:10px;font-weight:800;letter-spacing:.8px;padding:8px 11px;border-radius:8px;white-space:nowrap}
.pn-settings-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.pn-settings-title h3{margin:0}
.pn-check{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted,#a5a2b7);cursor:pointer;font-weight:500}
.pn-check input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#a884ef;cursor:pointer}
.pn-check strong{color:var(--text,#f5f3ff);font-weight:700}
.pn-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pn-form .form-field{min-width:0}
.pn-form input,.pn-form select{min-width:0}
.pn-section-label{grid-column:1/-1;color:var(--text,#f5f3ff);font-size:11px;letter-spacing:.8px;text-transform:uppercase;font-weight:800;border-top:1px solid var(--line,#26263a);padding-top:18px;margin-top:5px}
.pn-help{font-size:11px;line-height:1.8;color:var(--muted,#a5a2b7);margin:0}
.pn-help strong{color:var(--text,#f5f3ff)}
.pn-mode-note{border:1px solid #b28de52c;background:#a985dd08;padding:11px 13px;border-radius:10px;font-size:11px;color:var(--muted,#a5a2b7);line-height:1.8}
.pn-checkboxes{display:flex;flex-direction:column;gap:12px;padding:4px 0}
.pn-products-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.pn-products-tools input{flex:1;min-width:150px;font-size:12px}
.pn-product-list{max-height:244px;overflow:auto;border:1px solid var(--line,#26263a);border-radius:10px;background:var(--bg2,#101019);padding:5px 11px}
.pn-product-option{padding:10px 0;display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line,#26263a);font-size:11px;color:var(--muted,#a5a2b7);cursor:pointer}
.pn-product-option:last-child{border-bottom:0}
.pn-product-option input{width:15px;height:15px;flex:0 0 15px;margin:0;accent-color:#a884ef}
.pn-product-option span{flex:1;min-width:0}
.pn-product-option small{color:var(--muted,#a5a2b7);font-size:9px;white-space:nowrap;opacity:.75}
.pn-product-count{font-size:10px;color:#aa8ed2;min-height:16px;line-height:1.6}
.pn-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:5px}
.pn-save-state{font-size:11px;color:var(--muted,#a5a2b7);line-height:1.7;min-height:19px}
.pn-save-state[data-error="true"]{color:#f69ca8}
.pn-preview-panel{position:sticky;top:92px}
.pn-preview-panel h3{font-size:14px;margin-bottom:8px}
.pn-preview-stage{position:relative;isolation:isolate;overflow:hidden;border:1px solid #30223f;border-radius:14px;min-height:270px;background:radial-gradient(ellipse at 75% 100%,#8b53d52b,transparent 70%),#13101c;color:#f5f0ff;margin:16px 0 12px;transition:max-width .25s}
.pn-preview-nav{display:flex;align-items:center;gap:8px;padding:13px 14px;border-bottom:1px solid #b69cd214;height:55px;font-size:10px;color:#a18bb8}
.pn-preview-nav img{height:26px;width:26px;object-fit:contain}
.pn-preview-nav b{font-size:11px;color:#ded1ee}
.pn-preview-nav span:last-child{margin-left:auto;color:#8f73ac;font-size:7px;letter-spacing:.7px}
.pn-preview-wire{position:absolute;left:22px;right:22px;top:78px;opacity:.22;pointer-events:none}
.pn-preview-wire:before{content:"";display:block;height:7px;width:47%;border-radius:4px;background:#b79ccd;box-shadow:0 14px 0 -2px #84719d}
.pn-preview-wire:after{content:"";display:block;height:72px;width:100%;border:1px solid #a185be37;border-radius:10px;margin-top:30px;background:linear-gradient(120deg,#a675d526,#ffffff05)}
.pn-preview-slot{position:absolute;width:min(342px,calc(100% - 28px));right:14px;bottom:20px;z-index:1}
.pn-preview-slot[data-position="bottom-left"]{left:14px;right:auto}
.pn-preview-slot[data-position="top-right"]{top:69px;bottom:auto}
.pn-preview-stage.is-mobile{max-width:370px;margin-left:auto;margin-right:auto;min-height:300px;border-radius:22px;border-width:4px;border-color:#30243c}
.pn-preview-stage.is-mobile .pn-preview-slot{top:65px;bottom:auto;left:10px;right:10px;width:auto}
.pn-preview-stage.is-mobile .pn-preview-slot[data-position="bottom"]{top:auto;bottom:14px}
.pn-device-tabs{display:flex;gap:4px;background:var(--bg2,#101019);border:1px solid var(--line,#26263a);border-radius:10px;padding:4px;margin-top:14px}
.pn-device-tabs button{flex:1;border-radius:7px;font-size:11px;padding:8px 5px;color:var(--muted,#a5a2b7)}
.pn-device-tabs button[aria-pressed="true"]{color:#d4bcf3;background:#9b6cdb24}
.pn-preview-caption{font-size:10px;color:var(--muted,#a5a2b7);line-height:1.7;margin:0 0 13px}
.pn-preview-empty{font-size:12px;color:#ac95c1;text-align:center;background:#241a31cc;border:1px dashed #9b7fbb45;padding:18px;border-radius:12px}
.pn-summary{margin-top:17px;border-top:1px solid var(--line,#26263a);padding-top:14px;display:grid;gap:10px}
.pn-summary div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted,#a5a2b7)}
.pn-summary strong{color:#ad8ed3;font-weight:700;text-align:right}
@media(max-width:1100px){.pn-layout{grid-template-columns:minmax(0,1fr)}.pn-preview-panel{position:static;grid-row:1}.pn-preview-stage{max-width:520px;margin-left:auto;margin-right:auto;min-height:248px}.pn-summary{grid-template-columns:1fr 1fr;column-gap:25px}.pn-device-tabs{max-width:520px;margin-left:auto;margin-right:auto}}
@media(max-width:540px){.pn-intro h3{font-size:20px}.pn-form .form-grid{grid-template-columns:1fr}.pn-layout{gap:15px}.pn-preview-panel{padding:15px!important}.pn-summary{grid-template-columns:1fr}.pn-preview-slot .aurora-card{padding:14px 26px 14px 11px}.pn-preview-slot .aurora-main{gap:10px}.pn-preview-slot .aurora-thumb{width:44px;height:44px;flex-basis:44px}.pn-preview-slot .aurora-thumb img{height:36px;width:36px}.pn-preview-slot .aurora-customer{font-size:10px}.pn-preview-slot .aurora-product{font-size:13px}.pn-preview-slot .aurora-meta{font-size:8px}.pn-style-tag{font-size:9px}.pn-settings-title{align-items:flex-start}}

/* Tinted panel is already nearly opaque; no moving backdrop resampling on touch. */
@media (max-width:900px), (hover:none) and (pointer:coarse){.aurora-card{backdrop-filter:none;-webkit-backdrop-filter:none}}
