/* ============================================================
   Hot Deal Report — main.css
   Theme: ScanDeals (L3) · Space Grotesk · Orange accent
   Mobile-first. No frameworks. No animations.
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f9fafb;
  --card:        #ffffff;
  --border:      #e5e7eb;
  --border2:     #d1d5db;
  --text:        #111827;
  --text-mid:    #6b7280;
  --text-dim:    #9ca3af;
  --orange:      #f97316;
  --orange-dark: #ea6c08;
  --orange-light:#fff7ed;
  --red:         #dc2626;
  --red-light:   #fef2f2;
  --green:       #16a34a;
  --green-light: #f0fdf4;
  --mono:        'JetBrains Mono', 'Courier New', monospace;
  --sans:        'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Layout helpers ---------------------------------------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Two-column layout: left-panel + main */
.page-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #1e293b;
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header .container {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--orange); }
.site-logo:hover { opacity: 0.85; }

.site-nav {
  display: flex;
  gap: 2px;
  flex: 1;
}

.site-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.site-nav a.active { color: var(--orange); background: rgba(249,115,22,0.1); }

.header-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-live-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
}



/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.shead-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shead-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.shead-count {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
}
.shead-right {
  font-size: 12px;
  color: var(--text-dim);
}
.shead-right a { color: var(--text-dim); margin-left: 8px; }
.shead-right a.active { color: var(--orange); font-weight: 600; }

/* ============================================================
   DEAL GRID
   ============================================================ */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ============================================================
   DEAL CARD
   ============================================================ */
.deal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.deal-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.12);
}

/* Card image — enlarged (Council: 4:3 aspect ratio) */
.deal-img-link { display: block; }
.deal-img-wrap {
  background: #ffffff;
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.deal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s ease;
}
.deal-card:hover .deal-img-wrap img { transform: scale(1.04); }

/* Badge — dark backing for readability (Council change) */
.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-hot     { background: rgba(249,115,22,0.92); }
.badge-good    { background: rgba(59,130,246,0.88); }
.badge-best    { background: rgba(0,0,0,0.70); }
.badge-new     { background: rgba(0,0,0,0.50); }
.badge-expired { background: rgba(107,114,128,0.85); }

/* Expired deal card */
/* Expired deal card (list/homepage) */
.deal-card-expired { opacity: 0.55; }
.deal-card-expired:hover { opacity: 0.8; }
.deal-card-expired .deal-img-wrap { filter: grayscale(40%); }
.price-strikethrough { text-decoration: line-through; color: var(--text-mid); }
.expired-label { font-size: 11px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.05em; }

/* Expired deal detail page */
.deal-expired-banner {
  background: #fef3c7; border: 1px solid #f59e0b; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 18px; font-size: 13px; color: #92400e; line-height: 1.5;
}
.deal-single-img-expired { filter: grayscale(30%); opacity: 0.7; }
.deal-cta-expired { background: var(--text-mid); }
.deal-cta-expired:hover { background: var(--text); }
.deal-editorial-expired { opacity: 0.7; }
/* Original Amazon listing title (SEO keyword preservation) */
.deal-original-title {
  font-size: 12px; color: var(--text-mid); line-height: 1.5;
  padding: 10px 16px; margin: 16px 0;
  background: var(--bg); border-radius: 6px; border: 1px solid var(--border);
}
.deal-original-label { font-weight: 600; color: var(--text-mid); }

.deal-similar { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.deal-similar h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text); }

