/* ===========================================================
   DealsFriday — Master Stylesheet
   Inspired by CouponDunia layout & UX patterns
   =========================================================== */

/* ----- 1. CSS Variables ----- */
:root {
  --df-primary: #ED1C24;          /* CouponDunia-style red */
  --df-primary-dark: #C41218;
  --df-primary-light: #FFE8E9;
  --df-secondary: #1A1A1A;
  --df-accent: #FFB400;
  --df-success: #16A34A;
  --df-success-light: #DCFCE7;
  --df-blue: #1976D2;

  --df-bg: #FFFFFF;
  --df-bg-soft: #F7F7F7;
  --df-bg-muted: #F0F0F2;
  --df-border: #E5E5E5;
  --df-border-strong: #CFCFCF;
  --df-text: #1A1A1A;
  --df-text-muted: #595959;
  --df-text-light: #8A8A8A;

  --df-font: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --df-font-display: 'Poppins', 'Open Sans', Arial, sans-serif;

  --df-radius: 6px;
  --df-radius-lg: 10px;
  --df-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --df-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --df-shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
  --df-transition: 200ms ease;

  --df-container: 1200px;
  --df-header-h: 64px;
}

/* ----- 2. Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--df-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--df-text);
  background: var(--df-bg-soft);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--df-primary); text-decoration: none; transition: color var(--df-transition); }
a:hover { color: var(--df-primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--df-font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--df-secondary);
  line-height: 1.25;
}
h1 { font-size: 1.625rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.0625rem; }
p  { margin: 0 0 1em; color: var(--df-text-muted); }
ul { padding-left: 1.25rem; }

.df-container { width: 100%; max-width: var(--df-container); margin: 0 auto; padding: 0 16px; }
.df-section { padding: 24px 0; }
.df-section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.df-section-title h2 { margin: 0; font-size: 1.125rem; font-weight: 700; }
.df-section-title a { font-size: 0.8125rem; font-weight: 600; }

/* ----- 3. Top utility bar ----- */
.df-utility {
  background: var(--df-secondary);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 0;
}
.df-utility-row {
  display: flex; justify-content: space-between; align-items: center;
}
.df-utility a { color: #fff; opacity: 0.85; }
.df-utility a:hover { opacity: 1; color: #fff; }
.df-utility-left span { margin-right: 16px; }

/* ----- 4. Header ----- */
.df-header {
  background: #fff;
  border-bottom: 1px solid var(--df-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--df-shadow-sm);
}
.df-header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--df-header-h);
}
.df-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.df-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.df-logo:hover { opacity: 0.85; }
.df-footer .df-logo img { height: 52px; }

.df-search-wrap { flex: 1; max-width: 520px; position: relative; }
.df-search {
  width: 100%; height: 40px;
  padding: 0 40px 0 14px;
  font-family: inherit; font-size: 0.875rem;
  border: 1.5px solid var(--df-border);
  border-radius: 22px;
  background: #fff;
  transition: border-color var(--df-transition);
}
.df-search:focus { outline: none; border-color: var(--df-primary); }
.df-search-btn {
  position: absolute; right: 4px; top: 4px;
  width: 32px; height: 32px;
  background: var(--df-primary); color: #fff;
  border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.df-search-btn:hover { background: var(--df-primary-dark); }

.df-nav { display: flex; align-items: center; gap: 4px; }
.df-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.875rem; font-weight: 500; color: var(--df-text);
  border-radius: 4px;
}
.df-nav a:hover { background: var(--df-bg-muted); color: var(--df-primary); }

