/* ========================================
   ACHADOS POR LUH — BUSCADOR
   Paleta: Rosa #E91E63 + Roxo #B47BD8
   Mobile-first
   ======================================== */

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #FAEFE5;
  color: #4A2A55;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  background: #fff;
  border-bottom: 1px solid rgba(233, 30, 99, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.header-nome {
  font-size: 18px;
  font-weight: 800;
  color: #E91E63;
  letter-spacing: -0.3px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #4A2A55;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #E91E63;
}

.btn-login {
  background: #E91E63;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-login:hover {
  background: #C2185B;
}

.header-menu-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #4A2A55;
  width: 40px;
  height: 40px;
}

/* Menu mobile */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(233, 30, 99, 0.08);
}

.mobile-nav.aberto {
  display: flex;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #4A2A55;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.mobile-nav-login {
  background: #E91E63;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
}

/* ========================================
   HERO / BUSCA
   ======================================== */
.hero {
  background: linear-gradient(135deg, #E91E63 0%, #B47BD8 100%);
  padding: 48px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  right: 22%;
  top: 20%;
  width: 160px;
  height: 160px;
  opacity: 0.2;
  pointer-events: none;
  transform: scaleX(-1);
}

@media (max-width: 1100px) {
  .hero-deco {
    right: 5%;
    top: 10%;
    width: 100px;
    height: 100px;
    opacity: 0.18;
  }
}

@media (max-width: 600px) {
  .hero-deco {
    right: 5px;
    top: 10%;
    width: 110px;
    height: 110px;
    opacity: 0.18;
  }
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero-titulo {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero-destaque {
  color: #FFE082;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.busca-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
}

.busca-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 4px 8px 4px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.busca-icone {
  color: #B85E81;
  flex-shrink: 0;
}

.busca-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 12px 10px;
  color: #4A2A55;
  background: transparent;
  font-family: inherit;
}

.busca-input::placeholder {
  color: #B85E81;
}

.busca-scanner {
  background: rgba(233, 30, 99, 0.08);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E91E63;
  flex-shrink: 0;
  transition: background 0.2s;
}

.busca-scanner:hover {
  background: rgba(233, 30, 99, 0.15);
}

.busca-btn {
  background: #fff;
  color: #E91E63;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.busca-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.tag:hover {
  background: rgba(255,255,255,0.35);
}

/* ========================================
   LOJAS PARCEIRAS
   ======================================== */
.lojas-bar {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(233,30,99,0.06);
}

.lojas-lista {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lojas-lista::-webkit-scrollbar { display: none; }

.lojas-mais {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #B85E81;
  background: rgba(233,30,99,0.08);
  padding: 6px 12px;
  border-radius: 20px;
}

.loja-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4A2A55;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.loja-icone {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.loja-icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loja-em-breve {
  opacity: 0.5;
}

.loja-soon {
  font-size: 10px;
  color: #B85E81;
  font-weight: 400;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 48px 0;
}

.section-alt {
  background: #fff;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding: 0 20px;
}

.section-titulo {
  font-size: 22px;
  font-weight: 800;
  color: #4A2A55;
  letter-spacing: -0.3px;
}

.section-ver-mais {
  font-size: 13px;
  font-weight: 600;
  color: #E91E63;
}

.section-ver-mais:hover {
  text-decoration: underline;
}

/* ========================================
   CARDS PRODUTO (scroll horizontal)
   ======================================== */
.cards-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px 16px;
  -webkit-overflow-scrolling: touch;
}

.cards-scroll::-webkit-scrollbar {
  display: none;
}

/* CATEGORIAS DE OFERTAS */
.categoria-secao {
  margin-bottom: 28px;
}

.categoria-secao:last-child {
  margin-bottom: 0;
}

.categoria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 12px;
}

.categoria-titulo {
  font-size: 18px;
  font-weight: 800;
  color: #4A2A55;
}

.categoria-ver-mais {
  font-size: 13px;
  font-weight: 600;
  color: #E91E63;
  white-space: nowrap;
}

.categoria-ver-mais:hover {
  text-decoration: underline;
}

.categoria-carousel-wrap {
  position: relative;
}

.categoria-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 20px 8px;
  -webkit-overflow-scrolling: touch;
}

.categoria-scroll::-webkit-scrollbar { display: none; }
.categoria-scroll { scrollbar-width: none; }

.cat-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #E91E63;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  opacity: 0;
}

