/* 雙11 活動版面：51 設計稿「C 午夜霓虹」（深藍紫夜空、霓虹藍「11.11」、粉紅「買3送1」、透視網格地板）
 * 只在活動期間才有對應的 HTML；沒有活動時這份 CSS 不會產生任何畫面。不使用任何新圖片，字與光暈全用 CSS 畫。
 */
:root {
  --d11-night1: #120d38; --d11-night2: #22145a; --d11-night3: #2e1a6e;
  --d11-cyan: #7fdcff; --d11-pink: #f25ca8; --d11-pink2: #ff86c8; --d11-violet: #8b5cf6; --d11-lav: #ece9ff; --d11-ink: #1b1846;
  --d11-grid: rgba(139, 120, 255, .42);
}

/* ===== 主視覺＋輪播（首頁、閃購頁共用）===== */
.d11-neon { position: relative; overflow: hidden; color: #fff; padding: 22px 0 18px; text-align: center;
  background: radial-gradient(120% 60% at 50% 32%, rgba(139, 92, 246, .45) 0%, rgba(139, 92, 246, 0) 62%),
    linear-gradient(180deg, var(--d11-night1) 0%, var(--d11-night2) 46%, var(--d11-night1) 100%); }
.d11n-hero { position: relative; z-index: 1; display: grid; justify-items: center; padding: 0 16px; }
.d11n-date { margin: 0; padding: 6px 26px; border-radius: 999px; background: #dcd8f4; color: #5a2fc0; border: 3px solid #6fb8ff;
  box-shadow: 0 0 16px rgba(111, 184, 255, .55); font: 900 24px/1.15 "Archivo Black", "Noto Sans TC", sans-serif; letter-spacing: .04em; }
