/**
 * frontend/assets/marketplace.css
 * Clube de Ofertas — Mobile-First Marketplace UI v6.0
 */

/* ── RESET & BASE ──────────────────────────────────────── */
#fcg-guia, #fcg-guia * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
#fcg-guia { margin: 0 !important; padding: 0 !important; display: block; font-family: 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

/* ── MOBILE BOTTOM NAV SPACER ──────────────────────────── */
@media (max-width: 700px) {
  #fcg-guia { padding-bottom: 70px !important; }
}

/* ── TOPBAR ────────────────────────────────────────────── */
.fcg-topbar {
  background: #FF6B00;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  width: 100vw;
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  box-shadow: 0 2px 12px rgba(255,107,0,.35);
}
.fcg-topbar-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; flex-wrap: nowrap;
}
.fcg-topbar-logo-txt { display: flex; flex-direction: column; gap: 0; white-space: nowrap; flex-shrink: 0; }
.fcg-topbar-logo-txt strong { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -.5px; display: block; line-height: 1; }
.fcg-topbar-logo-txt strong span { color: #FFD700; }
.fcg-topbar-logo-txt small { font-size: 9px; color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.fcg-search-form {
  flex: 1; display: flex; gap: 0; min-width: 0;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 100px;
  overflow: hidden;
}
.fcg-search-form input {
  flex: 1; min-width: 0;
  padding: 10px 16px;
  border: none; font-size: 15px; outline: none;
  color: #fff; background: transparent;
  font-family: inherit; font-weight: 600;
}
.fcg-search-form input::placeholder { color: rgba(255,255,255,.65); }
.fcg-search-form button {
  background: rgba(0,0,0,.25); color: #fff; border: none;
  padding: 0 16px; cursor: pointer; font-size: 16px;
  white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 100px 100px 0;
  transition: background .2s;
}
.fcg-search-form button:hover { background: rgba(0,0,0,.4); }
.fcg-topbar-fav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; font-size: 18px; flex-shrink: 0;
  transition: background .2s; text-decoration: none;
}
.fcg-topbar-fav-btn:hover { background: rgba(255,255,255,.3); }

/* Hide promo badge on mobile — replaced by bottom nav */
.fcg-promo-badge { display: none !important; }
@media (min-width: 900px) { .fcg-promo-badge { display: flex !important; } }

/* ── CATEGORY BAR ──────────────────────────────────────── */
.fcg-cats {
  background: #fffbeb;
  border-bottom: 2px solid #fde68a;
  display: flex; align-items: stretch; padding: 0;
  min-height: 46px;
  width: 100vw; position: relative;
  left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  position: sticky; top: 56px; z-index: 90;
}
.fcg-cats-inner {
  display: flex; align-items: center;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 12px; box-sizing: border-box;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 6px;
}
.fcg-cats-inner::-webkit-scrollbar { display: none; }
.fcg-cat-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  background: #fff; border: 1.5px solid #fde68a;
  border-radius: 100px;
  font-size: 12px; font-weight: 700; color: #374151;
  cursor: pointer; white-space: nowrap;
  transition: all .18s; flex-shrink: 0;
  text-decoration: none;
}
.fcg-cat-pill:hover, .fcg-cat-pill.active {
  background: #FF6B00; color: #fff; border-color: #FF6B00;
  box-shadow: 0 3px 10px rgba(255,107,0,.3);
}
.fcg-cat-pill .cat-ico { font-size: 14px; }

/* Legacy category elements — hide on mobile, use pills */
.fcg-menu-btn-wrap { display: none !important; }
@media (min-width: 900px) { .fcg-menu-btn-wrap { display: block !important; } }
.fcg-quicklinks a.ql-mob,.fcg-quicklinks .ql-sep.ql-mob { display: none !important; }

