/* notice_offer.css — 산타식 오퍼/혜택 카드 랜딩 전용 (notice.css 오염 금지, #offer-landing 네임스페이스) */
#offer-landing { width: 100%; max-width: 680px; margin: 0 auto; padding: 4px 0 40px; box-sizing: border-box; }
#offer-landing .offer-track-banner { background: #f3f4f6; color: #4b5563; font-size: 13px; text-align: center; padding: 10px 14px; border-radius: 10px; margin: 6px 0 16px; }
#offer-landing .offer-track-banner b { color: #111827; }
#offer-landing .offer-track-tags { margin-bottom: 18px; }
#offer-landing .offer-card-list { display: flex; flex-direction: column; gap: 18px; }
#offer-landing .offer-card { display: block; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
#offer-landing .offer-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
#offer-landing .offer-card-banner { position: relative; width: 100%; line-height: 0; }
#offer-landing .offer-card-banner img { width: 100%; height: auto; display: block; }
#offer-landing .offer-card-banner.no-img { aspect-ratio: 5 / 2; background: linear-gradient(135deg, #2097FF, #0b63d6); }
#offer-landing .offer-countdown { background: #ef4444; color: #fff; font-size: 13px; font-weight: 700; text-align: center; padding: 8px 12px; letter-spacing: 0.3px; }
#offer-landing .offer-countdown .offer-cd-clock { font-variant-numeric: tabular-nums; margin-left: 4px; }
#offer-landing .offer-countdown.ended { background: #9ca3af; }
#offer-landing .offer-card-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
#offer-landing .offer-card-title { font-size: 16px; font-weight: 700; color: #111827; line-height: 1.4; }
#offer-landing .offer-card-meta { display: flex; align-items: center; gap: 6px 12px; flex-shrink: 0; }
#offer-landing .offer-discount { color: #ef4444; font-size: 14px; font-weight: 700; }
#offer-landing .offer-stock { color: #6b7280; font-size: 13px; font-weight: 500; }
#offer-landing .offer-stock.soldout { color: #ef4444; font-weight: 700; }
@media (max-width: 480px) { #offer-landing .offer-card-title { font-size: 15px; } #offer-landing .offer-card-body { padding: 11px 16px; } }

/* ===== 오퍼 상세 (notice_view.php) ===== */
.offer-detail-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.offer-detail-tabs::-webkit-scrollbar { display: none; }
.offer-detail-tab { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #f3f4f6; color: #4b5563; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.offer-detail-tab.active { background: #2097FF; color: #fff; }
.offer-detail-tab:hover { border-color: #d1d5db; }
.offer-sticky-countdown { position: fixed; top: calc(70px + max(8px, env(safe-area-inset-top, 0px))); left: 50%; transform: translateX(-50%); z-index: 1000; display: inline-flex; align-items: center; gap: 6px; background: #c81e1e; color: #fff; border: none; font-size: 13px; font-weight: 400; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.offer-sticky-countdown .offer-cd-clock { font-variant-numeric: tabular-nums; }
.offer-sticky-countdown.ended { background: #9ca3af; }
.offer-buy-panel { margin: 18px 0 10px; border: 1px solid #eef0f3; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.offer-buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; }
.offer-buy-row .offer-discount { color: #ef4444; font-size: 16px; font-weight: 700; }