.df-menu-toggle {
  display: none; background: none; border: 0;
  width: 40px; height: 40px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.df-menu-toggle span,
.df-menu-toggle span::before,
.df-menu-toggle span::after {
  display: block; width: 22px; height: 2px;
  background: var(--df-text); position: relative;
  transition: all var(--df-transition);
}
.df-menu-toggle span::before,
.df-menu-toggle span::after {
  content: ''; position: absolute; left: 0;
}
.df-menu-toggle span::before { top: -7px; }
.df-menu-toggle span::after { top: 7px; }

/* ----- 5. Category strip (sub-nav) ----- */
.df-cat-strip {
  background: #fff;
  border-bottom: 1px solid var(--df-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.df-cat-strip::-webkit-scrollbar { display: none; }
.df-cat-strip-inner {
  display: flex; gap: 8px;
  padding: 10px 16px;
  max-width: var(--df-container);
  margin: 0 auto;
  white-space: nowrap;
}
.df-cat-strip a {
  padding: 6px 14px;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--df-text-muted);
  border-radius: 18px;
  border: 1px solid var(--df-border);
  background: #fff;
  flex-shrink: 0;
}
.df-cat-strip a:hover,
.df-cat-strip a.active {
  color: var(--df-primary);
  border-color: var(--df-primary);
  background: var(--df-primary-light);
}

/* ----- 6. Hero Banner ----- */
.df-hero {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E9 50%, #FFF8E1 100%);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.df-hero::before {
  content: ''; position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(237,28,36,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.df-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px; align-items: center;
  position: relative;
}
.df-hero h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 12px;
  font-weight: 700;
}
.df-hero h1 em {
  font-style: normal;
  color: var(--df-primary);
  position: relative;
}
.df-hero p {
  font-size: 1rem;
  color: var(--df-text-muted);
  margin-bottom: 20px;
  max-width: 480px;
}
.df-hero-stats {
  display: flex; gap: 24px;
  margin-top: 16px;
}
.df-hero-stat strong {
  display: block;
  font-family: var(--df-font-display);
  font-size: 1.5rem;
  color: var(--df-secondary);
  line-height: 1;
}
.df-hero-stat span {
  font-size: 0.75rem;
  color: var(--df-text-muted);
  margin-top: 2px;
  display: block;
}

.df-hero-cards {
  position: relative;
  height: 280px;
}
.df-hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--df-radius-lg);
  padding: 14px;
  box-shadow: var(--df-shadow-lg);
  width: 220px;
  border: 1px solid var(--df-border);
}
.df-hero-card-1 { top: 0; left: 0; transform: rotate(-4deg); }
.df-hero-card-2 { top: 30px; right: 0; transform: rotate(3deg); }
.df-hero-card-3 { bottom: 0; left: 60px; transform: rotate(-2deg); }
.df-hero-card-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.df-hero-card-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.75rem;
}
.df-hero-card-name {
  font-weight: 700; font-size: 0.875rem;
  color: var(--df-secondary);
}
.df-hero-card-discount {
  font-family: var(--df-font-display);
  font-weight: 700; font-size: 1.25rem;
  color: var(--df-primary);
}
.df-hero-card-text {
  font-size: 0.75rem;
  color: var(--df-text-muted);
  margin: 0;
}

/* ----- 7. Buttons ----- */
.df-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: inherit; font-size: 0.875rem; font-weight: 600;
  border: 0; border-radius: 22px;
  cursor: pointer;
  transition: all var(--df-transition);
  text-decoration: none;
  white-space: nowrap;
}
.df-btn-primary {
  background: var(--df-primary); color: #fff;
}
.df-btn-primary:hover { background: var(--df-primary-dark); color: #fff; }
.df-btn-outline {
  background: #fff;
  color: var(--df-primary);
  border: 1.5px solid var(--df-primary);
}
.df-btn-outline:hover {
  background: var(--df-primary); color: #fff;
}
.df-btn-sm { padding: 6px 14px; font-size: 0.75rem; }

/* ----- 8. Top Stores Grid ----- */
.df-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.df-store-card {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  padding: 16px 12px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: all var(--df-transition);
  position: relative;
}
.df-store-card:hover {
  border-color: var(--df-primary);
  box-shadow: var(--df-shadow);
  transform: translateY(-2px);
}
.df-store-logo {
  width: 64px; height: 64px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--df-font-display);
  font-weight: 800; font-size: 1.25rem;
  margin-bottom: 10px;
}
.df-store-name {
  font-weight: 700; font-size: 0.875rem;
  color: var(--df-secondary);
  margin-bottom: 4px;
}
.df-store-offer {
  font-size: 0.75rem;
  color: var(--df-text-muted);
  margin-bottom: 0;
}
.df-store-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--df-success);
  color: #fff;
  font-size: 0.625rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
}