.categoria-carousel-wrap:hover .cat-seta {
  opacity: 1;
}

.cat-seta:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(233, 30, 99, 0.2);
}

.cat-seta-esq { left: 6px; }
.cat-seta-dir { right: 6px; }

.cat-seta:disabled {
  opacity: 0 !important;
  cursor: default;
}

.card-produto {
  flex-shrink: 0;
  width: 200px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(233,30,99,0.06);
  scroll-snap-align: start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-produto:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233,30,99,0.1);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #FFFFFF;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #B85E81;
  font-weight: 500;
}

.card-produto { cursor: pointer; }

.card-badge-loja {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-badge-loja img {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: contain;
}

.card-badge-desconto {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #E91E63;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.card-info {
  padding: 12px;
}

.card-titulo {
  font-size: 13px;
  font-weight: 600;
  color: #4A2A55;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-precos {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.card-preco-antigo {
  font-size: 12px;
  color: #B85E81;
  text-decoration: line-through;
}

.card-preco {
  font-size: 16px;
  font-weight: 800;
  color: #E91E63;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-avaliacao {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #4A2A55;
}

.card-buscas {
  font-size: 11px;
  color: #B85E81;
}

.card-desconto-tag {
  font-size: 11px;
  font-weight: 700;
  color: #E91E63;
  background: #FCE4F0;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ========================================
   CUPONS
   ======================================== */
.cupons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 20px;
}

.cupom-card {
  background: #FAEFE5;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(233,30,99,0.08);
  transition: transform 0.2s;
}

.cupom-card:hover {
  transform: translateY(-2px);
}

.cupom-loja {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cupom-loja-icone {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.cupom-loja-icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cupom-loja-nome {
  font-size: 13px;
  font-weight: 600;
  color: #4A2A55;
}

.cupom-desconto {
  font-size: 24px;
  font-weight: 800;
  color: #E91E63;
  margin-bottom: 4px;
}

.cupom-desc {
  font-size: 13px;
  color: #B85E81;
  margin-bottom: 12px;
}

.cupom-codigo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cupom-codigo {
  background: #fff;
  border: 2px dashed #E91E63;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #E91E63;
  letter-spacing: 1px;
  flex: 1;
  text-align: center;
}

.cupom-copiar {
  background: #E91E63;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.cupom-copiar:hover {
  background: #C2185B;
}

.cupom-validade {
  font-size: 11px;
  color: #B85E81;
}

.cupom-resgatar {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #E91E63, #B47BD8);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
}

.cupom-resgatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 30, 99, 0.4);
}

/* ========================================
   ÚLTIMAS OFERTAS
   ======================================== */
.ofertas-carousel-wrap {
  position: relative;
}

.ofertas-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 20px 12px;
  -webkit-overflow-scrolling: touch;
}

.ofertas-scroll::-webkit-scrollbar { display: none; }
.ofertas-scroll { scrollbar-width: none; }

.ofertas-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #E91E63;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  opacity: 0;
}

.ofertas-carousel-wrap:hover .ofertas-seta {
  opacity: 1;
}

.ofertas-seta:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(233, 30, 99, 0.2);
}

.ofertas-seta-esq { left: 6px; }
.ofertas-seta-dir { right: 6px; }

.ofertas-seta:disabled {
  opacity: 0 !important;
  cursor: default;
}

.ofertas-loading {
  width: 100%;
  text-align: center;
  padding: 30px;
  color: #B85E81;
  font-size: 14px;
}

.oferta-card {
  flex-shrink: 0;
  width: 200px;
  background: #FAEFE5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(233, 30, 99, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.oferta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.12);
}

.oferta-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.oferta-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.oferta-badge-loja {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #E91E63;
}

.oferta-badge-cupom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #E91E63;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px dashed #E91E63;
  text-align: center;
  backdrop-filter: blur(4px);
}

.oferta-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.oferta-titulo {
  font-size: 13px;
  font-weight: 600;
  color: #4A2A55;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.oferta-precos {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.oferta-preco-antigo {
  font-size: 12px;
  color: #B85E81;
  text-decoration: line-through;
}

.oferta-preco {
  font-size: 17px;
  font-weight: 800;
  color: #E91E63;
}

.oferta-descricao {
  font-size: 11px;
  color: #B85E81;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.oferta-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oferta-tempo {
  font-size: 10px;
  color: #B85E81;
}

