/* 오늘의 특가 (/deals) */
.deals-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 48px 24px 40px; }
.deals-hero-inner { max-width: 1280px; margin: 0 auto; }
.deals-back { display: inline-block; color: #94a3b8; text-decoration: none; font-size: 0.9rem; font-weight: 600; margin-bottom: 18px; }
.deals-back:hover { color: #fff; }
.deals-title { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.deals-title .hot { color: #fb7185; }
.deals-subtitle { margin: 12px 0 0; color: #cbd5e1; font-size: 1rem; }
.deals-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.deals-date-chip { color: #cbd5e1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.deals-date-chip.active, .deals-date-chip:hover { background: #e11d48; border-color: #e11d48; color: #fff; }

.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.deal-card { background: var(--card-bg); border: 1px solid #f1f5f9; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: transform 0.2s, box-shadow 0.2s; }
.deal-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.deal-image { position: relative; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.deal-image img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.deal-rank { position: absolute; top: 12px; left: 12px; background: #e11d48; color: #fff; font-weight: 800; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(225,29,72,0.35); }
.deal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal-category { font-size: 0.75rem; color: #94a3b8; font-weight: 600; }
.deal-name { margin: 0; font-size: 0.98rem; font-weight: 700; color: var(--text-main); line-height: 1.4; word-break: keep-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.deal-comment { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }
.deal-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.deal-price { font-size: 1.15rem; font-weight: 800; color: #e11d48; }
.deal-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 7px; border-radius: 4px; }
.deal-badge.rocket { background: #111827; color: #fff; }
.deal-badge.free { background: #ecfdf5; color: #047857; }
.deal-cta { margin-top: 6px; background: #0f172a; color: #fff; text-align: center; border-radius: 10px; padding: 11px 0; font-weight: 700; font-size: 0.9rem; }
.deal-card:hover .deal-cta { background: #e11d48; }

.deals-notice { margin: 30px 0 0; text-align: center; font-size: 0.8rem; color: #94a3b8; line-height: 1.6; }
.deals-empty { text-align: center; padding: 80px 20px; color: var(--text-muted); }

/* 메인 페이지 상단 특가 배너 */
.deals-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, #0f172a, #1e293b); color: #fff; border-radius: 20px; padding: 18px 24px; margin-bottom: 30px; text-decoration: none; box-shadow: 0 10px 30px rgba(15,23,42,0.15); }
.deals-banner-thumbs { display: flex; }
.deals-banner-thumbs img { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: #fff; border: 2px solid #1e293b; margin-left: -10px; }
.deals-banner-thumbs img:first-child { margin-left: 0; }
.deals-banner-text { flex: 1; min-width: 0; }
.deals-banner-title { font-weight: 800; font-size: 1.05rem; }
.deals-banner-desc { color: #94a3b8; font-size: 0.85rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deals-banner-cta { background: #e11d48; color: #fff; font-weight: 700; font-size: 0.85rem; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
@media (max-width: 640px) {
    .deals-title { font-size: 1.5rem; }
    .deals-banner { flex-wrap: wrap; }
    .deals-banner-cta { width: 100%; text-align: center; }
}