/* ----- 9. Featured Offers (banner cards) ----- */
.df-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.df-feat-card {
  background: linear-gradient(135deg, var(--df-primary) 0%, #FF5F5F 100%);
  border-radius: var(--df-radius-lg);
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 140px;
  transition: transform var(--df-transition);
}
.df-feat-card:hover { transform: translateY(-3px); color: #fff; }
.df-feat-card::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.df-feat-card.alt-1 { background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%); }
.df-feat-card.alt-2 { background: linear-gradient(135deg, #16A34A 0%, #4ADE80 100%); }
.df-feat-card.alt-3 { background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%); }
.df-feat-card.alt-4 { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); }

.df-feat-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  font-size: 0.6875rem; font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.df-feat-title {
  font-family: var(--df-font-display);
  font-size: 1.125rem; font-weight: 700;
  color: #fff; margin: 0 0 6px;
}
.df-feat-discount {
  font-family: var(--df-font-display);
  font-size: 2rem; font-weight: 800;
  line-height: 1; margin: 4px 0;
}
.df-feat-cta {
  font-size: 0.8125rem; font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  align-self: flex-start;
  position: relative; z-index: 1;
}

/* ----- 10. Categories Strip ----- */
.df-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.df-cat-tile {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius);
  padding: 16px 8px;
  text-align: center;
  transition: all var(--df-transition);
}
.df-cat-tile:hover {
  border-color: var(--df-primary);
  background: var(--df-primary-light);
}
.df-cat-icon {
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  background: var(--df-primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--df-primary);
  font-size: 1.25rem;
}
.df-cat-tile span {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--df-text);
  display: block;
}

