/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
  font-size: 20px;
  --primary: #055332;
  --primary-dark: #055332;
  --accent: #fde24e;
  --accent-hover: #f5d820;
  --bg: #ffffff;
  --bg-warm: #ffffff;
  --bg-light: #f8f9fa;
  --text: #055332;
  --text-light: #6c757d;
  --text-white: #ffffff;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(46, 64, 87, 0.08);
  --shadow-lg: 0 8px 30px rgba(46, 64, 87, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* ===== BASE ===== */
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

.section {
  padding: 60px 0;
}
.section-alt {
  background: var(--bg-warm);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-header .view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.section-header .view-all:hover {
  color: var(--primary-dark);
}

/* ===== HEADER ===== */
.main-header {
  background: var(--bg-warm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.logo-text span {
  color: var(--accent);
}
.logo-img {
  height: 42px;          /* big wordmark logo */
  width: auto;
  display: block;
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: var(--bg-light);
}
.header-search input::placeholder {
  color: #999;
}
.header-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-actions .btn {
  padding: 8px 18px;
  font-size: 0.85rem;
}
.header-actions .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.header-actions .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
}

/* ===== HERO ===== */
.hero-section {
  background: var(--bg-warm);
  padding: 40px 0;
}

/* ── TOP HERO BANNER ── */
.hero-banner {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
  width: 100%;
  aspect-ratio: 16 / 5;     /* wide landscape billboard */
  max-height: 360px;         /* cap height on desktop */
}

/* Banner fills the whole hero slide, edge to edge, no gaps */
.hero-cover {
  position: relative;
  display: block;
  line-height: 0;
  height: 100%;
}
.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill the area completely (crops overflow) */
  display: block;
}
.hero-cover-text {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.25);
}
/* Branded fallback panel when a store has no real banner image
   (green gradient + centered store name). Never a broken/empty slide. */
.hero-cover.hero-cover-text-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 140% at 50% 0%, #0a7a4a 0%, var(--primary) 55%, #033d24 100%);
  background-color: var(--primary);
}
.hero-cover.hero-cover-text-slide .hero-cover-text {
  padding: 0 24px;
  max-width: 90%;
}

/* Hero slider mechanics */
.hero-slides {
  position: relative;
  height: 100%;             /* fill the bounded .hero-banner height */
}
.hero-slide {
  display: block;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
/* dots sit below the slides */
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.hero-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(46, 64, 87, 0.25);
  cursor: pointer;
  transition: all 0.25s;
}
.hero-dots .dot.active {
  width: 22px;
  border-radius: 6px;
  background: var(--primary);
}
@media (max-width: 992px) {
  .hero-cover { min-height: 220px; }
}

/* ── 2. YOUR FAVOURITE STORES CARD ── */
.fav-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}
.fav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.fav-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fav-accent {
  width: 5px;
  height: 26px;
  border-radius: 4px;
  background: var(--accent);
}
.fav-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}
.fav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.fav-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.fav-tab i {
  font-size: 0.8rem;
  opacity: 0.85;
}
.fav-tab:hover {
  color: var(--primary);
  background: var(--bg-warm);
}
.fav-tab.active {
  color: #fff;
  background: var(--primary);
}
.fav-tab.active i {
  opacity: 1;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}
@media (min-width: 640px) {
  .fav-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .fav-grid { grid-template-columns: repeat(8, 1fr); }
}
.store-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden; /* footer snaps flush to bottom corners */
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  /* soft resting shadow + a faint top highlight for a polished feel */
  box-shadow: 0 1px 2px rgba(46, 64, 87, 0.04), 0 4px 14px rgba(46, 64, 87, 0.06);
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46, 64, 87, 0.16);
  border-color: rgba(46, 64, 87, 0.25);
}
.store-card-logo {
  flex: 0 0 auto;
  min-height: 88px;
  display: block;
  padding: 22px 24px;
  background: #fff;
}
.store-card-logo img {
  width: 100%;          /* logos are wide horizontal strips -> fill card width */
  height: auto;
  max-height: 130px;
  object-fit: contain;
  display: block;
}
.store-card-logo i {
  font-size: 3.4rem;
  color: var(--primary);
  display: block;
  text-align: center;
}
.store-card-footer {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 9px 8px;
  margin-top: auto; /* pin to bottom edge */
}

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 992px) {
  .fav-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .hero-cover-text { font-size: 1.5rem; }
}

/* ===== SEASONAL SALES OF THE YEAR ===== */
.seasonal-section {
  background: #0F172A;            /* dark navy/charcoal base */
  background-image:
    radial-gradient(circle at 15% 20%, rgba(253, 226, 78, 0.10), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(253, 226, 78, 0.08), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06), transparent 50%); /* subtle festive bokeh */
  padding: 48px 0;
}
.seasonal-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}
.seasonal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.seasonal-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}
.seasonal-accent {
  width: 5px;
  height: 42px;
  background: var(--accent);     /* vertical yellow accent bar */
  border-radius: 3px;
  flex-shrink: 0;
}
.seasonal-title {
  color: #fff;
  font-size: 1.75rem;             /* text-3xl-ish */
  font-weight: 700;
  line-height: 1.2;
}
.seasonal-subtitle {
  color: #cbd5e1;                 /* text-slate-300 */
  font-size: 0.875rem;           /* text-sm */
  margin-top: 4px;
}
.seasonal-viewall {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  border-radius: 9999px;          /* rounded-full */
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.seasonal-viewall:hover {
  background: #fff;
  color: #000;
}

/* 3-card grid */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.seasonal-card {
  background: #fff;
  border-radius: 12px;            /* rounded-xl */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);  /* shadow-lg */
  overflow: hidden;
  padding: 12px;                 /* p-3 */
}
.seasonal-card-imgwrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 10px;           /* rounded-lg */
  overflow: hidden;
}
.seasonal-card-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.seasonal-comingsoon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 8px 0;
  color: #6b7280;                /* gray-500 */
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-top: 1px dashed #e5e7eb;
}
@media (max-width: 900px) {
  .seasonal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
  .seasonal-header { flex-direction: column; align-items: flex-start; }
}

