/* ===================================================
   Deals4all.ai – Design System v2
   Clean, modern e-commerce theme
   Palette: Navy #0F172A | Orange #F97316 | White #fff
   =================================================== */

:root {
  --brand:        #F97316;
  --brand-dark:   #EA6C0A;
  --brand-light:  #FFF7ED;
  --navy:         #0F172A;
  --navy-light:   #1E293B;
  --bg:           #F8FAFC;
  --surface:      #FFFFFF;
  --border:       #E2E8F0;
  --text:         #1E293B;
  --text-muted:   #64748B;
  --text-faint:   #94A3B8;
  --red:          #EF4444;
  --green:        #10B981;
  --yellow:       #F59E0B;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow:       0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ---- Navbar ---- */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 24px;
  background: var(--navy);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 0;
}

.logo {
  font-weight: 800;
  font-size: 1.25em;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.logo-badge {
  background: var(--brand);
  color: #fff;
  font-size: 0.88em;
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 24px;
  padding: 0;
  flex: 1 1 auto;
  height: 100%;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: rgba(255,255,255,0.80);
  font-weight: 500;
  font-size: 0.94em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.signup-btn {
  padding: 7px 18px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92em;
  transition: background 0.15s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.signup-btn:hover {
  background: var(--brand-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5em;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

/* Navbar mobile */
@media (max-width: 900px) {
  .navbar { height: auto; padding: 12px 16px; flex-wrap: wrap; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: var(--navy-light);
    flex-direction: column;
    gap: 0;
    z-index: 220;
    padding: 8px 0 12px;
    align-items: flex-start;
  }
  .nav-links.show { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 12px 20px;
    border-radius: 0;
    color: rgba(255,255,255,0.85);
  }
  .nav-links li a:hover { background: rgba(255,255,255,0.08); }
  .menu-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  max-width: 1200px;
  margin: 28px auto 20px auto;
  min-height: 340px;
  padding: 40px 36px;
  gap: 48px;
}

.hero-left { flex: 1 1 380px; min-width: 0; }

.hero-left h1,
.hero-left h3 {
  font-size: 2.1em;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-left p {
  font-size: 1.02em;
  margin: 0 0 20px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.cta-buttons { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }

.cta-btn {
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}

.cta-btn.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.45);
}

.cta-btn.secondary {
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.stats-row {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat { text-align: left; }

.stat-value {
  font-size: 1.2em;
  font-weight: 800;
  color: var(--brand);
  display: block;
}

.stat-desc {
  font-size: 0.88em;
  color: rgba(255,255,255,0.65);
}

.hero-right {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Deal card inside hero */
.deal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  color: var(--text);
  max-width: 320px;
  padding: 18px 16px 14px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.deal-label {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
  border-radius: 50px;
  padding: 3px 12px;
  position: absolute;
  top: 12px;
  right: 14px;
  letter-spacing: 0.3px;
}
.deal-label--far        { background: #64748B; }
.deal-label--good       { background: #10B981; }
.deal-label--great      { background: #F97316; }
.deal-label--amazing    { background: #8B5CF6; }
.deal-label--doorbuster { background: #EF4444; }

.deal-title {
  font-weight: 700;
  font-size: 1em;
  margin-top: 8px;
  line-height: 1.4;
  color: var(--text);
}

.deal-current {
  font-size: 1.3em;
  color: var(--brand);
  font-weight: 800;
  margin-right: 8px;
}

.deal-old {
  text-decoration: line-through;
  color: var(--text-faint);
  font-size: 0.95em;
}

.deal-rating .star { color: var(--yellow); font-size: 1em; }
.deal-rating .review-count { color: var(--text-muted); margin-left: 5px; font-size: 0.9em; }

/* Hero responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
    margin: 16px 12px;
    border-radius: var(--radius);
  }
  .hero-right { width: 100%; justify-content: center; flex: none; }
  .deal-card { max-width: 420px; }
}

@media (max-width: 600px) {
  .hero { padding: 20px 14px; gap: 18px; }
  .hero-left h1, .hero-left h3 { font-size: 1.55em; }
  .stats-row { gap: 20px; }
  .deal-card { max-width: 100%; }
}

/* ---- Deals Today Bar ---- */
.deals-today-bar {
  margin: 0 auto 24px;
  max-width: 1200px;
  display: flex;
  background: var(--surface);
  border-radius: var(--radius);
  justify-content: space-evenly;
  padding: 16px 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  gap: 8px;
}

.deals-today-item {
  flex: 1 0 80px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9em;
  color: var(--text-muted);
}

.deals-today-item span {
  display: block;
  font-size: 1.4em;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 2px;
}

@media (max-width: 650px) {
  .deals-today-bar { flex-wrap: wrap; gap: 6px; padding: 12px 8px; margin: 12px 12px 18px; }
  .deals-today-item { min-width: 40%; }
}

/* ---- Search Bar (in navbar) ---- */
.search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 0 6px 0 14px;
  border-radius: 50px;
  margin-right: 8px;
  width: 200px;
  max-width: 50vw;
  transition: background 0.2s, border-color 0.2s;
}

.search-form:focus-within {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.40);
}

.search-form input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.92em;
  padding: 8px 6px;
  color: #fff;
  width: 100%;
}

.search-form input::placeholder { color: rgba(255,255,255,0.55); }

.search-form button {
  background: none;
  border: none;
  font-size: 1.05em;
  color: rgba(255,255,255,0.70);
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.15s;
}

.search-form button:hover { color: #fff; }

@media (max-width: 600px) {
  .search-form { width: 100%; max-width: 100%; margin-right: 0; }
}

/* ---- Search Bar Strip (below navbar, above hero/content) ---- */
.search-bar-strip {
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-bar-strip .search-form {
  background: #fff;
  border: none;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 44px;
}

.search-bar-strip .search-form:focus-within {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 0 0 2px #F97316;
}

/* Category select wrapper */
.search-cat-wrap {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  border-right: 1px solid #CBD5E1;
  flex-shrink: 0;
  padding: 0;
}

.search-cat-select {
  border: none;
  background: transparent;
  font-size: 0.88em;
  font-weight: 600;
  color: #1E293B;
  padding: 0 4px 0 12px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  height: 100%;
  font-family: 'Inter', Arial, sans-serif;
}

.search-cat-caret {
  pointer-events: none;
  padding: 0 10px 0 4px;
  color: #64748B;
  font-size: 0.72em;
  line-height: 1;
}

.search-bar-strip .search-form input {
  color: #1E293B;
  padding: 10px 10px;
  background: #fff;
  font-size: 0.93em;
  border: none;
  outline: none;
}

.search-bar-strip .search-form input::placeholder {
  color: #94A3B8;
}

/* Orange submit button */
.search-bar-strip .search-form .search-submit-btn {
  background: #F97316;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  color: #fff;
  border-radius: 0;
  align-self: stretch;
}

.search-bar-strip .search-form .search-submit-btn:hover {
  background: #EA6C0A;
  color: #fff;
}

/* Clear button */
.search-bar-strip .search-form .search-clear-btn {
  background: none;
  border: none;
  padding: 0 10px;
  cursor: pointer;
  color: #94A3B8;
  font-size: 0.9em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.search-bar-strip .search-form .search-clear-btn:hover { color: #EF4444; }

/* Legacy button styles inside strip form (override) */
.search-bar-strip .search-form button:not(.search-submit-btn):not(.search-clear-btn) {
  color: #64748B;
}

@media (max-width: 600px) {
  .search-bar-strip { padding: 8px 12px; }
  .search-cat-wrap { display: none; }
}

/* ---- Search Pagination ---- */
.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 20px 0 8px;
  flex-wrap: wrap;
}

.spag-btn {
  background: #F1F5F9;
  border: none;
  padding: 6px 12px;
  min-width: 36px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  color: #1E293B;
  font-family: 'Inter', Arial, sans-serif;
}

.spag-btn:hover:not(:disabled) { background: #E2E8F0; }
.spag-btn.active { background: #F97316; color: #fff; }
.spag-btn:disabled { background: #E2E8F0; color: #94A3B8; cursor: default; }

.spag-ellipsis {
  padding: 0 4px;
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 36px;
}

/* ---- Search Results ---- */
.search-results {
  display: block;
  margin: 20px auto 0;
  max-width: 1200px;
  min-height: 100px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

@media (max-width: 700px) {
  .search-results { padding: 16px 12px; }
  .results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 440px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* ---- Product Cards (search / general) ---- */
.prod-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  min-height: 340px;
  padding: 0 0 14px 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.prod-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.prod-card .prod-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 16px;
  min-height: 160px;
}

.prod-card img {
  max-height: 150px;
  max-width: 90%;
  object-fit: contain;
}

.prod-info {
  padding: 12px 14px 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
}

.prod-info h3 {
  margin: 0 0 6px;
  font-size: 0.97em;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.prod-info .prod-desc {
  font-size: 0.88em;
  color: var(--text-muted);
  margin: 0 0 6px;
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
  display: block;
  transition: max-height 0.2s;
}

.prod-info .prod-desc.expanded {
  max-height: 200em;
}

.prod-info .prod-meta {
  font-size: 0.85em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.prod-meta .brand { font-weight: 600; color: var(--brand); }
.prod-meta .price { font-weight: 700; color: var(--green); margin-left: 4px; }
.prod-meta .deal  { font-weight: 600; color: var(--red); margin-left: 4px; }

.prod-info .reviews {
  font-size: 0.9em;
  color: var(--yellow);
  margin-bottom: 10px;
}

.reviews .review-count { color: var(--text-muted); font-weight: 400; margin-left: 4px; }

/* ---- Primary CTA button (shop-btn) ---- */
.shop-btn {
  margin-top: auto;
  padding: 10px 0;
  background: var(--brand);
  color: #fff !important;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.92em;
  text-decoration: none;
  display: block;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.shop-btn:hover { background: var(--brand-dark); color: #fff; }

.prod-info .view-more-btn {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88em;
  padding: 0 2px;
  vertical-align: middle;
  transition: color 0.1s;
}

.prod-info .view-more-btn:hover { color: var(--brand-dark); }

.no-results {
  color: var(--red);
  font-weight: 600;
  padding: 28px 12px;
  text-align: center;
  font-size: 1.05em;
}
/* ─── Utility design-system additions ─────────────────────────────────────── */

/* Badges */
.d4a-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
  white-space: nowrap;
}
.d4a-badge--deal    { background: var(--brand); color: #fff; }
.d4a-badge--new     { background: #10b981; color: #fff; }
.d4a-badge--hot     { background: #ef4444; color: #fff; }
.d4a-badge--savings { background: #f59e0b; color: #fff; }

/* Cards */
.d4a-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15,23,42,.07);
  transition: box-shadow .2s, transform .2s;
  overflow: hidden;
}
.d4a-card:hover {
  box-shadow: 0 6px 28px rgba(15,23,42,.13);
  transform: translateY(-2px);
}

/* Buttons */
.d4a-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .15s;
  text-decoration: none;
  line-height: 1.4;
}
.d4a-btn-primary:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.d4a-btn-primary:active { transform: none; box-shadow: none; }

.d4a-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s;
  text-decoration: none;
  line-height: 1.4;
}
.d4a-btn-secondary:hover { background: var(--brand); color: #fff; }

/* Breadcrumb */
.d4a-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.d4a-breadcrumb a          { color: var(--brand); text-decoration: none; }
.d4a-breadcrumb a:hover    { text-decoration: underline; }
.d4a-breadcrumb .sep       { color: #cbd5e1; }
.d4a-breadcrumb .current   { color: var(--navy); font-weight: 600; }

/* Product detail 2-column layout */
.d4a-product-detail {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.d4a-product-gallery { position: sticky; top: 80px; }
.d4a-product-gallery img.main-img {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
  max-height: 440px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.d4a-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.d4a-thumb-strip img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
}
.d4a-thumb-strip img:hover,
.d4a-thumb-strip img.active { border-color: var(--brand); }

.d4a-product-info { padding: 8px 0; }
.d4a-product-info .d4a-brand { color: #64748b; font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.d4a-product-info h1 { font-size: 1.45rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 0 0 10px; }
.d4a-product-info .d4a-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.d4a-product-info .d4a-price     { font-size: 2rem; font-weight: 800; color: var(--brand); }
.d4a-product-info .d4a-old-price { font-size: 1.1rem; color: #94a3b8; text-decoration: line-through; }
.d4a-product-info .d4a-savings   { font-size: 0.92rem; color: #10b981; font-weight: 700; }
.d4a-product-info .d4a-ratings   { display: flex; align-items: center; gap: 6px; color: #f59e0b; font-size: 0.95rem; margin-bottom: 14px; }
.d4a-product-info .d4a-ratings span { color: #64748b; font-size: 0.88rem; }
.d4a-product-info .d4a-desc     { color: #475569; line-height: 1.65; font-size: 0.97rem; margin-bottom: 20px; }

@media (max-width: 768px) {
  .d4a-product-detail { grid-template-columns: 1fr; }
  .d4a-product-gallery { position: static; }
}

/* Category filter pills */
.d4a-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
  margin-bottom: 20px;
}
.d4a-filter-bar::-webkit-scrollbar { display: none; }
.d4a-filter-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.d4a-filter-pill:hover   { background: #e2e8f0; }
.d4a-filter-pill.active  { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Page title */
.d4a-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
}
.d4a-page-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Carousel card price */
.carousel-item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  margin: 4px 0;
}
.carousel-item-old-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Product deal badge overlay */
.product-deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  pointer-events: none;
}
.product-deal-badge--far        { background: #64748B; color: #fff; }
.product-deal-badge--good       { background: #10B981; color: #fff; }
.product-deal-badge--great      { background: #F97316; color: #fff; }
.product-deal-badge--amazing    { background: #8B5CF6; color: #fff; }
.product-deal-badge--doorbuster { background: #EF4444; color: #fff; }
.product-deal-badge--inline     { position: static; display: inline-block; }

/* Search result deal rating badge */
.deal-rating--far        { background: #64748B; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 0.8em; font-weight: 700; }
.deal-rating--good       { background: #10B981; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 0.8em; font-weight: 700; }
.deal-rating--great      { background: #F97316; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 0.8em; font-weight: 700; }
.deal-rating--amazing    { background: #8B5CF6; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 0.8em; font-weight: 700; }
.deal-rating--doorbuster { background: #EF4444; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 0.8em; font-weight: 700; }

/* Improved mobile navbar */
@media (max-width: 768px) {
  #navLinks {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,.97);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  #navLinks.show { display: flex; }
  #navLinks a { font-size: 1.3rem; color: #fff; }
}