/* ----- 11. Coupon List (homepage trending + store page) ----- */
.df-coupon-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.df-coupon {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px; align-items: center;
  transition: all var(--df-transition);
}
.df-coupon:hover {
  border-color: var(--df-primary);
  box-shadow: var(--df-shadow);
}
.df-coupon-logo {
  width: 80px; height: 80px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--df-font-display);
  font-weight: 800; font-size: 0.875rem;
  text-align: center; padding: 4px;
  background: var(--df-bg-muted);
}
.df-coupon-body { min-width: 0; }
.df-coupon-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.df-tag {
  font-size: 0.6875rem; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.df-tag-verified { background: var(--df-success-light); color: var(--df-success); }
.df-tag-exclusive { background: #FEF3C7; color: #B45309; }
.df-tag-new { background: #DBEAFE; color: #1976D2; }
.df-tag-sale { background: #FEE2E2; color: var(--df-primary); }

.df-coupon-title {
  font-family: var(--df-font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--df-secondary);
  margin: 0 0 4px;
}
.df-coupon-desc {
  font-size: 0.8125rem;
  color: var(--df-text-muted);
  margin: 0 0 6px;
}
.df-coupon-meta {
  display: flex; gap: 14px;
  font-size: 0.75rem; color: var(--df-text-light);
}
.df-coupon-meta span::before {
  content: '•'; margin-right: 6px; color: var(--df-text-light);
}
.df-coupon-meta span:first-child::before { content: ''; margin: 0; }

.df-coupon-action {
  display: flex; flex-direction: column;
  gap: 6px; min-width: 150px;
}
.df-coupon-code {
  display: flex; align-items: stretch;
  border: 1.5px dashed var(--df-primary);
  border-radius: var(--df-radius);
  background: #fff;
  font-family: 'Consolas', 'Monaco', monospace;
  font-weight: 700; font-size: 0.875rem;
  cursor: pointer; overflow: hidden;
  transition: background var(--df-transition);
}
.df-coupon-code:hover { background: var(--df-primary-light); }
.df-coupon-code-text {
  flex: 1; padding: 10px 12px;
  color: var(--df-secondary);
  text-align: center;
  letter-spacing: 0.5px;
}
.df-coupon-code-btn {
  background: var(--df-primary); color: #fff;
  padding: 0 14px;
  display: flex; align-items: center;
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.df-coupon-deal {
  display: block; width: 100%;
  background: var(--df-primary); color: #fff;
  border: 0; border-radius: var(--df-radius);
  padding: 10px 14px;
  font-family: inherit; font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  cursor: pointer; text-align: center;
  transition: background var(--df-transition);
}
.df-coupon-deal:hover { background: var(--df-primary-dark); color: #fff; }
.df-coupon-discount {
  font-family: var(--df-font-display);
  font-size: 0.75rem; font-weight: 700;
  color: var(--df-primary);
  text-align: center;
}

/* ----- 12. Store Page Header (Brand Hero) ----- */
.df-brand-hero {
  background: #fff;
  border-bottom: 1px solid var(--df-border);
  padding: 24px 0;
}
.df-brand-hero-inner {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px; align-items: center;
}
.df-brand-hero-logo {
  width: 120px; height: 120px;
  border-radius: var(--df-radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--df-font-display);
  font-weight: 800; font-size: 2rem;
  text-align: center;
  border: 1px solid var(--df-border);
  position: relative;
  overflow: hidden;
}
.df-brand-hero-logo img {
  position: relative;
  z-index: 2;
}
/* When an <img> is rendered next to the fallback span, hide the span */
.df-brand-hero-logo:has(img) .df-brand-hero-fallback {
  display: none;
}
.df-brand-hero-fallback {
  position: relative;
  z-index: 1;
}
.df-brand-hero-info h1 {
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.df-brand-hero-info p {
  margin: 0 0 10px;
  color: var(--df-text-muted);
  font-size: 0.875rem;
}
.df-brand-hero-meta {
  display: flex; gap: 16px;
  font-size: 0.8125rem;
  color: var(--df-text-muted);
  flex-wrap: wrap;
}
.df-brand-hero-meta strong { color: var(--df-secondary); }
.df-brand-hero-cashback {
  text-align: center;
  background: var(--df-success-light);
  padding: 14px 18px;
  border-radius: var(--df-radius-lg);
  border: 1px solid var(--df-success);
}
.df-brand-hero-cashback strong {
  display: block;
  font-family: var(--df-font-display);
  font-size: 1.25rem; color: var(--df-success);
  font-weight: 800;
}
.df-brand-hero-cashback span {
  font-size: 0.6875rem; font-weight: 700;
  color: var(--df-success);
  text-transform: uppercase;
}

/* ----- 13. Tabs ----- */
.df-tabs {
  background: #fff;
  border-bottom: 1px solid var(--df-border);
  display: flex; gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.df-tabs::-webkit-scrollbar { display: none; }
.df-tab {
  padding: 14px 20px;
  font-family: inherit; font-size: 0.875rem; font-weight: 600;
  color: var(--df-text-muted);
  background: none; border: 0; border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: all var(--df-transition);
}
.df-tab:hover { color: var(--df-secondary); }
.df-tab.active {
  color: var(--df-primary);
  border-bottom-color: var(--df-primary);
}
.df-tab-count {
  display: inline-block;
  background: var(--df-bg-muted);
  color: var(--df-text-muted);
  font-size: 0.6875rem; font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}
.df-tab.active .df-tab-count { background: var(--df-primary-light); color: var(--df-primary); }

/* ----- 14. Two-column store layout ----- */
.df-store-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  margin-top: 20px;
}
.df-sidebar {
  display: flex; flex-direction: column; gap: 16px;
}
.df-side-card {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  padding: 16px;
}
.df-side-card h3 {
  font-size: 0.9375rem;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--df-border);
}
.df-side-list { list-style: none; padding: 0; margin: 0; }
.df-side-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--df-border);
  font-size: 0.8125rem;
}
.df-side-list li:last-child { border-bottom: 0; }
.df-side-list a { color: var(--df-text); }
.df-side-list a:hover { color: var(--df-primary); }

/* ----- 15. Content Block (About brand, FAQ, etc.) ----- */
.df-content-block {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  padding: 24px;
  margin-top: 20px;
}
.df-content-block h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--df-primary);
  display: inline-block;
}
.df-content-block h3 {
  font-size: 1rem;
  margin-top: 20px; margin-bottom: 8px;
  color: var(--df-secondary);
}
.df-content-block p,
.df-content-block li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--df-text-muted);
}
.df-content-block ul, .df-content-block ol { margin-bottom: 12px; }
.df-content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.875rem;
}
.df-content-block th, .df-content-block td {
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--df-border);
}
.df-content-block th {
  background: var(--df-bg-muted);
  font-weight: 700;
  color: var(--df-secondary);
}