/* Score bar overlay */
.deal-score-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
}
.deal-score-val {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.score-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.score-bar-fill {
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

/* Card body */
.deal-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.deal-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.deal-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-title a { color: var(--text); }
.deal-title a:hover { color: var(--orange); }
.deal-desc {
  font-size: 11px;
  color: var(--text-mid);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ★ Consolidated price unit (Council redesign) */
.price-unit {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.price-now {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.price-was {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  text-decoration: line-through;
}
.price-save {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

/* CTA button */
.deal-cta {
  display: block;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  border-radius: 5px;
}
.deal-cta:hover { background: var(--orange-dark); }

/* See all link */
.see-all-wrap { margin-top: 14px; }
.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.see-all:hover { text-decoration: underline; }

/* ============================================================
   LEFT PANEL
   ============================================================ */
.left-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 70px;
}

/* Category nav */
.cat-nav {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.cat-nav li.cat-hidden { display: none; }

/* See more / less toggle */
.cat-see-more {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 5px 14px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
  font-family: var(--sans);
}
.cat-nav li { margin: 0; }
.cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
/* Radio circle pseudo-element */
.cat-item::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #999;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.cat-item:hover { color: var(--orange); }
.cat-item:hover::before { border-color: var(--orange); }
.cat-item.active { color: var(--orange); font-weight: 700; }
.cat-item.active::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 2.5px #fff;
}
/* Empty categories — same look, still clickable */
.cat-item.cat-empty { color: var(--text); }

/* Mobile horizontal scroll row */
.cat-scroll-mobile { display: none; }

/* ============================================================
   SIDEBAR (kept for any legacy usage)
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 14px; }

.sb-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange);
  overflow: hidden;
}
.sb-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.sb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sb-row:last-child { border-bottom: none; }
.sb-name { color: var(--text); font-weight: 500; }
.sb-name:hover { color: var(--orange); }
.sb-val {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}
.sb-urgent {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
}
.sb-cat-bar {
  height: 3px;
  background: var(--border);
  margin: 0 14px 8px;
  border-radius: 2px;
  overflow: hidden;
}
.sb-cat-bar-fill {
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
/* Newsletter block */
.sb-newsletter-text {
  padding: 10px 14px 4px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}
.sb-newsletter-form {
  padding: 8px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sb-input {
  width: 100%;
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text);
  background: var(--bg);
  border-radius: 5px;
}
.sb-input:focus { outline: none; border-color: var(--orange); }
.sb-subscribe-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 5px;
}
.sb-subscribe-btn:hover { background: var(--orange-dark); }

/* Search & Filter sidebar */
.sb-search-wrap { padding: 10px 14px 4px; }
.sb-filter-group { padding: 8px 14px; border-top: 1px solid var(--border); }
.sb-filter-label { font-size: 10px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.sb-chip {
  font-size: 11px; font-weight: 600; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 12px; cursor: pointer;
  white-space: nowrap; font-family: var(--sans);
  text-decoration: none; display: inline-block;
}
.sb-chip:hover { border-color: var(--orange); color: var(--orange); }
.sb-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Trust block */
.sb-trust-list { list-style: none; padding: 10px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-trust-list li { font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.sb-trust-icon { color: var(--green); font-weight: 700; font-size: 13px; flex-shrink: 0; }

/* ============================================================
   PAGE HEADER (list / taxonomy pages)
   ============================================================ */
.page-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.page-intro {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 4px;
}

.no-deals {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px;
  color: var(--text-dim);
  font-size: 14px;
}

/* ============================================================
   DEAL DETAIL PAGE (single.html)
   ============================================================ */
.deal-single-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.deal-breadcrumb {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.deal-breadcrumb a { color: var(--orange); font-weight: 600; }
.deal-breadcrumb a:hover { text-decoration: underline; }
.deal-breadcrumb-sep { color: var(--border); }

.deal-single-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.deal-single-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.deal-single-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.deal-single-img {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.deal-single-img img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.deal-single-aside {}

.deal-price-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 20px;
  margin-bottom: 16px;
}
/* Large price unit for deal detail page */
.price-unit-large .price-now {
  font-size: 36px;
}
.price-unit-large .price-was {
  font-size: 16px;
}
.price-unit-large .price-save {
  font-size: 44px;
}
.price-unit-large {
  margin-bottom: 16px;
}

.deal-single-price-now {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.deal-single-save-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.deal-single-was {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.deal-single-was s { text-decoration: line-through; }

.deal-single-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.deal-single-score-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
}
.deal-single-score-label {
  font-size: 12px;
  color: var(--text-mid);
}

.deal-cta-large {
  display: block;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 5px;
  margin-bottom: 10px;
}
.deal-cta-large:hover { background: var(--orange-dark); }

.deal-expired-notice {
  background: var(--red-light);
  color: var(--red);
  padding: 12px 16px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.deal-affiliate-notice {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}

.deal-editorial {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}
.deal-editorial strong { color: var(--text); }
.deal-editorial p { margin-bottom: 14px; }
.deal-editorial em { font-style: italic; color: var(--text-mid); }

.deal-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.deal-cat-tag {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
}

/* ============================================================
   STATIC PAGES (about, privacy, etc.)
   ============================================================ */
.page-content {
  max-width: 760px;
  margin: 32px auto;
  padding: 0 24px 48px;
}
.page-content h1 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.page-content h2 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
.page-content p  { margin-bottom: 14px; color: var(--text); line-height: 1.65; }
.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.page-content li { margin-bottom: 6px; }
.page-content a  { color: var(--orange); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 40px 0 24px;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-col strong {
  display: block;
  color: #f3f4f6;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col p { font-size: 13px; line-height: 1.6; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul a { color: #9ca3af; font-size: 13px; }
.footer-col ul a:hover { color: #f3f4f6; }
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 20px;
}
.affiliate-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #6b7280;
  max-width: 700px;
  margin-bottom: 10px;
}
.affiliate-disclaimer a { color: #6b7280; text-decoration: underline; }
.copyright { font-size: 11px; color: #6b7280; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pagination a, .pagination span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  font-size: 13px;
  border-radius: 4px;
  background: var(--card);
}
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .deal-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .deal-grid { grid-template-columns: repeat(3, 1fr); }
  .page-wrap { grid-template-columns: 1fr; padding-top: 0; }
  .left-panel { display: none; }
  .sidebar { display: none; }
  .deal-single-layout { grid-template-columns: 1fr; }
  .deal-single-img { min-height: 200px; }
  /* Show mobile category scroll row */
  .cat-scroll-mobile {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 10px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cat-scroll-mobile::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  .container, .page-wrap, .deal-single-wrap { padding-left: 16px; padding-right: 16px; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 59px; left: 0; right: 0; background: #1e293b; border-bottom: 3px solid var(--orange); flex-direction: column; padding: 8px 0; z-index: 100; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
  .site-nav.nav-open { display: flex; }
  .site-nav a { padding: 12px 20px; border-radius: 0; font-size: 14px; color: rgba(255,255,255,0.8); }
  .header-live { display: none; }
  .deal-single-price-now { font-size: 32px; }
  .price-unit-large .price-now { font-size: 32px; }
}

/* Mobile category pills */
.cat-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--sans);
}
.cat-pill:hover { border-color: var(--orange); color: var(--orange); }
.cat-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 12px; color: var(--text-mid);
}
.pagination-bar-top { border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.pagination-bar-bottom { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 14px; }
.pagination-info { font-weight: 600; color: var(--text); }
.pagination-perpage { display: flex; align-items: center; gap: 4px; }
.perpage-btn {
  font-size: 11px; font-weight: 600; font-family: var(--sans);
  padding: 3px 8px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg); color: var(--text-mid);
}
.perpage-btn:hover { border-color: var(--orange); color: var(--orange); }
.perpage-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.pagination-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.page-btn {
  font-size: 12px; font-weight: 600; font-family: var(--sans);
  padding: 6px 10px; border-radius: 5px; cursor: pointer;
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  min-width: 36px; text-align: center;
}
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn-active { background: var(--orange); color: #fff; border-color: var(--orange); cursor: default; }
.page-dots { color: var(--text-mid); padding: 0 4px; }
.page-info { font-size: 11px; color: var(--text-mid); margin-left: 8px; }
.pagination-hidden { display: none !important; }

@media (max-width: 640px) {
  .pagination-bar { flex-direction: column; gap: 8px; align-items: flex-start; }
  .pagination-nav { justify-content: center; width: 100%; }
}

/* ============================================================
   MOBILE IMPROVEMENTS (Council review 2026-04-01)
   Professional mobile experience for deal shoppers
   ============================================================ */

/* --- Small phones (< 480px) --- */
@media (max-width: 480px) {
  /* Larger touch targets */
  .cat-pill { padding: 6px 14px; font-size: 13px; }
  .page-btn { padding: 8px 12px; min-width: 40px; font-size: 13px; }
  .perpage-btn { padding: 5px 10px; font-size: 12px; }

  /* Deal cards: single column on very small screens */
  .deal-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Bigger title + price for readability */
  .deal-title { font-size: 14px; line-height: 1.3; }
  .price-now { font-size: 18px; }
  .price-save { font-size: 18px; }
  .price-was { font-size: 12px; }
  .deal-body { padding: 10px 12px 12px; }

  /* Pagination stacks nicely */
  .pagination-bar { gap: 6px; }
  .pagination-nav { gap: 3px; }
  .page-info { display: block; width: 100%; text-align: center; margin-top: 4px; margin-left: 0; }
}

/* --- Tablets + large phones (641px - 960px) --- */
@media (max-width: 960px) {
  /* Deal detail page: stack image above price box */
  .deal-single-layout {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .deal-single-img { min-height: 200px; }

  /* Breadcrumb compact */
  .deal-breadcrumb { font-size: 12px; }

  /* Header: ensure logo + hamburger don't overlap */
  .site-header .container { padding: 0 16px; }
}

/* --- All mobile (< 960px) --- */
@media (max-width: 960px) {
  /* Mobile category pills: larger, easier to tap */
  .cat-scroll-mobile {
    padding: 8px 12px;
    gap: 8px;
  }
  .cat-pill {
    padding: 7px 14px;
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Newsletter block: full width */
  .sb-newsletter-form { padding: 8px 12px 12px; }

  /* Expired banner: full width readable */
  .deal-expired-banner { font-size: 12px; padding: 10px 12px; }
}

/* --- Header mobile nav improvements --- */
@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg, #1e293b);
    flex-direction: column;
    padding: 8px 0;
    display: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .site-nav.nav-open { display: flex; }
  .site-nav a {
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .site-nav a:last-child { border-bottom: none; }

  /* Hamburger visible */
  .nav-toggle { display: flex; }
  .header-live { display: none; }
}

@media (min-width: 961px) {
  .nav-toggle { display: none; }
  .cat-scroll-mobile { display: none; }
}

/* Related Deals section (on every deal detail page — internal linking + user retention) */
.deal-related { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.deal-related h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.deal-grid-related { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .deal-grid-related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .deal-grid-related { grid-template-columns: 1fr; } }

/* Hero + Latest sections on homepage */
.hero-section { margin-bottom: 32px; }
.latest-section { margin-top: 8px; }
.hero-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); }
.hero-title { font-size: 18px; font-weight: 800; color: var(--text); margin: 0; }
.hero-subtitle { font-size: 13px; color: var(--text-mid); font-weight: 400; }
.deal-grid-hero { grid-template-columns: repeat(6, 1fr); }
.deal-grid-latest { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1200px) { .deal-grid-hero { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .deal-grid-hero { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .deal-grid-hero { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .deal-grid-hero { grid-template-columns: 1fr; } }

/* Hub bar — horizontal links above deal grid on homepage */
.hub-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.hub-bar-link { display: inline-block; padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; color: var(--text-mid); font-size: 13px; font-weight: 500; text-decoration: none; transition: all 0.15s; white-space: nowrap; }
.hub-bar-link:hover { border-color: var(--orange); color: var(--orange); }

/* Hub Pages — auto-generated category/collection landing pages */
.hub-page { max-width: 1100px; margin: 0 auto; padding: 24px 20px; }
.hub-page .deal-grid { grid-template-columns: repeat(4, 1fr); }
.hub-header { margin-bottom: 24px; }
.hub-header h1 { font-size: 28px; font-weight: 800; color: var(--text); margin: 0 0 8px; }
.hub-subtitle { font-size: 15px; color: var(--text-mid); margin: 0 0 12px; line-height: 1.5; }
.hub-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-mid); }
.hub-count { background: var(--orange); color: #fff; padding: 2px 10px; border-radius: 12px; font-weight: 600; }
.hub-updated { padding-top: 2px; }
.hub-intro { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 24px; padding: 16px; background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border); }
.hub-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.hub-related h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.hub-links { display: flex; flex-wrap: wrap; gap: 10px; }
.hub-link { display: inline-block; padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color 0.15s; }
.hub-link:hover { border-color: var(--orange); color: var(--orange); }
/* Hub directory (list of all hub pages) */
.hub-directory { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.hub-directory-card { display: block; padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.hub-directory-card:hover { border-color: var(--orange); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.hub-directory-card h2 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.hub-directory-card p { font-size: 13px; color: var(--text-mid); margin: 0; line-height: 1.5; }
@media (max-width: 960px) {
  .hub-page .deal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .hub-page .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-bar { gap: 6px; }
  .hub-bar-link { font-size: 12px; padding: 5px 10px; }
}
@media (max-width: 480px) {
  .hub-header h1 { font-size: 22px; }
  .hub-meta { flex-direction: column; gap: 6px; }
  .hub-directory { grid-template-columns: 1fr; }
  .hub-page .deal-grid { grid-template-columns: 1fr; }
}

/* Pause banner (2026-04-28) — always visible while site is on operational pause */
.pause-notice { background:#78350F; color:#FEF3C7; font-size:13px; border-bottom:1px solid #92400E; }
.pause-notice-inner { max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; gap:10px; line-height:1.45; }
.pause-notice-icon { font-size:16px; flex-shrink:0; }
@media (max-width: 600px) { .pause-notice-inner { font-size:12px; padding:8px 12px; } }

/* USD price-transparency banner (council 2026-04-14 Aditi) */
.usd-notice { background:#1F2937; color:#F9FAFB; font-size:13px; }
.usd-notice-inner { max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; line-height:1.4; }
.usd-notice-close { background:transparent; color:#F9FAFB; border:0; font-size:16px; padding:4px 8px; cursor:pointer; line-height:1; }
.usd-notice-close:hover { color:#FCA5A5; }
@media (max-width: 600px) { .usd-notice-inner { font-size:12px; padding:8px 12px; } }
