/* DealsHub India - Main Stylesheet */
:root {
  --brand: #e63946;
  --brand-dark: #c1121f;
  --text: #1a1a2e;
  --muted: #6c757d;
  --light-bg: #f8f9fa;
  --card-shadow: 0 2px 10px rgba(0,0,0,.07);
  --card-hover-shadow: 0 6px 24px rgba(0,0,0,.13);
  --radius: 10px;
  --amazon:     #ff9900;
  --amazon-com: #232f3e;
  --amazon-uk:  #146eb4;
  --flipkart: #2874f0;
  --myntra: #ff3f6c;
  --ajio: #e8452c;
  --shopsy: #7b2ff7;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; }

/* ── Navbar ── */
.site-nav { background: var(--brand) !important; box-shadow: 0 2px 16px rgba(230,57,70,.25); }
.site-nav .navbar-brand { font-size: 1.35rem; letter-spacing: -.5px; }
.site-nav .nav-link { color: rgba(255,255,255,.9) !important; font-weight: 500; transition: color .2s; }
.site-nav .nav-link:hover { color: #fff !important; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 60%, #1a1a2e 100%);
  color: #fff; padding: 4rem 0 5rem; position: relative; overflow: hidden;
}
.hero-section::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background: #fff; clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-title    { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; }
.hero-subtitle { font-size: 1.1rem; opacity: .9; }
.store-tag {
  display: inline-block; background: rgba(255,255,255,.15); border-radius: 20px;
  padding: .3rem 1rem; font-size: .85rem; margin: .25rem; border: 1px solid rgba(255,255,255,.25);
}

/* ════════════════════════════════════════════
   DEAL CARDS  — compact, uniform size
   ════════════════════════════════════════════ */
.deal-card {
  border: 1px solid #ececec;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform .22s, box-shadow .22s;
  overflow: hidden;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
  border-color: #ddd;
}

/* ── Image wrapper ── */
.deal-card .card-img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8f8f8;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;
  /* Flex container so image centres perfectly inside */
  display: flex;
  align-items: center;
  justify-content: center;
}
.deal-card .card-img-wrap img {
  display: block;
  /* Fill the box uniformly — cover crops to fill, no empty space */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .3s;
}
/* Product images that are on white/transparent backgrounds
   look better with contain + controlled padding.
   We use a wrapper approach: image fills the square,
   inner padding gives breathing room without size variation */
.deal-card .card-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #f8f8f8;
  z-index: 0;
}
.deal-card .card-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s;
}
.deal-card:hover .card-img-wrap img { transform: scale(1.06); }
.deal-card .card-img-wrap .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* ── Feed size — image area height variants ── */
.feed-small  .deal-card .card-img-wrap { aspect-ratio: 1 / 1; }
.feed-medium .deal-card .card-img-wrap { aspect-ratio: 4 / 3; }
.feed-large  .deal-card .card-img-wrap { aspect-ratio: 4 / 3; }

/* ── Discount ribbon — top right, always shown ── */
.card-ribbon {
  position: absolute;
  top: 0; right: 0;
  background: #1a9e3f;
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  padding: .25rem .38rem;
  border-radius: 0 0 0 8px;
  z-index: 2;
  pointer-events: none;
}

/* ── Store badge — bottom-left, always visible ── */
.card-store-badge {
  position: absolute;
  bottom: 6px; left: 6px;
  z-index: 3;
  pointer-events: none;
}