/* ----- 16. FAQ ----- */
.df-faq-item {
  border-bottom: 1px solid var(--df-border);
}
.df-faq-item:last-child { border-bottom: 0; }
.df-faq-q {
  width: 100%;
  background: none; border: 0;
  padding: 16px 32px 16px 0;
  font-family: var(--df-font-display);
  font-size: 0.9375rem; font-weight: 600;
  text-align: left; color: var(--df-secondary);
  cursor: pointer;
  position: relative;
}
.df-faq-q::after {
  content: '+';
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.25rem; font-weight: 400; color: var(--df-primary);
  transition: transform var(--df-transition);
}
.df-faq-item.open .df-faq-q::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}
.df-faq-a {
  display: none;
  padding: 0 0 16px;
}
.df-faq-item.open .df-faq-a { display: block; }
.df-faq-a p {
  font-size: 0.875rem;
  color: var(--df-text-muted);
  margin: 0 0 8px;
}

/* ----- 17. Steps (How to use) ----- */
.df-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.df-step {
  text-align: center;
  padding: 16px;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  background: var(--df-bg-soft);
}
.df-step-num {
  width: 36px; height: 36px;
  background: var(--df-primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--df-font-display); font-weight: 700; font-size: 1rem;
  margin: 0 auto 10px;
}
.df-step h4 {
  font-size: 0.9375rem;
  margin: 0 0 6px;
}
.df-step p {
  font-size: 0.8125rem;
  margin: 0; color: var(--df-text-muted);
}

/* ----- 18. Breadcrumbs ----- */
.df-breadcrumb {
  font-size: 0.8125rem;
  color: var(--df-text-muted);
  padding: 12px 0;
}
.df-breadcrumb a { color: var(--df-text-muted); }
.df-breadcrumb a:hover { color: var(--df-primary); }
.df-breadcrumb span { margin: 0 6px; color: var(--df-text-light); }

