/* ==========================================================================
   PROMOÇÕES VIP - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  /* Brand Palettes */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.25);
  
  --accent-fire: #ff4757;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;

  /* Store Identifiers */
  --store-amazon: #ff9900;
  --store-amazon-bg: rgba(255, 153, 0, 0.12);
  --store-ml: #ffe600;
  --store-ml-text: #2b327b;
  --store-ml-bg: rgba(255, 230, 0, 0.15);
  --store-shopee: #ee4d2d;
  --store-shopee-bg: rgba(238, 77, 45, 0.12);

  /* Dark Theme (Default) */
  --bg-body: #0a0d14;
  --bg-surface: #111726;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(26, 34, 53, 0.95);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px -8px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-active: #6366f1;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px -6px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-body);
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 10%, rgba(238, 77, 45, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-family: inherit;
}

.search-form input::placeholder {
  color: var(--text-muted);
}

.btn-clear-search {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-clear-search:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-clear-search.visible {
  display: flex;
}

.search-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
}

.btn-search-submit {
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-search-submit:hover {
  color: var(--primary);
}

.btn-search-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Mercado Livre Style Autocomplete / Live Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 250;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-height: 480px;
  overflow-y: auto;
  display: none;
  animation: dropdown-fade-in 0.15s ease-out;
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-dropdown.open {
  display: block;
}

.dropdown-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-input);
  border-bottom: 1px solid var(--border-subtle);
}

.dropdown-section-title button {
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.dropdown-section-title button:hover {
  text-decoration: underline;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover, .dropdown-item.active {
  background: var(--bg-input);
  color: var(--primary);
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.dropdown-item .item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item .item-text strong {
  color: var(--text-primary);
  font-weight: 800;
}

.dropdown-item .item-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}

.dropdown-item .btn-remove-recent {
  color: var(--text-muted);
  padding: 2px 6px;
  font-size: 0.75rem;
  border-radius: 4px;
}

.dropdown-item .btn-remove-recent:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Product Preview Row inside Dropdown */
.dropdown-product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
}

.dropdown-product:hover, .dropdown-product.active {
  background: var(--bg-input);
}

.dropdown-product-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 2px;
  flex-shrink: 0;
}

.dropdown-product-info {
  flex: 1;
  min-width: 0;
}

.dropdown-product-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.dropdown-product-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #10b981;
}

.dropdown-product-store {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.dropdown-footer-action {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-input);
  cursor: pointer;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.dropdown-footer-action:hover {
  background: var(--primary-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
  transform: scale(1.05);
}

.btn-vip-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
}

.btn-vip-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero-section {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #818cf8;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* VIP Channels Funnel Cards */
.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 2rem;
}

@media (min-width: 600px) {
  .channels-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.channel-card.whatsapp::before {
  background: #25d366;
}

.channel-card.telegram::before {
  background: #229ed9;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-card.whatsapp .channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.channel-card.telegram .channel-icon {
  background: rgba(34, 158, 217, 0.15);
  color: #229ed9;
}

.channel-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.channel-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Mobile Search Bar */
.mobile-search-wrap {
  margin-bottom: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .mobile-search-wrap {
    display: none;
  }
}

/* Active Search Banner */
.active-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  color: var(--text-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.active-search-chip button {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0 4px;
}

/* ==========================================================================
   NAVIGATION TABS & FILTERS
   ========================================================================== */
.controls-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Main View Tabs (Ofertas vs Cupons) */
.view-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-input);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.view-tab-btn {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.view-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.tab-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

/* Platform Filter Buttons */
.store-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0.6rem;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.25rem;
  width: 100%;
}

.store-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.store-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.store-filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-body);
  border-color: var(--text-primary);
  font-weight: 700;
}

.store-filter-btn.amazon.active {
  background: var(--store-amazon);
  color: #131921;
  border-color: var(--store-amazon);
}

.store-filter-btn.ml.active {
  background: var(--store-ml);
  color: var(--store-ml-text);
  border-color: var(--store-ml);
}

.store-filter-btn.shopee.active {
  background: var(--store-shopee);
  color: #ffffff;
  border-color: var(--store-shopee);
}

@media (max-width: 640px) {
  .store-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.45rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
  }
  .store-filter-btn {
    font-size: 0.78rem !important;
    padding: 0.42rem 0.75rem !important;
    justify-content: center !important;
  }
}

/* Category Chips (Horizontal Scrollable) */
.categories-slider-wrap {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.categories-slider-wrap::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  margin-right: 0.4rem;
  transition: var(--transition);
}

.category-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.category-chip.active {
  background: var(--primary-glow);
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   OFFERS & COUPONS GRIDS
   ========================================================================== */
.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-meta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.active-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 580px) {
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Product Deal Card */
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.deal-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #ffffff;
  overflow: hidden;
}

.card-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}

.deal-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  z-index: 2;
}

.badge-store {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-store.amazon {
  background: var(--store-amazon);
  color: #131921;
}

.badge-store.mercado_livre {
  background: var(--store-ml);
  color: var(--store-ml-text);
}

.badge-store.shopee {
  background: var(--store-shopee);
  color: #ffffff;
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 580px) {
  .card-body {
    padding: 0.75rem;
  }
}

.card-category {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  margin-bottom: 0.75rem;
}

.card-pricing {
  margin-top: auto;
  margin-bottom: 0.85rem;
}

.price-old {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: -0.5px;
}

.btn-deal {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-deal:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* ==========================================================================
   COUPONS SECTION
   ========================================================================== */
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 580px) {
  .coupons-grid {
    grid-template-columns: 1fr;
  }
}

.coupon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.coupon-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.coupon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.coupon-store-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.coupon-store-tag.amazon { background: var(--store-amazon-bg); color: var(--store-amazon); }
.coupon-store-tag.mercado_livre { background: var(--store-ml-bg); color: #fbbf24; }
.coupon-store-tag.shopee { background: var(--store-shopee-bg); color: var(--store-shopee); }

.coupon-discount-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.coupon-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.coupon-rules {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.coupon-action-box {
  background: var(--bg-input);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.coupon-code-txt {
  font-family: monospace;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--primary);
}

.btn-copy-coupon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-copy-coupon:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* ==========================================================================
   FEEDBACK TOAST & EMPTY STATE
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: #10b981;
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notice.visible {
  transform: translateY(0);
  opacity: 1;
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-secondary);
}

.empty-state svg {
  width: 54px;
  height: 54px;
  stroke: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 3rem 0 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-disclaimer {
  max-width: 600px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}
