/* ============================================
   DealNario.tech — Main Stylesheet
   ============================================ */

:root {
  --primary: #FC4600;
  --primary-dark: #E03D00;
  --primary-light: #FFF0E8;
  --dark: #1A1A1A;
  --heading: #18181B;
  --body-text: #52525B;
  --muted: #8A8A8E;
  --bg: #FFFFFF;
  --section-bg: #FAFAFA;
  --card: #FFFFFF;
  --border: #E5E5E5;
  --success: #16A34A;
  --danger: #DC2626;
  --amber: #F5A623;

  --tint-fashion: #FCE7EE;
  --tint-electronics: #E0EAFB;
  --tint-home: #E0F3EC;
  --tint-beauty: #FDE6E6;
  --tint-travel: #E5F2FB;
  --tint-food: #FFF1D9;
  --tint-sports: #E6F4F7;
  --tint-books: #F1ECFB;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-glow: 0 12px 32px rgba(252, 70, 0, 0.18);
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--section-bg); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-header .eyebrow {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-header p { color: var(--muted); margin-top: 8px; max-width: 600px; }

.link-arrow {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.link-arrow:hover { gap: 12px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(252, 70, 0, 0.25);
}
.btn-dark {
  background: var(--dark);
  color: var(--bg);
}
.btn-dark:hover { background: var(--heading); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--heading);
}
.btn-outline:hover { border-color: var(--heading); }
.btn-white {
  background: var(--bg);
  color: var(--primary);
}
.btn-white:hover { background: var(--primary-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo .deal { color: var(--heading); }
.logo .nario { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .main-nav .nav-item {
  padding: 10px 14px;
  color: var(--heading);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a:hover, .main-nav .nav-item:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.main-nav .nav-item .arrow { font-size: 0.7rem; opacity: 0.6; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 10;
}
.nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--heading);
  transition: background var(--transition);
}
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown a .ico { font-size: 1.1rem; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--heading);
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.hamburger { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--heading);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .sub { padding-left: 16px; font-size: 0.95rem; font-weight: 500; color: var(--muted); }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px;
  backdrop-filter: blur(4px);
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
  background: var(--bg);
  width: 100%;
  max-width: 700px;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.search-overlay-inner input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.1rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-overlay-inner input:focus { border-color: var(--primary); }
.search-overlay-results { margin-top: 16px; max-height: 400px; overflow-y: auto; }
.search-result-item {
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.search-result-item:hover { background: var(--primary-light); }
.search-result-item .ico {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-light);
  filter: blur(60px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-blob.b1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.hero-bg-blob.b2 { width: 300px; height: 300px; top: 100px; right: -50px; }
.hero-bg-blob.b3 { width: 250px; height: 250px; bottom: -50px; left: 30%; }

.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--primary); position: relative; }
.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-search {
  max-width: 760px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  padding: 14px 0;
  background: transparent;
  color: var(--heading);
}
.hero-search .btn { padding: 14px 28px; }

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 36px;
}
.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--heading);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

/* Activity ticker */
.ticker {
  margin-top: 36px;
  background: var(--primary-light);
  border-radius: 999px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  position: relative;
}
.ticker-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  animation: pulse 1.6s ease-in-out infinite;
}
.ticker-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.3;
  animation: pulse-ring 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(2.5); opacity: 0; }
}
.ticker-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: 0.9rem;
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker-item .emoji { font-size: 1.1rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   TRUST STATS STRIP
   ============================================ */
.trust-stats {
  background: var(--section-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.trust-stat .label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================
   FEATURED STORES MARQUEE
   ============================================ */
.marquee-section { padding: 60px 0; overflow: hidden; }
.marquee-head { text-align: center; margin-bottom: 36px; }
.marquee-head .eyebrow {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.marquee-head h2 { font-size: 1.75rem; }

.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.store-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 130px;
  transition: all var(--transition);
  cursor: pointer;
}
.store-tile:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.store-tile-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--bg);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.store-tile-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  text-align: center;
  white-space: nowrap;
}
.store-tile-count {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--bg);
}
.cat-card h3 { font-size: 1.15rem; z-index: 1; }
.cat-card .meta { color: var(--muted); font-size: 0.85rem; z-index: 1; }
.cat-card .arrow-link {
  margin-top: auto;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}
.cat-card:hover .arrow-link { color: var(--primary); }

.cat-card.tint-fashion { background: var(--tint-fashion); }
.cat-card.tint-electronics { background: var(--tint-electronics); }
.cat-card.tint-home { background: var(--tint-home); }
.cat-card.tint-beauty { background: var(--tint-beauty); }
.cat-card.tint-travel { background: var(--tint-travel); }
.cat-card.tint-food { background: var(--tint-food); }
.cat-card.tint-sports { background: var(--tint-sports); }
.cat-card.tint-books { background: var(--tint-books); }