/* ----- 19. Newsletter ----- */
.df-newsletter {
  background: linear-gradient(135deg, var(--df-secondary) 0%, #2d2d3d 100%);
  color: #fff;
  padding: 36px 20px;
  border-radius: var(--df-radius-lg);
  text-align: center;
  margin: 32px 0;
}
.df-newsletter h2 { color: #fff; margin: 0 0 8px; font-size: 1.375rem; }
.df-newsletter p { color: rgba(255,255,255,0.75); margin: 0 0 20px; }
.df-newsletter-form {
  display: flex; gap: 8px;
  max-width: 480px; margin: 0 auto;
}
.df-newsletter-form input {
  flex: 1; padding: 12px 16px;
  font-family: inherit; font-size: 0.875rem;
  border: 0; border-radius: 22px;
  background: rgba(255,255,255,0.95);
}
.df-newsletter-form button {
  padding: 12px 24px;
  background: var(--df-primary); color: #fff;
  border: 0; border-radius: 22px;
  font-family: inherit; font-size: 0.875rem; font-weight: 700;
  cursor: pointer;
}
.df-newsletter-form button:hover { background: var(--df-primary-dark); }

/* ----- 20. Footer ----- */
.df-footer {
  background: var(--df-secondary);
  color: rgba(255,255,255,0.75);
  padding: 36px 0 16px;
  font-size: 0.8125rem;
}
.df-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.df-footer-brand .df-logo { color: #fff; }
.df-footer-brand .df-logo:hover { color: #fff; }
.df-footer-brand p {
  margin: 12px 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.df-footer-social { display: flex; gap: 8px; margin-top: 12px; }
.df-footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--df-transition);
}
.df-footer-social a:hover { background: var(--df-primary); color: #fff; }
.df-footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  margin: 0 0 12px;
  font-family: var(--df-font-display);
}
.df-footer ul { list-style: none; padding: 0; margin: 0; }
.df-footer li { margin-bottom: 8px; }
.df-footer a { color: rgba(255,255,255,0.7); }
.df-footer a:hover { color: #fff; }
.df-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.df-disclosure {
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: var(--df-radius);
  font-size: 0.75rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ----- 21. Modal (reveal code) ----- */
.df-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 16px;
}
.df-modal-overlay.open { display: flex; }
.df-modal {
  background: #fff;
  border-radius: var(--df-radius-lg);
  padding: 28px;
  max-width: 440px; width: 100%;
  text-align: center;
  position: relative;
  animation: modalIn 220ms ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.df-modal-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: 0;
  width: 32px; height: 32px;
  font-size: 1.25rem; cursor: pointer;
  color: var(--df-text-muted);
  border-radius: 50%;
}
.df-modal-close:hover { background: var(--df-bg-muted); }
.df-modal h3 { margin: 0 0 8px; font-size: 1.125rem; }
.df-modal p { font-size: 0.875rem; margin-bottom: 16px; }
.df-modal-code {
  display: flex; align-items: stretch;
  border: 2px dashed var(--df-primary);
  border-radius: var(--df-radius);
  margin: 16px 0;
  font-family: 'Consolas', monospace;
  font-weight: 800; font-size: 1.125rem;
  overflow: hidden;
}
.df-modal-code-text {
  flex: 1; padding: 14px;
  background: var(--df-primary-light);
  letter-spacing: 1px;
  color: var(--df-secondary);
}
.df-modal-code-copy {
  background: var(--df-primary); color: #fff;
  border: 0; padding: 0 18px;
  font-family: inherit; font-weight: 700; font-size: 0.75rem;
  text-transform: uppercase; cursor: pointer;
}
.df-modal-cta {
  background: var(--df-primary); color: #fff;
  display: block; width: 100%;
  padding: 12px;
  border: 0; border-radius: var(--df-radius);
  font-family: inherit; font-size: 0.875rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
}
.df-modal-cta:hover { background: var(--df-primary-dark); color: #fff; }
.df-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--df-secondary); color: #fff;
  padding: 12px 20px; border-radius: var(--df-radius);
  font-size: 0.8125rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: all 220ms ease;
  z-index: 1100;
  box-shadow: var(--df-shadow-lg);
}
.df-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ----- 22. Page heading (article-style pages) ----- */
.df-page-head {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid var(--df-border);
}
.df-page-head h1 { font-size: 1.625rem; margin: 0 0 6px; }
.df-page-head p { margin: 0; color: var(--df-text-muted); }

/* ----- 23. Blog list ----- */
.df-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.df-blog-card {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  overflow: hidden;
  transition: all var(--df-transition);
}
.df-blog-card:hover {
  box-shadow: var(--df-shadow);
  transform: translateY(-2px);
}
.df-blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--df-primary), var(--df-primary-dark));
  position: relative;
  overflow: hidden;
}
.df-blog-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.df-blog-img img[src=""],
.df-blog-img img:not([src]) {
  display: none;
}

