/* offers/web.css — Offers & Deals page styles */

.offers-wrap { max-width: 1100px; margin: 40px auto; padding: 0 20px 60px; }
.section-title { font-size: 1.4rem; font-weight: 800; margin: 36px 0 18px; }

/* Hero banner */
.offers-hero { background: linear-gradient(135deg, var(--primary-color,#3498db), #5a6fd6); border-radius: 20px; padding: 40px; text-align: center; color: #fff; margin-bottom: 10px; }
.offers-hero h2 { font-size: 2rem; font-weight: 900; margin: 0 0 8px; }
.offers-hero p { margin: 0; opacity: 0.9; }

/* Coupon cards */
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.coupon-card { background: #fff; border: 2px dashed var(--primary-color,#3498db); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; }
.coupon-card::before { content: ''; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--primary-color,#3498db); }
.coupon-code { font-size: 1.6rem; font-weight: 900; color: var(--primary-color,#3498db); letter-spacing: 2px; margin-bottom: 8px; font-family: monospace; }
.coupon-desc { font-size: 0.9rem; color: #555; margin-bottom: 10px; font-weight: 600; }
.coupon-meta { font-size: 0.78rem; color: #aaa; }
.copy-btn { position: absolute; top: 16px; right: 16px; background: var(--primary-color,#3498db); color: #fff; border: none; border-radius: 8px; padding: 6px 14px; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.copy-btn:hover { opacity: 0.85; }

/* Deal products */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 20px; }
.deal-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,0.06); transition: 0.3s; text-decoration: none; color: inherit; display: block; }
.deal-card:hover { transform: translateY(-4px); }
.deal-card img { width: 100%; height: 200px; object-fit: cover; }
.deal-card-img-wrap { position: relative; }
.deal-info { padding: 12px; }
.deal-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.deal-price { color: var(--primary-color); font-weight: 800; }
.disc-badge { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }

.no-coupons { text-align: center; padding: 40px; background: #f9fafb; border-radius: 12px; color: #aaa; }
.no-coupons-title { font-size: 1rem; font-weight: 600; }
.no-coupons-sub { font-size: 0.85rem; }

/* Toast */
#toast { display: none; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #1a1a1a; color: #fff; padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; z-index: 9999; }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
    .offers-wrap { margin: 20px auto; padding: 0 14px 40px; }
    .offers-hero { padding: 28px 18px; }
    .offers-hero h2 { font-size: 1.5rem; }
    .coupon-grid { grid-template-columns: 1fr; }
    .deals-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .deal-card img { height: 150px; }
}