.d11n-date i { font-style: normal; font-size: .62em; vertical-align: .18em; margin: 0 4px; }
.d11n-big { margin: 10px 0 0; font: 900 clamp(88px, 28vw, 150px)/.92 "Didot", "Bodoni 72", Georgia, "Times New Roman", serif; letter-spacing: -.03em;
  background: linear-gradient(180deg, #f4fdff 8%, #9be6ff 48%, #5ab6ff 78%, #a9b6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(95, 205, 255, .75)) drop-shadow(0 0 26px rgba(95, 160, 255, .45)); }
.d11n-title { margin: 6px 0 0; font: 900 clamp(34px, 10.5vw, 52px)/1.15 "Noto Sans TC", sans-serif; letter-spacing: .12em; text-indent: .12em; color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.d11n-title em { font-style: normal; background: linear-gradient(180deg, #ff9ad6, #c86bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d11n-ribbon { margin: 14px 0 0; width: min(100%, 330px); }
.d11n-ribbon span { display: block; padding: 11px 0; font-size: 18px; font-weight: 900; letter-spacing: .5em; text-indent: .5em; color: #fff;
  background: linear-gradient(90deg, #ec4fa8 0%, #9b5cf0 50%, #5aaeff 100%); clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%); }
.d11n-pill { display: inline-block; margin-top: 30px; padding: 7px 22px; border-radius: 999px; background: linear-gradient(180deg, #5f8cff, #3a5fe0);
  color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 4px 18px rgba(79, 125, 255, .45); }
.d11n-b3 { margin: 4px 0 0; font: 900 clamp(58px, 18vw, 84px)/1.1 "Noto Sans TC", sans-serif; letter-spacing: .02em; color: #f468b8;
  text-shadow: 0 0 10px rgba(255, 110, 190, .85), 0 0 28px rgba(255, 90, 180, .55); }
.d11n-sub { margin: 2px 0 0; font-size: 17px; font-weight: 500; line-height: 1.5; color: #f2efff; }
.d11n-cd { display: grid; justify-items: center; gap: 6px; margin-top: 14px; }
.d11n-cd small { font-size: 14px; font-weight: 700; color: #cfc8ff; }
.d11-neon .countdown .cd-box { background: rgba(255, 255, 255, .14); color: #fff; }

/* 輪播＋透視網格地板 */
.d11n-car { position: relative; margin-top: 22px; padding-bottom: 6px; }
.d11n-car::before { content: ""; position: absolute; left: -60%; right: -60%; top: 26%; height: 90%; pointer-events: none;
  background-image: linear-gradient(var(--d11-grid) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--d11-grid) 1.5px, transparent 1.5px);
  background-size: 56px 56px; transform: perspective(260px) rotateX(58deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); }
.d11n-track { position: relative; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px calc((100% - min(80vw, 320px)) / 2) 14px; outline: none; }
.d11n-track::-webkit-scrollbar { display: none; }
.d11n-track:focus-visible { outline: 3px solid var(--d11-cyan); outline-offset: -3px; }
.d11n-card { flex: 0 0 min(80vw, 320px); scroll-snap-align: center; display: grid; justify-items: start; align-content: start; gap: 6px; padding: 14px 16px 18px;
  text-align: left; color: var(--d11-ink); border-radius: 26px; background: linear-gradient(180deg, #fff 0%, #f6f4ff 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .5), 0 14px 34px rgba(8, 4, 40, .55), 0 0 30px rgba(139, 92, 246, .35); }
.d11n-media { position: relative; display: grid; place-items: center; justify-self: stretch; aspect-ratio: 1 / 1; margin-bottom: 4px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #eef1ff 0%, #fbeaf5 100%); border: 2px dashed #b9c4f5; }
.d11n-tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: linear-gradient(180deg, #ef5a9f, #d63d86);
  color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .02em; box-shadow: 0 3px 10px rgba(214, 61, 134, .4); }
.d11-four-img { width: 92%; height: 92%; object-fit: contain; }
.d11-four { position: relative; display: block; width: 100%; height: 100%; }
.d11-four img { position: absolute; width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(30, 20, 80, .18)); }
.d11-four .f0 { left: 6%; top: 10%; } .d11-four .f1 { right: 6%; top: 10%; } .d11-four .f2 { left: 16%; bottom: 4%; z-index: 1; } .d11-four .f3 { right: 16%; bottom: 4%; z-index: 1; }
.d11n-brand { margin: 4px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: #6b6a8f; }
.d11n-name { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.3; color: #2148c9; }
.d11n-name a { color: inherit; text-decoration: none; }
.d11n-desc { margin: 0; font-size: 15px; line-height: 1.5; color: #3a3960; }
.d11n-note { margin: 0; font-size: 14px; font-weight: 700; color: #a3540a; }
.d11n-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; }
.d11n-eq span { padding: 4px 10px; border-radius: 10px; font-size: 15px; font-weight: 900; }
.d11n-eq .q { background: #e3ebff; color: #2148c9; }
.d11n-eq .g { background: #fde3ef; color: #c8327a; }
.d11n-eq .t { background: #fff; color: var(--d11-ink); box-shadow: 0 0 0 1px #e1def5; }
.d11n-eq i { font-style: normal; font-weight: 700; color: #6b6a8f; }
.d11n-price { margin: 6px 0 0; font: 700 48px/1 "Didot", "Bodoni 72", Georgia, "Times New Roman", serif; color: #e2508f; letter-spacing: -.01em; }
.d11n-price small { font-size: .42em; margin-right: 2px; font-family: "Noto Sans TC", sans-serif; font-weight: 900; }
.d11n-avg { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: #3a3960; }
.d11n-was { margin: 0; font-size: 14px; color: #4b4a70; }
.d11n-was b { color: #c8327a; }
.d11n-buy { justify-self: stretch; margin-top: 8px; height: 50px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 18px; font-weight: 900; letter-spacing: .12em; color: #fff;
  background: linear-gradient(180deg, #ff86b8 0%, #e5508f 100%); box-shadow: 0 8px 20px rgba(229, 80, 143, .45); }
.d11n-buy:active { transform: translateY(1px); }
.d11n-buy:focus-visible { outline: 3px solid var(--d11-cyan); outline-offset: 2px; }
.d11n-arr { position: absolute; top: 34%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; box-shadow: 0 4px 14px rgba(10, 6, 50, .35); }
.d11n-arr svg { width: 22px; height: 22px; fill: none; stroke: #2148c9; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.d11n-arr.prev { left: 6px; } .d11n-arr.next { right: 6px; }
.d11n-arr:focus-visible { outline: 3px solid var(--d11-cyan); outline-offset: 2px; }
.d11n-dots { position: relative; display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.d11n-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.d11n-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .2s, background .2s; }
.d11n-dots button.on::before { width: 22px; background: var(--d11-pink2); }
.d11n-foot { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; margin-top: 8px; padding: 0 16px; }
.d11n-b12 { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(127, 220, 255, .6); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 700; background: rgba(79, 125, 255, .18); box-shadow: 0 0 14px rgba(127, 220, 255, .25); }
.d11n-b12 b { padding: 1px 8px; border-radius: 999px; background: var(--d11-cyan); color: var(--d11-ink); font-size: 13px; }
.d11n-b12 i { font-style: normal; color: var(--d11-cyan); }
.d11n-more { font-size: 14px; font-weight: 700; color: #cfc8ff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .d11-neon { padding: 34px 0 26px; }
  .d11n-track { padding-left: max(16px, calc((100% - 960px) / 2)); padding-right: max(16px, calc((100% - 960px) / 2)); }
  .d11n-card { flex-basis: 304px; }
  .d11n-arr.prev { left: max(8px, calc((100% - 1060px) / 2)); } .d11n-arr.next { right: max(8px, calc((100% - 1060px) / 2)); }
}

.tag-d11 { background: linear-gradient(180deg, #ef5a9f, #d63d86); color: #fff; }

/* ===== 商品頁 ===== */
.pd-promo.pd-d11 { background: linear-gradient(180deg, #ef5a9f, #d63d86); color: #fff; }
.notice-d11 { background: linear-gradient(135deg, var(--d11-night1), var(--d11-night3)); color: #fff; border: 1px solid rgba(127, 220, 255, .45); line-height: 1.6; }
.notice-d11 b { color: var(--d11-pink2); }
.notice-d11 a { margin-left: 6px; color: var(--d11-cyan); text-decoration: underline; }
.d11-chip { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 999px; background: linear-gradient(180deg, #5f8cff, #3a5fe0); color: #fff; font-style: normal; font-size: 13px; font-weight: 800; line-height: 1.6; }
.d11-plans { margin: 14px 0 6px; padding: 14px 12px 12px; border-radius: var(--radius-sm, 12px); color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 246, .45), rgba(139, 92, 246, 0) 70%), linear-gradient(160deg, var(--d11-night1), var(--d11-night2)); }
.d11-plans .tier-label { margin: 0 0 10px; color: #fff; font-weight: 900; font-size: 17px; }
.d11-opts { display: grid; gap: 10px; }
.d11-opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 12px 14px 12px 12px; font: inherit; text-align: left; color: var(--d11-ink); background: #fff; border: 2px solid transparent; border-radius: 14px; cursor: pointer; }
.d11-opt .to-ck { width: 22px; height: 22px; border: 2px solid #a9a6cf; border-radius: 50%; display: grid; place-items: center; }
.d11-opt.on { border-color: var(--d11-pink2); box-shadow: 0 0 0 3px rgba(255, 134, 200, .5), 0 0 18px rgba(255, 110, 190, .45); }
.d11-opt.on .to-ck { border-color: var(--d11-pink); background: var(--d11-pink); }
.d11-opt.on .to-ck::after { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.d11-opt:focus-visible { outline: 3px solid var(--d11-cyan); outline-offset: 2px; }
.d11-opt-l { display: grid; gap: 1px; min-width: 0; }
.d11-opt-l b { font-size: 18px; font-weight: 900; line-height: 1.3; color: #d63d86; }
.d11-opt-l small { font-size: 14px; color: #3a3960; line-height: 1.4; }
.d11-opt-l em { font-style: normal; font-size: 14px; font-weight: 700; color: #2148c9; }
.d11-opt-r { text-align: right; display: grid; gap: 1px; }
.d11-opt-r b { font-size: 22px; font-weight: 900; color: var(--d11-ink); line-height: 1.15; }
.d11-opt-r small { font-size: 13px; color: #4b4a70; }
.d11-opt-12 .d11-opt-l b { color: #2148c9; }
.d11-opt-hint { margin: 10px 2px 0; font-size: 14px; line-height: 1.55; color: #e4e0ff; }
.qb-card .d11-plans { margin-top: 10px; }

/* ===== 閃購頁 ===== */
.d11-neon-page { padding-top: 26px; }
.d11-sec { padding-top: 22px; }
.d11-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: d11s; }
.d11-steps li { position: relative; padding: 12px 12px 12px 52px; border-radius: 14px; background: var(--d11-lav); color: var(--d11-ink); counter-increment: d11s; }
.d11-steps li::before { content: counter(d11s); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ef5a9f, #d63d86); color: #fff; font-weight: 900; }
.d11-steps b { display: block; font-size: 16px; }
.d11-steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: #3a3960; }
.d11-excl { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.d11-vendor { margin: 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* 唯樂加碼 買 12 送 3（霓虹區塊）*/
.d11-dark { margin-top: 22px; padding: 18px 14px 16px; border-radius: var(--radius, 16px); color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, rgba(139, 92, 246, .45), rgba(139, 92, 246, 0) 70%), linear-gradient(170deg, var(--d11-night1), var(--d11-night2)); }
.d11-sec-h { display: grid; justify-items: start; gap: 6px; margin-bottom: 10px; }
.d11-sec-h .d11n-pill { margin: 0; padding: 3px 14px; font-size: 14px; }
.d11-sec-h h2 { margin: 0; font-size: 24px; font-weight: 900; color: #fff; text-shadow: 0 0 12px rgba(127, 220, 255, .55); }
.d11-b12-rule { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: #e4e0ff; }
.d11-b12-rule b { color: var(--d11-cyan); }
.d11-b12-list { display: grid; gap: 10px; }
.d11-b12-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff; color: var(--d11-ink); }
.d11-b12-row img { width: 64px; height: 64px; object-fit: contain; }
.d11-b12-t b { display: block; font-size: 16px; line-height: 1.3; color: #2148c9; }
.d11-b12-t small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #3a3960; }
.d11-btn { color: #fff; border: 0; background: linear-gradient(180deg, #ff86b8, #e5508f); box-shadow: 0 4px 12px rgba(229, 80, 143, .35); }
@media (max-width: 420px) { .d11-b12-row { grid-template-columns: 56px minmax(0, 1fr); } .d11-b12-row .btn { grid-column: 1 / -1; } }

/* ===== 購物車 ===== */
.d11-cart { margin-bottom: 14px; padding: 14px 14px 12px; border-radius: var(--radius, 14px); color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, rgba(139, 92, 246, .45), rgba(139, 92, 246, 0) 70%), linear-gradient(160deg, var(--d11-night1), var(--d11-night2)); }
.d11-cart-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.d11-cart-h .d11n-pill { flex: none; margin: 0; padding: 4px 12px; font-size: 14px; }
.d11-cart-h b { display: block; font-size: 18px; font-weight: 900; color: var(--d11-pink2); text-shadow: 0 0 10px rgba(255, 110, 190, .55); }
.d11-cart-h small { display: block; font-size: 13.5px; color: #d9d4ff; line-height: 1.45; }
.d11-cart-msg { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; }
.d11-cart-msg.ok { background: #fff; color: #c8327a; font-weight: 900; }
.d11-cart-excl { margin: 8px 2px 0; font-size: 13.5px; color: #d9d4ff; }
.d11-vendor-box { margin-top: 12px; font-size: 14px; }
.d11-vendor-box summary { cursor: pointer; font-weight: 700; color: #e4e0ff; }
.d11-vendor-box .d11-vendor { margin-top: 8px; color: #e4e0ff; }
.cl-d11 { background: linear-gradient(180deg, #ef5a9f, #d63d86); }
.cl-arrive { margin-top: 2px; font-weight: 700; color: #7a4a00; }
.d11-boxic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 10px; background: var(--d11-lav); color: var(--d11-violet); }
.d11-boxic svg { width: 40px; height: 40px; }

/* ===== 專屬加購（購物車）===== */
.d11-addon { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--radius, 14px); border: 2px solid #cfc8ff; background: var(--d11-lav); color: var(--d11-ink); }
.d11-addon > b { display: block; font-size: 17px; font-weight: 900; }
.d11-addon p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: #3a3960; }
.d11-addon-lock { border-style: dashed; background: transparent; }
.d11-addon-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #d6d0f5; }
.d11-addon-img { flex: none; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #fff; }
.d11-addon-t { flex: 1; min-width: 0; }
.d11-addon-t b { display: block; font-size: 16px; }
.d11-addon-t small { display: block; font-size: 13.5px; color: #3a3960; }
.d11-addon-removed { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #7a4a00; border: 1px solid #f3d29a; font-size: 15px; font-weight: 700; }

/* ===== 10/29 主視覺橫幅（51 喜歡原本午夜霓虹的版型：11.11 加粗、日期往下放、年度最強檔同一個顏色、全館買3送1 白色螢光；
 *   多做幾個配色給她挑，網址 ?bv=1|2|3|4 切換，存在這個分頁，?bv= 空值清掉）===== */
.d11b { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0; margin: 0 16px; padding: 24px 14px 20px; border-radius: 22px; overflow: hidden; text-align: center;
  color: var(--b-ink); background: var(--b-bg); box-shadow: 0 0 0 2px var(--b-edge), 0 12px 34px rgba(0, 0, 0, .45), 0 0 30px var(--b-glow); }
.d11b::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: repeating-linear-gradient(135deg, var(--b-stripe) 0 2px, transparent 2px 16px); }
.d11b > * { position: relative; }
.d11b-big { margin: 0; font: 900 clamp(92px, 30vw, 156px)/.9 "Noto Sans TC", "Arial Black", sans-serif; letter-spacing: -.02em;
  background: var(--b-big); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 var(--b-big-edge)) drop-shadow(0 0 18px var(--b-big-glow)); }
.d11b-title { margin: 8px 0 0; font: 900 clamp(34px, 10.5vw, 52px)/1.15 "Noto Sans TC", sans-serif; letter-spacing: .12em; text-indent: .12em; color: var(--b-title); text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.d11b-ribbon { margin: 14px 0 0; width: min(100%, 330px); }
.d11b-ribbon span { display: block; padding: 11px 0; font-size: 18px; font-weight: 900; letter-spacing: .5em; text-indent: .5em; color: var(--b-rib-ink);
  background: var(--b-rib); clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%); }
.d11b-date { margin: 14px 0 0; padding: 6px 26px; border-radius: 999px; background: var(--b-date-bg); color: var(--b-date-ink); border: 3px solid var(--b-date-edge);
  font: 900 22px/1.15 "Archivo Black", "Noto Sans TC", sans-serif; letter-spacing: .05em; }
.d11b-date i { font-style: normal; font-size: .62em; vertical-align: .18em; margin: 0 4px; }
.d11b-pill { margin-top: 22px; padding: 7px 22px; border-radius: 999px; background: var(--b-pill); color: var(--b-pill-ink); font-size: 18px; font-weight: 900; letter-spacing: .04em; }
.d11b-b3 { margin: 6px 0 0; font: 900 clamp(46px, 14.5vw, 72px)/1.1 "Noto Sans TC", sans-serif; letter-spacing: .02em; color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 14px var(--b-neon), 0 0 30px var(--b-neon), 0 0 52px var(--b-neon); }
.d11b-sub { margin: 4px 0 0; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--b-ink); max-width: 22em; }
.d11b-six { margin: 10px 0 0; }
.d11b-six b { display: inline-block; padding: 6px 16px; border-radius: 12px; font-size: 18px; font-weight: 900; color: var(--b-six); background: var(--b-six-bg); border: 2px solid var(--b-six-edge); }
.d11b .d11n-cd small { color: var(--b-ink); }
/* 版本 1：電商風格紅金 */
.d11b-v1 { --b-bg: radial-gradient(120% 70% at 50% 25%, #e0182f 0%, #a50019 55%, #6e000f 100%); --b-edge: #ffd54a; --b-glow: rgba(255, 213, 74, .45); --b-stripe: rgba(255, 213, 74, .08); --b-ink: #fff;
  --b-big: linear-gradient(180deg, #fffbe0 6%, #ffe27a 38%, #ffc21f 66%, #d98a00 100%); --b-big-edge: #7a0012; --b-big-glow: rgba(255, 213, 74, .55); --b-title: #ffe27a;
  --b-rib: linear-gradient(90deg, #ffe27a, #ffc21f 50%, #ffe27a); --b-rib-ink: #8a0016; --b-date-bg: #fff3c4; --b-date-ink: #b00018; --b-date-edge: #ffd54a;
  --b-pill: linear-gradient(180deg, #ffe27a, #ffc21f); --b-pill-ink: #8a0016; --b-neon: #ffb300; --b-six: #8a0016; --b-six-bg: #fff3c4; --b-six-edge: #ffd54a; }
/* 版本 2：午夜霓虹（原本那版的顏色，字統一成同色系） */
.d11b-v2 { --b-bg: radial-gradient(120% 70% at 50% 25%, #3a2290 0%, #22145a 52%, #120d38 100%); --b-edge: #6fb8ff; --b-glow: rgba(111, 184, 255, .45); --b-stripe: rgba(255, 255, 255, .05); --b-ink: #f2efff;
  --b-big: linear-gradient(180deg, #f4fdff 8%, #9be6ff 48%, #5ab6ff 80%, #7fa0ff 100%); --b-big-edge: #1b2a78; --b-big-glow: rgba(95, 205, 255, .7); --b-title: #fff;
  --b-rib: linear-gradient(90deg, #ec4fa8 0%, #9b5cf0 50%, #5aaeff 100%); --b-rib-ink: #fff; --b-date-bg: #dcd8f4; --b-date-ink: #5a2fc0; --b-date-edge: #6fb8ff;
  --b-pill: linear-gradient(180deg, #5f8cff, #3a5fe0); --b-pill-ink: #fff; --b-neon: #ff5db8; --b-six: #22145a; --b-six-bg: #fff; --b-six-edge: #ff5db8; }
/* 版本 3：黑金 */
.d11b-v3 { --b-bg: radial-gradient(120% 70% at 50% 25%, #2a2417 0%, #12100a 52%, #000 100%); --b-edge: #e8b83a; --b-glow: rgba(232, 184, 58, .4); --b-stripe: rgba(232, 184, 58, .07); --b-ink: #f7efd8;
  --b-big: linear-gradient(180deg, #fff6d0 6%, #f2cf66 40%, #d4a017 68%, #9a6b00 100%); --b-big-edge: #000; --b-big-glow: rgba(232, 184, 58, .5); --b-title: #f2cf66;
  --b-rib: linear-gradient(90deg, #b8860b, #f2cf66 50%, #b8860b); --b-rib-ink: #1a1203; --b-date-bg: #1d1a10; --b-date-ink: #f2cf66; --b-date-edge: #e8b83a;
  --b-pill: linear-gradient(180deg, #f2cf66, #d4a017); --b-pill-ink: #1a1203; --b-neon: #e8b83a; --b-six: #1a1203; --b-six-bg: #f2cf66; --b-six-edge: #fff6d0; }
/* 版本 4：熱粉橘（電商大促） */
.d11b-v4 { --b-bg: linear-gradient(165deg, #ff2d78 0%, #ff4d4d 52%, #ff8a1a 100%); --b-edge: #fff; --b-glow: rgba(255, 90, 90, .55); --b-stripe: rgba(255, 255, 255, .1); --b-ink: #fff;
  --b-big: linear-gradient(180deg, #fff 10%, #fff3c4 60%, #ffd9a0 100%); --b-big-edge: #b0123f; --b-big-glow: rgba(255, 255, 255, .55); --b-title: #fff;
  --b-rib: linear-gradient(90deg, #6b0a2c, #a3123f 50%, #6b0a2c); --b-rib-ink: #fff; --b-date-bg: #fff; --b-date-ink: #d4123f; --b-date-edge: #ffd0a0;
  --b-pill: linear-gradient(180deg, #fff, #ffe9d0); --b-pill-ink: #d4123f; --b-neon: #7a0a2a; --b-six: #fff; --b-six-bg: #6b0a2c; --b-six-edge: #fff; }
/* 10/30 51 15:12：主視覺縮小（390px 高度約減半）——同一行放 11.11＋標題、原廠直送＋日期、雙11限定＋全館買3送1；配色變數不動 */
.d11b { padding: 14px 12px 12px; border-radius: 18px; }
.d11b-r { display: flex; align-items: center; justify-content: center; gap: 8px 10px; flex-wrap: nowrap; width: 100%; }
.d11b-r1 { align-items: baseline; }
.d11b-r2 { margin-top: 6px; }
.d11b-r3 { margin-top: 6px; }
.d11b-big { font-size: clamp(50px, 16vw, 78px); }
.d11b-title { margin: 0; font-size: clamp(22px, 6.6vw, 32px); letter-spacing: .06em; text-indent: 0; white-space: nowrap; }
.d11b-ribbon { margin: 0; width: auto; flex: 0 0 auto; }
.d11b-ribbon span { padding: 5px 14px; font-size: 13px; letter-spacing: .25em; text-indent: .25em; white-space: nowrap; }
.d11b-date { margin: 0; padding: 3px 14px; border-width: 2px; font-size: 16px; white-space: nowrap; }
.d11b-pill { margin: 0; padding: 4px 12px; font-size: 13px; white-space: nowrap; }
.d11b-b3 { margin: 0; font-size: clamp(30px, 9.6vw, 48px); line-height: 1.1; white-space: nowrap; }
.d11b-sub { margin: 4px 0 0; font-size: 13px; line-height: 1.4; }
.d11b-six { margin: 6px 0 0; }
.d11b-six b { padding: 3px 12px; border-radius: 10px; font-size: 14px; border-width: 1.5px; }
.d11b .d11n-cd { margin-top: 8px; gap: 3px; }
.d11b .d11n-cd small { font-size: 12px; }
@media (min-width: 900px) { .d11b { max-width: 720px; margin-left: auto; margin-right: auto; padding: 30px 24px 26px; } }

/* ===== 跑馬燈 ===== */
.d11-marq { position: relative; z-index: 1; overflow: hidden; margin: 10px 16px 0; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.d11-marq-track { display: flex; width: max-content; animation: d11-marq 26s linear infinite; }
.d11-marq-track span { flex: none; padding: 8px 0; font-size: 15px; font-weight: 800; white-space: nowrap; }
.d11-marq-track span::after { content: "◆"; margin: 0 14px; opacity: .7; font-size: 11px; vertical-align: .1em; }
@keyframes d11-marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .d11-marq-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .d11-marq-track span.dup { display: none; } }
@media (min-width: 900px) { .d11-marq { max-width: 720px; margin-left: auto; margin-right: auto; } }

/* ===== 閃購頁：活動亮點 ===== */
.d11-hl { display: grid; gap: 14px; }
.d11-hl-card { padding: 16px 14px; border-radius: 16px; background: var(--d11-lav); color: var(--d11-ink); }
.d11-hl-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 19px; font-weight: 900; line-height: 1.3; }
.d11-hl-card h3 i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 16px; color: #fff; background: linear-gradient(180deg, #ef5a9f, #d63d86); }
.d11-hl-card p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; color: #2b2955; }
.d11-hl-card ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 14.5px; line-height: 1.6; color: #3a3960; }
.d11-hl-lead { font-weight: 800; }
.d11-hl-flex { display: flex; gap: 12px; align-items: center; }
.d11-hl-flex > img { flex: none; width: 104px; height: auto; border-radius: 12px; }
.d11-hl-flex .d11-hl-coupon { width: 132px; border-radius: 0; mix-blend-mode: multiply; }

/* ===== 購物車：折價券圖示 ===== */
.d11-cpn { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 14px; line-height: 1.5; }
.d11-cpn img { flex: none; width: 84px; height: auto; padding: 3px; border-radius: 10px; background: #fff; }

/* ===== 購物車：自選贈品 ===== */
.d11-pick { margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.d11-pick-h { margin: 0 0 8px; font-size: 15px; font-weight: 900; color: #fff; }
.d11-pick-h small { font-weight: 700; color: #d9d4ff; }
.d11-pick-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.d11-pick-opt { flex: 0 0 92px; scroll-snap-align: start; display: grid; justify-items: center; gap: 4px; padding: 8px 6px; font: inherit; color: var(--d11-ink); background: #fff; border: 3px solid transparent; border-radius: 12px; cursor: pointer; min-height: 44px; }
.d11-pick-opt img { width: 64px; height: 64px; object-fit: contain; }
.d11-pick-opt span { font-size: 12.5px; font-weight: 700; line-height: 1.3; text-align: center; }
.d11-pick-opt[aria-checked="true"] { border-color: #e60f75; box-shadow: 0 0 0 3px rgba(255, 134, 200, .55); }
.d11-pick-opt[aria-checked="true"] span::before { content: "✓ "; color: #e60f75; }
.d11-pick-opt:focus-visible { outline: 3px solid var(--d11-cyan); outline-offset: 2px; }
.d11-boxph { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.d11-cart-next { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.45; }

/* 10/29 51：虎奶菇好禮實為 6 盒喉糖，圖示右下角加 x6 */
.d11-x6 { position: relative; flex: none; display: block; width: 104px; }
.d11-x6 img { display: block; width: 100%; height: auto; border-radius: 12px; }
.d11-x6 b { position: absolute; right: -4px; bottom: -4px; padding: 3px 9px; border-radius: 999px; font: 900 16px/1.2 "Archivo Black", "Noto Sans TC", sans-serif; color: #fff; background: linear-gradient(180deg, #ef5a9f, #d63d86); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); border: 2px solid #fff; }
/* 購物車手機版：贈品挑選列很寬，會把整個購物車撐出 390px，讓 grid 子項可縮小 */
.d11-cart, .d11-pick { min-width: 0; max-width: 100%; }
.cart-layout > * { min-width: 0; }
/* 10/29 51 給的雙11成品圖：滿版、不要虛線框 */
.d11n-media:has(.d11n-pic) { border: 0; background: #fff; }
.d11n-pic { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-note { margin: 2px 0 6px; font-size: 14px; font-weight: 700; color: #c8203a; }
.cart-layout .d11-cart { margin-top: 14px; }

/* 購物車：2 件組改 3 件組（買3送1）按鈕 */
.cart-line .d11-upg { display: block; margin: 6px 0 0; padding: 8px 10px; min-height: 44px; border: 1px dashed var(--accent, #1f6f43); border-radius: 10px; background: transparent; color: var(--accent, #1f6f43); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.35; text-align: left; cursor: pointer; }
.cart-line .d11-upg small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
/* 雙11：選 6 件方案時，「加贈好禮」框顯示雙11 方案 */
.tier-gifts .tg-d11-h { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.tier-gifts.is-d11 li.tg-d11 { font-size: 14px; font-weight: 700; align-items: flex-start; }