/* ============================================
   COUPON CARD
   ============================================ */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.coupon-grid.single-col {
  grid-template-columns: 1fr;
}
.coupon-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
  align-items: center;
}
.coupon-card .coupon-store-logo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px;
}
.coupon-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.coupon-ribbon {
  position: absolute;
  top: 35px;
  left: -38px;
  transform: rotate(-45deg);
  background: var(--primary);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 40px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.coupon-ribbon.hidden { display: none; }

.coupon-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.coupon-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--heading);
  line-height: 1.35;
}
.coupon-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--section-bg);
  color: var(--muted);
}
.badge.verified { background: rgba(22, 163, 74, 0.1); color: var(--success); }
.badge.featured { background: rgba(245, 166, 35, 0.12); color: var(--amber); }
.badge.category { background: var(--primary-light); color: var(--primary); }
.coupon-uses { font-size: 0.8rem; color: var(--muted); }

.coupon-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.code-preview {
  flex: 1;
  padding: 10px 16px;
  background: var(--section-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--heading);
  text-align: center;
  font-size: 0.9rem;
}
.code-preview.revealed {
  background: rgba(22, 163, 74, 0.08);
  border-color: var(--success);
  border-style: solid;
  color: var(--success);
}
.coupon-action .btn { padding: 10px 20px; }
.copy-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--success);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}
.copy-feedback.show { opacity: 1; }

/* ============================================
   STORE CARD
   ============================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.store-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.store-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.store-card .store-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.store-card h3 {
  font-size: 1.05rem;
  margin: 4px 0;
}
.store-card .cat-pill {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--section-bg);
  padding: 3px 10px;
  border-radius: 999px;
}
.store-card .coupons-count {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}
.store-card .btn { margin-top: 6px; padding: 8px 18px; font-size: 0.85rem; }

/* ============================================
   EDITOR'S PICKS (Asymmetric)
   ============================================ */
.editors-picks {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.deal-spotlight {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-size: cover;
  background-position: center;
}
.deal-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 1;
}
.deal-spotlight > * { position: relative; z-index: 2; }
.deal-spotlight .spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  width: fit-content;
}
.deal-spotlight h3 {
  color: var(--bg);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.deal-spotlight p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.deal-spotlight .deal-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.deal-spotlight .deal-stats > div .n {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg);
  display: block;
}
.deal-spotlight .deal-stats > div .l {
  font-size: 0.8rem;
  opacity: 0.8;
}

.compact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compact-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  align-items: center;
}
.compact-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateX(4px);
}
.compact-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.compact-content { flex: 1; min-width: 0; }
.compact-content .tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.compact-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  margin: 4px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.compact-content .meta { font-size: 0.8rem; color: var(--muted); }

/* ============================================
   BLOG CARD
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--tint-electronics));
  position: relative;
  overflow: hidden;
}
.blog-card-img-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.6;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card-body .cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}
.blog-card-body h3 {
  font-size: 1.1rem;
  line-height: 1.35;
}
.blog-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
.blog-card-meta .author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card-meta .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================
   HOW IT WORKS (Timeline)
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  position: relative;
  margin-top: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background-image: linear-gradient(to right, var(--border) 50%, transparent 50%);
  background-size: 14px 2px;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-ico {
  width: 80px;
  height: 80px;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  position: relative;
  box-shadow: 0 0 0 8px var(--section-bg);
}
.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============================================
   WHY TRUST US (2x2 grid)
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.trust-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.trust-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.trust-icon.tint-green { background: rgba(22, 163, 74, 0.1); color: var(--success); }
.trust-icon.tint-orange { background: var(--primary-light); color: var(--primary); }
.trust-icon.tint-blue { background: var(--tint-electronics); color: #2563EB; }
.trust-icon.tint-amber { background: rgba(245, 166, 35, 0.12); color: var(--amber); }
.trust-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.trust-card p { color: var(--muted); font-size: 0.9rem; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: var(--dark);
  color: var(--bg);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--primary);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(40px);
}
.newsletter h2 {
  color: var(--bg);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  background: var(--bg);
  padding: 6px;
  border-radius: 999px;
}
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 0.95rem;
  background: transparent;
  color: var(--heading);
}
.newsletter-form .btn { padding: 12px 24px; }
.newsletter-success {
  display: none;
  background: var(--success);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 16px;
}
.newsletter-success.show { display: block; }

.newsletter-illu {
  position: relative;
  height: 240px;
}
.newsletter-illu .float {
  position: absolute;
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.18;
  animation: float 6s ease-in-out infinite;
}
.newsletter-illu .float.f1 { top: 10%; left: 10%; font-size: 4rem; animation-delay: 0s; }
.newsletter-illu .float.f2 { top: 40%; left: 60%; font-size: 3rem; animation-delay: 1.2s; }
.newsletter-illu .float.f3 { top: 70%; left: 20%; font-size: 2.5rem; animation-delay: 2.4s; }
.newsletter-illu .float.f4 { top: 20%; left: 80%; font-size: 3.5rem; animation-delay: 0.6s; }
.newsletter-illu .float.f5 { top: 60%; left: 70%; font-size: 2rem; animation-delay: 1.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--bg); margin-bottom: 16px; }
.footer-brand .logo .deal { color: var(--bg); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.footer-col h4 {
  color: var(--bg);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  background: var(--section-bg);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--heading); font-weight: 500; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.page-banner .desc { color: var(--muted); max-width: 700px; font-size: 1.05rem; }

.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--heading);
}
.stat-chip .num { color: var(--primary); font-weight: 700; }

/* ============================================
   A-Z INDEX
   ============================================ */