/* Post hero featured image (big banner on individual post pages) */
.df-post-hero {
  position: relative;
  padding: 56px 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.df-post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.df-post-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.df-post-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
}
.df-post-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.df-post-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 12px;
}
.df-post-hero-subtitle {
  color: rgba(255,255,255,0.92);
  font-size: 1.0625rem;
  margin: 0 0 16px;
  max-width: 640px;
}
.df-post-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}
.df-blog-body { padding: 16px; }
.df-blog-card h3 {
  font-size: 1rem; margin: 0 0 8px;
  color: var(--df-secondary);
}
.df-blog-card p {
  font-size: 0.8125rem; margin: 0 0 8px;
  color: var(--df-text-muted);
}
.df-blog-meta {
  font-size: 0.75rem; color: var(--df-text-light);
}

/* ----- 24. Trust strip ----- */
.df-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.df-trust-item {
  background: #fff;
  border: 1px solid var(--df-border);
  border-radius: var(--df-radius-lg);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.df-trust-icon {
  width: 36px; height: 36px;
  background: var(--df-primary-light);
  color: var(--df-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.df-trust-text strong {
  display: block;
  font-size: 0.875rem; color: var(--df-secondary);
  margin-bottom: 2px;
}
.df-trust-text span {
  font-size: 0.75rem;
  color: var(--df-text-muted);
}

/* ----- 25. Responsive ----- */
@media (max-width: 960px) {
  .df-store-layout { grid-template-columns: 1fr; }
  .df-sidebar { order: 2; }
  .df-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .df-hero-cards { height: 200px; }
  .df-hero-card { width: 180px; padding: 10px; }
  .df-hero h1 { font-size: 1.625rem; }
  .df-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .df-nav { display: none; }
  .df-menu-toggle { display: flex; }
  .df-utility-left { display: none; }
  .df-coupon { grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; }
  .df-coupon-logo { width: 56px; height: 56px; font-size: 0.6875rem; }
  .df-coupon-action {
    grid-column: 1 / -1; min-width: 0;
    flex-direction: row; align-items: stretch;
  }
  .df-coupon-action .df-coupon-code,
  .df-coupon-action .df-coupon-deal { flex: 1; }
  .df-brand-hero-inner { grid-template-columns: 80px 1fr; gap: 14px; }
  .df-brand-hero-logo { width: 80px; height: 80px; font-size: 1.25rem; }
  .df-brand-hero-cashback {
    grid-column: 1 / -1;
    display: flex; gap: 10px; align-items: center; justify-content: center;
    padding: 10px;
  }
  .df-brand-hero-cashback strong { font-size: 1rem; }
  .df-brand-hero-info h1 { font-size: 1.25rem; }
  .df-newsletter-form { flex-direction: column; }
  .df-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .df-footer-bottom { justify-content: center; text-align: center; }
  h1 { font-size: 1.375rem; }
}

@media (max-width: 480px) {
  .df-footer-grid { grid-template-columns: 1fr; }
  .df-stores-grid { grid-template-columns: repeat(2, 1fr); }
  .df-cats-grid { grid-template-columns: repeat(3, 1fr); }
  .df-hero-cards { display: none; }
}

/* Mobile menu open state */
.df-mobile-menu {
  display: none;
  position: fixed; top: var(--df-header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--df-border);
  box-shadow: var(--df-shadow);
  padding: 16px;
  z-index: 99;
}
.df-mobile-menu.open { display: block; }
.df-mobile-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9375rem; font-weight: 500;
  color: var(--df-text);
  border-radius: var(--df-radius);
}
.df-mobile-menu a:hover { background: var(--df-bg-muted); color: var(--df-primary); }
