/* Physical-goods store + home product carousel. Do not lock page scroll.
   html overflow-y:auto must stay; carousel uses touch-action:pan-y. */
.store-hero{margin:12px 14px 0;border-radius:16px;overflow:hidden;position:relative;
  background:linear-gradient(120deg,#2b1055,#7c4dff55,#ff2d7855);touch-action:pan-y;-webkit-user-select:none;user-select:none}
.store-hero-viewport{overflow:hidden;touch-action:pan-y;width:100%}
.store-hero-track{display:flex;width:100%;will-change:transform;touch-action:pan-y}
.store-hero-slide{flex:0 0 100%;min-width:100%;max-width:100%;box-sizing:border-box;touch-action:pan-y}
.store-hero-slide.product{display:flex;align-items:center;gap:12px;padding:16px 16px 34px;min-height:210px;
  background:radial-gradient(520px 220px at 92% 0%,rgba(255,160,70,.38),transparent 62%),
    linear-gradient(130deg,#2a1630,#1a1028 45%,#24103a)}
.store-hero-slide.product .shp-img{flex:0 0 40%;max-width:180px;display:flex;align-items:center;justify-content:center;position:relative;overflow:visible}
.store-hero-slide.product .shp-img img{width:100%;height:auto;max-height:200px;object-fit:contain;object-position:center top;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.store-hero-slide.product .shp-info{flex:1;min-width:0}
.shp-badge{display:inline-block;font-size:11px;font-weight:800;color:#3a1800;background:linear-gradient(135deg,#ffd479,#ff9f45);
  border-radius:8px;padding:3px 8px;margin-bottom:6px}
.shp-name{font-size:19px;font-weight:900;line-height:1.3;margin:0}
.shp-name a{color:#fff}
.shp-sub{font-size:11.5px;color:#d9d5f5;margin-top:4px}
.shp-price{margin-top:8px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px}
.shp-price .was{font-size:12.5px;color:#b7a9d6;text-decoration:line-through}
.shp-price .now{font-size:22px;font-weight:900;color:#ffd166;letter-spacing:.3px}
.shp-price .tax{font-size:11px;color:#cfc7e6;width:100%}
.shp-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.shp-add{border:none;cursor:pointer;border-radius:18px;padding:8px 14px;font-size:13px;font-weight:800;color:#2a1a00;
  background:linear-gradient(135deg,#ffd166,#ff9f2e);box-shadow:0 6px 14px rgba(255,180,40,.35);font-family:inherit}
.shp-add:active{transform:scale(.97)}
.shp-view{padding:8px 12px;border-radius:18px;font-size:12.5px;font-weight:700;color:#fff;background:#ffffff16;border:1px solid #ffffff2a}
.store-hero-slide.world .banner{margin:0!important;border-radius:0!important}
.store-hero-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px;pointer-events:none;z-index:2}
.store-hero-dots button{pointer-events:auto;width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#ffffff55;cursor:pointer}
.store-hero-dots button.on{width:16px;border-radius:6px;background:#ffd166}

/* cart icon in jp appbar */
.wh-cart-btn{position:relative;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:17px;
  background:#ffffff12;border:1px solid #ffffff22;color:#fff;text-decoration:none;flex:none}
.wh-cart-btn svg{width:18px;height:18px}
.wh-cart-badge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  background:linear-gradient(135deg,#ff2d78,#ff9f2e);color:#fff;font-size:10px;font-weight:800;display:none;
  align-items:center;justify-content:center;line-height:1}

/* product / cart / checkout pages */
.st-page{background:#0b0a14;color:#f5f4ff;font-family:-apple-system,"Hiragino Sans","Noto Sans JP","PingFang SC",sans-serif;line-height:1.5;
  margin:0;padding:0 0 88px}
.st-top{position:sticky;top:0;z-index:80;display:flex;align-items:center;gap:10px;padding:10px 14px;
  background:rgba(11,10,20,.92);backdrop-filter:blur(16px);border-bottom:1px solid #2b2650}
.st-top a.back{color:#cfc9ff;font-size:13px;text-decoration:none}
.st-top h1{flex:1;font-size:16px;margin:0;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-lang{display:flex;border:1px solid #2b2650;border-radius:14px;overflow:hidden;font-size:10.5px}
.st-lang button{background:transparent;border:0;color:#918cc4;padding:4px 8px;cursor:pointer}
.st-lang button.on{background:linear-gradient(135deg,#ff2d78,#7c4dff);color:#fff}
.st-wrap{max-width:720px;margin:0 auto;padding:14px}
.st-gallery{background:#171429;border:1px solid #2b2650;border-radius:16px;overflow:hidden}
.st-gallery .main{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:#120f22}
.st-gallery .main img{width:100%;height:100%;object-fit:contain}
.st-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px;scrollbar-width:none;touch-action:pan-x}
.st-thumbs::-webkit-scrollbar{display:none}
.st-thumbs button{flex:0 0 58px;width:58px;height:58px;padding:0;border:1px solid #2b2650;border-radius:10px;overflow:hidden;background:#151030;cursor:pointer}
.st-thumbs button.on{border-color:#ffd166}
.st-thumbs img{width:100%;height:100%;object-fit:contain;background:#120f22}
.st-facts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.st-facts span{font-size:11.5px;color:#e7ddff;background:#ffffff10;border:1px solid #ffffff22;border-radius:14px;padding:4px 10px}
.st-opts{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.st-opt{display:block;border:1px solid #2b2650;border-radius:14px;padding:12px 14px;background:#171429;cursor:pointer}
.st-opt.on{border-color:#ffd166;background:linear-gradient(120deg,rgba(255,209,102,.12),rgba(139,92,246,.1))}
.st-opt .ol{font-size:13.5px;font-weight:800}
.st-opt .op{margin-top:4px}
.st-opt .was{text-decoration:line-through;color:#918cc4;margin-right:8px;font-size:13px}
.st-opt .now{color:#ffd166;font-weight:900;font-size:20px}
.st-opt .tx{display:block;font-size:11.5px;color:#cfc7e6;margin-top:2px}
.st-qty{display:flex;align-items:center;gap:10px;margin:14px 0}
.st-qty b{font-size:13px}
.st-qty .box{display:flex;border:1px solid #2b2650;border-radius:12px;overflow:hidden}
.st-qty button{width:36px;height:36px;border:0;background:#1e1a38;color:#fff;font-size:18px;cursor:pointer}
.st-qty span{width:40px;text-align:center;line-height:36px}
.st-cta{position:sticky;bottom:0;display:flex;gap:8px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(11,10,20,.94);backdrop-filter:blur(12px);border-top:1px solid #2b2650;z-index:40}
.st-cta .add{flex:1;border:0;border-radius:22px;padding:13px 16px;font-size:15px;font-weight:800;cursor:pointer;font-family:inherit;
  color:#2a1a00;background:linear-gradient(135deg,#ffd166,#ff9f2e);box-shadow:0 8px 20px rgba(255,180,40,.3)}
.st-cta .go{flex:0 0 auto;border-radius:22px;padding:13px 16px;font-size:14px;font-weight:800;color:#fff;text-decoration:none;
  background:linear-gradient(135deg,#ff2d78,#7c4dff);display:flex;align-items:center}
.st-sec{margin:22px 0 8px;font-size:16px;font-weight:800}
.st-sec em{font-style:normal;color:#ff2d78}
.st-body{font-size:13.5px;color:#d9d5f5;line-height:1.8}
.st-table{width:100%;border-collapse:collapse;font-size:13px}
.st-table th,.st-table td{border-bottom:1px solid #2b2650;padding:8px 6px;text-align:left}
.st-table th{color:#918cc4;font-weight:600;width:34%}
.st-note{font-size:12px;color:#918cc4;margin-top:10px;line-height:1.7}
.st-form label{display:block;font-size:12.5px;color:#cfc7e6;margin:12px 0 4px}
.st-form input,.st-form textarea{width:100%;box-sizing:border-box;background:#171429;border:1px solid #2b2650;border-radius:12px;
  color:#f5f4ff;font-size:15px;padding:11px 12px;font-family:inherit}
.st-form textarea{min-height:80px;resize:vertical}
.st-form input:focus,.st-form textarea:focus{outline:none;border-color:#7c4dff}
.st-bank{background:#171429;border:1px solid #ffd16655;border-radius:16px;padding:16px;margin:14px 0}
.st-bank h3{margin:0 0 8px;font-size:15px}
.st-bank p{margin:4px 0;font-size:14px}
.st-ok{text-align:center;padding:20px 8px}
.st-ok .no{font-size:22px;font-weight:900;color:#ffd166;letter-spacing:.5px}
.st-err{color:#ff8fb1;font-size:13px;margin-top:8px}
@media(min-width:720px){
  .store-hero-slide.product{min-height:220px;padding:22px 28px 40px}
  .store-hero-slide.product .shp-img{max-width:220px}
  .store-hero-slide.product .shp-img img,.store-hero-slide.product .shp-img video{max-height:240px}
  .shp-name{font-size:24px}
}

@media(max-width:420px){
  .shp-name{font-size:16.5px}
  .store-hero-slide.product{padding:14px 12px 32px;gap:10px;min-height:220px}
  .store-hero-slide.product .shp-img{flex:0 0 42%;max-width:168px}
  .store-hero-slide.product .shp-img img,.store-hero-slide.product .shp-img video{max-height:200px;object-fit:contain;object-position:center top}
  .shp-add,.shp-view{padding:7px 12px}
}

/* Cover video in carousel + product hero. Keep vertical page scroll. */
.shp-img .shp-vid-badge,.st-gallery .main .shp-vid-badge{position:absolute;left:6px;bottom:6px;z-index:2;
  background:#000000b3;color:#fff;font-size:10px;font-weight:700;letter-spacing:.02em;padding:2px 6px;border-radius:8px;
  pointer-events:none;line-height:1.2}

.shp-video, .store-hero-slide.product .shp-img video{
  width:100%;height:auto;max-height:200px;object-fit:contain;object-position:center top;display:block;
  touch-action:pan-y;pointer-events:none;background:transparent;border:0}
.st-gallery .main video{
  width:100%;height:100%;object-fit:contain;touch-action:pan-y;background:#120f22}
.st-thumbs button.vid{position:relative}
.st-thumbs .vid-badge{position:absolute;right:3px;bottom:3px;z-index:1;background:#000000aa;color:#fff;
  font-size:10px;padding:1px 5px;border-radius:6px;pointer-events:none}
@media(min-width:720px){
  .store-hero-slide.product .shp-img video{max-height:240px}
}
/* admin */
.ad-gate{max-width:400px;margin:40px auto;background:#171429;border:1px solid #2b2650;border-radius:16px;padding:22px 18px}
.ad-slots{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:10px 0}
.ad-slot{position:relative;aspect-ratio:1;border:1px dashed #3a3560;border-radius:12px;background:#120f22;overflow:hidden;
  display:flex;align-items:center;justify-content:center;font-size:11px;color:#918cc4;cursor:pointer}
.ad-slot img,.ad-slot video{width:100%;height:100%;object-fit:cover}
.ad-slot input{display:none}
.ad-slot.on{border-color:#ffd166;box-shadow:0 0 0 2px #ffd16666}
.ad-slot .rm{position:absolute;top:2px;right:2px;border:0;background:#0009;color:#fff;border-radius:10px;width:22px;height:22px;cursor:pointer}
.ad-video{margin:10px 0;padding:12px;border:1px dashed #3a3560;border-radius:14px;background:#120f22}
.ad-cover{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ad-cover label{display:flex;align-items:center;gap:6px;font-size:13px;background:#171429;border:1px solid #2b2650;border-radius:12px;padding:8px 10px;cursor:pointer}

.st-detail{margin:4px 0 16px;border-radius:14px;overflow:hidden;background:#221c38}
.st-detail picture{display:block;line-height:0}
.st-detail img{display:block;width:100%;height:auto;vertical-align:top}

/* Japan postal-code autofill on checkout */
.st-zip-hint{font-size:12px;color:#918cc4;margin:4px 0 0;line-height:1.6}
.st-zip-hint.ok{color:#9ae6b4}
.st-zip-hint.err{color:#ff8fb1}
.st-form input[name="zip"]{letter-spacing:.08em;max-width:12em}

/* Chinese homepage dedicated product carousel (does not wrap the 新世界 banner) */
.store-hero-home{max-width:1180px;margin:8px auto 4px;padding:0 20px;box-sizing:border-box}
.store-hero-home .store-hero{margin:0}
#store-hero-mount .store-hero{margin:0}

/* cart: 严选 quote block */
.st-quote{margin-top:22px;padding-top:16px;border-top:1px solid #2b2650}
.st-quote h2{font-size:15px;margin:0 0 8px}

/* product / carousel share button (wh-share.js) */
.st-top #shareSlot{display:flex;align-items:center;flex:none}
.st-top .sharebtn{width:34px;height:34px;background:#ffffff12;border:1px solid #ffffff22;color:#fff}
.st-top .sharebtn:active{opacity:.7}
.shp-acts .sharebtn{width:34px;height:34px;background:#ffffff16;border:1px solid #ffffff2a;color:#fff;align-self:center}
@media(max-width:420px){
  .st-top{gap:6px;padding:10px 10px}
}
