/* ─── Snag Deals — Main Stylesheet ─────────────────────────────────────────── */

/* ─── CSS Variables — Light Mode ─────────────────────────────────────────── */
:root {
  /* Brand */
  --brand:        #e85d30;
  --brand-dark:   #c44a1f;
  --brand-light:  #fff0eb;

  /* Surfaces */
  --bg:           #ffffff;
  --bg-alt:       #f8f6f3;
  --bg-card:      #ffffff;
  --bg-input:     #f5f3f0;

  /* Text */
  --text:         #1a1a1a;
  --text-2:       #555555;
  --text-3:       #888888;
  --text-inv:     #ffffff;

  /* Borders */
  --border:       rgba(0,0,0,0.08);
  --border-strong:rgba(0,0,0,0.18);

  /* Semantic — psychology-driven colours */
  --urgent:       #dc2626;   /* Red — urgency, scarcity */
  --urgent-bg:    #fef2f2;
  --success:      #16a34a;   /* Green — savings confirmed */
  --success-bg:   #f0fdf4;
  --warning:      #d97706;   /* Amber — "almost gone" */
  --warning-bg:   #fffbeb;
  --info:         #2563eb;
  --info-bg:      #eff6ff;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.10);

  /* Layout */
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --container:    1200px;
  --header-h:     64px;

  /* Typography */
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', monospace;
}

/* ─── Dark Mode ──────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:           #111111;
  --bg-alt:       #1a1a1a;
  --bg-card:      #1e1e1e;
  --bg-input:     #2a2a2a;

  --text:         #f0f0f0;
  --text-2:       #a0a0a0;
  --text-3:       #666666;
  --text-inv:     #111111;

  --border:       rgba(255,255,255,0.08);
  --border-strong:rgba(255,255,255,0.18);

  --urgent-bg:    #2d1414;
  --success-bg:   #0f2d1a;
  --warning-bg:   #2d2005;
  --info-bg:      #0f1e3a;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.5);

  --brand-light:  #2d1a0f;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background 0.2s, color 0.2s;
}

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

img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.main-content { min-height: calc(100vh - var(--header-h) - 280px); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; line-height: 1;
  border: 1.5px solid transparent;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }

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

.btn-outline  { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--bg-alt); color: var(--text); }

.btn-ghost    { background: transparent; color: var(--text-2); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }

.btn-sm  { padding: 6px 12px; font-size: 13px; }
.btn-lg  { padding: 13px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Flash messages ─────────────────────────────────────────────────────── */
.flash {
  padding: 12px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; margin: 12px 0;
}
.flash-success { background: var(--success-bg); color: var(--success); }
.flash-error   { background: var(--urgent-bg);  color: var(--urgent); }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
}
.site-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 600; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }
.logo-icon { font-size: 22px; line-height: 1; }
.logo-text strong { color: var(--brand); }

.main-nav { display: flex; gap: 4px; }
.nav-link {
  padding: 6px 12px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; color: var(--text-2);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.nav-link:hover, .nav-link.active { background: var(--bg-alt); color: var(--text); text-decoration: none; }

.header-search { flex: 1; max-width: 340px; }
.search-form { display: flex; align-items: center; gap: 0; }
.search-input {
  flex: 1; padding: 8px 14px; border-radius: var(--radius-md) 0 0 var(--radius-md);
  border: 1.5px solid var(--border-strong); border-right: none;
  background: var(--bg-input); color: var(--text); font-size: 14px;
  outline: none; transition: border-color 0.15s;
}
.search-input:focus { border-color: var(--brand); }
.search-btn {
  padding: 8px 14px; background: var(--brand); color: #fff;
  border: 1.5px solid var(--brand); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: flex; align-items: center;
}
.search-btn:hover { background: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.theme-toggle {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-input); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--text); }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"]  .sun-icon  { display: none; }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s; }
.mobile-menu { display: none; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 20px; gap: 4px; }
.mobile-menu a { padding: 10px 12px; border-radius: var(--radius-md); color: var(--text); font-size: 15px; }
.mobile-menu a:hover { background: var(--bg-alt); }
.mobile-menu hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.mobile-menu.open { display: flex; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--bg) 60%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 680px; }
.hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero h1 .highlight { color: var(--brand); }
.hero-sub { font-size: 18px; color: var(--text-2); margin-bottom: 28px; }
.hero-search-form { display: flex; gap: 0; max-width: 560px; margin-bottom: 20px; }
.hero-search-input {
  flex: 1; padding: 14px 18px; font-size: 15px;
  border: 2px solid var(--border-strong); border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--bg-card); color: var(--text); outline: none;
}
.hero-search-input:focus { border-color: var(--brand); }
.hero-search-form .btn { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.hero-stats { display: flex; gap: 24px; font-size: 14px; color: var(--text-2); }
.hero-stats strong { color: var(--text); }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-size: 22px; font-weight: 600; }
.see-all { font-size: 14px; color: var(--brand); font-weight: 500; }
.see-all:hover { text-decoration: underline; }