.oferta-ver {
  font-size: 11px;
  font-weight: 700;
  color: #E91E63;
}

.ofertas-vazio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #B85E81;
}

.ofertas-vazio-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.ofertas-vazio-texto {
  font-size: 14px;
}

@media (min-width: 600px) {
  .oferta-card {
    width: 220px;
  }
}

@media (min-width: 900px) {
  .ofertas-scroll {
    padding: 0 0 12px;
  }

  .oferta-card {
    width: 240px;
  }

  .ofertas-seta-esq, .cat-seta-esq { left: -16px; }
  .ofertas-seta-dir, .cat-seta-dir { right: -16px; }

  .categoria-scroll {
    padding: 0 0 8px;
  }
}

/* Mobile: setas sempre visíveis */
@media (max-width: 599px) {
  .ofertas-seta, .cat-seta {
    opacity: 1;
    width: 32px;
    height: 32px;
  }
  .ofertas-seta-esq, .cat-seta-esq { left: 2px; }
  .ofertas-seta-dir, .cat-seta-dir { right: 2px; }
  .ofertas-seta:disabled, .cat-seta:disabled { opacity: 0 !important; }
}

/* ========================================
   BANNER MONITORAMENTO
   ======================================== */
.banner-monitor {
  padding: 48px 0;
}

.banner-content {
  background: linear-gradient(135deg, #B47BD8 0%, #E91E63 100%);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 20px;
}

.banner-titulo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.banner-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
  max-width: 400px;
  line-height: 1.5;
}

.banner-btn {
  background: #fff;
  color: #E91E63;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.banner-icone-wrap {
  flex-shrink: 0;
}

.banner-emoji {
  font-size: 56px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #4A2A55;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-col-titulo {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col-desc {
  font-size: 13px;
  line-height: 1.5;
}

.footer-link {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #FFE082;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-bottom: 16px;
}

.footer-disclaimer p {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
}

.footer-bottom a {
  color: #FFE082;
  font-weight: 600;
}

/* ========================================
   RESPONSIVO — TABLET (600px+)
   ======================================== */
@media (min-width: 600px) {
  .hero {
    padding: 64px 20px 72px;
  }

  .hero-titulo {
    font-size: 36px;
  }

  .busca-form {
    flex-direction: row;
  }

  .busca-wrapper {
    flex: 1;
  }

  .busca-btn {
    width: auto;
    padding: 14px 28px;
    white-space: nowrap;
  }

  .cupons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-produto {
    width: 220px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ========================================
   RESPONSIVO — DESKTOP (900px+)
   ======================================== */
@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }

  .header-menu-mobile {
    display: none;
  }

  .hero {
    padding: 80px 20px 88px;
  }

  .hero-titulo {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .section-header {
    padding: 0;
  }

  .cards-scroll {
    padding: 0 0 16px;
  }

  .cupons-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }

  .section-titulo {
    font-size: 26px;
  }

  .banner-content {
    padding: 48px 40px;
    margin: 0;
  }

  .banner-titulo {
    font-size: 30px;
  }
}

/* ========================================
   MODAL DE LOGIN/CADASTRO
   ======================================== */

.auth-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(74, 42, 85, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-overlay.aberto {
  display: flex;
}

.auth-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px;
  position: relative;
  animation: modalEntrar 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalEntrar {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-fechar {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #B85E81;
  cursor: pointer;
  line-height: 1;
}

.auth-abas {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(233, 30, 99, 0.1);
}

.auth-aba {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #B85E81;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.auth-aba.ativa {
  color: #E91E63;
  border-bottom-color: #E91E63;
}

.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4A2A55;
  margin-bottom: 4px;
  margin-top: 14px;
}

.auth-form label:first-child {
  margin-top: 0;
}

.auth-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(233, 30, 99, 0.15);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #4A2A55;
  background: #FAEFE5;
  transition: border-color 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: #E91E63;
}

.auth-btn {
  display: block;
  width: 100%;
  background: #E91E63;
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
}

.auth-btn:hover {
  background: #C2185B;
}

.auth-btn-desejos {
  background: #B47BD8;
}

.auth-btn-desejos:hover {
  background: #9A5EC0;
}

.auth-btn-sair {
  background: transparent;
  color: #B85E81;
  border: 1.5px solid rgba(233, 30, 99, 0.2);
  margin-top: 10px;
}

.auth-btn-sair:hover {
  background: rgba(233, 30, 99, 0.05);
}

