/* YUME v15 · compact accessible moonlight storefront and unified admin control */
.yume-store-launch{border:1px solid #e8d2fa;border-radius:999px;background:linear-gradient(130deg,#f9edff,#fff5fa);color:#6a4086;padding:10px 14px;min-height:42px;font-weight:800;white-space:nowrap;cursor:pointer;box-shadow:0 4px 15px #49245f22}
.top-actions .yume-store-launch{font-size:12px;padding:8px 11px}.yume-store-launch b{background:#82599e;color:white;border-radius:99px;padding:2px 6px;font-size:11px}
.yume-storefront-dialog{position:fixed;inset:4vh auto auto;max-width:min(970px,calc(100vw - 24px));width:970px;max-height:92dvh;padding:0;border:1px solid #e2cce9;border-radius:24px;background:linear-gradient(150deg,#fffbff,#f8f0fd 65%,#fff1f7);color:#4a375c;box-shadow:0 25px 90px #170d2c8c;overflow:auto;overscroll-behavior:contain}
.yume-storefront-dialog::backdrop{background:rgba(21,10,37,.78);backdrop-filter:blur(4px)}
.yume-store-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;background:linear-gradient(120deg,#402954,#74528c);color:#fff;position:sticky;top:0;z-index:2}
.yume-store-head p{font-size:11px;letter-spacing:.14em;color:#f2d1fb;margin:0}.yume-store-head h2{margin:3px 0 0;color:#fff;font-size:clamp(18px,3vw,24px)}
.yume-store-head button{background:#ffffff22;color:white;border:1px solid #ffffff55;width:42px;height:42px;border-radius:50%;cursor:pointer;font-size:26px}
.yume-storefront-body{padding:22px}.store-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 14px;scrollbar-width:thin}.store-tabs button{white-space:nowrap;min-height:44px;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid #ecd9f1;color:#634671;font-weight:750;cursor:pointer}.store-tabs button[aria-pressed="true"]{background:#694783;color:#fff;border-color:#694783}
.store-intro{text-align:center;padding:18px 12px 21px}.store-intro span{font-size:11px;letter-spacing:.18em;color:#a577b3}.store-intro h3{margin:7px auto 8px;color:#583a68;font-size:clamp(20px,4vw,28px)}.store-intro p{margin:0;color:#796a80;line-height:1.7}
.store-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.store-item{min-width:0;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e9d8f2;border-radius:18px;padding:19px;box-shadow:0 6px 20px #79518a0d}.store-item.premium{border-color:#d9b3e6;background:linear-gradient(130deg,#fff,#fcf2ff)}.store-item-icon{font-size:26px}.store-item h4{font-size:17px;color:#593a6e;margin:0 0 5px}.store-item p{color:#83748b;margin:0;font-size:13px;line-height:1.5}.store-item strong{margin-top:auto;color:#70439c;font-size:18px}.store-add,.store-checkout-button,.store-admin-save{border:0;border-radius:12px;min-height:42px;padding:9px 15px;cursor:pointer;font-weight:750;background:linear-gradient(125deg,#8461aa,#b585bb);color:#fff}.store-add.secondary{background:#f4e8f8;color:#674875}.store-add:disabled,.store-checkout-button:disabled{opacity:.5;cursor:not-allowed}.store-policy-short{margin:20px 0 5px;padding:14px;border-radius:12px;background:#f3e8fa;text-align:center;color:#654d74;font-size:13px;line-height:1.8}
.store-alert{margin:0 0 14px;padding:12px 16px;border-radius:10px;background:#f9e9ed;color:#983c53}.store-alert[data-kind="success"]{background:#ebf8f1;color:#246344}.store-alert[hidden]{display:none}.store-cart-line,.store-order{border:1px solid #e7d7ed;border-radius:14px;background:#fff;padding:15px;margin-bottom:12px}.store-cart-line{display:flex;justify-content:space-between;align-items:center;gap:10px}.store-cart-line>div:first-child{display:grid;gap:4px}.store-cart-line small,.store-order small{color:#87778d}.store-cart-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.store-cart-controls button{border:1px solid #ddc5e5;border-radius:8px;padding:5px 10px;min-width:32px;min-height:38px;background:#fcf5ff;color:#654475;cursor:pointer}
.store-coupon-form{padding:16px;background:#fcf9ff;border:1px solid #e8d7ed;border-radius:14px;display:grid;gap:8px}.store-coupon-form>div{display:flex;gap:8px}.store-coupon-form input{min-width:0;flex:1;border:1px solid #d8c5e0;background:#fff;border-radius:10px;padding:10px;color:#4d3c57}.store-available-title{font-size:13px;color:#7c628d}.store-coupon-tag{border:1px solid #dabde7;border-radius:50px;background:#fff;color:#7f4f91;font-size:12px;margin:5px 7px 6px 0;padding:9px 12px;cursor:pointer}.store-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:#6b5377}.store-price-row.store-total{font-size:19px;border-top:1px solid #ddc9e8;padding-top:16px;color:#552f72}.store-discount{color:#ae4171}.store-quote-caution{font-size:13px;color:#765a82;line-height:1.5;padding:8px 0}.store-checkout-form{border-top:1px dashed #dbc7e3;margin-top:20px;padding-top:12px;display:grid;gap:12px}.store-checkout-form label{display:grid;gap:6px;color:#654773;font-weight:600}.store-checkout-form input:not([type=checkbox]),.store-checkout-form textarea{width:100%;border:1px solid #ddc9e6;padding:12px;border-radius:10px;background:#fff;color:#44324e}.store-checkout-form .store-check-consent{display:flex;align-items:center;gap:9px;font-size:12px}.store-checkout-form p{font-size:12px;line-height:1.6;color:#806d86}.store-empty{text-align:center;padding:25px 10px;color:#806987}.store-order-top{display:flex;justify-content:space-between;gap:10px}.store-order-top span{color:#795493;font-size:13px;font-weight:800}.store-order p{font-size:13px;line-height:1.6}.store-login-note{background:#fae7f5;padding:13px;border-radius:9px}
.yume-admin-control{border:1px solid #d8beee;border-radius:22px;padding:22px;background:linear-gradient(145deg,rgba(253,247,255,.96),rgba(255,241,249,.96));margin:18px 0;box-shadow:0 12px 36px #66378018}.yume-admin-control h2{margin:0 0 8px;color:#5b386d}.yume-admin-control>p{margin:0 0 14px;color:#816c8a}.yume-admin-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.yume-admin-tiles button,.yume-admin-tiles a{display:grid;gap:5px;text-align:left;align-content:start;padding:16px;border-radius:14px;min-height:97px;border:1px solid #e3cdef;background:linear-gradient(140deg,#fff,#faf3ff);color:#593971;text-decoration:none;cursor:pointer}.yume-admin-tiles strong{font-size:15px}.yume-admin-tiles small{font-size:12px;color:#967d9e}.store-admin-section{border:1px solid #e3cdef;border-radius:18px;padding:18px;background:rgba(255,249,255,.96);margin:20px 0;scroll-margin-top:90px}.store-admin-section summary{cursor:pointer;font-weight:800;font-size:18px;color:#5e4270}.store-admin-section>p{color:#7c6489;line-height:1.7}.store-admin-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.store-admin-toolbar button{background:#f6eafd;border:1px solid #dec3ef;border-radius:10px;padding:9px 13px;color:#643d77;cursor:pointer}.store-admin-toolbar button[aria-pressed="true"]{background:#74528e;color:white}.store-admin-edit,.store-admin-order{border:1px solid #e1d0ea;border-radius:12px;background:#fff;padding:12px 15px;margin:10px 0}.store-admin-edit summary{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;font-size:14px}.store-admin-edit summary span{font-weight:400;font-size:12px;color:#8b7b90}.store-admin-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px 0}.store-admin-field{display:grid;gap:5px;color:#6a5477;font-size:12px;min-width:0}.store-admin-field input,.store-admin-field select{width:100%;padding:11px 9px;border:1px solid #dac9e5;border-radius:9px;background:#fff;color:#4d385a;min-height:40px}.store-admin-toggles{display:flex;flex-wrap:wrap;gap:18px;margin:8px 0 15px}.store-admin-toggles label{display:flex;gap:6px;align-items:center}.store-admin-order h4{margin:4px 0 12px;color:#59446d}.store-admin-order h4 small{font-weight:400;color:#877c90}.store-admin-order p{font-size:13px;color:#65516f;line-height:1.7}.store-admin-empty{color:#87728a;padding:18px}.store-admin-notice{font-size:13px;color:#755286;margin:9px 0}.store-admin-notice[data-error="1"]{color:#ad3a55}
/* Keep primary buying actions and member links usable at PC/mobile sizes */
@media(max-width:1090px){.top-actions .push-menu-open,.top-actions .contact-mini{display:none!important}.desktop-nav{gap:8px!important}.top-actions{gap:6px!important}}
@media(max-width:750px){.yume-store-launch{padding:8px 10px}.top-actions .yume-store-launch{font-size:12px}.store-product-grid,.yume-admin-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.store-admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.yume-storefront-dialog{inset:2dvh auto auto;max-height:96dvh;border-radius:20px}.yume-storefront-body{padding:15px}.store-cart-line{align-items:flex-start;flex-direction:column}}
@media(max-width:440px){.store-product-grid,.yume-admin-tiles,.store-admin-fields{grid-template-columns:1fr}.yume-storefront-body{padding:12px}.yume-store-head{padding:13px 15px}.store-intro{padding:10px 4px 14px}.store-tabs button{font-size:12px;padding:8px 11px}.store-item{padding:14px}.store-coupon-form>div{flex-wrap:wrap}.store-coupon-form .store-add{width:100%}.top-actions .yume-store-launch{padding:7px 8px}}
@media(prefers-reduced-motion:reduce){.yume-storefront-dialog::backdrop{backdrop-filter:none}}

/* v15.1 - deliberate coupon disposal, distinct from recoverable archiving */
.store-admin-toolbar .store-admin-delete{background:#fff4f6;border-color:#e4adbe;color:#9c385f;font-weight:750}
.store-admin-toolbar .store-admin-delete:hover:not(:disabled){background:#ffe4eb;border-color:#cb7898}
.store-admin-toolbar .store-admin-delete:disabled{opacity:.48;cursor:not-allowed}
.store-admin-deletion-note{padding:9px 12px;border-left:3px solid #d4abd8;background:#fbf5fc;color:#684f79;font-size:12px;line-height:1.65;border-radius:8px}
.store-admin-protected{display:inline-flex;align-items:center;min-height:40px;padding:8px 11px;border-radius:9px;background:#f6f2f8;color:#7d7383;font-size:12px}

/* v15.2 · Cart vs instant single-product order. Both retain server-side price calculation. */
.store-item-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin-top:5px}
.store-item-actions .store-add{min-width:0;width:100%;padding:10px 8px;min-height:45px;line-height:1.3}
.store-item-actions .store-add.secondary{border:1px solid #dfc7e8;background:linear-gradient(135deg,#f9f0fd,#fff7fb);color:#68457d}
.store-item-actions .store-buy-now{background:linear-gradient(130deg,#865ca7,#b485c7);box-shadow:0 4px 14px #73518b26}
.store-item-actions .store-add:focus-visible,.store-return-products:focus-visible{outline:3px solid #de8dd1;outline-offset:2px}
.store-direct-count{display:inline-flex;align-items:center;border:1px solid #ddc3e9;border-radius:99px;color:#6b4581;background:#fbf2ff;padding:7px 11px;font-size:12px;font-weight:750;white-space:nowrap}
.store-return-products{margin-top:16px;padding:11px 14px;border:1px solid #e1caeb;background:#fff;border-radius:12px;color:#674676;font-weight:700;min-height:44px;cursor:pointer}
@media (max-width:440px){.store-item-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.store-item-actions .store-add{font-size:13px}}

/* v16.3: Portfolio style choice and guest-friendly persistent cart */
.store-style-reference{max-width:620px;margin:4px auto 24px;border:1px solid #e0c7e9;background:linear-gradient(140deg,#fff9ff,#f8edff);padding:24px;border-radius:22px;box-shadow:0 8px 26px #84528b16;display:grid;gap:12px;text-align:center}
.store-style-reference>span{color:#9a69aa;font-size:12px;letter-spacing:.08em}.store-style-reference>strong{font-size:clamp(18px,4vw,24px);color:#57366c;overflow-wrap:anywhere}.store-style-reference>small,.store-style-reference>p{color:#8a7893;font-size:13px;line-height:1.7;margin:0}
.store-style-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:7px}.store-style-actions .store-add{min-height:49px;font-size:14px}
.store-ref-name{font-size:12px;color:#89569b;overflow-wrap:anywhere}.store-login-gateway{border:1px solid #e6c9e9;background:#fff9ff;border-radius:16px;padding:22px;display:grid;gap:12px;text-align:center;margin-top:20px}.store-login-gateway h4{margin:0;color:#633d78;font-size:18px}.store-login-gateway p,.store-login-gateway small{font-size:13px;color:#806f8a;line-height:1.65;margin:0}.store-login-cta{display:block;text-decoration:none;text-align:center;line-height:26px;border-radius:999px}
@media(max-width:560px){.store-style-reference{padding:18px 13px}.store-style-actions{grid-template-columns:1fr}.store-style-actions .store-add{width:100%}.store-login-gateway{padding:16px}}

/* v16.4: explicit account/guest checkout paths */
.store-guest-selector{display:grid;gap:9px;padding:13px;border:1px dashed #e2cbe8;border-radius:15px;background:#fff}
.store-guest-selector strong{color:#643a75;font-size:14px}.store-guest-cta{border:1px solid #d4a6dc;background:linear-gradient(135deg,#fff,#f7eaff);color:#693b83;font-weight:800;cursor:pointer;min-height:48px;border-radius:999px}
.store-guest-cta:disabled{opacity:.55;cursor:not-allowed}.store-login-gateway .store-guest-selector button{width:100%;min-height:43px}

/* v16.5 unbounded item quantities & guest full-cart */
.store-cart-controls input[data-store-quantity]{width:90px;max-width:120px;min-width:64px;min-height:38px;border:1px solid #ddc5e5;border-radius:9px;background:#fff;padding:7px 8px;font-weight:750;color:#503668;text-align:center} 
.store-guest-cta{display:block;width:100%;margin:12px 0;text-align:center} 

/* v16.6: editable cart quantity without per-product cap */
.store-cart-controls input[data-store-quantity]{width:92px;max-width:120px;min-width:70px;min-height:38px;border:1px solid #dfcbeb;border-radius:9px;padding:7px 8px;text-align:center;background:white;color:#59416b;font-weight:bold}
.store-guest-cta{display:block;width:100%;margin:12px 0;text-align:center}


/* YUME MOONLIGHT PASS · compact readable 4-tier pricing board */
.store-pass-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.store-pass-item{position:relative;gap:9px!important;min-width:0;border-radius:22px!important;background:linear-gradient(150deg,#fff,#fcf7ff)!important}
.store-pass-item.recommended{border:2px solid #b88bda!important;background:linear-gradient(145deg,#fff9ff,#f5e9ff)!important;box-shadow:0 11px 26px #8b61ae29}
.store-pass-item.is-paused{border-style:dashed!important}
.store-pass-badge{display:inline-flex;align-self:flex-start;background:#865bac;color:#fff;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:800}
.store-pass-item .store-item-icon{line-height:1.1}
.store-pass-item h4{margin:0!important}
.store-pass-item > strong{font-size:clamp(17px,2.4vw,23px)!important;color:#654083!important;margin:4px 0 0!important}
.store-pass-item>small{display:block;color:#84688c;font-size:11px;line-height:1.55}
.store-pass-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:1px 0 4px}
.store-pass-periods span{border:1px solid #ead8ee;background:#faf3fd;border-radius:12px;padding:10px 8px;font-size:11px;color:#735889;white-space:normal;text-align:center}
.store-pass-periods b{display:block;margin-top:4px;color:#603f7e;font-size:13px;white-space:nowrap}
.store-pass-item .store-add{width:100%;margin-top:auto;border-radius:999px!important;min-height:45px!important}
.store-pass-item .store-add:disabled{background:#f2e9f6!important;color:#887497!important;border:1px solid #e5d8ea!important;opacity:1!important}
@media(max-width:620px){.store-pass-grid{grid-template-columns:minmax(0,1fr)}.store-pass-item{padding:17px!important}.store-pass-periods b{font-size:14px}}
