/* Shared storefront interactions. Admin and tutorial motion settings are separate. */
.storefront{--ease-out:cubic-bezier(.2,.75,.25,1);--soft-blue:#f1f6ff}
.storefront [hidden]{display:none!important}
.storefront .intro{animation:shop-enter .45s var(--ease-out) both}
.storefront .product-card{animation:shop-enter .5s .06s var(--ease-out) both}
.storefront .checkout-card{animation:shop-enter .5s .12s var(--ease-out) both}
@keyframes shop-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.storefront .product-selector{gap:10px;scroll-snap-type:x proximity;padding:24px 2px 10px;scroll-padding-inline:2px}
.storefront .product-pill{min-width:144px;min-height:54px;padding:10px 20px;gap:10px;font-size:15px;scroll-snap-align:start;transition:background .25s,border-color .25s,color .25s,box-shadow .25s,transform .25s var(--ease-out)}
.storefront .product-pill img{width:30px;height:30px}
.storefront .product-pill:active{transform:scale(.96)}
.storefront .service-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;width:300px;padding:4px;margin-top:7px;background:#e9edf5;border:1px solid #e4e8f0;border-radius:15px}
.storefront .service-tabs::before{content:"";position:absolute;z-index:-1;inset:4px auto 4px 4px;width:calc(50% - 4px);background:#fff;border-radius:11px;box-shadow:0 2px 7px #182f5a12;transition:transform .3s var(--ease-out)}
.storefront .service-tabs[data-active="1"]::before{transform:translateX(100%)}
.storefront .service-tab{border:0;background:transparent;min-height:40px;color:#7c8494;font-size:13px;font-weight:600;cursor:pointer;transition:color .2s,transform .2s}
.storefront .service-tab.active{color:#2478e5}
.storefront .service-tab:active{transform:scale(.96)}
.storefront .product-details>summary{cursor:pointer;color:#70798a;font-size:12px;line-height:1.7;padding:10px 0;list-style:none;display:flex;align-items:center;justify-content:space-between}
.storefront .product-details>summary::-webkit-details-marker{display:none}
.storefront .product-details>summary::after{content:"＋";transition:transform .42s cubic-bezier(.65,0,.35,1);color:#8a94a7;font-size:17px}
.storefront .product-details[open]>summary::after{transform:rotate(45deg)}
.storefront .product-details[data-motion="closing"]>summary::after{transform:rotate(0)}
.storefront .product-details[open] .features{padding-top:18px}
.storefront .quota>span{font-weight:700;color:#353c4b}
.storefront .sku-option>span{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-content:center;min-height:78px;padding:15px 42px 15px 15px;border:2px solid #e2e6ef;transition:border-color .22s,background .22s,box-shadow .22s,transform .22s var(--ease-out)}
.storefront .sku-option input:checked+span{padding:15px 42px 15px 15px;box-shadow:0 4px 16px #087bff10}
.storefront .sku-option strong{min-width:0;line-height:1.5}
.storefront .sku-option small{white-space:nowrap;font-variant-numeric:tabular-nums}
.storefront .sku-option>span::after{content:"✓";position:absolute;right:14px;top:calc(50% - 10px);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#087bff;color:#fff;font-size:11px;opacity:0;transform:scale(.7);transition:opacity .2s,transform .2s var(--ease-out)}
.storefront .sku-option input:checked+span::after{opacity:1;transform:scale(1)}
.storefront .button{transition:transform .2s var(--ease-out),background .2s,box-shadow .2s,opacity .2s}
.storefront .button:active:not(:disabled){transform:scale(.975)}
.storefront .primary:not(:disabled){box-shadow:0 7px 19px #087bff20}
.storefront .button:disabled{cursor:not-allowed}.storefront .button[aria-busy="true"]{cursor:wait}
.storefront .field input{transition:border-color .2s,box-shadow .2s,background .2s}
.storefront .field input:focus{box-shadow:0 0 0 4px #087bff12;border-color:#4a8dff;background:#fff}
.storefront :focus-visible{outline:2px solid #5289ff;outline-offset:4px}
.storefront .field input:focus-visible,.storefront .invite-input:focus-visible{outline:none}
.storefront .message:not([hidden]){animation:shop-enter .22s var(--ease-out)}
.storefront .recharge-quantity{margin-bottom:12px;padding:20px;background:#f6f8fc;border:1px solid #e9edf5;border-radius:18px}
.storefront .quantity-title{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;color:#545e70}
.storefront .quantity-value{font-variant-numeric:tabular-nums;color:#1976ea;background:#e7f0ff;border-radius:9px;padding:6px 10px;font-size:15px}
.storefront .quantity-adjust{display:flex;align-items:center;gap:13px;margin-top:18px}
.storefront .quantity-step{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #dde3ee;background:#fff;border-radius:10px;color:#52627d;font-size:20px;line-height:1;font-family:inherit;cursor:pointer;transition:transform .18s,background .18s}
.storefront .quantity-step:active:not(:disabled){transform:scale(.9);background:#e7f0ff}
.storefront .quantity-step:disabled{opacity:.35;cursor:default}
.storefront .quantity-range{min-width:0;flex:1;margin:0;appearance:none;-webkit-appearance:none;height:6px;border:0;border-radius:99px;background:linear-gradient(to right,#4486ff 0 var(--quantity-fill,0%),#dce4f1 var(--quantity-fill,0%) 100%);cursor:pointer;touch-action:pan-y;outline-offset:9px}
.storefront .quantity-range::-webkit-slider-thumb{appearance:none;width:23px;height:23px;border:4px solid #fff;border-radius:50%;background:#4387ff;box-shadow:0 2px 9px #2f65bc4d;transition:box-shadow .2s,transform .2s}
.storefront .quantity-range:active::-webkit-slider-thumb{transform:scale(1.12);box-shadow:0 0 0 6px #4387ff16,0 2px 9px #2f65bc4d}
.storefront .quantity-range::-moz-range-thumb{width:16px;height:16px;border:4px solid #fff;border-radius:50%;background:#4387ff;box-shadow:0 2px 9px #2f65bc4d}
.storefront .quantity-bounds{display:flex;justify-content:space-between;margin:12px 47px 0;font-size:10px;color:#929bad}
.storefront .quantity-summary{font-size:12px;color:#6b7892;margin:17px 0 0;text-align:center;font-variant-numeric:tabular-nums}
.storefront .invite-field{display:block;margin-top:22px}
.storefront .invite-label{display:block;color:#303847;font-size:14px;font-weight:650;margin-bottom:13px}
.storefront .invite-wrap{position:relative}
.storefront .invite-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.storefront .invite-cell{display:grid;place-items:center;min-width:0;aspect-ratio:1/1.05;max-height:70px;background:#f9fafc;border:1px solid #dce2ec;border-radius:14px;font:600 24px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#303b50;transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
.storefront .invite-cell.focused{border-color:#4c79ff;box-shadow:0 0 0 4px #587fff13;background:#fff}
.storefront .invite-cell.filled{background:#f5f8ff;color:#276ed1}
.storefront .invite-input{position:absolute;inset:0;width:100%;height:100%;min-width:0;border:0!important;padding:0;background:transparent!important;color:transparent;caret-color:transparent;font-size:24px;box-shadow:none!important;letter-spacing:12px;cursor:text}
.storefront .invite-error{font-size:11px;color:#bc4356;line-height:1.7;margin:10px 0 0}
.storefront .invite-help{margin-top:14px;font-size:11px;color:#748198;line-height:1.9}
.storefront .invite-help>summary{cursor:pointer;color:#4c7dbf}
.storefront .invite-help p{padding:10px 13px;background:#f5f8fd;border-radius:10px;margin:8px 0 0;animation:shop-enter .2s var(--ease-out)}
.storefront .recharge-reminder{font-size:11px;line-height:1.9;color:#8c784c;background:#faf7ef;border-radius:10px;padding:11px 13px;margin:14px 0 25px}
.storefront .price-value,.storefront #price-value{font-variant-numeric:tabular-nums}
.storefront dialog[open]{animation:shop-panel .28s var(--ease-out)}
.storefront dialog[open]::backdrop{animation:shop-backdrop .2s ease-out}
@keyframes shop-panel{from{opacity:0;transform:translateY(20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes shop-backdrop{from{background:transparent}to{background:#13213b66}}
.storefront .mobile-checkout{display:none}
@media(hover:hover){.storefront .product-pill:hover{transform:translateY(-2px)}.storefront .sku-option:hover>span{transform:translateY(-2px);box-shadow:0 5px 16px #203c6910}.storefront .primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 23px #087bff30}}
@media(max-width:850px){
  .storefront{padding-bottom:85px}
  .storefront .product-selector{padding-top:17px}
  .storefront .product-pill{min-width:116px;min-height:46px;padding:8px 16px;font-size:13px;gap:8px}
  .storefront .product-pill img{width:26px;height:26px}
  .storefront .service-tabs{width:260px;margin-top:5px}
  .storefront .service-tab{min-height:36px;font-size:12px}
  .storefront .intro{padding:21px 0 19px}
  .storefront .intro h1{font-size:28px;letter-spacing:-1px}
  .storefront .eyebrow{font-size:11px;margin-bottom:9px}
  .storefront .purchase-grid{gap:14px}
  .storefront .product-card{padding:20px 22px;position:relative}
  .storefront .product-art{position:absolute;right:20px;top:20px;width:56px;height:56px;margin:0;background:#f5f8ff;border-radius:16px}
  .storefront .product-art img{width:40px;height:40px}
  .storefront .product-art .art-caption{display:none}
  .storefront .product-heading{padding-right:70px;padding-bottom:12px;align-items:flex-start;gap:10px}
  .storefront .product-heading h2{font-size:23px;margin-top:7px}
  .storefront .product-heading .small{font-size:10px}
  .storefront .quota{gap:6px;padding-top:2px}
  .storefront .quota span{font-size:10px}
  .storefront .quota strong{font-size:17px}
  .storefront .description{font-size:12px;margin:7px 0 9px;padding-right:0}
  .storefront .product-card>.quiet-note{margin-top:8px;font-size:10px}
  .storefront .product-details>summary{font-size:11px;padding:6px 0}
  .storefront .product-details .features{gap:17px;padding-top:13px}
  .storefront .sku-options{grid-template-columns:minmax(0,1fr);gap:10px}
  .storefront .sku-option>span,.storefront .sku-option input:checked+span{grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:60px;padding:15px 44px 15px 15px}
  .storefront .sku-option strong,.storefront .sku-option small{font-size:13px}
  .storefront .checkout-card{padding:23px}
  .storefront .card-top{margin-bottom:20px}
  .storefront .price{margin-top:26px;margin-bottom:10px}
  .storefront .price>#price-value{font-size:64px;letter-spacing:-2px}
  .storefront .price>.currency{font-size:26px;margin-top:7px}
  .storefront .price+.small{line-height:1.8;margin:12px 0 18px}
  .storefront .totals{margin-bottom:20px}
  .storefront .mobile-checkout{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px max(20px,env(safe-area-inset-right)) calc(13px + env(safe-area-inset-bottom));border-top:1px solid #e5eaf2;background:#fffffff2;backdrop-filter:blur(18px);box-shadow:0 -8px 26px #24385608;animation:shop-panel .25s var(--ease-out)}
  .storefront .mobile-checkout>div{display:flex;flex-direction:column;gap:5px}
  .storefront .mobile-checkout .small{font-size:10px}
  .storefront #mobile-total{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums}
  .storefront #mobile-pay{min-width:155px;min-height:46px;border-radius:13px;font-size:13px}
  .storefront:has(.checkout-credentials input:focus) .mobile-checkout,.storefront:has(.invite-input:focus) .mobile-checkout{display:none}
}
@media(max-width:360px){.storefront .checkout-card{padding:19px}.storefront .invite-cells{gap:6px}.storefront .invite-cell{border-radius:10px;font-size:21px}.storefront .product-heading{padding-right:54px}.storefront .product-heading h2{font-size:21px}.storefront .quota strong{font-size:14px}.storefront .product-art{width:44px;height:44px}.storefront .product-art img{width:32px;height:32px}.storefront #mobile-pay{min-width:140px}}

.storefront .purchase-grid>.card{min-width:0}
