/* ===== 商店頁（進站後）：參考一般精品潮牌版型，黑色主題 ===== */
#shop-view { display: none; padding: 0; max-width: none; margin: 0; width: 100%; flex: 1; }
#preview-bar { margin: 0 !important; }

.shop-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.96); backdrop-filter: blur(6px); border-bottom: 1px solid #1f1f1f;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 40px; }
.sh-brand { font-family: 'Archivo Black', Impact, sans-serif; letter-spacing: 9px; padding-left: 9px; font-size: 1.25rem; color: #f3efe8; text-decoration: none; text-align: center; grid-column: 2; }
.sh-right { grid-column: 3; justify-self: end; display: flex; gap: 26px; }
#shop-view .sh-link { background: none; color: #f3efe8; border: none; padding: 6px 0; letter-spacing: 3px; font-size: .72rem; font-weight: 400; cursor: pointer; font-family: 'Space Mono', monospace; text-transform: uppercase; }
#shop-view .sh-link:hover { background: none; text-decoration: underline; text-underline-offset: 5px; }
#search-bar { display: none; padding: 14px 40px; border-bottom: 1px solid #1f1f1f; background: #0a0a0a; }
#search-bar input { width: 100%; max-width: 520px; background: transparent; border: none; border-bottom: 1px solid #444; padding: 10px 2px; color: #f3efe8; letter-spacing: 3px; font-size: .8rem; }
.shop-sub { display: flex; justify-content: space-between; align-items: center; padding: 24px 40px 16px; font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: 3px; color: #9a978f; text-transform: uppercase; }
#shop-view .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px 24px; padding: 0 40px 80px; margin-top: 0; }
#shop-view .grid > p { grid-column: 1 / -1; padding: 40px 0; }

.pcard { cursor: pointer; }
.pimg { position: relative; aspect-ratio: 3 / 4; background: #161616; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #555; font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: 3px; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .6s ease; }
.pimg img.alt { opacity: 0; }
.pcard:hover .pimg img.alt { opacity: 1; }
.pcard:hover .pimg img:not(.alt) { transform: scale(1.02); }
.soldtag { position: absolute; top: 12px; left: 12px; z-index: 2; background: #0a0a0a; color: #f3efe8; font-family: 'Space Mono', monospace; font-size: .62rem; letter-spacing: 3px; padding: 5px 9px; }
.pmeta { padding-top: 14px; }
.pcat { font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: 3px; color: #9a978f; text-transform: uppercase; margin-bottom: 6px; }
.pname { font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: .95rem; letter-spacing: 1px; color: #f3efe8; }
.pprice { font-family: 'Space Mono', monospace; font-size: .8rem; color: #cfcac2; margin-top: 6px; letter-spacing: 1px; }
.pprice s { color: #666; margin-left: 8px; }
.draft-tag { font-size: .6rem; color: #f3c663; border: 1px solid #f3c663; padding: 1px 6px; margin-left: 8px; letter-spacing: 2px; }

/* 共用彈層 */
.ov { display: none; position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.82); overflow-y: auto; }
.ov.open { display: block; }
#shop-view .xbtn, .ov .xbtn { position: absolute; top: 16px; right: 18px; background: none; border: none; color: #f3efe8; font-size: 1.4rem; cursor: pointer; padding: 6px 10px; letter-spacing: 0; z-index: 3; }
.ov .xbtn:hover { background: none; opacity: .7; }

/* 商品詳情 */
.pm-box { position: relative; max-width: 1080px; margin: 4vh auto; background: #0e0e0e; border: 1px solid #222; display: grid; grid-template-columns: 1.1fr 1fr; }
.pm-gal { padding: 0; }
.pm-main { aspect-ratio: 3 / 4; background: #161616; display: flex; align-items: center; justify-content: center; color: #555; font-family: 'Space Mono', monospace; letter-spacing: 3px; }
.pm-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; flex-wrap: wrap; }
.pm-thumbs img { width: 58px; height: 74px; object-fit: cover; cursor: pointer; opacity: .55; border: 1px solid transparent; }
.pm-thumbs img.on { opacity: 1; border-color: #f3efe8; }
.pm-info { padding: 44px 36px; display: flex; flex-direction: column; gap: 14px; }
.pm-info h2 { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: 1.5rem; letter-spacing: 2px; line-height: 1.2; text-transform: uppercase; color: #f3efe8; margin: 0; }
.pm-desc { color: #a9a59d; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: .9rem; line-height: 1.8; white-space: pre-line; }
.pm-label { font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: 3px; color: #9a978f; margin-top: 6px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
#pmodal .pill { background: transparent; color: #f3efe8; border: 1px solid #444; padding: 11px 16px; font-size: .75rem; letter-spacing: 2px; font-weight: 400; cursor: pointer; }
#pmodal .pill:hover { border-color: #f3efe8; background: transparent; }
#pmodal .pill.sel { background: #f3efe8; color: #0a0a0a; border-color: #f3efe8; }
#pmodal .pill:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.btn-wide { width: 100%; padding: 17px; background: #f3efe8; color: #0a0a0a; border: none; letter-spacing: 5px; font-size: .8rem; cursor: pointer; }
.btn-wide:hover { background: #fff; }
.btn-wide:disabled { opacity: .35; cursor: not-allowed; }
.pm-msg { font-size: .8rem; color: #f3c663; min-height: 1.2em; }

/* 購物袋側欄 */
#bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #0e0e0e; border-left: 1px solid #222; z-index: 401; transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column; }
#bag.open { transform: none; }
.bag-head { padding: 22px 24px; border-bottom: 1px solid #1f1f1f; font-family: 'Space Mono', monospace; letter-spacing: 4px; font-size: .8rem; display: flex; justify-content: space-between; align-items: center; }
.bag-head .xbtn { position: static; }
.bag-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag-empty { color: #777; font-family: 'Space Mono', monospace; letter-spacing: 3px; font-size: .75rem; padding: 40px 0; text-align: center; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid #1a1a1a; }
.bag-item img, .bag-item .noimg { width: 72px; height: 92px; object-fit: cover; background: #161616; }
.bi-name { font-size: .9rem; letter-spacing: 1px; color: #f3efe8; }
.bi-sub { font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: 2px; color: #9a978f; margin-top: 5px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #333; margin-top: 10px; }
#bag .qty button { background: none; color: #f3efe8; border: none; width: 30px; height: 28px; padding: 0; letter-spacing: 0; font-size: .95rem; cursor: pointer; }
#bag .qty button:hover { background: #222; }
.qty span { width: 30px; text-align: center; font-size: .8rem; }
.bi-price { font-family: 'Space Mono', monospace; font-size: .8rem; text-align: right; }
#bag .bi-rm { background: none; border: none; color: #777; font-size: .65rem; letter-spacing: 2px; padding: 8px 0 0; cursor: pointer; font-weight: 400; }
#bag .bi-rm:hover { background: none; color: #f3efe8; }
.bag-foot { border-top: 1px solid #1f1f1f; padding: 20px 24px 26px; }
.promo-row { display: flex; gap: 8px; margin-bottom: 6px; }
.promo-row input { flex: 1; background: transparent; border: 1px solid #333; padding: 12px; color: #f3efe8; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; }
#bag .promo-row button { background: transparent; border: 1px solid #555; color: #f3efe8; padding: 0 16px; font-size: .7rem; letter-spacing: 2px; font-weight: 400; cursor: pointer; }
#bag .promo-row button:hover { background: #222; }
#promo-msg { font-size: .75rem; min-height: 1.3em; color: #f3c663; margin-bottom: 8px; }
.sum-row { display: flex; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: .78rem; letter-spacing: 2px; padding: 5px 0; color: #cfcac2; }
.sum-row.total { color: #f3efe8; font-size: .9rem; padding-top: 12px; border-top: 1px solid #1f1f1f; margin-top: 6px; }
.bag-note { color: #f3c663; font-size: .75rem; margin-top: 10px; min-height: 1.2em; line-height: 1.5; }

/* 會員視窗 */
.acct-box { position: relative; max-width: 440px; margin: 9vh auto; background: #0e0e0e; border: 1px solid #222; padding: 44px 34px 34px; text-align: center; }
.acct-box h2 { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; letter-spacing: 3px; font-size: 1.4rem; margin: 0 0 22px; color: #f3efe8; text-transform: uppercase; }
.tabs { display: flex; margin-bottom: 22px; border-bottom: 1px solid #222; }
.acc-wrap .tabs button { flex: 1; background: none; color: #777; border: none; border-bottom: 2px solid transparent; padding: 12px; letter-spacing: 3px; font-size: .75rem; font-weight: 400; cursor: pointer; }
.acc-wrap .tabs button.on { color: #f3efe8; border-bottom-color: #f3efe8; }
.acc-wrap input { width: 100%; background: transparent; border: 1px solid #333; padding: 15px; margin-bottom: 10px; color: #f3efe8; font-size: .8rem; letter-spacing: 1px; text-align: left; }
.acc-wrap input:focus { border-color: #f3efe8; }
.acc-wrap .btn-wide { margin-top: 6px; }
.acc-wrap .ghost { background: none; border: 1px solid #444; color: #f3efe8; width: 100%; padding: 14px; letter-spacing: 3px; font-size: .72rem; margin-top: 10px; cursor: pointer; }
.acc-wrap .ghost:hover { background: #1a1a1a; }
.acc-wrap .linkbtn { background: none; border: none; color: #888; font-size: .7rem; letter-spacing: 2px; margin-top: 14px; cursor: pointer; font-weight: 400; text-decoration: underline; }
.acc-wrap .linkbtn:hover { background: none; color: #f3efe8; }
#acct-msg { min-height: 1.4em; font-size: .8rem; margin-top: 12px; color: #f3c663; line-height: 1.5; }
.acct-who { color: #cfcac2; line-height: 1.9; font-size: .9rem; margin-bottom: 18px; }
.acct-who b { color: #f3efe8; font-size: 1.05rem; letter-spacing: 1px; }

@media (max-width: 800px) {
  .shop-header { padding: 14px 16px; grid-template-columns: auto 1fr auto; }
  .sh-brand { grid-column: 1 / 2; font-size: 1rem; letter-spacing: 5px; text-align: left; padding-left: 0; }
  .sh-right { grid-column: 3; gap: 14px; }
  #shop-view .sh-link { font-size: .62rem; letter-spacing: 2px; }
  #search-bar { padding: 12px 16px; }
  .shop-sub { padding: 18px 16px 12px; }
  #shop-view .grid { padding: 0 16px 60px; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .pm-box { grid-template-columns: 1fr; margin: 0; min-height: 100%; border: none; }
  .pm-info { padding: 26px 20px 40px; }
}

.shop-sub #shop-title { font-family: "Space Mono", monospace !important; font-size: .72rem !important; font-weight: 400 !important; letter-spacing: 3px !important; }
#bag .xbtn { background: none; color: #f3efe8; border: none; font-size: 1.3rem; padding: 4px 8px; cursor: pointer; letter-spacing: 0; }
#bag .xbtn:hover { background: none; opacity: .7; }

/* ===== 橫幅 ===== */
.banner { position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 90px 24px 110px;
  background: radial-gradient(ellipse at 30% 40%, #202020 0%, #0a0a0a 62%) 0 0 / 160% 160%; animation: drift 14s ease-in-out infinite alternate; }
#banner-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.65)); }
.banner-inner { position: relative; z-index: 1; max-width: 900px; }
.banner-eyebrow { font-family: 'Space Mono', monospace; letter-spacing: 12px; padding-left: 12px; font-size: .8rem; color: #cfcac2; margin-bottom: 18px; animation: lineIn 1s ease .1s both; }
.banner-title { font-family: 'Archivo Black', Impact, sans-serif !important; font-weight: 400 !important; font-size: clamp(3rem, 12vw, 9rem) !important; line-height: .95; letter-spacing: 10px !important; padding-left: 10px; color: #f3efe8; text-transform: uppercase; margin: 0 0 22px; animation: titleIn 1.6s cubic-bezier(.2,.7,.2,1) .2s both; }
.banner-sub { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.8rem); color: #d8d3ca; letter-spacing: 2px; animation: lineIn 1s ease .9s both; }
.banner-count { display: flex; justify-content: center; gap: 14px; margin-top: 34px; animation: lineIn 1s ease 1.2s both; }
.banner-count > div { min-width: 70px; border: 1px solid #3a3a3a; background: rgba(0,0,0,.35); padding: 12px 8px; }
.banner-count b { display: block; font-family: 'Space Mono', monospace; font-size: 1.5rem; color: #f3efe8; }
.banner-count span { font-family: 'Space Mono', monospace; font-size: .58rem; letter-spacing: 3px; color: #9a978f; }
.banner .banner-cta, .club .banner-cta { margin-top: 38px; padding: 17px 44px; background: transparent; color: #f3efe8; border: 1px solid #f3efe8; border-radius: 999px; font-size: .75rem; letter-spacing: 5px; cursor: pointer; transition: all .25s; animation: lineIn 1s ease 1.5s both; }
.banner .banner-cta:hover, .club .banner-cta:hover { background: #f3efe8; color: #0a0a0a; }
.banner-scroll { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-family: 'Space Mono', monospace; font-size: .62rem; letter-spacing: 6px; color: #8b887f; animation: breathe 2.4s ease-in-out infinite; }
.banner-scroll::after { content: ''; display: block; width: 1px; height: 34px; background: #6b6963; margin: 10px auto 0; }

/* ===== 跑馬燈 ===== */
.ticker { overflow: hidden; border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f; background: #0d0d0d; }
.ticker-track { display: inline-flex; white-space: nowrap; padding: 13px 0; animation: marquee 38s linear infinite; font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: 6px; color: #9a978f; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== 排序、卡片進場、收藏 ===== */
.sub-right { display: flex; gap: 26px; align-items: center; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap select { background: transparent; border: none; border-bottom: 1px solid #444; color: #f3efe8; font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: 2px; padding: 4px 2px; width: auto; outline: none; cursor: pointer; }
.sort-wrap option { background: #0a0a0a; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
#shop-view .heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,10,.55); color: #f3efe8; border: none; font-size: 1.1rem; padding: 0; letter-spacing: 0; cursor: pointer; backdrop-filter: blur(4px); transition: transform .2s, background .2s; }
#shop-view .heart:hover { transform: scale(1.1); background: rgba(10,10,10,.85); }
#shop-view .heart.on { color: #ff6b81; }
.empty-note { color: #666; letter-spacing: 3px; font-family: 'Space Mono', monospace; }
.pill i { display: block; font-style: normal; font-size: .55rem; letter-spacing: 1px; color: #f3c663; margin-top: 3px; }
#pmodal .pill.sel i { color: #8a6a12; }
#pmodal .btn-ghost { width: 100%; padding: 15px; background: transparent; color: #f3efe8; border: 1px solid #444; letter-spacing: 4px; font-size: .72rem; cursor: pointer; font-weight: 400; }
#pmodal .btn-ghost:hover { background: #1a1a1a; }

/* ===== 尚無商品 ===== */
.soon { grid-column: 1 / -1; text-align: center; padding: 70px 20px 60px; }
.soon-big { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(2rem, 7vw, 5rem); letter-spacing: 12px; padding-left: 12px; color: #f3efe8; animation: breathe 3.2s ease-in-out infinite; }
.soon p { color: #8f8c84; font-family: 'Noto Sans TC', sans-serif; margin: 22px 0 28px; letter-spacing: 1px; }
.soon-form { display: flex; justify-content: center; gap: 8px; max-width: 520px; margin: 0 auto; }
.soon-form input { flex: 1; background: transparent; border: 1px solid #444; color: #f3efe8; padding: 16px; letter-spacing: 2px; font-size: .75rem; }
.soon-form button { background: #f3efe8; color: #0a0a0a; border: none; padding: 0 26px; letter-spacing: 3px; font-size: .72rem; cursor: pointer; }
#soon-msg { margin-top: 14px; min-height: 1.4em; font-size: .85rem; }

/* ===== 會員招募 ===== */
.club { border-top: 1px solid #1f1f1f; text-align: center; padding: 90px 24px 100px; background: linear-gradient(to bottom, #0a0a0a, #111); }
.club-title { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(1.6rem, 4.5vw, 3rem); letter-spacing: 8px; padding-left: 8px; color: #f3efe8; margin-bottom: 40px; }
.club-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 900px; margin: 0 auto; }
.club-cols > div { border: 1px solid #222; padding: 26px 18px; }
.club-cols b { display: block; font-family: 'Space Mono', monospace; letter-spacing: 4px; font-size: .78rem; color: #f3efe8; margin-bottom: 10px; }
.club-cols span { color: #8f8c84; font-size: .82rem; line-height: 1.7; font-family: 'Noto Sans TC', sans-serif; }
.club .banner-cta { animation: none; margin-top: 44px; }

/* ===== 會員中心（登入後） ===== */
.acct-box.wide { max-width: 780px; text-align: left; padding: 38px 34px 34px; }
.m-head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.avatar { width: 68px; height: 68px; border-radius: 50%; background: #f3efe8; color: #0a0a0a; display: flex; align-items: center; justify-content: center; font-family: 'Archivo Black', sans-serif; font-size: 1.6rem; flex: none; }
.m-name { font-size: 1.25rem; color: #f3efe8; letter-spacing: 1px; }
.m-mail { color: #8f8c84; font-size: .85rem; margin-top: 3px; }
.m-badge { display: inline-block; margin-top: 8px; border: 1px solid #555; padding: 3px 10px; font-family: 'Space Mono', monospace; font-size: .6rem; letter-spacing: 3px; color: #cfcac2; }
.m-nav { display: flex; gap: 0; border-bottom: 1px solid #222; margin-bottom: 24px; overflow-x: auto; }
.acc-wrap .m-nav button { background: none; color: #777; border: none; border-bottom: 2px solid transparent; padding: 12px 18px; letter-spacing: 3px; font-size: .7rem; font-weight: 400; cursor: pointer; white-space: nowrap; }
.acc-wrap .m-nav button.on { color: #f3efe8; border-bottom-color: #f3efe8; }
.fl { display: block; font-family: 'Space Mono', monospace; font-size: .62rem; letter-spacing: 3px; color: #8f8c84; margin: 14px 0 7px; text-align: left; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc-wrap textarea { width: 100%; min-height: 80px; background: transparent; border: 1px solid #333; padding: 14px; color: #f3efe8; font-size: .85rem; margin-bottom: 14px; font-family: 'Noto Sans TC', sans-serif; resize: vertical; }
.acc-wrap input[type=date] { color-scheme: dark; }
.m-empty { text-align: center; color: #8f8c84; padding: 46px 10px; font-family: 'Space Mono', monospace; letter-spacing: 3px; font-size: .78rem; line-height: 2; }
.m-empty span { font-family: 'Noto Sans TC', sans-serif; letter-spacing: 1px; font-size: .85rem; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.wl-item { cursor: pointer; }
.wl-item img, .wl-item .noimg { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #161616; display: block; }
.wl-name { font-size: .82rem; margin-top: 8px; color: #f3efe8; }
.wl-price { font-family: 'Space Mono', monospace; font-size: .7rem; color: #9a978f; margin-top: 3px; }
.acc-wrap .wl-x { background: none; border: none; color: #777; font-size: .6rem; letter-spacing: 2px; padding: 6px 0 0; cursor: pointer; font-weight: 400; }
.acc-wrap .wl-x:hover { background: none; color: #f3efe8; }
@media (max-width: 800px) {
  .banner { min-height: 70vh; padding: 70px 18px 90px; }
  .sub-right { gap: 14px; }
  .club-cols { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .acct-box.wide { margin: 0; min-height: 100%; border: none; }
  .soon-form { flex-direction: column; }
  .soon-form button { padding: 16px; }
}

/* ===== 頂端橫幅：左 漢堡+搜尋 / 中 品牌 / 右 帳號+購物袋（參考 BLVCK） ===== */
.shop-header { padding: 14px 32px; min-height: 76px; }
.sh-left { grid-column: 1; display: flex; align-items: center; gap: 20px; }
.sh-right { gap: 18px; align-items: center; }
#shop-view .icon-btn { background: none; border: none; color: #f3efe8; padding: 6px; letter-spacing: 0; cursor: pointer; position: relative; display: inline-flex; align-items: center; justify-content: center; transition: opacity .2s, transform .2s; }
#shop-view .icon-btn:hover { background: none; opacity: .7; transform: scale(1.06); }
.burger { display: block; width: 28px; }
.burger i { display: block; height: 2px; background: #f3efe8; margin: 6px 0; }
.burger i:nth-child(3) { width: 68%; }
.bag-btn #bag-count { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); font-family: 'Space Mono', monospace; font-size: .62rem; font-weight: 700; color: #f3efe8; }
#sh-account.signed::after { content: ''; position: absolute; top: 4px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: #4cd137; border: 2px solid #0a0a0a; }

/* 左側滑出選單 */
#menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(560px, 100%); background: #000; z-index: 401; transform: translateX(-100%); transition: transform .45s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; padding: 26px 40px 30px; overflow-y: auto; }
#menu.open { transform: none; }
#menu .menu-x { background: none; border: none; color: #f3efe8; font-size: 1.7rem; align-self: flex-start; padding: 6px 8px 6px 0; cursor: pointer; letter-spacing: 0; }
#menu .menu-x:hover { background: none; opacity: .7; }
.menu-list { margin-top: 24px; display: flex; flex-direction: column; }
#menu .menu-list button { background: none; border: none; color: #f3efe8; text-align: left; font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: 1.55rem; font-weight: 400; letter-spacing: 1px; padding: 15px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; transition: transform .25s, opacity .25s; opacity: 0; }
#menu.open .menu-list button { animation: lineIn .55s ease both; animation-delay: calc(var(--i) * 70ms + 200ms); opacity: 1; }
#menu .menu-list button:hover { background: none; transform: translateX(8px); }
.menu-list small { font-family: 'Noto Sans TC', sans-serif; font-size: .78rem; color: #8f8c84; letter-spacing: 3px; }
.menu-foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 26px; }
#menu .menu-login { background: none; border: none; color: #f3efe8; text-align: left; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; letter-spacing: 1px; text-decoration: underline; text-underline-offset: 6px; padding: 0; cursor: pointer; font-weight: 400; align-self: flex-start; }
#menu .menu-login:hover { background: none; opacity: .7; }
.socials a { color: #f3efe8; display: inline-block; opacity: .9; }
.socials a:hover { opacity: .6; }
.copy { color: #9a978f; font-size: .85rem; font-family: 'Noto Sans TC', sans-serif; letter-spacing: 1px; }
@media (max-width: 800px) {
  .shop-header { padding: 10px 14px; grid-template-columns: 1fr auto 1fr; min-height: 64px; }
  .sh-brand { grid-column: 2; font-size: 1rem; letter-spacing: 5px; text-align: center; padding-left: 5px; }
  .sh-left { gap: 8px; } .sh-right { grid-column: 3; gap: 6px; }
  #menu { padding: 22px 26px 26px; }
}

/* ===== 會員整頁（參考 BLVCK 客戶登入頁：左大標題、右表單） ===== */
#shop-view.on-account .banner, #shop-view.on-account .ticker, #shop-view.on-account #shop-sub, #shop-view.on-account #product-grid, #shop-view.on-account #search-bar { display: none !important; }
#account-page { min-height: calc(100vh - 80px); background: #0a0a0a; }
.acc-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 80px); }
.acc-left { border-right: 1px solid #1f1f1f; padding: 0 6vw; display: flex; flex-direction: column; justify-content: center; }
.acc-title { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.08; letter-spacing: 3px; color: #f3efe8; margin: 0; text-transform: uppercase; }
.acc-bar { width: 82px; height: 3px; background: #f3efe8; margin-top: 34px; }
.acc-right { padding: 0 6vw; display: flex; align-items: center; }
.acc-form { width: 100%; max-width: 640px; }
.acc-form input { width: 100%; height: 72px; background: transparent; border: 1px solid #3a3a3a; color: #f3efe8; padding: 0 24px; font-size: .85rem; letter-spacing: 2px; margin-bottom: 22px; text-align: left; font-family: 'Space Mono', monospace; }
.acc-form input:focus { border-color: #f3efe8; outline: none; }
.acc-actions { display: flex; align-items: center; gap: 30px; margin-top: 8px; flex-wrap: wrap; }
#account-page .pill-btn { background: #f3efe8; color: #0a0a0a; border: none; border-radius: 999px; padding: 0 44px; height: 70px; letter-spacing: 4px; font-size: .78rem; cursor: pointer; transition: transform .2s, background .2s; }
#account-page .pill-btn:hover { background: #fff; transform: translateY(-2px); }
.acc-links { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: #9a978f; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; letter-spacing: 1px; }
#account-page .linkbtn { background: none; border: none; color: #cfcac2; font-size: .8rem; letter-spacing: 2px; padding: 0; cursor: pointer; font-weight: 400; text-align: left; font-family: inherit; text-decoration: underline; text-underline-offset: 4px; }
#account-page .linkbtn.strong { color: #f3efe8; font-weight: 700; }
#account-page .linkbtn:hover { background: none; color: #fff; }
.acc-or { text-align: center; margin: 34px 0 18px; border-top: 1px solid #222; height: 0; }
.acc-or span { position: relative; top: -10px; background: #0a0a0a; padding: 0 14px; font-family: 'Space Mono', monospace; font-size: .65rem; letter-spacing: 4px; color: #6b6963; }
#account-page .ghost { width: 100%; height: 62px; background: transparent; color: #f3efe8; border: 1px solid #444; letter-spacing: 4px; font-size: .75rem; cursor: pointer; }
#account-page .ghost:hover { background: #151515; }
#account-page #acct-msg { min-height: 1.5em; margin-top: 18px; font-size: .85rem; color: #f3c663; line-height: 1.6; }

/* 歡迎頁 */
.welcome { text-align: center; padding: 14vh 24px 12vh; }
.welcome .club-title { font-family: 'Archivo Black', Impact, sans-serif; font-size: clamp(1.8rem, 5vw, 3.6rem); letter-spacing: 8px; padding-left: 8px; color: #f3efe8; margin-bottom: 52px; }
.welcome .club-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 960px; margin: 0 auto; }
.welcome .club-cols > div { border: 1px solid #222; padding: 34px 20px; }
.welcome .club-cols b { display: block; font-family: 'Space Mono', monospace; letter-spacing: 4px; font-size: .78rem; color: #f3efe8; margin-bottom: 12px; }
.welcome .club-cols span { color: #8f8c84; font-size: .85rem; line-height: 1.7; font-family: 'Noto Sans TC', sans-serif; }
.wc-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 54px; }
.welcome .banner-cta { margin: 0; padding: 18px 46px; background: transparent; color: #f3efe8; border: 1px solid #f3efe8; border-radius: 999px; font-size: .75rem; letter-spacing: 5px; cursor: pointer; transition: all .25s; animation: none; }
.welcome .banner-cta:hover { background: #f3efe8; color: #0a0a0a; }
.welcome .banner-cta.ghosty { border-color: #444; color: #cfcac2; }

/* 會員中心整頁 */
.acc-wrap { max-width: 960px; margin: 0 auto; padding: 44px 28px 100px; }
.acc-wrap .back { margin-bottom: 26px; }
.acc-wrap .m-head { margin-bottom: 30px; }

@media (max-width: 800px) {
  .acc-split { grid-template-columns: 1fr; min-height: 0; }
  .acc-left { border-right: none; border-bottom: 1px solid #1f1f1f; padding: 44px 22px 34px; }
  .acc-bar { margin-top: 22px; }
  .acc-right { padding: 30px 22px 60px; }
  .acc-form input { height: 62px; }
  .welcome .club-cols { grid-template-columns: 1fr; }
}

/* 會員中心：登出鈕、輸入框與分頁樣式修正 */
.acc-wrap .m-head { align-items: center; }
.out-btn { margin-left: auto; align-self: flex-start; background: transparent; color: #f3efe8; border: 1px solid #555; border-radius: 999px; padding: 12px 28px; letter-spacing: 4px; font-size: .68rem; cursor: pointer; font-weight: 400; transition: all .2s; }
.out-btn:hover { background: #f3efe8; color: #0a0a0a; border-color: #f3efe8; }
.acc-wrap .m-nav button { background: none; }
.acc-wrap .m-nav button.on { background: none; }
.acc-wrap .m-nav button:hover { background: none; color: #f3efe8; }
.acc-wrap input, .acc-wrap textarea { width: 100%; }
.acc-wrap .btn-wide { margin-top: 10px; }
@media (max-width: 800px) { .out-btn { padding: 10px 18px; letter-spacing: 3px; } .acc-wrap .m-head { flex-wrap: wrap; } }

/* ===== 頁尾（參考 BLVCK：四欄 + 分隔線 + 版權） ===== */
.site-footer { background: #000; border-top: 1px solid #1f1f1f; padding: 90px 40px 34px; }
.sf-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1400px; margin: 0 auto; }
.sf-cols h4 { font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-weight: 400; font-size: 1.15rem; letter-spacing: 1px; color: #f3efe8; margin: 0 0 26px; }
.site-footer .sf-link { display: block; background: none; border: none; color: #cfcac2; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: .88rem; letter-spacing: 1px; padding: 8px 0; text-align: left; cursor: pointer; font-weight: 400; transition: color .2s, transform .2s; }
.site-footer .sf-link:hover { background: none; color: #fff; transform: translateX(4px); }
.sf-social a { display: flex; align-items: center; gap: 14px; color: #f3efe8; text-decoration: none; padding: 8px 0; font-size: .88rem; letter-spacing: 1px; transition: opacity .2s; }
.sf-social a:hover { opacity: .65; }
.sf-line { max-width: 1400px; height: 1px; background: #262626; margin: 120px auto 28px; }
.sf-bottom { max-width: 1400px; margin: 0 auto; display: flex; justify-content: flex-end; color: #9a978f; font-family: 'Noto Sans TC', sans-serif; font-size: .8rem; letter-spacing: 1px; }

/* 政策 / 資訊頁 */
.info-page { max-width: 780px; margin: 0 auto; padding: 60px 28px 120px; }
.info-page .back { margin-bottom: 40px; }
#account-page .info-page .linkbtn { background: none; border: none; color: #cfcac2; font-size: .8rem; letter-spacing: 2px; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.info-en { font-family: 'Space Mono', monospace; letter-spacing: 8px; font-size: .72rem; color: #8f8c84; margin-bottom: 14px; }
.info-title { font-family: 'Noto Sans TC', 'Archivo Black', sans-serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 3px; color: #f3efe8; margin: 0; }
.info-body { margin-top: 44px; color: #cfcac2; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: .98rem; line-height: 2; white-space: pre-line; letter-spacing: .5px; }
.info-body.soon-note { text-align: center; padding: 70px 0; color: #8f8c84; letter-spacing: 6px; white-space: normal; }
.info-body.soon-note span { font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: 6px; }
@media (max-width: 800px) {
  .site-footer { padding: 60px 22px 28px; }
  .sf-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .sf-line { margin-top: 60px; }
  .sf-bottom { justify-content: flex-start; }
}

/* ===== 語言切換 EN / 中文 ===== */
.lang-sw { display: flex; align-items: center; gap: 0; font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: 3px; color: #8f8c84; }
.lang-sw span { margin-right: 14px; }
.lang-sw button { background: transparent; color: #8f8c84; border: 1px solid #333; padding: 9px 16px; letter-spacing: 2px; font-size: .68rem; font-weight: 400; cursor: pointer; font-family: 'Space Mono', 'Noto Sans TC', monospace; transition: all .2s; }
.lang-sw button + button { border-left: none; }
.lang-sw button:hover { background: #151515; color: #f3efe8; }
.lang-sw button.on { background: #f3efe8; color: #0a0a0a; border-color: #f3efe8; }
.sf-bottom { justify-content: space-between !important; align-items: center; flex-wrap: wrap; gap: 18px; }
#menu .lang-sw { margin-top: 4px; }

/* 頁尾字體縮小 */
.site-footer { padding: 64px 40px 26px; }
.sf-cols h4 { font-size: .92rem; margin-bottom: 18px; }
.site-footer .sf-link { font-size: .74rem; padding: 6px 0; letter-spacing: .8px; }
.sf-social a { font-size: .74rem; padding: 6px 0; gap: 10px; }
.sf-social svg { width: 18px; height: 18px; }
.sf-line { margin: 70px auto 20px; }
.sf-bottom { font-size: .68rem; }
.lang-sw { font-size: .58rem; letter-spacing: 2px; }
.lang-sw span { margin-right: 10px; }
.lang-sw button { padding: 7px 12px; font-size: .6rem; }
@media (max-width: 800px) { .site-footer { padding: 48px 22px 24px; } .sf-line { margin-top: 44px; } }

/* ===== 加入名單成功頁 ===== */
#joined-view { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; min-height: 70vh; }
.joined-eyebrow { font-family: 'Space Mono', monospace; letter-spacing: 12px; padding-left: 12px; font-size: .78rem; color: #8f8c84; margin-bottom: 26px; animation: lineIn .9s ease both; }
.joined-title { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: clamp(2.4rem, 8vw, 6rem); line-height: 1.05; letter-spacing: 6px; color: #f3efe8; margin: 0; animation: titleIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.joined-bar { width: 82px; height: 3px; background: #f3efe8; margin: 38px auto 30px; animation: lineIn 1s ease .5s both; }
.joined-email { font-family: 'Space Mono', monospace; font-size: .85rem; letter-spacing: 2px; color: #cfcac2; margin-bottom: 14px; word-break: break-all; animation: lineIn 1s ease .7s both; }
.joined-p { font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: 1.05rem; color: #b5b0a7; letter-spacing: 1px; line-height: 1.8; max-width: 560px; animation: lineIn 1s ease .9s both; }
#joined-view .joined-back { margin-top: 48px; background: transparent; color: #f3efe8; border: 1px solid #f3efe8; border-radius: 999px; padding: 16px 48px; letter-spacing: 6px; font-size: .75rem; cursor: pointer; font-weight: 400; transition: all .25s; animation: lineIn 1s ease 1.1s both; }
#joined-view .joined-back:hover { background: #f3efe8; color: #0a0a0a; }

/* ===== 商品區塊：每個商品一整面，左半照片、右半說明與購物（第二個商品左右對調） ===== */
#shop-view #product-grid.prod-feed { display: block; padding: 0; margin: 0; }
.sort-wrap { display: none !important; }
.feat { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 76px); border-top: 1px solid #1a1a1a; background: #0a0a0a; }
.feat.flip .feat-media { order: 2; }
.feat.flip .feat-info { order: 1; }
.feat-media { position: relative; background: #121212; overflow: hidden; min-height: 60vh; }
.feat-main { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.feat-main img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fadeImg .5s ease both; }
.feat-ph { color: #555; font-family: 'Space Mono', monospace; letter-spacing: 4px; font-size: .8rem; }
@keyframes fadeImg { from { opacity: .3; } to { opacity: 1; } }
.feat-media .soldtag { top: 22px; left: 22px; }
.feat-draft { position: absolute; top: 22px; right: 22px; background: #0a0a0a; padding: 4px 10px; }
#shop-view .fnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: rgba(10,10,10,.55); color: #f3efe8; border: none; font-size: 1.6rem; line-height: 1; padding: 0 0 4px; letter-spacing: 0; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
#shop-view .fnav:hover { background: rgba(10,10,10,.9); transform: translateY(-50%) scale(1.08); }
.fnav.prev { left: 18px; } .fnav.next { right: 18px; }
.fcount { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 3; font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: 4px; color: #f3efe8; mix-blend-mode: difference; }
.fthumbs { position: absolute; left: 22px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
.fthumbs img { width: 52px; height: 66px; object-fit: cover; cursor: pointer; opacity: .55; border: 1px solid transparent; transition: opacity .2s; }
.fthumbs img:hover { opacity: .9; }
.fthumbs img.on { opacity: 1; border-color: #f3efe8; }
.feat-info { display: flex; align-items: center; justify-content: center; padding: 56px 6vw; }
.feat-inner { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.feat-idx { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: 6px; color: #6b6963; }
.feat-name { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.15; letter-spacing: 2px; text-transform: uppercase; color: #f3efe8; margin: 0; }
.feat-price { font-family: 'Space Mono', monospace; font-size: 1.05rem; letter-spacing: 1px; color: #f3efe8; }
.feat-price s { color: #666; margin-left: 12px; font-size: .85rem; }
.feat-desc { color: #a9a59d; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: .92rem; line-height: 1.9; white-space: pre-line; padding: 6px 0 4px; }
.feat-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.feat-row .pm-label { margin: 0; }
#shop-view .sg-link { background: none; border: none; color: #cfcac2; font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: 3px; text-decoration: underline; text-underline-offset: 5px; padding: 0; cursor: pointer; font-weight: 400; }
#shop-view .sg-link:hover { background: none; color: #fff; }
.feat .pills { gap: 8px; }
#shop-view .feat .pill { background: transparent; color: #f3efe8; border: 1px solid #444; padding: 13px 20px; font-size: .78rem; letter-spacing: 2px; font-weight: 400; cursor: pointer; min-width: 58px; }
#shop-view .feat .pill:hover { border-color: #f3efe8; background: transparent; }
#shop-view .feat .pill.sel { background: #f3efe8; color: #0a0a0a; border-color: #f3efe8; }
#shop-view .feat .pill:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.feat .pill i { display: block; font-style: normal; font-size: .55rem; letter-spacing: 1px; color: #f3c663; margin-top: 3px; }
.feat .pill.sel i { color: #8a6a12; }
#shop-view .feat .btn-wide { margin-top: 10px; }
#shop-view .feat .btn-ghost { width: 100%; padding: 15px; background: transparent; color: #f3efe8; border: 1px solid #444; letter-spacing: 4px; font-size: .72rem; cursor: pointer; font-weight: 400; }
#shop-view .feat .btn-ghost:hover { background: #1a1a1a; }

/* 尺寸表彈窗 */
.sg-box { position: relative; max-width: 620px; margin: 10vh auto; background: #0e0e0e; border: 1px solid #222; padding: 44px 32px 34px; }
.sg-box h3 { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; letter-spacing: 3px; font-size: 1.05rem; text-transform: uppercase; color: #f3efe8; margin: 0 0 22px; padding-right: 30px; line-height: 1.4; }
.sg-scroll { overflow-x: auto; }
.sg-table { width: 100%; border-collapse: collapse; font-family: 'Space Mono', monospace; font-size: .82rem; }
.sg-table th, .sg-table td { border: 1px solid #262626; padding: 13px 14px; text-align: center; color: #f3efe8; white-space: nowrap; }
.sg-table thead th { background: #151515; color: #9a978f; font-weight: 400; letter-spacing: 2px; font-size: .7rem; }
.sg-table tbody th { background: #121212; font-weight: 700; }
.sg-note, .sg-empty { color: #8f8c84; font-family: 'Noto Sans TC', sans-serif; font-size: .8rem; margin-top: 14px; letter-spacing: .5px; }
.sg-text { color: #cfcac2; font-family: 'Noto Sans TC', sans-serif; font-size: .9rem; line-height: 1.9; white-space: pre-line; }

@media (max-width: 800px) {
  .feat { grid-template-columns: 1fr; min-height: 0; }
  .feat.flip .feat-media, .feat.flip .feat-info { order: initial; }
  .feat-media { min-height: 0; aspect-ratio: 4 / 5; }
  .feat-info { padding: 34px 22px 60px; }
  .fthumbs { left: 14px; bottom: 14px; } .fthumbs img { width: 44px; height: 56px; }
  #shop-view .fnav { width: 40px; height: 40px; }
}

/* ===== 商品頁版型調整（參考 BLVCK／Fear of God）：直式縮圖、放大鏡、圓形尺寸、雙按鈕、商品細節、可展開資訊 ===== */
.fthumbs { flex-direction: column; left: 22px; top: 50%; bottom: auto; transform: translateY(-50%); gap: 10px; }
.fthumbs img { width: 56px; height: 72px; }
.fcount { top: auto; bottom: 22px; }
#shop-view .fzoom { position: absolute; top: 20px; right: 20px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: rgba(10,10,10,.55); color: #f3efe8; border: none; padding: 0; letter-spacing: 0; cursor: pointer; backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
#shop-view .fzoom:hover { background: rgba(10,10,10,.9); transform: scale(1.08); }
.feat-main { cursor: zoom-in; }
.feat-draft { right: 78px !important; }
.fnav.next { right: 18px; }

.feat-inner { max-width: 540px; gap: 16px; }
.pills.round { gap: 12px; }
#shop-view .feat .pills.round .pill { width: 56px; height: 56px; min-width: 0; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; letter-spacing: 0; }
#shop-view .feat .pills.round .pill:disabled { text-decoration: none; position: relative; overflow: hidden; }
#shop-view .feat .pills.round .pill:disabled::after { content: ''; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: #6b6963; transform: rotate(-35deg); }
.low-note { font-family: 'Space Mono', monospace; font-size: .68rem; letter-spacing: 2px; color: #f3c663; margin-top: -6px; }
.feat-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
#shop-view .feat .btn-line, #shop-view .feat .btn-solid { height: 62px; border-radius: 999px; letter-spacing: 3px; font-size: .74rem; cursor: pointer; font-weight: 700; transition: all .2s; }
#shop-view .feat .btn-line { background: transparent; color: #f3efe8; border: 1px solid #f3efe8; }
#shop-view .feat .btn-line:hover { background: #f3efe8; color: #0a0a0a; }
#shop-view .feat .btn-solid { background: #f3efe8; color: #0a0a0a; border: 1px solid #f3efe8; }
#shop-view .feat .btn-solid:hover { background: #fff; }
#shop-view .feat .btn-line:disabled, #shop-view .feat .btn-solid:disabled { opacity: .35; cursor: not-allowed; }
#shop-view .feat .btn-ghost { border-radius: 999px; }
.feat-desc { padding-top: 14px; border-top: 1px solid #1f1f1f; margin-top: 6px; }
.feat-details .pm-label { margin: 6px 0 10px; }
.feat-details ul { list-style: none; margin: 0; padding: 0; }
.feat-details li { position: relative; padding: 6px 0 6px 20px; color: #cfcac2; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: .9rem; line-height: 1.7; }
.feat-details li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 5px; height: 5px; border-radius: 50%; background: #f3efe8; }
.feat-acc { margin-top: 10px; border-top: 1px solid #1f1f1f; }
.facc { border-bottom: 1px solid #1f1f1f; }
.facc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: 3px; color: #f3efe8; text-transform: uppercase; }
.facc summary::-webkit-details-marker { display: none; }
.facc .pm { font-style: normal; font-size: 1.1rem; transition: transform .25s; }
.facc[open] .pm { transform: rotate(45deg); }
.facc-body { padding: 0 0 20px; color: #a9a59d; font-family: 'Noto Sans TC', 'Space Grotesk', sans-serif; font-size: .88rem; line-height: 1.9; white-space: pre-line; }
.soon-inline { color: #6b6963; letter-spacing: 2px; }

/* 放大檢視 */
#lb { background: rgba(0,0,0,.94); z-index: 450; }
#lb.open { display: flex; align-items: center; justify-content: center; }
#lb img { max-width: 92vw; max-height: 90vh; object-fit: contain; display: block; }
#lb .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.08); color: #f3efe8; border: none; font-size: 1.8rem; line-height: 1; padding: 0 0 4px; letter-spacing: 0; cursor: pointer; }
#lb .lb-nav:hover { background: rgba(255,255,255,.2); }
#lb .lb-prev { left: 24px; } #lb .lb-next { right: 24px; }
#lb-count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: 4px; color: #cfcac2; }

@media (max-width: 800px) {
  .fthumbs { left: 12px; top: auto; bottom: 14px; transform: none; flex-direction: row; }
  .fthumbs img { width: 44px; height: 56px; }
  .fcount { bottom: 16px; }
  #shop-view .feat .pills.round .pill { width: 50px; height: 50px; }
  .feat-btns { grid-template-columns: 1fr; }
  #lb .lb-prev { left: 8px; } #lb .lb-next { right: 8px; }
}

.fnav.prev { left: 98px; }
@media (max-width: 800px) { .fnav.prev { left: 14px; } }

/* ===== 手機與平板細修 ===== */
@media (max-width: 800px) {
  /* iPhone Safari：輸入欄字體小於 16px 會在點選時自動放大畫面，所以手機版一律 16px */
  input, select, textarea { font-size: 16px !important; }
  .fcount { top: 16px; bottom: auto; }
  .feat-media { max-height: 78vh; }
}

/* ===== 頁尾 v2（參考 MORROW）：左訂閱電子報＋語言、右三欄連結、底部社群與政策 ===== */
.site-footer { background: #060606; border-top: 1px solid #1c1c1c; padding: 70px 40px 28px; }
.sf2-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; max-width: 1500px; margin: 0 auto; }
.sf2-label { font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: .82rem; letter-spacing: 1.5px; color: #f3efe8; text-transform: uppercase; margin-bottom: 26px; }
.sf2-label.sm { font-size: .68rem; color: #8f8c84; margin-bottom: 14px; }
.sf2-sub { display: flex; align-items: center; max-width: 480px; border-bottom: 1px solid #f3efe8; }
.sf2-sub input { flex: 1; background: transparent; border: none; outline: none; color: #f3efe8; font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: .95rem; letter-spacing: .5px; padding: 16px 0; text-align: left; }
.sf2-sub input::placeholder { color: #8f8c84; }
.site-footer .sf2-arrow { background: none; border: none; color: #f3efe8; padding: 6px 0 6px 12px; cursor: pointer; letter-spacing: 0; transition: transform .2s; }
.site-footer .sf2-arrow:hover { background: none; transform: translateX(4px); }
.sf2-msg { min-height: 1.4em; margin-top: 12px; font-size: .82rem; font-family: 'Noto Sans TC', sans-serif; }
.sf2-lang { margin-top: 34px; }
.sf2-lang select { background: transparent; color: #f3efe8; border: none; border-bottom: 1px solid #333; padding: 8px 22px 8px 0; font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: .95rem; width: auto; min-width: 130px; outline: none; cursor: pointer; }
.sf2-lang select option { background: #0a0a0a; }
.sf2-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer .sf-link { font-size: .95rem; padding: 7px 0; color: #e4e0d8; letter-spacing: .3px; }
.site-footer .sf-link.sm { font-size: .72rem; padding: 4px 0; color: #cfcac2; letter-spacing: 1px; text-transform: uppercase; }
.sf2-bottom { max-width: 1500px; margin: 70px auto 0; border-top: 1px solid #1c1c1c; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.sf2-row { display: flex; gap: 22px; flex-wrap: wrap; }
.sf2-row.between { justify-content: space-between; align-items: center; }
.sf2-row a { color: #cfcac2; text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-size: .72rem; letter-spacing: 1.5px; }
.sf2-row a:hover { color: #fff; }
.sf2-policies { display: flex; gap: 22px; flex-wrap: wrap; }
.sf2-copy { color: #8f8c84; font-family: 'Space Grotesk', 'Noto Sans TC', sans-serif; font-size: .74rem; letter-spacing: 1px; }
@media (max-width: 800px) {
  .site-footer { padding: 48px 22px 24px; }
  .sf2-top { grid-template-columns: 1fr; gap: 40px; }
  .sf2-cols { grid-template-columns: 1fr 1fr; }
  .sf2-bottom { margin-top: 44px; }
  .sf2-row.between { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sf2-sub input { font-size: 16px; }
}

/* ===== 結帳 / 訂單 ===== */
#co { display: none; position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.82); overflow-y: auto; padding: 4vh 16px; }
#co.open { display: block; }
.co-box { position: relative; max-width: 880px; margin: 0 auto; background: #0e0e0e; border: 1px solid #262626; padding: 40px 34px 34px; color: #f3efe8; }
.co-box h2 { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; letter-spacing: 3px; font-size: 1.4rem; margin: 0 0 24px; text-transform: uppercase; }
.co-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; background: none; color: #f3efe8; border: 1px solid #444; cursor: pointer; padding: 0; }
.co-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; }
.co-box .fl { display: block; margin: 14px 0 6px; font-size: .7rem; letter-spacing: 3px; color: #9a978f; text-transform: uppercase; }
.co-box input, .co-box textarea { width: 100%; padding: 14px; background: transparent; border: 1px solid #444; color: #f3efe8; font-size: 16px; font-family: inherit; }
.co-box textarea { min-height: 84px; resize: vertical; }
.co-box input:disabled { opacity: .55; }
.co-box select { width: 100%; padding: 14px; background: #111; border: 1px solid #444; color: #f3efe8; font-size: 16px; font-family: inherit; }
.co-inv-note { font-size: .74rem; color: #8f8c84; margin-top: 6px; line-height: 1.6; }
.co-sum { background: #141414; border: 1px solid #222; padding: 22px; align-self: start; }
.co-line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .85rem; color: #cfcac2; }
.co-line.total { border-top: 1px solid #333; margin-top: 8px; padding-top: 14px; color: #fff; font-size: 1.05rem; font-weight: 700; }
.co-pay { margin: 16px 0; padding: 14px; border: 1px dashed #555; font-size: .82rem; line-height: 1.7; color: #e4dfd6; }
#co-msg { min-height: 1.4em; margin-top: 12px; font-size: .85rem; line-height: 1.5; }
.co-done { text-align: center; padding: 20px 0; }
.co-ok { width: 64px; height: 64px; border: 2px solid #4cd137; color: #4cd137; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 18px; }
.co-done p { margin: 8px 0; color: #cfcac2; }
.co-done .co-d { color: #9a978f; font-size: .85rem; margin: 18px auto; max-width: 440px; line-height: 1.7; }
.ord-card { border: 1px solid #262626; background: #0e0e0e; padding: 18px; margin-bottom: 14px; text-align: left; }
.ord-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ord-date { color: #7d7a73; font-size: .75rem; margin: 4px 0 10px; }
.ord-st { padding: 4px 10px; font-size: .7rem; letter-spacing: 1px; background: #2a2a2a; color: #ddd; }
.ord-st.st-paid, .ord-st.st-done { background: #12301a; color: #4cd137; }
.ord-st.st-shipping { background: #1b2a3f; color: #6aa9ff; }
.ord-st.st-pending { background: #3a2f10; color: #f3c663; }
.ord-st.st-cancelled { background: #3a1515; color: #ff6b6b; }
.ord-line { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .84rem; color: #cfcac2; }
.ord-line img { width: 42px; height: 52px; object-fit: cover; }
.ord-line span:nth-last-child(2) { flex: 1; }
.ord-total { display: flex; justify-content: space-between; border-top: 1px solid #262626; margin-top: 8px; padding-top: 10px; }
.ord-trk { margin-top: 8px; font-size: .8rem; color: #6aa9ff; }
@media (max-width: 760px) { .co-cols { grid-template-columns: 1fr; } .co-box { padding: 54px 18px 24px; } }
.ord-pay { margin-top: 12px; }
.ord-pay .btn-wide { margin-top: 0; }
.ord-st.st-transit { background: #1b2a3f; color: #6aa9ff; }
.ord-st.st-arrived { background: #12301a; color: #4cd137; }
.trk { display: flex; margin: 14px 0 12px; }
.trk-step { flex: 1; text-align: center; position: relative; font-size: .7rem; color: #6f6c66; }
.trk-step::before { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: #2a2a2a; z-index: 0; }
.trk-step:first-child::before { display: none; }
.trk-step i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: #0e0e0e; border: 1px solid #3a3a3a; font-style: normal; font-size: .75rem; color: #6f6c66; }
.trk-step b { display: block; font-weight: 600; letter-spacing: 1px; }
.trk-step small { display: block; margin-top: 2px; color: #6f6c66; font-size: .65rem; min-height: 1em; }
.trk-step.done i, .trk-step.cur i { background: #f3efe8; border-color: #f3efe8; color: #0a0a0a; }
.trk-step.cur i { box-shadow: 0 0 0 4px rgba(243,239,232,.18); }
.trk-step.done, .trk-step.cur { color: #f3efe8; }
.trk-step.done::before, .trk-step.cur::before { background: #f3efe8; }

/* ===== 服務卡片（三張直式大圖）===== */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 60px 0 50px; }
.svc-card { position: relative; display: block; aspect-ratio: 2.8 / 1; overflow: hidden; background: #111; cursor: pointer; color: #f3efe8; text-decoration: none; }
.svc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .8s ease; }
.svc-bg.on { opacity: 1; }
.svc-card:hover .svc-bg { transform: scale(1.04); }
.svc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.45) 100%); }
.svc-title { position: absolute; left: 22px; right: 10px; top: 50%; transform: translateY(-50%); font-family: 'Space Mono', monospace; letter-spacing: 3px; font-size: .8rem; text-transform: uppercase; }
.svc-link { position: absolute; left: 22px; bottom: 16px; font-family: 'Space Mono', monospace; letter-spacing: 2px; font-size: .68rem; text-decoration: underline; text-underline-offset: 4px; text-transform: uppercase; }
@media (max-width: 760px) { .svc-cards { gap: 6px; margin: 40px 0 32px; } .svc-card { aspect-ratio: 3 / 4; } .svc-title { left: 8px; font-size: .55rem; letter-spacing: 1px; } .svc-link { left: 8px; bottom: 8px; font-size: .5rem; letter-spacing: 1px; } }

/* ===== 聯絡我們頁 ===== */
.ct-page { color: #f3efe8; }
.ct-hero { position: relative; min-height: 52vh; overflow: hidden; background: #0a0a0a; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(20px, 3vw, 40px) 70px; }
.ct-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.6)); }
.ct-back { position: absolute; left: clamp(20px, 3vw, 40px); top: 34px; z-index: 2; background: none; border: none; color: #f3efe8; font-family: 'Space Mono', monospace; letter-spacing: 3px; font-size: .8rem; cursor: pointer; padding: 0; }
.ct-hero-body { position: relative; z-index: 1; display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.ct-hero-t { grid-column: 2; font-family: 'Space Mono', monospace; letter-spacing: 3px; font-size: .95rem; }
.ct-hero-p { grid-column: 2; max-width: 760px; margin: 22px 0 0; font-family: 'Space Mono', 'Noto Sans TC', monospace; line-height: 1.9; font-size: .9rem; letter-spacing: 1px; color: #e4dfd6; }
.ct-sec { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 64px clamp(20px, 3vw, 40px); border-bottom: 1px solid #1b1b1b; }
.ct-label { font-family: 'Space Mono', monospace; letter-spacing: 3px; font-size: .85rem; font-weight: 700; }
.ct-col { max-width: 860px; }
.ct-lead { margin: 0 0 30px; font-family: 'Space Mono', 'Noto Sans TC', monospace; letter-spacing: 1px; line-height: 1.9; font-size: .88rem; color: #cfcac2; }
.ct-info { display: grid; gap: 20px; }
.ct-info div { display: flex; flex-direction: column; gap: 6px; font-family: 'Space Mono', monospace; letter-spacing: 1px; font-size: .9rem; }
.ct-info span { font-size: .72rem; letter-spacing: 3px; color: #8f8c84; }
.ct-info a { color: #f3efe8; text-underline-offset: 5px; }
.ct-extra { margin-top: 28px; white-space: pre-wrap; line-height: 1.9; font-size: .88rem; color: #cfcac2; }
.ct-form label { display: block; margin: 26px 0 4px; font-family: 'Space Mono', monospace; letter-spacing: 2px; font-size: .75rem; color: #9a968c; }
.ct-form input, .ct-form select, .ct-form textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid #5a5750; color: #f3efe8; padding: 12px 0; font-size: 16px; font-family: 'Space Mono', 'Noto Sans TC', monospace; border-radius: 0; outline: none; }
.ct-form select option { background: #111; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { border-bottom-color: #f3efe8; }
.ct-form textarea { min-height: 170px; border: 1px solid #5a5750; padding: 14px; resize: vertical; }
.ct-form .ct-pic { margin-top: 24px; padding: 16px; border: 1px solid #3a3833; cursor: pointer; color: #cfcac2; letter-spacing: 3px; }
.ct-form .btn-wide { margin-top: 30px; }
.ct-pics-prev { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ct-pics-prev span { position: relative; }
.ct-pics-prev img { height: 84px; border: 1px solid #333; display: block; }
.ct-pics-prev button { position: absolute; top: 0; right: 0; background: #000; color: #fff; border: none; width: 22px; height: 22px; cursor: pointer; padding: 0; }
#ct-status { min-height: 1.5em; margin-top: 14px; font-size: .85rem; line-height: 1.6; }
.ct-done { text-align: center; padding: 30px 0; }
.ct-done h3 { margin: 10px 0 8px; letter-spacing: 3px; }
.ct-done p { color: #cfcac2; line-height: 1.8; margin-bottom: 20px; }
@media (max-width: 760px) {
  .ct-hero { min-height: 44vh; padding-bottom: 44px; }
  .ct-hero-body, .ct-sec { grid-template-columns: 1fr; gap: 14px; }
  .ct-hero-t, .ct-hero-p { grid-column: 1; }
  .ct-sec { padding: 44px 20px; }
}

/* ===== 進站彈窗（加入社群）===== */
#jp { display: none; position: fixed; inset: 0; z-index: 950; background: rgba(0,0,0,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; padding: 5vh 16px; }
#jp.open { display: block; animation: jpIn .35s ease; }
@keyframes jpIn { from { opacity: 0; } to { opacity: 1; } }
.jp-box { position: relative; max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; background: #0e0e0e; border: 1px solid #262626; color: #f3efe8; min-height: 540px; }
.jp-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; background: rgba(0,0,0,.4); color: #f3efe8; border: 1px solid #444; cursor: pointer; padding: 0; }
.jp-img { position: relative; background: #111; overflow: hidden; }
.jp-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.jp-img video.on { opacity: 1; }
.jp-body { padding: 54px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.jp-eyebrow { font-family: 'Space Mono', monospace; letter-spacing: 8px; font-size: .72rem; color: #8f8c84; margin-bottom: 14px; }
.jp-body h2 { font-family: 'Archivo Black', 'Noto Sans TC', sans-serif; font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25; letter-spacing: 2px; margin: 0 0 16px; text-transform: uppercase; }
.jp-desc { margin: 0 0 24px; line-height: 1.8; font-size: .9rem; color: #cfcac2; }
.jp-body input[type=email] { width: 100%; padding: 15px 16px; background: transparent; border: 1px solid #5a5750; color: #f3efe8; font-size: 16px; font-family: 'Space Mono', 'Noto Sans TC', monospace; outline: none; border-radius: 0; }
.jp-body input[type=email]:focus { border-color: #f3efe8; }
.jp-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 20px; font-size: .78rem; line-height: 1.6; color: #b9b5ac; cursor: pointer; }
.jp-check input { margin-top: 3px; accent-color: #f3efe8; flex: none; width: 16px; height: 16px; }
.jp-check a { color: #f3efe8; text-underline-offset: 3px; }
.jp-body .btn-wide { margin-top: 0; }
#jp-msg { min-height: 1.4em; margin-top: 12px; font-size: .82rem; line-height: 1.5; }
.jp-skip { background: none; border: none; color: #8f8c84; letter-spacing: 3px; font-size: .72rem; cursor: pointer; margin-top: 8px; text-decoration: underline; text-underline-offset: 5px; padding: 8px 0; align-self: flex-start; }
.jp-done { text-align: center; padding: 20px 0; }
.jp-done h2 { margin-top: 6px; }
.jp-done p { color: #cfcac2; line-height: 1.8; margin-bottom: 24px; }
@media (max-width: 760px) {
  .jp-box { grid-template-columns: 1fr; min-height: 0; }
  .jp-img { height: 190px; }
  .jp-body { padding: 28px 22px 26px; }
}

/* 商店橫幅填滿一整個螢幕：頂部導覽列 + 橫幅 = 一個畫面高，跑馬燈和商品要往下捲才會看到 */
.banner { height: calc(100vh - var(--hdr, 84px)); height: calc(100svh - var(--hdr, 84px)); min-height: 440px; box-sizing: border-box; }
/* 跑馬燈要在第一個畫面的底部露出來：橫幅高度再扣掉跑馬燈自己的高度 */
.banner { height: calc(100vh - var(--hdr, 84px) - var(--tk, 48px)); height: calc(100svh - var(--hdr, 84px) - var(--tk, 48px)); }

/* 商品與商品之間的分隔帶 */
.feat-div { display: flex; align-items: center; gap: 26px; height: 92px; padding: 0 clamp(20px, 4vw, 56px); background: #0a0a0a; border-top: 1px solid #262626; border-bottom: 1px solid #262626; position: relative; }
.feat-div::before, .feat-div::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(243,239,232,.22), transparent); }
.feat-div::before { top: 5px; } .feat-div::after { bottom: 5px; }
.fd-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #4a4740 30%, #4a4740 70%, transparent); }
.fd-txt { font-family: 'Space Mono', monospace; font-size: .7rem; letter-spacing: 6px; color: #a6a298; white-space: nowrap; text-transform: uppercase; }
.fd-txt i { font-style: normal; margin: 0 16px; color: #6f6c66; }
@media (max-width: 760px) { .feat-div { height: 64px; gap: 12px; } .fd-txt { font-size: .6rem; letter-spacing: 3px; } .fd-txt i { margin: 0 8px; } }

/* ===== 結帳 2.0：訪客、配送方式、超商、訂單查詢 ===== */
#ol { display: none; position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.82); overflow-y: auto; padding: 4vh 16px; }
#ol.open { display: block; }
.ol-box { max-width: 560px; }
.co-guest { font-size: .82rem; color: #9a978f; margin: 0 0 6px; }
.linkbtn { background: none; border: 0; color: #f3efe8; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.co-digital { padding: 14px; border: 1px dashed #555; color: #cfcac2; font-size: .85rem; line-height: 1.7; }
.co-methods { display: grid; gap: 8px; }
.co-m { display: flex; align-items: center; gap: 12px; border: 1px solid #333; padding: 12px 14px; cursor: pointer; }
.co-m.on { border-color: #f3efe8; background: #151515; }
.co-m input { width: auto; flex: none; }
.co-m span { display: flex; justify-content: space-between; flex: 1; gap: 10px; }
.co-m small { color: #9a978f; }
.co-cvs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-cvs button { padding: 12px 8px; background: transparent; color: #f3efe8; border: 1px solid #444; cursor: pointer; font-size: .85rem; }
.co-cvs button.on { border-color: #f3efe8; background: #1a1a1a; }
.co-store { margin-top: 10px; padding: 12px 14px; border: 1px solid #262626; background: #0b0b0b; font-size: .85rem; line-height: 1.6; color: #cfcac2; }
.hint-co { font-size: .72rem; color: #77746d; margin: 8px 0 0; line-height: 1.6; }
.co-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: .78rem; line-height: 1.6; color: #b9b5ac; cursor: pointer; }
.co-consent input { width: auto; margin-top: 3px; flex: none; }
.co-code { display: flex; gap: 8px; margin: 14px 0; }
.co-code input { flex: 1; padding: 11px; font-size: 14px; text-transform: uppercase; }
.co-code button { padding: 0 16px; background: transparent; color: #f3efe8; border: 1px solid #555; cursor: pointer; }
.sum-free { margin-top: 8px; font-size: .75rem; color: #f3c663; }
.ord-gift { margin-top: 10px; padding: 10px 12px; border: 1px dashed #555; font-size: .8rem; }
.ord-gift code { display: block; margin-top: 6px; font-family: 'Space Mono', monospace; letter-spacing: 2px; color: #f3c663; }
.ord-line.sm { font-size: .78rem; color: #9a978f; }

.ovl { display: none; position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.82); overflow-y: auto; padding: 4vh 16px; }
.ovl.open { display: block; }
.rt-row { padding: 10px 12px; border: 1px solid #262626; margin-bottom: 8px; font-size: .88rem; }
.rt-note { margin-top: 6px; color: #cfcac2; font-size: .82rem; line-height: 1.6; white-space: pre-wrap; }
.rt-item { display: grid; grid-template-columns: 1fr 64px; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid #1c1c1c; }
.rt-item label { margin: 0; font-size: .85rem; color: #e4dfd6; letter-spacing: 0; text-transform: none; display: flex; align-items: center; gap: 8px; }
.rt-item .rt-want { grid-column: 1 / -1; }
#rt-msg, #nm-msg { min-height: 1.4em; margin-top: 10px; font-size: .85rem; }
#ck-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 950; background: #151515; border: 1px solid #333; padding: 14px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .8rem; color: #cfcac2; max-width: 720px; margin: 0 auto; }
#ck-bar button { background: transparent; color: #f3efe8; border: 1px solid #555; padding: 8px 16px; cursor: pointer; margin-left: 6px; }
#ck-bar button.on { background: #f3efe8; color: #000; }

/* ===== 商品區塊：電腦版整區剛好塞進一個畫面（依螢幕高度自動縮放）===== */
@media (min-width: 761px) {
  .feat { min-height: 0; height: max(560px, calc(100vh - var(--hdr, 76px))); }
  .feat-info { padding: 1.5vh 5vw; overflow-y: auto; scrollbar-width: none; }
  .feat-info::-webkit-scrollbar { display: none; }
  .feat-inner { gap: clamp(7px, 1.5vh, 16px); }
  .feat-idx { font-size: .68rem; }
  .feat-name { font-size: clamp(1.1rem, 3.1vh, 2.1rem); line-height: 1.12; letter-spacing: 1.5px; }
  .feat-price { font-size: clamp(.9rem, 2vh, 1.05rem); }
  .feat-row { margin-top: 2px; }
  .pills.round { gap: clamp(8px, 1.4vh, 12px); }
  #shop-view .feat .pills.round .pill { width: clamp(38px, 5.6vh, 54px); height: clamp(38px, 5.6vh, 54px); }
  .feat-btns { margin-top: 2px; gap: 10px; }
  #shop-view .feat .btn-line, #shop-view .feat .btn-solid { height: clamp(42px, 6.2vh, 58px); }
  #shop-view .feat .btn-ghost { padding: clamp(9px, 1.7vh, 15px); }
  .feat-desc { font-size: .86rem; line-height: 1.7; padding-top: clamp(6px, 1.2vh, 14px); margin-top: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .feat-acc { margin-top: 2px; }
  .facc summary { padding: clamp(9px, 1.7vh, 16px) 0; }
  .low-note { margin-top: -2px; }
}

/* 預購標示 */
.pre-tag { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: 2px; color: #f3c663; border: 1px solid rgba(243,198,99,.5); padding: 8px 12px; line-height: 1.6; align-self: flex-start; }
.pre-tag b { letter-spacing: 3px; } .pre-tag small { color: #cfcac2; letter-spacing: 1px; }
.bi-pre { font-size: .68rem; letter-spacing: 1px; color: #f3c663; margin-top: 3px; }
.co-pre { margin-bottom: 14px; padding: 12px 14px; border: 1px dashed rgba(243,198,99,.6); color: #f3c663; font-size: .8rem; line-height: 1.7; }

/* ===== 影片原生播放鈕一律隱藏 ===== */
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-panel, video::-webkit-media-controls-enclosure { display: none !important; -webkit-appearance: none; opacity: 0; pointer-events: none; }

/* ===== 跑馬燈：字小一點、上下留白縮小 ===== */
.ticker-track { padding: 8px 0; font-size: .6rem; letter-spacing: 4px; }
@media (max-width: 800px) { .ticker-track { padding: 6px 0; font-size: .52rem; letter-spacing: 3px; } }

/* ===== 資訊欄位（運送／退換貨／分享）重新排版：卡片式、間距一致 ===== */
.feat-acc { border-top: 0; margin-top: 6px; display: grid; gap: 8px; }
.facc { border: 1px solid #202020; border-radius: 12px; background: #0f0f0f; overflow: hidden; transition: border-color .2s, background .2s; }
.facc:hover { border-color: #333; }
.facc[open] { border-color: #3a3a3a; background: #131313; }
.facc summary { padding: clamp(9px, 1.6vh, 15px) 16px; font-size: .64rem; letter-spacing: 3px; }
.facc .pm { width: 20px; height: 20px; border: 1px solid #3a3a3a; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; line-height: 1; flex: none; }
.facc-body { padding: 0 16px 16px; font-size: .84rem; line-height: 1.8; color: #b5b0a7; }

/* ===== 進站彈窗：手機版上方圖片區縮小，並用封面圖補底 ===== */
@media (max-width: 800px) { .jp-img { height: 112px; } #jp { padding: 3vh 14px; } }

/* ===== 商品區塊：手機版整區剛好一個全螢幕（圖片在上，資訊在下）===== */
@media (max-width: 800px) {
  .feat { grid-template-columns: 1fr; grid-template-rows: minmax(0, 42%) minmax(0, 1fr); height: calc(100vh - var(--hdr, 64px)); height: calc(100dvh - var(--hdr, 64px)); min-height: 540px; }
  .feat .feat-media { aspect-ratio: auto; max-height: none; height: 100%; min-height: 0; }
  .feat .fthumbs { left: 10px; bottom: 10px; gap: 6px; } .feat .fthumbs img { width: 30px; height: 38px; }
  .feat .fcount { top: 10px; bottom: auto; font-size: .6rem; }
  #shop-view .feat .fnav { width: 32px; height: 32px; } .fnav.prev { left: 10px; }
  .feat .fzoom { width: 38px; height: 38px; top: 10px; right: 10px; }
  .feat .feat-info { padding: 12px 16px 10px; overflow-y: auto; align-items: flex-start; justify-content: flex-start; scrollbar-width: none; }
  .feat .feat-info::-webkit-scrollbar { display: none; }
  .feat .feat-inner { gap: 8px; width: 100%; max-width: none; }
  .feat .feat-idx { display: none; }
  .feat .pcat { margin: 0; font-size: .58rem; letter-spacing: 2px; }
  .feat .feat-name { font-size: clamp(.95rem, 4.4vw, 1.2rem); line-height: 1.15; letter-spacing: 1px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .feat .feat-price { font-size: .92rem; }
  .feat .feat-row { margin-top: 0; }
  .feat .pills.round { gap: 9px; }
  #shop-view .feat .pills.round .pill { width: 38px; height: 38px; font-size: .7rem; }
  .feat .feat-btns { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
  #shop-view .feat .btn-line, #shop-view .feat .btn-solid { height: 44px; font-size: .62rem; letter-spacing: 2px; }
  #shop-view .feat .btn-ghost { padding: 9px; font-size: .6rem; letter-spacing: 3px; }
  .feat .feat-desc { display: none; }
  .feat .low-note { margin-top: 0; font-size: .6rem; }
  .facc summary { padding: 10px 14px; font-size: .6rem; }
}

@media (max-width: 800px) {
  .feat { grid-template-rows: minmax(0, 40%) minmax(0, 1fr); }
  .feat .feat-inner { gap: 6px; }
  .feat-acc { gap: 6px; margin-top: 2px; }
  .facc summary { padding: 8px 14px; }
  #shop-view .feat .btn-line, #shop-view .feat .btn-solid { height: 42px; }
  #shop-view .feat .btn-ghost { padding: 7px; }
}

/* ===== 跑馬燈再縮小 ===== */
.ticker { border-color: #181818; }
.ticker-track { padding: 5px 0; font-size: .54rem; letter-spacing: 3px; }
@media (max-width: 800px) { .ticker-track { padding: 4px 0; font-size: .46rem; letter-spacing: 2.4px; } }

/* ===== 頁尾排版：加上邊界線，整齊分區 ===== */
.sf2-label { padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #1c1c1c; }
.sf2-label.sm { border-bottom: 0; padding-bottom: 0; }
.sf2-cols { gap: 0; border: 1px solid #1c1c1c; border-radius: 14px; overflow: hidden; }
.sf2-cols > div { padding: 22px 24px 18px; border-right: 1px solid #1c1c1c; }
.sf2-cols > div:last-child { border-right: 0; }
.sf2-sub { border: 1px solid #262626; border-radius: 12px; padding: 0 16px; background: #0b0b0b; }
.sf2-bottom { border-top: 1px solid #1c1c1c; }
.sf2-row#sf-social a { border: 1px solid #262626; border-radius: 999px; padding: 7px 16px; }
.sf2-row#sf-social a:hover { border-color: #555; }
@media (max-width: 760px) {
  .site-footer { padding: 34px 16px 22px; }
  .sf2-top { gap: 18px; }
  .sf2-label { font-size: .6rem; letter-spacing: 3px; color: #8f8c84; padding-bottom: 8px; margin-bottom: 8px; }
  .sf2-sub { padding: 0 14px; } .sf2-sub input { padding: 14px 0; font-size: 16px; }
  .sf2-lang { margin-top: 14px; padding: 14px 16px; border: 1px solid #1c1c1c; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .sf2-lang .sf2-label { margin: 0; padding: 0; border: 0; }
  .sf2-lang select { border-bottom: 0; font-size: .8rem; min-width: 0; }
  .sf2-cols { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .sf2-cols > div { padding: 16px 16px 12px; border-right: 1px solid #1c1c1c; border-bottom: 1px solid #1c1c1c; }
  .sf2-cols > div:nth-child(2) { border-right: 0; }
  .sf2-cols > div:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .site-footer .sf-link { font-size: .74rem; padding: 6px 0; letter-spacing: .4px; }
  .site-footer .sf-link.sm { font-size: .6rem; padding: 4px 0; }
  .sf2-bottom { margin-top: 18px; padding-top: 16px; gap: 12px; }
  .sf2-row { gap: 8px; }
  .sf2-row a { font-size: .64rem; letter-spacing: 1.2px; }
  .sf2-row#sf-social a { padding: 6px 14px; }
  .sf2-row.between { gap: 10px; }
  .sf2-policies { gap: 0; border: 1px solid #1c1c1c; border-radius: 10px; overflow: hidden; }
  .sf2-policies .sf-link.sm { padding: 8px 14px; border-right: 1px solid #1c1c1c; }
  .sf2-policies .sf-link.sm:last-child { border-right: 0; }
  .sf2-copy { font-size: .62rem; }
  .sf-giant { margin-top: 26px; }
  .sf-giant img { height: clamp(80px, 22vw, 130px); }
}

/* ===== 商品圖：手機版完整顯示（不裁切），兩側用同一張圖的模糊底色補滿；愛心收藏放在圖片角落 ===== */
.fwish { display: none; }
@media (max-width: 800px) {
  .feat { grid-template-rows: minmax(0, 50%) minmax(0, 1fr); }
  .feat .feat-main { background-size: cover; background-position: center; }
  .feat .feat-main::before { content: ''; position: absolute; inset: -30px; background: inherit; filter: blur(26px) brightness(.45); }
  .feat .feat-main img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
  .feat .fwish { display: grid; place-items: center; position: absolute; top: 10px; left: 10px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,10,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #f3efe8; border: 1px solid rgba(243,239,232,.25); font-size: 1rem; line-height: 1; padding: 0; cursor: pointer; }
  .feat .btn-ghost { display: none; }
  .feat .fcount { top: 16px; left: 56px; right: auto; transform: none; }
}

/* ===== 商品圖：電腦版也完整顯示（不裁切），兩側／上下用同一張圖的模糊底色補滿 ===== */
.feat .feat-main { background-size: cover; background-position: center; }
.feat .feat-main::before { content: ''; position: absolute; inset: -30px; background: inherit; filter: blur(30px) brightness(.45); }
.feat .feat-main img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }

/* ===== 體驗細修：平滑捲動、鍵盤焦點框、標題列陰影、減少動態偏好 ===== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr, 64px) + 8px); }
:focus-visible { outline: 2px solid #f3efe8; outline-offset: 3px; border-radius: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 1px; }
.shop-header { transition: box-shadow .3s ease, background .3s ease; }
.shop-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.55); }
.feat-main { touch-action: pan-y; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 搜尋結果清單 */
#search-results { max-width: 520px; margin-top: 8px; }
.sr-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; background: none; border: 0; border-bottom: 1px solid #1c1c1c; padding: 12px 2px; color: #f3efe8; text-align: left; cursor: pointer; font-size: .85rem; letter-spacing: 1px; }
.sr-row:hover { background: #121212; }
.sr-k { font-family: 'Space Mono', monospace; font-size: .6rem; letter-spacing: 2px; color: #8f8c84; text-transform: uppercase; flex: none; }
.sr-none { padding: 14px 2px; color: #8f8c84; font-size: .82rem; }

/* 結帳頁：付款方式選擇（選好後直接導向綠界該付款方式的頁面） */
.co-pays { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-box .co-pm { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px 8px; border: 1px solid #444; cursor: pointer; font-size: .8rem; line-height: 1.35; color: #cfcac2; transition: border-color .15s, background .15s, color .15s; position: relative; }
.co-box .co-pm:hover { border-color: #888; }
.co-box .co-pm.on { border-color: #f3efe8; background: #161616; color: #f3efe8; }
.co-box .co-pm input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ord-pay .ord-pm { width: 100%; margin-bottom: 8px; padding: 12px; background: #111; border: 1px solid #444; color: #f3efe8; font-size: .85rem; }

/* ===== 結帳視窗改版（2025-11-20）：編號區塊、圓角欄位、付款卡片附圖示、右側訂單摘要含縮圖 ===== */
:root { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cfcac2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
#co { padding: 3vh 16px; }
.co-box { max-width: 1000px; border-radius: 20px; background: #0d0d0d; border: 1px solid #242424; padding: 46px 42px 38px; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.co-box h2 { font-size: 1.25rem; letter-spacing: 4px; margin: 0 0 30px; }
.co-x { border-radius: 50%; border-color: #333; transition: border-color .15s, background .15s; }
.co-x:hover { border-color: #f3efe8; background: #181818; }
.co-cols { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 44px; align-items: start; }
.co-sec { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid #1d1d1d; }
.co-sec h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-family: 'Space Mono', monospace; font-weight: 700; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; color: #f3efe8; }
.co-sec h3 i { flex: none; width: 24px; height: 24px; border: 1px solid #555; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .68rem; letter-spacing: 0; color: #cfcac2; }
.co-box .fl { margin: 14px 0 7px; font-size: .64rem; letter-spacing: 2.5px; }
.co-box input, .co-box textarea, .co-box select { border-radius: 12px; border: 1px solid #333; background: #111; padding: 14px 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.co-box input:hover, .co-box textarea:hover, .co-box select:hover { border-color: #4a4a4a; }
.co-box input:focus, .co-box textarea:focus, .co-box select:focus { outline: none; border-color: #f3efe8; background: #131313; box-shadow: 0 0 0 3px rgba(243,239,232,.1); }
.co-box select { appearance: none; -webkit-appearance: none; background-image: var(--chev); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer; }
.co-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-methods { margin-top: 10px; gap: 10px; }
.co-m { border-radius: 12px; border-color: #2e2e2e; padding: 14px 16px; transition: border-color .15s, background .15s; }
.co-m:hover { border-color: #555; }
.co-m.on { border-color: #f3efe8; background: #161616; }
.co-store, .co-digital { border-radius: 12px; }
.co-cvs button { border-radius: 10px; }
/* 付款方式卡片 */
.co-pays { gap: 10px; margin-top: 10px; }
.co-box .co-pm { justify-content: flex-start; gap: 12px; text-align: left; min-height: 58px; padding: 12px 14px; border: 1px solid #2e2e2e; border-radius: 12px; background: #111; color: #cfcac2; }
.co-box .co-pm svg { flex: none; width: 22px; height: 22px; opacity: .8; }
.co-box .co-pm span { flex: 1; line-height: 1.3; }
.co-box .co-pm:hover { border-color: #555; }
.co-box .co-pm.on { border-color: #f3efe8; background: #171717; color: #f3efe8; }
.co-box .co-pm.on svg { opacity: 1; }
.co-box .co-pm.on::after { content: '✓'; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #f3efe8; color: #0a0a0a; font-size: .66rem; display: grid; place-items: center; font-weight: 700; }
.co-inv-note { margin-top: 10px; }
.co-consent { margin-top: 4px; padding: 14px 16px; border: 1px solid #242424; border-radius: 12px; background: #101010; }
/* 右側訂單摘要 */
.co-sum { position: sticky; top: 16px; background: #121212; border: 1px solid #252525; border-radius: 18px; padding: 24px 24px 22px; }
.co-sum-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; font-family: 'Space Mono', monospace; font-weight: 700; font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; color: #f3efe8; }
.co-sum-h span { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #f3efe8; color: #0a0a0a; font-size: .7rem; letter-spacing: 0; display: grid; place-items: center; }
.co-line { align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid #1c1c1c; }
.co-th { flex: none; width: 56px; height: 70px; object-fit: cover; border-radius: 8px; background: #1b1b1b; border: 1px solid #262626; }
.co-ln { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.co-ln b { font-weight: 500; font-size: .84rem; line-height: 1.35; color: #f3efe8; }
.co-ln small { font-size: .72rem; color: #8f8c84; letter-spacing: 1px; }
.co-lp { flex: none; font-size: .85rem; color: #cfcac2; }
.co-code { margin: 16px 0 12px; }
.co-code input { border-radius: 10px; }
.co-code button { border-radius: 10px; border-color: #444; transition: background .15s, border-color .15s; }
.co-code button:hover { background: #1c1c1c; border-color: #888; }
.co-sum .sum-row.total { font-size: 1.05rem; padding-top: 14px; margin-top: 8px; }
.co-sum .sum-row.total span:last-child { font-size: 1.15rem; font-weight: 700; }
.co-sum .co-go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; margin-top: 18px; border-radius: 999px; letter-spacing: 4px; transition: transform .15s, background .15s, opacity .15s; }
.co-sum .co-go:hover:not(:disabled) { transform: translateY(-1px); }
.co-sum .co-go:disabled { opacity: .55; cursor: wait; }
#co-msg { text-align: center; }
/* 我的訂單：待付款區（付款方式＋前往付款） */
.ord-pay { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.ord-pay .ord-pm { flex: 1 1 210px; margin: 0; height: 56px; padding: 0 46px 0 22px; border-radius: 999px; border: 1px solid #444; background: #111 var(--chev) no-repeat right 20px center; color: #f3efe8; font-size: .9rem; appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ord-pay .ord-pm:hover { border-color: #777; }
.ord-pay .ord-pm:focus { outline: none; border-color: #f3efe8; box-shadow: 0 0 0 3px rgba(243,239,232,.1); }
.ord-pay .btn-wide { flex: 1 1 210px; margin: 0; height: 56px; border-radius: 999px; }
.ord-pay .ord-trk { flex: 1 1 100%; }
@media (max-width: 860px) {
  .co-cols { grid-template-columns: 1fr; gap: 6px; }
  .co-sum { position: static; }
}
@media (max-width: 760px) {
  #co { padding: 0; }
  .co-box { border-radius: 0; border: 0; min-height: 100vh; padding: 60px 18px 28px; }
  .co-box h2 { font-size: 1.1rem; margin-bottom: 22px; }
}
@media (max-width: 460px) {
  .co-row2 { grid-template-columns: 1fr; gap: 0; }
  .co-pays { grid-template-columns: 1fr 1fr; }
  .co-box .co-pm { padding: 11px 10px; gap: 9px; font-size: .76rem; }
  .co-box .co-pm::after { display: none; }
}

.co-sum-wrap { align-self: stretch; }
.co-m input, .co-consent input { accent-color: #f3efe8; }
.co-guest { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #222; border-radius: 12px; background: #101010; }

/* ===== 頁面轉場：畫面模糊＋品牌 logo ===== */
#trans-ov { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(10,10,10,.58); -webkit-backdrop-filter: blur(18px) saturate(.85); backdrop-filter: blur(18px) saturate(.85); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility 0s linear .22s; }
#trans-ov.on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .22s ease, visibility 0s; }
#trans-ov.on.out { opacity: 0; pointer-events: none; transition: opacity .34s ease, visibility 0s linear .34s; }
#trans-ov img { width: min(230px, 54vw); height: auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,.55)); animation: transPulse 1.1s ease-in-out infinite; }
@keyframes transPulse { 0%, 100% { opacity: .72; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { #trans-ov { display: none !important; } }
/* ===== 結帳＝獨立整頁（網址 /checkout）：不透明背景、頂部返回列 ===== */
#co { background: #0a0a0a; padding: 0; overflow-y: auto; }
#co .co-box { max-width: 1120px; min-height: 100vh; margin: 0 auto; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0 clamp(16px, 4vw, 48px) 90px; }
.co-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 0; margin-bottom: 30px; border-bottom: 1px solid #1b1b1b; }
.co-back { justify-self: start; display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; color: #cfcac2; font-size: .78rem; letter-spacing: 2px; cursor: pointer; padding: 10px 0; transition: color .15s, transform .15s; }
.co-back:hover { color: #fff; transform: translateX(-2px); background: none; }
.co-logo { justify-self: center; display: block; }
.co-logo img { height: 34px; width: auto; display: block; }
.co-secure { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Mono', monospace; font-size: .64rem; letter-spacing: 2px; color: #8f8c84; }
#co .co-x { display: none; }
@media (max-width: 760px) {
  #co .co-box { padding: 0 16px 60px; }
  .co-top { padding: 12px 0; margin-bottom: 22px; }
  .co-logo img { height: 28px; }
}
@media (max-width: 520px) { .co-secure span { display: none; } }

/* 訂單卡片：刪除按鈕 */
.ord-del-row { display: flex; justify-content: flex-end; margin-top: 14px; padding-top: 12px; border-top: 1px solid #1c1c1c; }
.ord-del { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: transparent; border: 1px solid #3a3a3a; color: #9a978f; font-size: .74rem; letter-spacing: 1.5px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.ord-del:hover { color: #ff8a8a; border-color: #8a3a3a; background: rgba(255,90,90,.06); }

/* ===== 自訂彈窗（取代瀏覽器內建的 alert／confirm）===== */
#bl-dlg { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .18s ease; }
#bl-dlg.on { opacity: 1; }
#bl-dlg.out { opacity: 0; }
#bl-dlg .dlg-bg { position: absolute; inset: 0; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#bl-dlg .dlg-box { position: relative; width: min(420px, 100%); background: #111; border: 1px solid #2a2a2a; border-radius: 20px; padding: 30px 28px 24px; box-shadow: 0 30px 90px rgba(0,0,0,.6); color: #f3efe8; transform: translateY(10px) scale(.97); transition: transform .2s ease; }
#bl-dlg.on .dlg-box { transform: none; }
#bl-dlg .dlg-box h3 { margin: 0 0 12px; font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; font-size: 1.05rem; letter-spacing: 2.5px; text-transform: uppercase; }
#bl-dlg .dlg-box p { margin: 0; font-size: .92rem; line-height: 1.8; color: #cfcac2; white-space: pre-line; }
#bl-dlg .dlg-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; }
#bl-dlg .dlg-btns button { min-width: 96px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: .78rem; letter-spacing: 2px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
#bl-dlg .dlg-no { background: transparent; color: #cfcac2; border: 1px solid #444; }
#bl-dlg .dlg-no:hover { border-color: #888; color: #fff; }
#bl-dlg .dlg-ok { background: #f3efe8; color: #0a0a0a; border: 1px solid #f3efe8; font-weight: 700; }
#bl-dlg .dlg-ok:hover { background: #fff; transform: translateY(-1px); }
#bl-dlg .dlg-box.danger .dlg-ok { background: #e8545e; border-color: #e8545e; color: #fff; }
#bl-dlg .dlg-box.danger .dlg-ok:hover { background: #f0666f; }
#bl-dlg .dlg-ok:focus-visible, #bl-dlg .dlg-no:focus-visible { outline: 2px solid #f3efe8; outline-offset: 3px; }
@media (max-width: 460px) { #bl-dlg .dlg-box { padding: 26px 20px 20px; } #bl-dlg .dlg-btns { flex-direction: column-reverse; } #bl-dlg .dlg-btns button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { #bl-dlg, #bl-dlg .dlg-box { transition: none; } }

/* 標頭語言選單：按鈕顯示目前語言；點開出現「中文／English」選單 */
.lang-wrap { position: relative; display: inline-flex; align-items: center; }
#shop-view .lang-toggle { gap: 6px; padding: 6px 4px; }
#shop-view .lang-toggle .lang-code { font-family: 'Space Mono', monospace; font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; line-height: 1; }
#shop-view .lang-toggle .lg-chev { opacity: .7; transition: transform .2s; }
#shop-view .lang-toggle[aria-expanded="true"] .lg-chev { transform: rotate(180deg); }
.lang-menu { display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; min-width: 150px; padding: 6px; background: #121212; border: 1px solid #2a2a2a; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.lang-menu.open { display: block; animation: langIn .16s ease both; }
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#shop-view .lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; height: 42px; padding: 0 14px; background: transparent; border: 0; border-radius: 9px; color: #cfcac2; font-size: .86rem; letter-spacing: .5px; text-align: left; cursor: pointer; }
#shop-view .lang-menu button:hover { background: #1b1b1b; color: #fff; transform: none; }
#shop-view .lang-menu button.on { color: #fff; font-weight: 700; }
#shop-view .lang-menu button.on::after { content: '✓'; font-size: .8rem; color: #f3efe8; }
@media (max-width: 760px) { #shop-view .lang-toggle svg.lg-globe { width: 20px; height: 20px; } #shop-view .lang-toggle .lang-code { font-size: .66rem; letter-spacing: 1px; } }
@media (prefers-reduced-motion: reduce) { .lang-menu.open { animation: none; } }