/* ── Card body — price + CTA only (title is above image now) ── */
.deal-card .card-body {
  padding: .4rem .5rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

/* ── Title below image, one line ── */
.card-title-top {
  padding: .42rem .5rem .25rem;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  background: #fff;
  flex-shrink: 0;
  max-width: 100%;
}
.card-title-top a {
  color: inherit;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-title-top a:hover { color: var(--brand); }

/* One-line bottom spacing after title, before price row */
.card-title-spacer {
  height: .55rem;
  background: #fff;
  flex-shrink: 0;
  border-top: 1px solid #f0f0f0;
}

/* ─── Feed size title variants ─── */
.feed-small  .card-title-top { font-size: .72rem; padding: .35rem .45rem .22rem; }
.feed-medium .card-title-top { font-size: .8rem;  padding: .42rem .55rem .28rem; }
.feed-large  .card-title-top { font-size: .86rem; padding: .46rem .6rem .3rem; }

/* ── Price row — all on one line ── */
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: .3rem;
  margin: .2rem 0 .35rem;
  overflow: hidden;
}
.offer-price  { font-size: .92rem; font-weight: 800; color: var(--brand); line-height: 1; white-space: nowrap; flex-shrink: 0; }
.mrp-price    { font-size: .7rem; color: var(--muted); text-decoration: line-through; white-space: nowrap; flex-shrink: 0; }
.discount-badge {
  background: #1a9e3f; color: #fff; font-size: .6rem;
  font-weight: 700; padding: .1rem .3rem; border-radius: 4px;
  white-space: nowrap; flex-shrink: 0;
}

/* ── Source badges (used inside overlay) ── */
.source-badge-amazon     { background: var(--amazon);     color: #111; }
.source-badge-amazon-com { background: var(--amazon-com); color: #fff; }
.source-badge-amazon_com { background: var(--amazon-com); color: #fff; }
.source-badge-amazon-uk  { background: var(--amazon-uk);  color: #fff; }
.source-badge-amazon_uk  { background: var(--amazon-uk);  color: #fff; }
.source-badge-flipkart   { background: var(--flipkart);   color: #fff; }
.source-badge-myntra     { background: var(--myntra);     color: #fff; }
.source-badge-ajio       { background: var(--ajio);       color: #fff; }
.source-badge-shopsy     { background: var(--shopsy);     color: #fff; }
.source-badge          { font-size: .58rem; font-weight: 700; padding: .1rem .38rem; border-radius: 8px; }

/* ── Buy button ── */
.btn-buy {
  background: var(--brand); color: #fff; border: none; border-radius: 6px;
  font-weight: 700; font-size: .78rem; padding: .38rem .7rem; width: 100%;
  transition: background .2s; display: block; text-align: center;
  text-decoration: none; white-space: nowrap; overflow: hidden;
}
.btn-buy:hover        { background: var(--brand-dark); color: #fff; }
.btn-buy.amazon       { background: var(--amazon);     color: #111; }
.btn-buy.amazon:hover { background: #e88900;           color: #111; }
.btn-buy.amazon_com       { background: var(--amazon-com); color: #fff; }
.btn-buy.amazon_com:hover { background: #1a2430;           color: #fff; }
.btn-buy.amazon_uk        { background: var(--amazon-uk);  color: #fff; }
.btn-buy.amazon_uk:hover  { background: #0f5280;           color: #fff; }
.btn-buy.flipkart     { background: var(--flipkart); }
.btn-buy.flipkart:hover { background: #1a5fcc; color: #fff; }
.btn-buy.myntra       { background: var(--myntra); }
.btn-buy.myntra:hover { background: #d42f58; color: #fff; }
.btn-buy.ajio         { background: var(--ajio); }
.btn-buy.ajio:hover   { background: #c43520; color: #fff; }
.btn-buy.shopsy       { background: var(--shopsy); }
.btn-buy.shopsy:hover { background: #6320d4; color: #fff; }

/* ── Deal page CTA row ── */
.deal-cta-row { display:flex; flex-direction:column; gap:.65rem; }
.deal-buy-btn {
  display:flex; align-items:center; gap:.85rem;
  padding:.85rem 1.25rem; border-radius:12px;
  text-decoration:none; color:#fff; font-weight:700;
  transition:filter .18s,transform .15s; width:100%;
}
.deal-buy-btn:hover  { color:#fff; filter:brightness(1.08); transform:translateY(-1px); }
.deal-buy-btn:active { transform:scale(.98); }
.deal-buy-icon {
  width:40px; height:40px; border-radius:10px;
  background:rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; flex-shrink:0;
}
.deal-buy-text  { flex:1; display:flex; flex-direction:column; gap:.05rem; }
.deal-buy-label { font-size:.78rem; opacity:.88; font-weight:600; line-height:1; }
.deal-buy-price { font-size:1.25rem; font-weight:800; line-height:1.1; }
.deal-buy-arrow { font-size:1.1rem; opacity:.75; flex-shrink:0; }
.deal-secondary-btns { display:flex; gap:.5rem; }
.deal-action-btn {
  flex:1; display:flex; align-items:center; justify-content:center;
  gap:.4rem; padding:.65rem .5rem;
  border:1.5px solid #dee2e6; border-radius:10px;
  background:#fff; color:var(--text); font-size:.82rem; font-weight:600;
  cursor:pointer; transition:border-color .18s,background .18s;
  font-family:inherit;
}
.deal-action-btn:hover { border-color:var(--brand); color:var(--brand); background:#fff8f8; }
.deal-action-btn i { font-size:1rem; }
@media(max-width:576px){
  .deal-buy-price { font-size:1.1rem; }
  .deal-buy-btn   { padding:.75rem 1rem; }
}

/* ── Section headings ── */
.section-heading {
  font-size: 1.4rem; font-weight: 800;
  position: relative; padding-bottom: .45rem; margin-bottom: 1.25rem;
}
.section-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 44px; height: 3px; background: var(--brand); border-radius: 2px;
}

/* ── Footer tag pills ── */
.footer-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.footer-tag-pill {
  display:inline-block;
  background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.15);
  border-radius:20px;
  padding:.2rem .65rem;
  font-size:.75rem;
  text-decoration:none;
  transition:background .15s, color .15s;
}
.footer-tag-pill:hover { background:var(--brand); color:#fff; border-color:var(--brand); }

/* ── Blog cards ── */
.blog-card { border: none; border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; height: 100%; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--card-hover-shadow); }
.blog-card .card-img-top  { height: 180px; object-fit: cover; }
.blog-card .card-body     { padding: 1.1rem; }
.blog-card .blog-category { font-size: .72rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .5px; }
.blog-card .card-title    { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: .35rem 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .blog-date     { font-size: .78rem; color: var(--muted); }

/* ── Blog post content ── */
.blog-content                          { font-size: 1.05rem; line-height: 1.8; }
.blog-content h1,.blog-content h2,
.blog-content h3,.blog-content h4      { font-weight: 700; margin: 1.5rem 0 .8rem; }
.blog-content p                        { margin-bottom: 1.1rem; }
.blog-content img                      { max-width: 100%; border-radius: 8px; }
.blog-content blockquote               { border-left: 4px solid var(--brand); padding: 1rem 1.5rem; background: #fafafa; border-radius: 0 8px 8px 0; }
.blog-content ul,.blog-content ol      { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-content table                    { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.blog-content table th,
.blog-content table td                 { border: 1px solid #dee2e6; padding: .55rem .9rem; }
.blog-content table th                 { background: #f8f9fa; font-weight: 700; }
.blog-content pre                      { background: #1a1a2e; color: #f8f9fa; padding: 1.1rem; border-radius: 8px; overflow-x: auto; }
.blog-content code                     { background: #f0f0f0; padding: .1rem .35rem; border-radius: 4px; font-size: .88em; }

/* ════════════════════════════════════════════
   SIDEBAR FILTERS
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════
   HERO FILTER CARD
   Matches screenshot: dark card, white labels,
   theme-color accents, slider
════════════════════════════════════════ */
.hero-filter-card {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hfc-header {
  background: var(--brand);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
}
.hfc-body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.hfc-field { display: flex; flex-direction: column; gap: .3rem; }
.hfc-label {
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hfc-price-display {
  color: #ffd700;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.hfc-select {
  background: rgba(255,255,255,.09);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  padding: .6rem .9rem;
  font-size: .88rem;
  outline: none;
  cursor: pointer;
  width: 100%;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.25rem;
}
.hfc-select:focus { border-color: var(--brand); background-color: rgba(255,255,255,.14); }
.hfc-select option { background: #1a1a2e; color: #fff; }

/* ── Dual range slider ── */
.hfc-slider-wrap {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}
.hfc-range-track {
  position: absolute;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 4px;
  z-index: 0;
}
.hfc-range-fill {
  position: absolute;
  height: 100%;
  background: var(--brand);
  border-radius: 4px;
  pointer-events: none;
}
.hfc-range {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  z-index: 2;
}
.hfc-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  pointer-events: all;
  cursor: pointer;
  transition: transform .15s;
}
.hfc-range::-webkit-slider-thumb:hover { transform: scale(1.18); }
.hfc-range::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  pointer-events: all;
  cursor: pointer;
}
.hfc-range-labels {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  margin-top: .15rem;
}

/* Search button */
.hfc-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .75rem;
  font-size: .9rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: filter .2s, transform .15s;
  letter-spacing: .02em;
}
.hfc-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.hfc-btn:active { transform: scale(.98); }

/* Clear link */
.hfc-clear {
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  text-decoration: none;
  display: block;
  margin-top: -.3rem;
  transition: color .2s;
}
.hfc-clear:hover { color: #fff; }

/* ── Active filter pills bar ── */
.filter-active-bar {
  background: #fff8f0;
  border: 1px solid #ffe0b2;
  border-radius: 10px;
  padding: .5rem .85rem;
}
.filter-pill {
  background: var(--brand);
  color: #fff;
  border-radius: 20px;
  padding: .22rem .75rem .22rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.filter-pill-x {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1;
  transition: color .15s;
}
.filter-pill-x:hover { color: #fff; }

/* ── Homepage category browser tabs ── */
.cat-tabs-wrap {
  background: var(--brand);
  padding: 0 0 0 0;
  margin-bottom: 0;
}
.cat-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  padding: 0 1rem;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem 1.1rem .55rem;
  font-size: .8rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  position: relative;
  letter-spacing: .01em;
}
.cat-tab:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.cat-tab.active {
  color: #fff;
  border-bottom-color: #ffd700;
  background: rgba(255,255,255,.12);
}
.cat-tab .ct-count {
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  padding: .05rem .38rem;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.4;
}
.cat-tab.active .ct-count { background: rgba(255,215,0,.35); color: #fff; }

/* ── "View All Deals" button centred below card grid ── */
.view-deals-wrap {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 .5rem;
}
.btn-view-deals {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .65rem 2rem;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 4px 18px rgba(230,57,70,.3);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-view-deals:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,57,70,.4);
  filter: brightness(1.05);
}
.btn-view-deals:active { transform: scale(.97); }

/* ── Category pills (deals.php sidebar) ── */
.cat-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.cat-pill {
  display: inline-block;
  background: #f0f0f0; color: var(--text);
  border: 1px solid transparent;
  border-radius: 20px; padding: .35rem .9rem;
  font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .18s;
  text-decoration: none; line-height: 1.4; white-space: nowrap;
}
.cat-pill:hover  { background: #e2e2e2; color: var(--text); border-color: #ccc; }
.cat-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.filter-sidebar {
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 1.25rem;
    position: sticky;
    top: 70px;          /* clears the sticky navbar height */
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}
.filter-sidebar h6 {
  font-weight: 700; margin-bottom: .6rem; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .8px; color: var(--muted);
}

/* Store filter buttons */
.store-filter-btn {
  display: flex; align-items: center; gap: .55rem;
  width: 100%; padding: .45rem .75rem; margin-bottom: .3rem;
  border-radius: 8px; font-size: .85rem; font-weight: 600;
  text-decoration: none; color: var(--text); background: #fff;
  border: 1px solid #dee2e6; transition: all .18s;
}
.store-filter-btn:hover            { border-color: #bbb; box-shadow: 0 1px 4px rgba(0,0,0,.08); color: var(--text); }
.store-filter-btn.active           { color: #fff; border-color: transparent; }
.store-filter-btn.active-all      { background: var(--brand); color: #fff; }
.store-filter-btn.active-amazon   { background: var(--amazon); color: #111; }
.store-filter-btn.active-flipkart { background: var(--flipkart); color: #fff; }
.store-filter-btn.active-myntra   { background: var(--myntra);   color: #fff; }
.store-filter-btn.active-ajio     { background: var(--ajio);     color: #fff; }
.store-filter-btn.active-shopsy   { background: var(--shopsy);   color: #fff; }
.store-filter-btn .store-dot   { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.store-filter-btn .store-count { margin-left: auto; font-size: .72rem; opacity: .7; font-weight: 500; }

.sidebar-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .35rem .5rem; border-radius: 6px; font-size: .83rem;
  text-decoration: none; color: var(--text); margin-bottom: .15rem; transition: background .15s, color .15s;
}
.sidebar-cat-link:hover  { background: #e9ecef; color: var(--text); }
.sidebar-cat-link.active { background: var(--brand); color: #fff; font-weight: 600; }
.sidebar-cat-link .cat-count { font-size: .72rem; opacity: .65; }

/* ── Footer ── */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,.85); padding: 3rem 0 1rem; }
.site-footer h5,.site-footer h6 { color: #fff; }
.site-footer .text-muted { color: rgba(255,255,255,.6) !important; } /* override Bootstrap on dark bg */
.footer-links             { list-style: none; padding: 0; }
.footer-links li          { margin-bottom: .4rem; }
.footer-links a           { color: rgba(255,255,255,.65); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-links a:hover     { color: #fff; }
.affiliate-badge          { border-left: 3px solid rgba(255,255,255,.3); padding-left: .75rem; }

/* ── Pagination ── */
.page-link                   { color: var(--brand); }
.page-item.active .page-link { background: var(--brand); border-color: var(--brand); }

/* ── Skeleton ── */
.skeleton { background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: 4px; }
@keyframes skeleton-loading { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Breadcrumb ── */
.breadcrumb-item a      { color: var(--brand); text-decoration: none; }
.breadcrumb-item.active { color: var(--muted); }

/* ── Empty state ── */
.empty-state             { text-align: center; padding: 4rem 2rem; }
.empty-state .empty-icon { font-size: 4rem; opacity: .3; }

/* ── Tag cloud ── */
.tag-cloud a { display:inline-block;background:#f0f0f0;color:var(--text);border-radius:4px;padding:.2rem .55rem;font-size:.78rem;margin:.12rem;text-decoration:none;transition:all .18s; }
.tag-cloud a:hover { background:var(--brand);color:#fff; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .deal-card .card-body  { padding: .5rem .55rem .55rem; }
  .deal-card .card-title { font-size: .74rem; }
  .offer-price           { font-size: .82rem; }
}
@media (max-width: 768px) {
  .hero-section    { padding: 2.5rem 0 3.5rem; }
  .section-heading { font-size: 1.2rem; }
}
@media (max-width: 576px) {
  .deal-card .card-title { font-size: .7rem; }
  .btn-buy               { font-size: .66rem; padding: .26rem .4rem; }
  .offer-price           { font-size: .8rem; }
}