/* 12/6～12/15 雙12 首頁首圖（assets/js/campaign-1212.js）。手機滿版、電腦版置中最寬 460。圖照 51 原圖、不拉伸 */
.d12-hero { margin: 0 auto; max-width: 100%; }
.d12-fig { position: relative; margin: 0 auto; max-width: 460px; aspect-ratio: 1024 / 1536; }
.d12-img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.d12-hot { position: absolute; display: block; border-radius: 6% / 4%; -webkit-tap-highlight-color: rgba(255, 255, 255, .25); }
.d12-hot:focus-visible { outline: 3px solid #fff; outline-offset: -2px; box-shadow: 0 0 0 6px #13254a; }
.d12-hot:active { background: rgba(255, 255, 255, .16); }
@media (hover: hover) { .d12-hot:hover { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .95); } }
@media (min-width: 768px) { .d12-hero { padding: 24px 0 8px; } .d12-fig { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(5, 14, 36, .35); } }

/* 51 12/03 12:24：活動期間原本的首圖先拿掉，活動過後（js 移除 data-cmp1212）自動回來 */
html[data-cmp1212] #app .b-hero, html[data-cmp1212] #app .a-hero, html[data-cmp1212] #app .c-hero { display: none; }

/* 商品頁活動標示（20 入） */
.d12-note { margin: 14px 0; padding: 12px 14px; border-radius: 14px; background: linear-gradient(180deg, #fff7f4, #ffe9e4); border: 1.5px solid #c8203a; color: #5b1020; }
.d12-note-k { margin: 0 0 6px; font-weight: 900; font-size: 14px; display: flex; align-items: center; gap: 8px; color: #a0172d; }
.d12-note-pill { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #fff; border: 1.5px solid #c8203a; font-size: 13px; color: #a0172d; }
.d12-note-deal { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.d12-note-deal b { font-size: 20px; font-weight: 900; color: #c8203a; }
.d12-note-deal small { font-size: 12.5px; color: #6b3340; line-height: 1.5; }
