/* =========================================
   GRUPOS DE OFERTAS - Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #20c777;
  --primary-dark: #17a862;
  --primary-light: #4dd68a;
  --secondary: #EF5D8E;
  --accent-red: #ef4444;
  --accent-green: #20c777;
  --accent-green-dark: #17a862;
  --dark: #1e293b;
  --dark-2: #334155;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --white: #ffffff;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #e08a0a; }
.btn-green { background: var(--accent-green); color: #fff; }
.btn-green:hover { background: var(--accent-green-dark); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.section-title {
  font-size: 1.4rem; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.section-title::before {
  content: ''; display: block; width: 4px; height: 24px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-red { background: #fee2e2; color: #dc2626; }
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-blue { background: #dbeafe; color: #2563eb; }
.badge-orange { background: #ffedd5; color: #ea580c; }
.badge-yellow { background: #fef9c3; color: #ca8a04; }
.text-green { color: var(--accent-green); }
.text-red { color: #ef4444; }
.text-gray { color: var(--gray); }
.tag {
  display: inline-block; background: var(--bg-2); color: var(--gray);
  padding: 4px 12px; border-radius: 99px; font-size: 0.78rem; font-weight: 500;
  border: 1px solid var(--border);
}
.price-box { display: flex; flex-direction: column; }
.price-original { font-size: 0.8rem; color: var(--gray-light); text-decoration: line-through; }
.price-current { font-size: 1.1rem; font-weight: 700; color: var(--accent-green); }
.price-installment { font-size: 0.75rem; color: var(--gray); }
.discount-badge {
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.header-top {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px; max-width: 1200px; margin: 0 auto;
}
.site-logo {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-size: 1.5rem; font-weight: 800;
  flex-shrink: 0;
}
.site-logo .logo-icon { font-size: 1.8rem; }
.site-logo span { letter-spacing: -0.5px; }
.header-search {
  flex: 1; max-width: 600px; position: relative;
}
.header-search input {
  width: 100%; padding: 10px 50px 10px 16px;
  border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem;
  background: rgba(255,255,255,0.95);
  color: var(--dark); outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-search input::placeholder { color: var(--gray-light); }
.header-search button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--primary); border: none; border-radius: 6px;
  color: #fff; width: 34px; height: 34px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.header-search button:hover { background: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .whatsapp-btn {
  background: #25D366; color: #fff;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.header-actions .whatsapp-btn:hover { background: #128C7E; }

/* NAV */
.site-nav { background: rgba(0,0,0,0.12); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; color: rgba(255,255,255,0.9);
  font-size: 0.88rem; font-weight: 600; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; border-bottom-color: #fff; }
.nav-link i { font-size: 0.9rem; }
.mobile-menu-btn {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.4rem; cursor: pointer; padding: 8px;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #17a862 0%, #20c777 50%, #1e293b 100%);
  color: #fff; padding: 48px 16px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero h1 span { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.2); background: rgba(0,0,0,0.15); padding: 0 8px; border-radius: 6px; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.hero-stats {
  display: flex; justify-content: center; gap: 32px; margin-top: 28px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.hero-search { max-width: 520px; margin: 0 auto; position: relative; }
.hero-search input {
  width: 100%; padding: 16px 120px 16px 20px;
  border: none; border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; color: var(--dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); outline: none;
}
.hero-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 10px 20px; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-sm); font-weight: 700;
  cursor: pointer; font-family: inherit; transition: var(--transition);
}
.hero-search button:hover { background: var(--primary-dark); }