/* ─── Urgency section ────────────────────────────────────────────────────── */
.section-urgent { background: var(--urgent-bg); }
.urgent-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--urgent); border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  margin-right: 8px;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }

/* ─── Coupon grid ────────────────────────────────────────────────────────── */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.coupon-grid--3col { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ─── Coupon card ────────────────────────────────────────────────────────── */
.coupon-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  box-shadow: var(--shadow-sm);
}
.coupon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.coupon-card--urgent { border-color: rgba(220,38,38,0.3); }

.coupon-card__header { display: flex; align-items: center; gap: 10px; }
.coupon-card__logo { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--border); }
.coupon-card__logo-placeholder {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.coupon-card__merchant { flex: 1; min-width: 0; }
.coupon-card__merchant-name { display: block; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coupon-card__category { font-size: 11px; color: var(--text-3); }

/* Anchoring — show discount prominently */
.coupon-card__discount {
  background: var(--success-bg); color: var(--success);
  font-weight: 700; font-size: 14px;
  padding: 4px 9px; border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.coupon-card__body { flex: 1; }
.coupon-card__desc { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* Urgency — expiry indicator */
.coupon-card__expiry { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--urgent); font-weight: 500; }
.expiry-dot { width: 6px; height: 6px; background: var(--urgent); border-radius: 50%; flex-shrink: 0; }

.coupon-card__footer { display: flex; align-items: center; gap: 8px; }
.coupon-card__code-wrap { flex: 1; }

/* Progressive disclosure — hide code until click */
.coupon-card__reveal-btn {
  width: 100%; padding: 9px; border-radius: var(--radius-md);
  border: 2px dashed var(--brand);
  background: var(--brand-light); color: var(--brand);
  font-weight: 600; font-size: 13px;
  transition: background 0.15s;
}
.coupon-card__reveal-btn:hover { background: var(--brand); color: #fff; }

.coupon-card__code-revealed {
  display: flex; align-items: center; gap: 8px;
}
.coupon-code-text {
  flex: 1; padding: 8px 12px;
  background: var(--bg-input); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; color: var(--text);
}
.copy-btn {
  padding: 8px 12px; background: var(--bg-alt);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 12px; color: var(--text-2);
}
.copy-btn:hover { background: var(--success-bg); color: var(--success); border-color: var(--success); }

.coupon-card__save-btn {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-input); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.15s, color 0.15s;
}
.coupon-card__save-btn:hover { background: var(--brand-light); color: var(--brand); border-color: var(--brand); }
.coupon-card__save-btn.saved { background: var(--brand-light); color: var(--brand); border-color: var(--brand); }

/* ─── Merchant grid ──────────────────────────────────────────────────────── */
.merchant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.merchant-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px; background: var(--bg-card);
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  text-decoration: none; transition: box-shadow 0.15s, transform 0.15s;
}
.merchant-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.merchant-logo { width: 48px; height: 48px; object-fit: contain; }
.merchant-logo-placeholder {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px;
}
.merchant-name { font-size: 12px; font-weight: 500; color: var(--text); text-align: center; }

/* ─── CTA section ────────────────────────────────────────────────────────── */
.section-cta { background: var(--brand); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.cta-text h2 { font-size: 28px; font-weight: 700; color: #fff; }
.cta-text p  { color: rgba(255,255,255,0.8); margin-top: 8px; }
.cta-form { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-form input[type="email"] {
  padding: 13px 18px; border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1);
  color: #fff; font-size: 15px; outline: none; min-width: 260px;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form input:focus { border-color: rgba(255,255,255,0.7); }
.cta-form .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.cta-form .btn-primary:hover { background: #f0f0f0; }
.cta-msg { color: rgba(255,255,255,0.85); font-size: 13px; margin-top: 8px; }

/* ─── Page hero (small) ──────────────────────────────────────────────────── */
.page-hero { background: var(--bg-alt); padding: 36px 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 28px; font-weight: 700; }
.page-hero p  { color: var(--text-2); margin-top: 6px; }
.page-hero--small { padding: 28px 0; }

/* ─── Sidebar layout ─────────────────────────────────────────────────────── */
.layout-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
.filters-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.filter-group { margin-bottom: 16px; }
.filter-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.filter-input {
  width: 100%; padding: 9px 12px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong); background: var(--bg-input);
  color: var(--text); font-size: 14px; outline: none;
}
.filter-input:focus { border-color: var(--brand); }

/* ─── Auth pages ─────────────────────────────────────────────────────────── */
.auth-page { display: flex; align-items: center; justify-content: center; padding: 48px 20px; min-height: 70vh; }
.auth-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.auth-logo { font-size: 18px; margin-bottom: 24px; }
.auth-logo a { color: var(--text); text-decoration: none; }
.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.form-group input {
  padding: 11px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong); background: var(--bg-input);
  color: var(--text); font-size: 15px; outline: none;
}
.form-group input:focus { border-color: var(--brand); }
.label-hint { font-weight: 400; color: var(--text-3); }
.auth-terms { font-size: 12px; color: var(--text-3); text-align: center; }
.auth-switch { text-align: center; font-size: 14px; color: var(--text-2); margin-top: 20px; }

/* ─── Account page ───────────────────────────────────────────────────────── */
.account-header { padding: 36px 0 24px; }
.account-header h1 { font-size: 28px; font-weight: 700; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--brand); }
.stat-label { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.stat-card--blue .stat-num  { color: var(--info); }
.stat-card--green .stat-num { color: var(--success); }
.stat-card--orange .stat-num{ color: var(--brand); }
.stat-card--purple .stat-num{ color: #7c3aed; }
.account-section { margin-bottom: 40px; }
.account-section h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.saved-deals-list { display: flex; flex-direction: column; gap: 10px; }
.saved-deal-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); }
.saved-deal-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.saved-deal-info strong { font-size: 14px; }
.saved-deal-info span { font-size: 12px; color: var(--text-2); }
.coupon-code { font-family: var(--font-mono); background: var(--bg-input); padding: 4px 10px; border-radius: var(--radius-sm); font-size: 13px; }
.badge { padding: 3px 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; }
.badge-discount { background: var(--success-bg); color: var(--success); }
.alert-form { display: flex; gap: 10px; margin-bottom: 16px; }
.alerts-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.alerts-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); font-size: 14px; }

/* ─── Admin ──────────────────────────────────────────────────────────────── */
.admin-header { padding: 36px 0 24px; }
.admin-header h1 { font-size: 28px; font-weight: 700; }
.admin-actions { margin-bottom: 32px; }
.admin-actions h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.action-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px; background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); text-decoration: none; color: var(--text);
  font-size: 14px; font-weight: 500; transition: box-shadow 0.15s, transform 0.15s;
}
.action-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.action-card--btn { cursor: pointer; }
.action-icon { font-size: 28px; }
.admin-cache-info { margin-top: 32px; }
.admin-cache-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.code-block { background: var(--bg-input); padding: 16px; border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 13px; overflow-x: auto; }