.az-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 32px 0;
}
.az-letter {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
  cursor: pointer;
  transition: all var(--transition);
}
.az-letter:hover { border-color: var(--primary); color: var(--primary); }
.az-letter.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.az-letter.disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover { background: var(--section-bg); color: var(--heading); }
.filter-tab.active {
  background: var(--primary);
  color: var(--bg);
}
.filter-tab .count {
  background: rgba(255,255,255,0.25);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-left: 4px;
}
.filter-tab:not(.active) .count {
  background: var(--section-bg);
  color: var(--muted);
}
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--heading);
  cursor: pointer;
  outline: none;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn.icon { width: 40px; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--section-bg);
  border-radius: var(--radius-lg);
}
.empty-state .ico {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state h3 { font-size: 1.4rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ============================================
   STORE SINGLE PAGE
   ============================================ */
.store-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 64px 0;
  color: var(--bg);
}
.store-hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.store-hero-logo {
  width: 120px;
  height: 120px;
  background: var(--bg);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}
.store-hero-content { flex: 1; min-width: 280px; }
.store-hero h1 { color: var(--bg); font-size: 2.25rem; margin-bottom: 8px; }
.store-hero .tagline { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.store-hero .stat-chips .stat-chip {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
  color: var(--bg);
}
.store-hero .stat-chip .num { color: var(--bg); }

.store-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 40px;
}
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.widget h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.widget li:last-child { border-bottom: none; }
.widget li a { color: var(--heading); transition: color var(--transition); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.widget li a:hover { color: var(--primary); }
.widget .num { color: var(--muted); font-size: 0.8rem; }

/* About store block */
.about-store {
  background: var(--section-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.about-store-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}
.about-store h2 { margin-bottom: 16px; }
.about-store p { color: var(--body-text); margin-bottom: 12px; line-height: 1.7; }

/* FAQ Accordion */
.faq { margin-top: 60px; }
.faq h2 { margin-bottom: 24px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--heading);
}
.faq-q .toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-a-inner { padding: 0 24px 20px; }

/* ============================================
   BLOG SINGLE
   ============================================ */
.post-feature {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-light), var(--tint-electronics));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.post-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(252,70,0,0.05), rgba(0,0,0,0.05));
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 16px 0 32px;
}
.post-meta .cat { color: var(--primary); font-weight: 700; text-transform: uppercase; }
.post-meta .sep { color: var(--border); }
.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--body-text);
}
.post-body p { margin-bottom: 20px; }
.post-body h2 {
  font-size: 1.75rem;
  margin: 32px 0 16px;
  color: var(--heading);
}
.post-body h3 {
  font-size: 1.35rem;
  margin: 24px 0 12px;
  color: var(--heading);
}
.post-body blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--heading);
  font-weight: 500;
}
.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}
.post-body ul, .post-body ol {
  margin: 16px 0 20px 24px;
}
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--primary); text-decoration: underline; }
.post-body img {
  border-radius: var(--radius);
  margin: 24px 0;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 24px 0;
  padding: 20px;
  background: var(--section-bg);
  border-radius: var(--radius);
}
.star-rating .stars { display: flex; gap: 4px; }
.star {
  font-size: 1.5rem;
  color: var(--border);
  cursor: pointer;
  transition: color var(--transition);
}
.star.filled, .star.hover { color: var(--amber); }
.star-rating .info { margin-left: 16px; font-size: 0.9rem; color: var(--muted); }
.star-rating .info b { color: var(--heading); font-size: 1.05rem; }

/* Social share */
.social-share {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}
.social-share .label { font-weight: 600; color: var(--heading); margin-right: 12px; }
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--section-bg);
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all var(--transition);
}
.share-btn:hover { background: var(--primary); color: var(--bg); transform: translateY(-2px); }