.auth-msg {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  min-height: 20px;
}

.auth-msg-erro {
  color: #C62828;
}

.auth-msg-ok {
  color: #2E7D32;
}

/* Menu logado */
.auth-logado {
  text-align: center;
  padding: 10px 0;
}

.auth-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E91E63, #B47BD8);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.auth-nome {
  font-size: 20px;
  color: #4A2A55;
  margin-bottom: 4px;
}

.auth-email {
  font-size: 13px;
  color: #B85E81;
  margin-bottom: 20px;
}

/* Botao logado no header */
.btn-login.logado {
  background: #B47BD8;
}

.btn-login.logado:hover {
  background: #9A5EC0;
}

.mobile-nav-login.logado {
  background: #B47BD8;
}

/* ===== BOMBANDO HOJE ===== */
.bombando-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bombando-loading {
  color: #B85E81;
  font-size: 14px;
  padding: 20px;
  text-align: center;
  width: 100%;
}

.bombando-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid rgba(233, 30, 99, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: #4A2A55;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.04);
}

.bombando-tag:hover {
  border-color: #E91E63;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.1);
}

.bombando-tag.top-1 {
  background: linear-gradient(135deg, #E91E63, #B47BD8);
  color: #fff;
  border-color: transparent;
  font-size: 15px;
  padding: 12px 24px;
}

.bombando-tag.top-2,
.bombando-tag.top-3 {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(180, 123, 216, 0.08));
  border-color: rgba(233, 30, 99, 0.15);
}

.bombando-posicao {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(233, 30, 99, 0.12);
  color: #E91E63;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.bombando-tag.top-1 .bombando-posicao {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.bombando-count {
  font-size: 12px;
  color: #B85E81;
  font-weight: 700;
}

.bombando-tag.top-1 .bombando-count {
  color: rgba(255, 255, 255, 0.85);
}

.bombando-vazio {
  text-align: center;
  padding: 30px;
  color: #B85E81;
  width: 100%;
}

.bombando-emoji {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .bombando-grid {
    gap: 8px;
  }
  .bombando-tag {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* ========================================
   SCANNER DE CODIGO DE BARRAS
   ======================================== */
.scanner-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.scanner-modal.aberto {
  display: block;
}

.scanner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 42, 85, 0.6);
  backdrop-filter: blur(4px);
}

.scanner-container {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  margin-top: 10vh;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 42, 85, 0.3);
  animation: scanner-slide-up 0.3s ease;
}

@keyframes scanner-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.scanner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #E91E63 0%, #B47BD8 100%);
}

.scanner-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.scanner-fechar {
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.scanner-fechar:hover {
  background: rgba(255,255,255,0.35);
}

.scanner-body {
  padding: 20px;
}

.scanner-camera-wrap {
  width: 100%;
  min-height: 250px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a2e;
  position: relative;
}

.scanner-camera-wrap video {
  border-radius: 12px;
}

.scanner-dica {
  text-align: center;
  font-size: 13px;
  color: #B85E81;
  margin-top: 12px;
}

.scanner-status {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  min-height: 20px;
}

.scanner-status:empty {
  display: none;
}

.scanner-status-erro {
  background: #FFF0F0;
  color: #D32F2F;
}

.scanner-status-info {
  background: #F5DCEC;
  color: #4A2A55;
}

.scanner-status-sucesso {
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 600;
}

.scanner-manual {
  padding: 16px 20px 20px;
  border-top: 1px solid #F5DCEC;
}

.scanner-manual-texto {
  font-size: 12px;
  color: #B85E81;
  margin-bottom: 8px;
}

.scanner-manual-input-wrap {
  display: flex;
  gap: 8px;
}

.scanner-manual-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #F5DCEC;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #4A2A55;
  outline: none;
  transition: border-color 0.2s;
}

.scanner-manual-input:focus {
  border-color: #E91E63;
}

.scanner-manual-input::placeholder {
  color: #C8A0B5;
}

.scanner-manual-btn {
  padding: 10px 20px;
  background: #E91E63;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.scanner-manual-btn:hover {
  background: #C2185B;
}

/* Mobile: scanner full-screen */
@media (max-width: 480px) {
  .scanner-container {
    margin-top: 0;
    border-radius: 0;
    min-height: 100vh;
    max-width: 100%;
  }

  .scanner-camera-wrap {
    min-height: 300px;
  }
}