/* ===== LIVE DATA (API-driven) ===== */
.store-icon img {
  max-height: 40px;          /* max-h-10 uniform scale */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-fallback,
.store-icon-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto;
}
.fav-grid-skeleton {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}
.btn.copied {
  background: var(--accent);
  color: var(--primary);
}

/* ===== BEST COUPONS OFFERED ===== */
.best-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); /* rounded-2xl */
  box-shadow: var(--shadow);
  padding: 32px; /* p-8 */
}
.best-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.best-accent {
  width: 5px;
  height: 44px;
  border-radius: 4px;
  background: var(--accent);
  flex-shrink: 0;
}
.best-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.best-subtitle {
  font-size: 0.88rem;
  color: var(--text-light); /* text-gray-500 */
  line-height: 1.5;
  max-width: 760px;
}

.best-body {
  display: grid;
  grid-template-columns: 20% 80%; /* sidebar ~20% / grid ~80% */
  gap: 20px;
}

/* Left vertical nav */
.best-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.best-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
  white-space: nowrap;
}
.best-nav-item i:first-child { width: 16px; text-align: center; }
.best-nav-item span { flex: 1; }
.best-ribbon {
  font-size: 0.65rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.best-nav-item:hover {
  background: var(--bg-warm);
  color: var(--primary);
}
.best-nav-item.active {
  background: var(--accent); /* bg-yellow-400 */
  color: #111;
  font-weight: 700;
}
.best-nav-item.active .best-ribbon { opacity: 1; }

/* Right grid */
.best-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* lg */
  gap: 16px;
}
.best-coupon {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.best-coupon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(46, 64, 87, 0.1);
  border-color: var(--primary);
}
.best-coupon-img {
  display: flex;
  height: 80px;
}
.best-coupon-img .logo-half {
  width: 40%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  padding: 8px;
}
.best-coupon-img .logo-half img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
}
.best-coupon-img .cover-half {
  width: 60%;
  background-size: cover;
  background-position: center;
}
.best-coupon-body {
  padding: 12px 12px 14px;
  flex: 1;
}
.best-coupon-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4em; /* keep card heights even */
}
.best-codebox {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
}
.best-code-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #d2b53a;
  border-radius: 8px;
  padding: 6px 8px;
}
.best-code-text {
  flex: 1;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-yellow {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-yellow:hover { background: var(--accent-hover); }
.btn-yellow.copied { background: var(--primary); color: #fff; }

/* Best coupons responsive */
@media (max-width: 992px) {
  .best-body { grid-template-columns: 1fr; }
  .best-nav { flex-direction: row; flex-wrap: wrap; }
  .best-nav-item span { flex: none; }
  .best-ribbon { display: none; }
  .best-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .best-card { padding: 18px 16px; }
  .best-grid { grid-template-columns: 1fr; }
}

/* ===== POPULAR STORES (legacy trending grid) ===== */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.trending-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.trending-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.trending-card .store-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.trending-card .store-name {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.trending-card .store-offer {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ===== STORE CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.2s;
}
.category-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-card .cat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.category-card .cat-name {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== COUPON / DEAL CARDS ===== */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.deal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.deal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.deal-card-image {
  height: 160px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-light);
  position: relative;
}
.deal-card-image .deal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.deal-card-body {
  padding: 16px;
}
.deal-card-body .store-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.deal-card-body .store-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
}
.deal-card-body .store-name-sm {
  font-size: 0.8rem;
  font-weight: 600;
}
.deal-card-body .deal-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}
.deal-card-body .deal-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.deal-card-body .deal-expiry {
  font-size: 0.7rem;
  color: var(--text-light);
}
.deal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.deal-card-footer .btn {
  flex: 1;
  padding: 8px;
  font-size: 0.8rem;
}

/* ===== STATS / STEPS ===== */
.stats-section {
  background: var(--primary);
  color: var(--text-white);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-item .stat-number .accent {
  color: var(--accent);
}
.stat-item .stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.steps-section {
  background: var(--bg-warm);
  padding: 60px 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
}
.step-card .step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--bg-warm);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
}
.why-card .why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}
.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col .footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
}
.footer-col .footer-logo span {
  color: var(--accent);
}
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
  .header-search { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-main { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; flex: 1 1 100%; }
  .header-actions .btn-outline { display: none; }
  .trending-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .deals-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .header-actions .btn { padding: 6px 12px; font-size: 0.8rem; }
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .container { padding: 0 14px; }
}