/* ---- QUICK LINKS (Social groups) ---- */
.quick-links { padding: 28px 0; }
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
.quick-link-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); cursor: pointer; transition: var(--transition);
  border: 1px solid var(--border); text-align: center;
}
.quick-link-item:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.quick-link-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.quick-link-item span { font-size: 0.72rem; font-weight: 600; color: var(--dark-2); line-height: 1.3; }
.icon-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.icon-telegram { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.icon-tech { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.icon-fashion { background: linear-gradient(135deg, #ec4899, #db2777); }
.icon-home { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-sports { background: linear-gradient(135deg, #10b981, #059669); }
.icon-beauty { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-games { background: linear-gradient(135deg, #ef4444, #dc2626); }
.icon-travel { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.icon-health { background: linear-gradient(135deg, #22c55e, #16a34a); }

/* ---- FEATURED STORES ---- */
.featured-stores { padding: 28px 0; }
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.store-card {
  background: var(--white); border-radius: var(--radius);
  padding: 16px 12px; display: flex; flex-direction: column;
  align-items: center; gap: 8px; box-shadow: var(--card-shadow);
  border: 1px solid var(--border); cursor: pointer; transition: var(--transition);
  text-align: center;
}
.store-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); border-color: var(--primary); }
.store-logo {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
}
.store-name { font-size: 0.78rem; font-weight: 600; color: var(--dark-2); }
.store-coupon-count { font-size: 0.7rem; color: var(--gray); }

/* ---- PRODUCT CARDS ---- */
.section { padding: 28px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition); cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.product-card-image {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--bg-2);
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover; transition: var(--transition);
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-discount {
  position: absolute; top: 8px; left: 8px;
  background: #ef4444; color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px;
}
.product-card-store-logo {
  position: absolute; bottom: 8px; right: 8px;
  background: #fff; border-radius: 6px; padding: 3px 6px;
  font-size: 0.65rem; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.product-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; }
.product-card-time { font-size: 0.7rem; color: var(--gray-light); }
.product-card-title {
  font-size: 0.85rem; font-weight: 600; color: var(--dark);
  line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.product-card-prices { margin-top: 4px; }
.product-card-footer {
  padding: 10px 12px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.product-card-footer .btn { padding: 7px 14px; font-size: 0.78rem; flex: 1; justify-content: center; }
.free-shipping { font-size: 0.7rem; color: var(--accent-green); font-weight: 600; }
.coupon-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fef3c7; border: 1px dashed #f59e0b;
  color: #92400e; padding: 3px 8px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; cursor: pointer;
  transition: var(--transition);
}
.coupon-chip:hover { background: #fde68a; }

/* ---- COUPON LIST ---- */
.coupons-list { display: flex; flex-direction: column; gap: 12px; }
.coupon-item {
  background: var(--white); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--card-shadow);
  border: 1px solid var(--border); display: flex;
  align-items: center; gap: 14px; transition: var(--transition);
}
.coupon-item:hover { box-shadow: var(--card-shadow-hover); }
.coupon-store-logo {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.coupon-info { flex: 1; min-width: 0; }
.coupon-title { font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.coupon-desc { font-size: 0.78rem; color: var(--gray); margin-bottom: 6px; }
.coupon-code-box {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f0fdf4; border: 1.5px dashed var(--accent-green);
  padding: 5px 12px; border-radius: 6px; cursor: pointer;
  transition: var(--transition);
}
.coupon-code-box:hover { background: #dcfce7; }
.coupon-code { font-size: 0.85rem; font-weight: 700; color: var(--accent-green-dark); letter-spacing: 1px; }
.coupon-expiry { font-size: 0.7rem; color: var(--gray-light); }
.coupon-discount { text-align: right; flex-shrink: 0; }
.coupon-discount-val { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.coupon-discount-type { font-size: 0.7rem; color: var(--gray); }

/* ---- BLOG ---- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--card-shadow); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 16px; }
.blog-card-cat { margin-bottom: 8px; }
.blog-card-title {
  font-size: 0.95rem; font-weight: 700; color: var(--dark);
  margin-bottom: 8px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-excerpt { font-size: 0.8rem; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-card-date { font-size: 0.75rem; color: var(--gray-light); }
.blog-card-read { font-size: 0.8rem; font-weight: 600; color: var(--primary); }

/* ---- PROMO BANNER ---- */
.promo-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius); padding: 32px; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin: 28px 0; flex-wrap: wrap;
}
.promo-banner-text h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.promo-banner-text p { font-size: 0.9rem; opacity: 0.9; }
.promo-banner .btn { background: #fff; color: var(--primary); font-weight: 700; }
.promo-banner .btn:hover { background: var(--bg-2); }

/* ---- GROUPS PAGE ---- */
.groups-hero {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 50%, #25D366 100%);
  color: #fff; padding: 48px 16px; text-align: center;
}
.groups-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.groups-hero p { font-size: 1rem; opacity: 0.9; max-width: 580px; margin: 0 auto 28px; }
.groups-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 32px 0; }
.group-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--card-shadow); text-align: center;
  border: 2px solid var(--border); transition: var(--transition);
}
.group-card:hover { border-color: var(--primary); box-shadow: var(--card-shadow-hover); }
.group-card-icon { font-size: 3rem; margin-bottom: 12px; }
.group-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.group-card p { font-size: 0.85rem; color: var(--gray); margin-bottom: 20px; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; }
.btn-telegram { background: #2AABEE; color: #fff; }
.btn-telegram:hover { background: #229ED9; }

/* ---- STORES PAGE ---- */
.alphabet-nav {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px;
}
.alpha-btn {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--border);
  font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: var(--transition);
  color: var(--dark);
}
.alpha-btn:hover, .alpha-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.stores-alpha-section { margin-bottom: 28px; }
.stores-alpha-letter {
  font-size: 1.4rem; font-weight: 800; color: var(--primary);
  border-bottom: 2px solid var(--border); padding-bottom: 8px; margin-bottom: 14px;
}
.stores-alpha-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.stores-alpha-list a {
  padding: 10px 14px; background: var(--white); border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: 0.88rem; font-weight: 500;
  transition: var(--transition); display: flex; align-items: center; justify-content: space-between;
}
.stores-alpha-list a:hover { border-color: var(--primary); color: var(--primary); background: #f0fdf4; }

/* ---- CATEGORIES PAGE ---- */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
}
.category-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; box-shadow: var(--card-shadow);
  border: 1px solid var(--border); cursor: pointer; transition: var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); border-color: var(--primary); }
.category-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 10px;
}
.category-name { font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.category-count { font-size: 0.72rem; color: var(--gray); }

/* ---- BLOG PAGE ---- */
.blog-page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; padding: 40px 16px; text-align: center;
}
.blog-page-header h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.blog-page-header p { font-size: 0.95rem; opacity: 0.8; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white); border-radius: var(--radius);
  max-width: 540px; width: 100%; max-height: 90vh;
  overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(20px); transition: transform 0.2s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header {
  padding: 20px 20px 0; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
}
.modal-header h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.modal-close {
  background: none; border: none; font-size: 1.4rem; cursor: pointer;
  color: var(--gray); transition: var(--transition); flex-shrink: 0;
}
.modal-close:hover { color: var(--dark); }
.modal-image { padding: 16px 20px; }
.modal-image img { border-radius: var(--radius-sm); width: 100%; max-height: 280px; object-fit: contain; }
.modal-body { padding: 0 20px 20px; }
.modal-prices { margin-bottom: 16px; }
.modal-prices .price-current { font-size: 1.6rem; }
.modal-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.modal-coupon { margin-bottom: 16px; }
.modal-coupon label { font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; display: block; }
.modal-coupon-box {
  display: flex; align-items: center; gap: 8px;
  border: 2px dashed var(--accent-green); border-radius: var(--radius-sm);
  padding: 10px 14px; background: #f0fdf4;
}
.modal-coupon-box span { font-weight: 700; font-size: 1rem; color: var(--accent-green-dark); flex: 1; letter-spacing: 1.5px; }
.modal-coupon-box button { padding: 6px 14px; font-size: 0.8rem; }
.modal-footer { padding: 0 20px 20px; }
.modal-footer .btn { width: 100%; justify-content: center; }
.copied-msg {
  display: none; color: var(--accent-green); font-size: 0.78rem;
  font-weight: 600; margin-top: 6px; text-align: center;
}
.copied-msg.show { display: block; }

/* ---- TOAST ---- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--dark); color: #fff; padding: 12px 24px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600; z-index: 9999;
  transition: transform 0.3s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--accent-green); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.8);
  padding: 48px 0 24px; margin-top: 48px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-brand .site-logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.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;
  transition: var(--transition); color: #fff;
}
.footer-social a:hover { background: var(--primary); }
.footer-col h4 { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ---- LOAD MORE ---- */
.load-more-wrap { text-align: center; padding: 24px 0; }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 14px 0; font-size: 0.82rem; color: var(--gray); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; padding: 36px 16px;
}
.page-header h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.page-header p { font-size: 0.95rem; opacity: 0.75; }

/* ---- FILTERS BAR ---- */
.filters-bar {
  background: var(--white); padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border-radius: var(--radius);
}
.filters-bar label { font-size: 0.82rem; font-weight: 600; color: var(--dark-2); }
.filter-select, .filter-input {
  padding: 7px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.83rem;
  color: var(--dark); background: var(--bg); outline: none;
  transition: var(--transition); cursor: pointer;
}
.filter-select:focus, .filter-input:focus { border-color: var(--primary); }
.filter-tag {
  padding: 6px 14px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 99px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); color: var(--dark-2);
}
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- LOADING SPINNER ---- */
.loading-spinner {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; gap: 12px; color: var(--gray);
}
.spinner {
  width: 28px; height: 28px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3rem; color: var(--gray-light); margin-bottom: 16px; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: 0.88rem; color: var(--gray); }

/* ---- FAQ SECTION ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  padding: 16px 20px; display: flex; align-items: center;
  justify-content: space-between; cursor: pointer; font-weight: 600;
  font-size: 0.92rem; transition: var(--transition);
}
.faq-question:hover { background: var(--bg-2); }
.faq-question i { transition: var(--transition); color: var(--primary); }
.faq-answer {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: all 0.3s ease; font-size: 0.85rem; color: var(--gray); line-height: 1.7;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-item.open .faq-answer { padding: 0 20px 16px; max-height: 300px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 640px) {
  .header-top { gap: 10px; }
  .header-actions { display: none; }
  .site-logo span { display: none; }
  .site-logo .logo-text { display: none; }
  .hero h1 { font-size: 1.4rem; }
  .hero-stats { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stores-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-links-grid { grid-template-columns: repeat(5, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .coupon-item { flex-direction: column; align-items: flex-start; }
  .coupon-discount { align-self: flex-start; }
  .mobile-menu-btn { display: block; }
  .nav-inner { padding: 0 8px; }
  .nav-link { padding: 8px 10px; font-size: 0.82rem; }
  .promo-banner { flex-direction: column; text-align: center; }
}

/* ---- SOURCE BADGES (Shopee / ML) ---- */
.src-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 0.62rem; font-weight: 700; padding: 2px 7px;
  border-radius: 99px; letter-spacing: 0.3px;
}
.src-shopee { background: #EE4D2D; color: #fff; }
.src-ml     { background: #FFE600; color: #333; }

/* ---- SOLD COUNT ---- */
.product-sold {
  font-size: 0.68rem; color: var(--gray); font-weight: 500;
}

/* ---- MOBILE NAV OPEN STATE ---- */
.site-nav.open { display: block !important; }

/* ---- PRICE CURRENT (verde) ---- */
.price-current { color: var(--primary) !important; }

/* ---- SECTION CONTAINER padding ---- */
.section.bg-alt { background: var(--bg-2); }

/* ---- STORE CARD HOVER FIX ---- */
.store-card:hover { border-color: var(--primary); }
.alpha-btn:hover, .alpha-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