/* Author box */
.author-box {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--section-bg);
  border-radius: var(--radius-lg);
  margin: 32px 0;
}
.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.author-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.author-info .role { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: 0.9rem; color: var(--muted); }

/* Comments */
.comments { margin-top: 40px; }
.comments h3 { margin-bottom: 24px; }
.comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: none; }
.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.comment-content { flex: 1; }
.comment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.comment-head .name { font-weight: 700; color: var(--heading); }
.comment-head .date { color: var(--muted); font-size: 0.85rem; }
.comment p { color: var(--body-text); font-size: 0.95rem; }
.comment-form { margin-top: 32px; }
.comment-form h3 { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: var(--heading); font-size: 0.9rem; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  background: var(--bg);
  color: var(--heading);
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--primary); }
textarea.form-control { min-height: 140px; resize: vertical; font-family: inherit; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* ============================================
   STATIC PAGES
   ============================================ */
.static-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}
.static-content h2 { margin: 32px 0 16px; }
.static-content h3 { margin: 24px 0 12px; font-size: 1.25rem; }
.static-content p { color: var(--body-text); line-height: 1.8; margin-bottom: 16px; }
.static-content ul, .static-content ol { margin: 16px 0 16px 24px; color: var(--body-text); }
.static-content li { margin-bottom: 8px; line-height: 1.7; }
.static-content a { color: var(--primary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
.contact-info { padding-top: 16px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--body-text); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-item .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Related categories */
.related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.related-chip {
  padding: 10px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.related-chip:hover { border-color: var(--primary); color: var(--primary); }
.related-chip .num { color: var(--muted); font-size: 0.8rem; }

.report-flag-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1rem;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s;
  z-index: 2;
}
.report-flag-btn:hover { opacity: 1; }
.coupon-verified-time {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============ GRID ITEM SHRINK FIX (asal masla yehi hai) ============ */
.store-layout > article,
.store-layout > div {
  min-width: 0; /* Grid items default 'min-width: auto' hote hain — yeh unhe shrink hone deta hai */
}

/* ============ POST BODY — Sab Text Elements Wrap Hon ============ */
.post-body {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.post-body p,
.post-body li,
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body blockquote,
.post-body a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 20px 0;
}

.post-body table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.post-body pre,
.post-body code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ============ CODE REVEAL MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 22px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24,24,27,0.62); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; background: var(--card); border-radius: var(--radius-xl); padding: 32px;
  width: 100%; max-width: 420px; text-align: center; box-shadow: var(--shadow-lg);
  animation: modalPop 0.25s ease;
}
@keyframes modalPop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--section-bg); color: var(--muted); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.modal-close:hover { background: var(--primary-light); color: var(--primary); }
.modal-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
.modal-store {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px;
  color: var(--muted); font-weight: 600; margin: 10px 0 4px;
}
.modal-store img { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; background: var(--section-bg); }
.modal-card h3 { font-size: 1.15rem; margin: 6px 0 14px; color: var(--heading); }
.modal-code {
  margin: 8px 0 14px; padding: 18px; border-radius: var(--radius); background: var(--primary-light);
  border: 1.5px dashed var(--primary);
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0.14em; color: var(--primary-dark);
  word-break: break-all;
}
.modal-hint { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.modal-actions { display: grid; gap: 10px; }
.btn-outline {
  background: transparent; border: 1.5px solid var(--border); color: var(--heading);
  border-radius: var(--radius-sm); padding: 12px; font-weight: 700; text-decoration: none;
  display: inline-block; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 130%);
  background: var(--dark); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 9px; z-index: 300;
  box-shadow: var(--shadow-lg); transition: transform 0.35s ease;
}
.toast.show { transform: translate(-50%, 0); }
.toast .ic { color: var(--success); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .editors-picks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .store-layout { grid-template-columns: 1fr; }
  .about-store-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 40px; }
  .newsletter-illu { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .trust-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .coupon-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .header-inner { gap: 12px; }
  .header-actions .btn { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-search { flex-direction: column; padding: 12px; border-radius: var(--radius-lg); }
  .hero-search input { padding: 12px; width: 100%; text-align: center; }
  .hero-search .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .coupon-card { flex-direction: column; align-items: flex-start; }
  .coupon-card .coupon-store-logo { width: 350px; height: 56px; }
  .coupon-action { width: 100%; }
  .store-hero-inner { text-align: center; flex-direction: column; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .az-letter { width: 32px; height: 32px; font-size: 0.8rem; }
  .coupon-action { flex-direction: row; align-items: stretch; }
  .code-preview { font-size: 0.8rem; }
  .ticker-label { display: none; }
}