/* ── SOCIAL PROOF STRIP ────────────────────────────────── */
.fcg-social-strip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 6px;
  overflow-x: auto; scrollbar-width: none;
}
.fcg-social-strip::-webkit-scrollbar { display: none; }
.fcg-social-pill {
  display: flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid #e5e7eb;
  padding: 5px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; color: #6b7280;
  white-space: nowrap; flex-shrink: 0;
}
.fcg-social-pill .sp-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: fcg-pulse 2s infinite;
}
@keyframes fcg-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── FILTER BAR ────────────────────────────────────────── */
.fcg-filter-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px 10px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.fcg-filter-bar::-webkit-scrollbar { display: none; }
.fcg-filter-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  background: #fff; border: 1.5px solid #e5e7eb;
  border-radius: 100px; font-size: 12px; font-weight: 800;
  color: #374151; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: all .15s; flex-shrink: 0;
}
.fcg-filter-btn.active { background: #111827; color: #fff; border-color: #111827; }

/* ── SECTION HEADERS ───────────────────────────────────── */
.fcg-sec { padding: 14px 16px 0; }
.fcg-sec-title {
  font-size: 16px; font-weight: 900; margin: 0 0 10px;
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
}
.fcg-sec-title .lbl {
  font-size: 9px; color: #fff; padding: 3px 8px;
  border-radius: 10px; text-transform: uppercase; letter-spacing: .5px;
}
.fcg-sec-title .fcg-ver-todos-link {
  font-size: 12px; font-weight: 800; color: #FF6B00;
  text-decoration: none; margin-left: auto;
}

/* ── OFFER CARDS ───────────────────────────────────────── */
.fcg-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 16px; }
@media (min-width: 540px) { .fcg-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .fcg-grid { grid-template-columns: repeat(6,1fr); gap: 14px; } }
.fcg-grid-b { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 16px; }
@media (min-width: 540px) { .fcg-grid-b { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .fcg-grid-b { grid-template-columns: repeat(6,1fr); gap: 14px; } }

/* Card base */
.fcg-card-v6 {
  background: #fff; border-radius: 14px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
  height: 100%; border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.fcg-card-v6:active { transform: scale(.97); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.fcg-card-v6.premium { border-color: #f0b429; box-shadow: 0 2px 10px rgba(240,180,41,.2); }
.fcg-card-v6.master  { border-color: #3b82f6; box-shadow: 0 2px 10px rgba(59,130,246,.15); }

/* Image wrap */
.fcg-card-v6 .cv6-img-wrap {
  position: relative; overflow: hidden;
  background: #f3f4f6; aspect-ratio: 1/1;
}
.fcg-card-v6 .cv6-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  loading: lazy; transition: transform .3s;
}
.fcg-card-v6:active .cv6-img-wrap img { transform: scale(1.04); }

/* Badges on image */
.cv6-badge-tipo {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; font-weight: 900;
  padding: 3px 8px; border-radius: 20px; z-index: 2;
  text-transform: uppercase; letter-spacing: .3px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.cv6-badge-discount {
  position: absolute; top: 8px; left: 8px;
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 900;
  padding: 3px 8px; border-radius: 20px; z-index: 2;
  box-shadow: 0 2px 6px rgba(239,68,68,.4);
}
.cv6-badge-vip {
  position: absolute; top: 8px; right: 8px;
  background: #f0b429; color: #1a1a1a;
  font-size: 9px; font-weight: 900;
  padding: 3px 7px; border-radius: 20px; z-index: 2;
}
.cv6-badge-fav {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; z-index: 3; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  border: none; transition: transform .15s;
  font-family: inherit;
}
.cv6-badge-fav:active { transform: scale(1.35); }
.cv6-badge-fav.fav-ativo { color: #ef4444; }
.cv6-urgency {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  padding: 18px 8px 6px;
  font-size: 9px; font-weight: 900; color: #fff;
  text-align: center; z-index: 2; letter-spacing: .3px;
}
.cv6-logo-overlay {
  position: absolute; bottom: 7px; left: 7px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.13);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cv6-logo-overlay img { width: 100%; height: 100%; object-fit: contain; }

/* Card body */
.fcg-card-v6 .cv6-body {
  padding: 10px 11px 11px;
  display: flex; flex-direction: column; flex: 1; gap: 3px;
}
.cv6-store { font-size: 10px; color: #9ca3af; font-weight: 700; }
.cv6-name {
  font-size: 12px; font-weight: 700; color: #111827;
  line-height: 1.3; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cv6-price-wrap { margin-top: auto; padding-top: 4px; }
.cv6-old-price { font-size: 10px; color: #9ca3af; font-weight: 700; text-decoration: line-through; }
.cv6-price { font-size: 18px; font-weight: 900; color: #dc2626; line-height: 1; }
.cv6-cond { font-size: 9px; color: #22c55e; font-weight: 800; }
.cv6-discount-block {
  display: flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #fff; border-radius: 8px; padding: 5px 9px;
  white-space: nowrap; width: 100%; box-sizing: border-box;
}
.cv6-discount-block strong { font-size: 22px; font-weight: 900; line-height: 1; }
.cv6-discount-block span { font-size: 9px; font-weight: 700; line-height: 1.3; }
.cv6-psc { font-size: 11px; font-weight: 700; color: #374151; }

/* Views bar */
.cv6-views-wrap { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.cv6-views-bar { flex: 1; height: 3px; background: #f3f4f6; border-radius: 100px; overflow: hidden; }
.cv6-views-fill { height: 100%; background: linear-gradient(to right,#FF6B00,#FF9500); border-radius: 100px; }
.cv6-views-txt { font-size: 9px; color: #9ca3af; font-weight: 700; white-space: nowrap; }
.cv6-social { font-size: 9px; color: #9ca3af; font-weight: 700; margin-top: 3px; }

/* WPP button */
.cv6-btn-wpp {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: #25D366; color: #fff;
  padding: 9px 10px; border-radius: 10px;
  font-size: 11px; font-weight: 900;
  text-decoration: none; margin-top: 8px;
  border: none; cursor: pointer; width: 100%;
  transition: background .15s, transform .1s;
  box-shadow: 0 3px 10px rgba(37,211,102,.35);
  font-family: inherit;
}
.cv6-btn-wpp:active { background: #128C7E; transform: scale(.97); }
.cv6-btn-wpp svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Countdown */
.cv6-countdown {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: #dc2626; font-weight: 800; margin-top: 4px;
}
.cv6-countdown-block {
  background: #dc2626; color: #fff;
  padding: 2px 5px; border-radius: 4px;
  font-size: 11px; font-weight: 900;
  min-width: 22px; text-align: center;
}

/* ── CARROSSEL ─────────────────────────────────────────── */
.fcg-sec-carousel { padding: 14px 0 0; }
.fcg-sec-carousel .fcg-sec-title { padding: 0 16px; }
.fcg-carousel { padding: 0 0 38px !important; overflow: hidden !important; position: relative; }
.fcg-carousel .swiper-button-prev,
.fcg-carousel .swiper-button-next {
  width: 40px !important; height: 40px !important;
  background: rgba(0,0,0,.5) !important; border-radius: 50% !important;
  color: #fff !important; top: 34% !important; z-index: 10 !important; margin-top: 0 !important;
}
.fcg-carousel .swiper-button-prev::after,
.fcg-carousel .swiper-button-next::after { font-size: 14px !important; font-weight: 900 !important; }
.fcg-carousel .swiper-button-prev { left: 4px !important; }
.fcg-carousel .swiper-button-next { right: 4px !important; }
.fcg-carousel .swiper-pagination-bullet { background: #FF6B00 !important; opacity: .5 !important; }
.fcg-carousel .swiper-pagination-bullet-active { opacity: 1 !important; transform: scale(1.3) !important; }

/* ── DESTAQUE SECTION ──────────────────────────────────── */
.fcg-ofertas-wrap {
  background: linear-gradient(135deg,#dc2626,#b91c1c);
  border-radius: 16px; padding: 16px; margin: 14px 16px;
}
.fcg-favoritos-wrap {
  background: linear-gradient(135deg,#f5a623,#f0900a);
  border-radius: 16px; padding: 16px; margin: 14px 16px;
}
.fcg-ofertas-title {
  font-size: 15px; font-weight: 900; color: #fff;
  margin: 0 0 12px; display: flex; align-items: center; gap: 8px;
}
.fcg-ofertas-title .badge-off {
  background: #fbbf24; color: #1a1a1a;
  font-size: 10px; font-weight: 900; padding: 3px 10px; border-radius: 20px;
}
.fcg-ofertas-grid { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 8px !important; }
@media (max-width: 700px) { .fcg-ofertas-grid { grid-template-columns: 1fr !important; } }
.fcg-ofr-card {
  background: #fff !important; border-radius: 12px !important;
  display: flex !important; align-items: stretch !important;
  text-decoration: none !important; color: inherit !important;
  transition: transform .18s, box-shadow .18s;
  overflow: hidden !important; box-sizing: border-box !important;
  height: 84px !important; min-height: 84px !important; max-height: 84px !important;
}
.fcg-ofr-card:active { transform: scale(.98); }
.fcg-ofr-card .ofr-img { width: 84px !important; min-width: 84px !important; height: 84px !important; object-fit: cover !important; background: #f3f4f6 !important; display: block !important; }
.fcg-ofr-card .ofr-info { flex: 1 !important; min-width: 0 !important; padding: 8px 10px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
.fcg-ofr-card .ofr-bairro { font-size: 9px !important; color: #9ca3af !important; margin: 0 0 2px !important; }
.fcg-ofr-card .ofr-nome { font-size: 11px !important; font-weight: 700 !important; color: #111827 !important; margin: 0 0 3px !important; line-height: 1.3 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.fcg-ofr-card .ofr-de { font-size: 9px !important; color: #9ca3af !important; font-weight: 700 !important; text-decoration: line-through !important; margin: 0 !important; }
.fcg-ofr-card .ofr-por { font-size: 13px !important; font-weight: 900 !important; color: #dc2626 !important; margin: 1px 0 0 !important; line-height: 1.2 !important; }
.fcg-ofr-card .ofr-cond { font-size: 9px !important; color: #16a34a !important; font-weight: 700 !important; }
.fcg-ofr-ver-todos { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 10px; text-decoration: none; color: #fff; font-size: 12px; font-weight: 800; }

/* ── MAIS PROCURADOS ───────────────────────────────────── */
.fcg-mprocurados-wrap { background: linear-gradient(135deg,#f5a623,#f0900a); border-radius: 16px; padding: 16px; margin: 14px 16px; }
.fcg-mprocurados-title { font-size: 15px; font-weight: 900; color: #1a1a1a; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.fcg-mprocurados-title .badge-mp { background: #1a1a1a; color: #f0b429; font-size: 10px; font-weight: 900; padding: 3px 10px; border-radius: 20px; }
.fcg-mprocurados-grid { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 8px !important; }
@media (max-width: 700px) { .fcg-mprocurados-grid { grid-template-columns: 1fr !important; } }
.fcg-mp-card { background: #fff !important; border-radius: 12px !important; display: flex !important; align-items: center !important; gap: 10px !important; padding: 10px 12px !important; text-decoration: none !important; color: inherit !important; transition: transform .18s; box-sizing: border-box !important; }
.fcg-mp-card:active { transform: scale(.98); }
.fcg-mp-card .mp-img { width: 64px !important; height: 64px !important; min-width: 64px !important; border-radius: 9px !important; object-fit: cover !important; background: #f3f4f6 !important; }
.fcg-mp-card .mp-nome { font-size: 11px !important; font-weight: 700 !important; color: #111827 !important; margin: 0 0 3px !important; line-height: 1.3 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.fcg-mp-card .mp-por { font-size: 14px !important; font-weight: 900 !important; color: #dc2626 !important; margin: 0 !important; }

/* ── SECTION STATIC (premium grid) ────────────────────── */
.fcg-sec-static { padding: 14px 16px 0; }
.fcg-grid-static { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 0 16px; }
@media (min-width: 540px) { .fcg-grid-static { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .fcg-grid-static { grid-template-columns: repeat(6,1fr); gap: 14px; } }
.fcg-static-hidden { display: none !important; }
.fcg-static-btn-wrap { text-align: center; padding: 18px 16px 22px; }
.fcg-static-ver-todos {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FF6B00; color: #fff;
  padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 900; text-decoration: none;
  transition: background .2s; box-shadow: 0 4px 14px rgba(255,107,0,.35);
}
.fcg-static-ver-todos:hover { background: #e05a00; }

/* Seção TODOS OS ANÚNCIOS */
.fcg-bwrap { padding: 0 0 24px; }
.fcg-btitle { font-size: 14px; font-weight: 800; color: #6b7280; margin: 0 0 10px; padding: 12px 16px 0; border-top: 1.5px solid #f0f0f0; display: flex; align-items: center; gap: 6px; }

/* ── BOTTOM NAV (mobile only) ──────────────────────────── */
.fcg-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px; background: #fff;
  border-top: 1px solid #e5e7eb;
  z-index: 9995;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  align-items: stretch;
}
@media (max-width: 700px) { .fcg-bottom-nav { display: flex; } }
.fcg-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; border: none; background: none;
  color: #9ca3af; font-family: inherit;
  text-decoration: none; transition: color .15s;
  position: relative;
}
.fcg-nav-item .nav-ico { font-size: 20px; line-height: 1; transition: transform .2s; }
.fcg-nav-item .nav-lbl { font-size: 9px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; }
.fcg-nav-item.active { color: #FF6B00; }
.fcg-nav-item.active .nav-ico { transform: translateY(-2px); }
.fcg-nav-item .nav-badge {
  position: absolute; top: 8px; right: calc(50% - 14px);
  width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444; border: 2px solid #fff;
}
.fcg-nav-fab-wrap {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
}
.fcg-nav-fab {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg,#FF6B00,#e05a00);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 4px 14px rgba(255,107,0,.45);
  border: none; cursor: pointer; margin-top: -14px;
  transition: transform .15s, box-shadow .15s;
}
.fcg-nav-fab:active { transform: scale(.92); box-shadow: 0 2px 8px rgba(255,107,0,.3); }

/* ── BACK TO TOP ───────────────────────────────────────── */
#fcg-back-top {
  display: none; position: fixed;
  bottom: 78px; right: 14px; z-index: 9990;
  width: 42px; height: 42px; border-radius: 10px;
  background: #FF6B00; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,0,.4);
  align-items: center; justify-content: center;
  font-size: 20px; color: #fff; line-height: 1;
  transition: opacity .25s, transform .25s;
  opacity: 0; transform: translateY(10px);
}
@media (max-width: 700px) { #fcg-back-top { display: flex; } }
@media (min-width: 900px) { #fcg-back-top { display: none !important; } }

/* ── TOAST NOTIFICATION ────────────────────────────────── */
.fcg-toast {
  position: fixed; top: 70px; left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #111827; color: #fff;
  padding: 10px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 99999; opacity: 0;
  transition: all .3s; white-space: nowrap;
  pointer-events: none;
}
.fcg-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── LOADING SPINNER ───────────────────────────────────── */
@keyframes fcg-spin { to { transform: rotate(360deg); } }
.fcg-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: fcg-spin .7s linear infinite; flex-shrink: 0;
}
.fcg-card-ver-ofertas.loading { opacity: .75; pointer-events: none; }

/* ── SHIMMER SKELETON ──────────────────────────────────── */
@keyframes fcg-shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
.fcg-skeleton {
  background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
  background-size: 200% 100%;
  animation: fcg-shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ── SEARCH + EMPTY ────────────────────────────────────── */
.fcg-empty { text-align: center; padding: 40px 20px; color: #aaa; }
#fcg-no-results { display: none; text-align: center; padding: 40px 20px; color: #aaa; }

/* ── CARD GRID SPACER FIX ──────────────────────────────── */
.fcg-grid .fcg-grid-item > div > div[style*="flex:1"],
.fcg-grid-b .fcg-grid-item-b > div > div[style*="flex:1"],
.fcg-grid-static .fcg-static-item > div > div[style*="flex:1"] { flex: 0 !important; min-height: 0 !important; }

/* ── SWIPER VERTICAL ───────────────────────────────────── */
.fcg-ofertas-swiper-wrap { position: relative; }
.fcg-ofr-swiper-vert { height: 440px; overflow: hidden; position: relative; }
.fcg-ofr-swiper-vert::before,.fcg-ofr-swiper-vert::after { content:''; position:absolute; left:0; right:0; z-index:2; pointer-events:none; height:38px; }
.fcg-ofr-swiper-vert::before { top:0; background:linear-gradient(to bottom,#b91c1c,transparent); }
.fcg-ofr-swiper-vert::after  { bottom:0; background:linear-gradient(to top,#b91c1c,transparent); }
.fcg-fav-swiper-vert::before { background:linear-gradient(to bottom,#d97706,transparent) !important; }
.fcg-fav-swiper-vert::after  { background:linear-gradient(to top,#d97706,transparent) !important; }
.fcg-ofr-swiper-vert .swiper-slide { height: 84px !important; overflow: hidden !important; border-radius: 12px; }
.fcg-ofertas-grid-wrap { display: block; }
.fcg-ofertas-swiper-wrap { display: none; }
@media (max-width: 600px) { .fcg-ofertas-swiper-wrap { display: none !important; } .fcg-ofertas-grid-wrap { display: block !important; } }
.fcg-ofr-ver-todos-mobile { display: block; text-align: center; margin-top: 10px; padding: 10px 14px; color: #fff; font-size: 14px; font-weight: 900; text-decoration: none; }

/* ── CAT HEADER ────────────────────────────────────────── */
.fcg-cat-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin: 10px 16px 0; background: #fefce8; border: 1.5px solid #f0b429; border-radius: 10px; }
.fcg-cat-header-name { font-size: 14px; font-weight: 800; color: #374151; margin: 0; }
.fcg-cat-header-clear { font-size: 11px; font-weight: 700; color: #92400e; background: #fde68a; border: 1.5px solid #f0b429; border-radius: 20px; padding: 4px 10px; text-decoration: none; transition: background .2s; }
.fcg-cat-header-clear:hover { background: #f0b429; color: #1a1a1a; }

/* ── ANUNCIANTE PAINEL ─────────────────────────────────── */
.fcg-anunciante-panel {
  background: linear-gradient(135deg,#1a1a2e,#16213e);
  border-radius: 14px; padding: 16px; margin: 14px 16px; color: #fff;
}
.fcg-panel-title { font-size: 13px; font-weight: 900; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.fcg-panel-title .badge { background: #FFD700; color: #1a1a1a; font-size: 9px; font-weight: 900; padding: 2px 8px; border-radius: 100px; }
.fcg-panel-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.fcg-panel-stat { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 8px; text-align: center; }
.fcg-panel-stat-val { font-size: 20px; font-weight: 900; color: #FFD700; line-height: 1; }
.fcg-panel-stat-lbl { font-size: 9px; color: rgba(255,255,255,.6); font-weight: 700; margin-top: 2px; }
.fcg-panel-actions { display: flex; gap: 8px; }
.fcg-panel-btn { flex: 1; padding: 10px; border-radius: 10px; border: none; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; transition: opacity .15s; }
.fcg-panel-btn:active { opacity: .8; }
.fcg-panel-btn.primary { background: #FF6B00; color: #fff; }
.fcg-panel-btn.secondary { background: rgba(255,255,255,.12); color: #fff; }