/* ─── Error page ─────────────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 80px 20px; }
.error-emoji { font-size: 64px; margin-bottom: 16px; }
.error-page h1 { font-size: 64px; font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.error-page p { font-size: 18px; color: var(--text-2); margin-bottom: 32px; }
.error-page .btn { margin: 0 6px; }

/* ─── Newsletter form ────────────────────────────────────────────────────── */
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-input { flex: 1; padding: 9px 14px; border-radius: var(--radius-md); border: 1.5px solid var(--border-strong); background: var(--bg-input); color: var(--text); font-size: 14px; outline: none; }
.newsletter-note { font-size: 12px; color: var(--success); margin-top: 6px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 0; margin-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-2); margin-top: 12px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.footer-col a:hover { color: var(--brand); }
.footer-newsletter h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.footer-newsletter p { font-size: 13px; color: var(--text-2); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.affiliate-disclosure { font-size: 12px; }

/* ─── Misc helpers ───────────────────────────────────────────────────────── */
.text-muted { color: var(--text-2); }
.empty-state { padding: 40px; text-align: center; color: var(--text-2); background: var(--bg-alt); border-radius: var(--radius-lg); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .mobile-menu-toggle { display: flex; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; gap: 24px; }
  .hero-search-form { flex-direction: column; }
  .hero-search-form .search-input,
  .hero-search-form .btn { border-radius: var(--radius-lg); border: 2px solid var(--border-strong); }
  .hero-search-form .btn { border-color: var(--brand); }
}

@media (max-width: 600px) {
  .header-actions .btn-ghost { display: none; }
  .coupon-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom .container { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr; }
}
