/* ===================== CUPONS - NOVOS SELECTORES ===================== */
.cupom {
  background: linear-gradient(135deg,#f8fafc 60%,#e9f5ff 100%);
  border-radius: 16px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 4px 24px 0 rgba(13,99,206,0.07), 0 1.5px 4px 0 rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: 2.5px dashed #6ec1ff;
  min-height: 220px;
}
.cupom-top {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.cupom-titulo {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b63ce;
  letter-spacing: 0.5px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cupom-loja-label {
  background: #e9f5ff;
  color: #0b63ce;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 8px;
}
.cupom-code {
  font-size: 1.5em;
  font-weight: 800;
  background: linear-gradient(90deg,#fff 60%,#e9f5ff 100%);
  color: #0b63ce;
  padding: 10px 0 10px 0;
  border-radius: 10px;
  text-align: center;
  letter-spacing: 2px;
  box-shadow: 0 1px 4px 0 rgba(13,99,206,0.04);
  margin-bottom: 2px;
  user-select: all;
}
.cupom-desc {
  margin: 0 0 2px 0;
  color: #222;
  font-size: 15px;
  line-height: 1.5;
  opacity: .92;
}
.cupom-loja {
  color: #0b63ce;
  font-size: 13px;
  font-weight: 600;
}
.cupom-autor {
  color: #6b7280;
  font-size: 12px;
}
.cupom-botoes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  justify-content: center;
  align-items: center;
}
.cupons-grid .cupom > div:last-child {
  margin-top: auto;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  width: 100%;
  justify-items: stretch;
  margin-bottom: 48px;
  margin-left: 24px;
}
.cupons-grid .cupom {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 220px;
}
/* Grid de cupons responsivo */
.cupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
  justify-items: stretch;
}
.cupons-grid .cupom {
  height: 100%;
  margin-bottom: 0;
}
/* Forçar grid responsivo em busca */
.search-grid,
.grid-ofertas {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 18px !important;
}
/* Garantir grid responsivo na busca */
.search-grid.grid-ofertas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
/* Badge Promoção */
.badge-promocao {
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg,#0b63ce,#3ebcee);
  color: #fff;
  font-weight: bold;
  font-size: 0.95em;
  padding: 4px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  letter-spacing: 0.5px;
  z-index: 2;
}
.card { position: relative; }
/* Correção para garantir funcionamento do menu responsivo e dropdown */
.main-nav { display: flex !important; }
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .main-nav.open { display: flex !important; }
  .menu-toggle { display: inline-block !important; }
}
@media (max-width: 700px) {
  .main-nav { display: none !important; }
  .main-nav.open { display: flex !important; }
  .menu-toggle { display: inline-block !important; }
}
/* ===================== HEADER/NAVBAR ===================== */
:root{--brand:#0b63ce;--muted:#6b7280;--card:#fff;--border:#e6e6e6}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 36px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  position: relative;
  flex-wrap: wrap;
}
.main-nav > a, .main-nav > .dropdown {
  color: #374151;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > a:hover, .main-nav > .dropdown:hover > a {
  background: #f3f4f6;
}
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown > a {
  background: none;
  color: #374151;
  font-weight: 500;
  box-shadow: none;
  border: none;
  position: relative;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
}
.dropdown > a:after {
  content: '\25BC';
  font-size: 0.7em;
  margin-left: 6px;
  color: #888;
  font-family: inherit;
  font-weight: normal;
  opacity: 1;
  transition: color 0.15s;
}
.dropdown:hover > a, .dropdown:focus-within > a {
  background: #f3f4f6;
  color: #374151;
  box-shadow: none;
}
.dropdown-menu {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border: 1px solid #e6e6e6;
}
.dropdown-menu li a {
  color: #374151;
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}
.dropdown-menu li a:before {
  content: '';
  display: none;
}
.dropdown-menu li a:hover {
  background: #f3f4f6;
  color: #0b63ce;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-radius: 8px;
  padding: 6px 0;
  z-index: 1001;
  list-style: none;
  margin: 0;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  transition: background 0.15s;
}
.dropdown-menu li a:hover {
  background: #f3f4f6;
}
.menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 10px 8px;
    position: relative;
  }
  .brand {
    justify-content: flex-start;
    width: auto;
    margin-bottom: 0;
    display: flex;
  }
  .main-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
    position: absolute;
    top: 56px;
    right: 0;
    padding: 8px;
    z-index: 999;
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-block;
    border: 0;
    background: transparent;
    font-size: 28px;
    color: #0b63ce;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 18px;
    margin: 0;
    z-index: 1002;
  }
}
@media (max-width: 600px) {
  .site-header { padding: 6px 2px; flex-direction: column; align-items: stretch; position: relative; }
  .brand img { height: 22px; }
  .main-nav { font-size: 14px; position: static; width: 100%; border-radius: 0; box-shadow: none; }
  .main-nav.open { display: flex; }
  .menu-toggle { font-size: 32px; top: 8px; right: 10px; }
}
@media (max-width: 700px) {
  .site-header { flex-direction: column; align-items: stretch; padding: 8px 4px; position: relative; }
  .brand img { height: 28px; }
  .main-nav { font-size: 15px; position: static; width: 100%; border-radius: 0; box-shadow: none; }
  .main-nav.open { display: flex; }
  .menu-toggle { font-size: 32px; top: 8px; right: 10px; }
}
.acoes-produto .btn-loja {
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  width: 100%;
}
/* Exibir preço antigo acima do preço atual nos cards (usado em index.php) */
.price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
@media (max-width: 700px) {
  .price-stack {
    align-items: flex-start;
    gap: 1px;
  }
}
/* ===================== RESPONSIVIDADE GLOBAL EXTRA ===================== */
@media (max-width: 900px) {
  .container-xl, .layout-container, .offers-wrap {
    max-width: 98vw;
    padding: 0 2vw 24px 2vw;
    border-radius: 8px;
    margin: 12px auto 18px auto;
  }
  .section-title, .lojas-title, .ofertas-title {
    font-size: 1.5em;
  }
}
@media (max-width: 700px) {
  .grid-offers, .cupons-grid, .lojas-grid {
/* Removido override que quebrava o grid responsivo dos cards */
    padding: 12px 0 !important;
  }
  .card-media img, .produto-imagem img, .rel-card img {
    max-width: 100vw !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .section-header {
    flex-direction: column !important;
    gap: 0.5em !important;
    margin-bottom: 1em !important;
  }
  .section-title {
    font-size: 1.2em !important;
  }
  .cupon-code {
    font-size: 1.1em !important;
    padding: 10px 10px !important;
  }
  .footer-container {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px 4px 8px 4px !important;
  }
}
@media (max-width: 500px) {
  .container-xl, .layout-container, .offers-wrap {
    padding: 0 1vw 12px 1vw !important;
    margin: 4px auto 8px auto !important;
    border-radius: 4px !important;
  }
  .section-title, .lojas-title, .ofertas-title {
    font-size: 1em !important;
  }
  .card-title, .card .card-title {
    font-size: 0.98em !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }
  .card-desc, .card .card-desc {
    font-size: 0.93em !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
  .btn, .btn-shop, .btn-view, .btn-cupom-ver, .btn-loja {
    font-size: 0.98em !important;
    padding: 10px 0 !important;
  }
  .footer-copy {
    font-size: 11px !important;
    padding: 8px 0 6px 0 !important;
  }
}
/* ===================== BARRA DE PROPAGANDA LARGA (abaixo do nav) ===================== */
.wide-ad-bar {
  width: 100%;
  max-width: 100vw;
  min-height: 54px;
  background: linear-gradient(90deg, #e9f5ff 0%, #f6f8fa 100%);
  color: #0b63ce;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18em;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px #0b63ce11;
  position: relative;
  z-index: 10;
  overflow: hidden;
  margin-bottom: 18px;
  animation: fadeInAdBar 0.7s;
}
.wide-ad-bar a:visited {
 color: #0b63ce;
}
@keyframes fadeInAdBar {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
.wide-ad-text {
  display: inline-block;
  min-width: 180px;
  max-width: 100vw;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.wide-ad-text.active {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 600px) {
  .wide-ad-bar {
    font-size: 1em;
    min-height: 44px;
    padding: 0 4px;
  }
  .wide-ad-text { min-width: 100px; font-size: 0.98em; }
}
.badge-validade {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, #e9f5ff 60%, #f6f8fa 100%);
  color: #0b63ce;
  font-size: 0.73em;
  font-weight: 500;
  border-radius: 8px;
  padding: 2px 7px;
  margin-bottom: 4px;
  margin-top: 0;
  box-shadow: 0 1px 4px #0b63ce11;
  white-space: nowrap;
  max-width: 100%;
  word-break: break-word;
}
.badge-validade .validade-label {
  font-weight: 500;
  font-size: 0.78em;
  color: #0b63ce;
  margin-right: 2px;
  white-space: nowrap;
}
.cronometro {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.77em;
  font-weight: 700;
  color: #0b63ce;
  background: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 2px;
  border: 1px solid #e9f5ff;
  min-width: 38px;
  text-align: center;
  transition: color 0.2s, background 0.2s;
  max-width: 100%;
  overflow-x: auto;
}
.cronometro.expirado {
  color: #fff;
  background: #e74c3c;
  border-color: #e74c3c;
}
@media (max-width: 500px) {
  .badge-validade {
    font-size: 0.70em;
    padding: 2px 3px;
    gap: 2px;
  }
  .cronometro {
    font-size: 0.73em;
    min-width: 28px;
    padding: 2px 3px;
  }
}
/* ===================== CARD TITLE ROW (badge validade alinhado) ===================== */
.card-title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .card-title-row { align-items: center; }
}
.badge-validade {
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
  justify-content: center;
}
/* ===================== BADGE DE VALIDADE E CRONÔMETRO ===================== */
.badge-validade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #e9f5ff 60%, #f6f8fa 100%);
  color: #0b63ce;
  font-size: 0.98em;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 12px;
  margin-bottom: 8px;
  margin-top: 2px;
  box-shadow: 0 1px 4px #0b63ce11;
  white-space: nowrap;
}
.badge-validade .validade-data {
  font-weight: 700;
  color: #0056b3;
  margin-left: 2px;
}
.cronometro {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.98em;
  font-weight: 700;
  color: #0b63ce;
  background: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 8px;
  border: 1px solid #e9f5ff;
  min-width: 70px;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}
.cronometro.expirado {
  color: #fff;
  background: #e74c3c;
  border-color: #e74c3c;
}
/* ===================== TÍTULOS DE SEÇÃO (index.php) ===================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1.5em;
}
.section-title {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 2.2em;
  font-weight: 800;
  color: #222;
  text-align: center;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 12px #0b63ce11;
  background: linear-gradient(90deg, #0b63ce 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ===================== CUPONS (index.php) ===================== */
.section-cupons {
  margin-bottom: 28px;
}
.cupons-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cupons-title {
  margin: 0;
  font-size: 20px;
}
.cupons-link {
  color: var(--brand, #0b63ce);
  text-decoration: none;
}
.cupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.cupon-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.cupon-card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 180px;
}
.cupon-card-header {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-bottom: 28px;
  justify-content: center;
}
.cupon-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: inline-block;
}
.cupon-badge {
  background: #e9f5ff;
  color: #0b63ce;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.cupon-code-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 28px;
  min-height: 60px;
}
.cupon-code {
  font-size: 1.35em;
  font-weight: 800;
  background: linear-gradient(90deg, #fff 60%, #e9f5ff 100%);
  color: #0b63ce;
  padding: 14px 32px;
  border-radius: 14px;
  text-align: center;
  letter-spacing: 2px;
  box-shadow: 0 1px 4px 0 rgba(13,99,206,0.04);
  user-select: all;
  display: inline-block;
  margin: auto;
}
.cupon-desc {
  color: var(--muted, #6b7280);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
  white-space: normal;
  margin-bottom: 10px;
  text-align: center;
}
.cupon-user {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  margin-bottom: 6px;
  text-align: center;
}
.cupon-date-row {
  text-align: right;
  width: 100%;
  margin-top: 8px;
}
.cupon-date {
  color: var(--muted, #6b7280);
  white-space: nowrap;
  float: right;
}
.cupon-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.cupon-btn-copy {
  border: 0 !important;
  min-width: 70px;
}
.cupon-btn-loja {
  min-width: 90px;
}
.cupon-card-empty {
  padding: 12px;
  border-style: dashed;
}
.btn-cupom-ver, a.btn-cupom-ver, button.btn-cupom-ver {
  background: #232323 !important;
  color: #fff !important;
  border: 2px solid #232323 !important;
  font-weight: 700;
  font-size: 1em;
  padding: 7px 18px;
  border-radius: 8px;
  min-width: 70px;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px #23232311;
  text-decoration: none !important;
  display: inline-block;
}
.btn-cupom-ver:hover, .btn-cupom-ver:focus, a.btn-cupom-ver:hover, a.btn-cupom-ver:focus, button.btn-cupom-ver:hover, button.btn-cupom-ver:focus {
  background: #0b63ce !important;
  color: #fff !important;
  border-color: #0b63ce !important;
  box-shadow: 0 4px 16px #0b63ce22;
}
/* Botão especial para 'Ver' em cupons */
.btn-cupom-ver {
  background: #232323;
  color: #fff;
  border: 2px solid #232323;
  font-weight: 700;
  font-size: 1.08em;
  padding: 10px 28px;
  border-radius: 8px;
  min-width: 110px;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px #23232311;
  text-decoration: none !important;
  display: inline-block;
}
.btn-cupom-ver:hover, .btn-cupom-ver:focus {
  background: #0b63ce;
  color: #fff;
  border-color: #0b63ce;
  box-shadow: 0 4px 16px #0b63ce22;
}
/* Botão VER MAIS padrão ofertas */
.btn-ghost.btn-sm, .btn.btn-ghost.btn-sm {
  background: #fff;
  color: #232837;
  border: 2px solid #232837;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px #23283711;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 1em;
}
.btn-ghost.btn-sm:hover, .btn.btn-ghost.btn-sm:hover, .btn-ghost.btn-sm:focus, .btn.btn-ghost.btn-sm:focus {
  background: #232837;
  color: #fff;
  border-color: #0b63ce;
  box-shadow: 0 4px 16px #0b63ce22;
  text-decoration: none;
}
/* Botão IR PARA LOJA padrão ofertas */
.btn-primary.btn-sm, .btn.btn-primary.btn-sm {
  background: linear-gradient(90deg,#2196f3 0%,#0b63ce 100%);
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 1em;
  box-shadow: 0 2px 8px #0b63ce22;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-primary.btn-sm:hover, .btn.btn-primary.btn-sm:hover, .btn-primary.btn-sm:focus, .btn.btn-primary.btn-sm:focus {
  background: linear-gradient(90deg,#0b63ce 0%,#2196f3 100%);
  color: #fff;
  box-shadow: 0 4px 16px #2196f322;
  text-decoration: none;
}
/* Hover especial para botão Ver Produto */
.btn-view {
  background: #fff;
  color: #232837;
  border: 2px solid #232837;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  font-weight: 700;
  box-shadow: 0 2px 8px #23283711;
}
.btn-view:hover, .btn-view:focus {
  background: #232837;
  color: #fff;
  border-color: #0b63ce;
  box-shadow: 0 4px 16px #0b63ce22;
  text-decoration: none;
}
/* Estilos do footer removidos do inline */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 38px;
  filter: brightness(0) invert(1);
  margin-bottom: 0;
}
.footer-desc {
  color: #b6c2d1;
  font-size: 15px;
  line-height: 1.4;
}
.fw-600 {
  font-weight: 600;
}
.footer-highlight {
  color: #6ec1ff;
  font-weight: 800;
  font-size: 1.08em;
}
.footer-highlight-inner {
  letter-spacing: 0.5px;
}
/* Footer sempre colado ao final da página */
html, body {
  height: 100%;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
main, .offers-wrap, .container {
  flex: 1 0 auto;
}
/* Limite de linhas e quebra para títulos e descrições dos cards (qualquer tag) */
.card-title, .card .card-title, .card-title.clamp-3, .card .card-title.clamp-3, .card-title.h3, .card h3.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  line-clamp: 3;
  max-width: 100%;
}
.card-desc, .card .card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: pre-line;
  line-clamp: 5;
  max-width: 100%;
}
@media (max-width: 700px) {
  .card-title, .card .card-title, .card-title.clamp-3, .card .card-title.clamp-3, .card-title.h3, .card h3.card-title {
    font-size: 1rem !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .card-desc, .card .card-desc {
    font-size: 0.97rem !important;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}
/* Utilitário para alinhar elementos à direita */
.float-right {
  margin-left: auto !important;
  margin-right: 0 !important;
  display: block !important;
}
/* Utilitário para alinhar texto à esquerda */
.text-left {
  text-align: left !important;
}
/* Títulos principais alinhados à esquerda */
.titulo-pagina {
  text-align: left !important;
}
/* Título de página alinhado à esquerda */
.titulo-categoria {
  text-align: left !important;
}
/* ===== Footer Moderno ===== */
.footer-modern {
  background: #181c24;
  color: #e0e6ef;
  padding: 0 0 0 0;
  margin-top: auto;
  box-shadow: 0 -2px 16px 0 #0002;
  font-size: 15px;
  position: relative;
  z-index: 10;
}
.footer-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 18px 18px 18px;
  margin: 0;
  box-sizing: border-box;
}
.footer-brand {
  flex: 1 1 220px;
  min-width: 180px;
  margin-bottom: 18px;
}
.footer-brand img {
  display: block;
  margin-bottom: 8px;
}
.footer-desc {
  color: #b6c2d1;
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
  margin-bottom: 18px;
}
.footer-links a {
  color: #e0e6ef;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: #ffcf6b;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.footer-social a {
  color: #e0e6ef;
  font-size: 1.5em;
  transition: color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #232837;
}
.footer-social a.whatsapp:hover { color: #25d366; background: #232837; }
.footer-social a.instagram:hover { color: #e1306c; background: #232837; }
.footer-social a.email:hover { color: #ffcf6b; background: #232837; }
.footer-copy {
  text-align: center;
  color: #b6c2d1;
  font-size: 13px;
  padding: 12px 0 10px 0;
  border-top: 1px solid #232837;
  background: #181c24;
}
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 8px 10px 8px;
  }
  .footer-brand, .footer-links, .footer-social {
    margin-bottom: 10px;
  }
  .footer-brand {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 8px !important;
  }
  .footer-brand img {
    margin-bottom: 0 !important;
  }
}
/* Responsividade para textos dos cards */
@media (max-width: 700px) {
  .card-title, .card .card-title {
    font-size: 1rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    white-space: normal !important;
    max-width: 100%;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    margin-bottom: 8px;
  }
  .card-desc, .card .card-desc {
    font-size: 0.97rem !important;
    margin-bottom: 6px;
    word-break: break-word !important;
    white-space: pre-line !important;
    max-width: 100%;
    overflow-wrap: anywhere !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    line-clamp: 5;
    box-sizing: border-box;
  }
}
.btn-view, .btn-view:link, .btn-view:visited, .btn-view:active {
  color: #111 !important;
  background: #f6f8fa !important;
  border: 1px solid #e3e7ea !important;
  box-shadow: none !important;
  background-image: none !important;
}
.btn-view:hover, .btn-view:focus {
  background: #0b63ce !important;
  color: #111 !important;
  border-color: #bfc4c9 !important;
  box-shadow: 0 2px 8px #0b63ce11;
}
/* Botão 'Ver Produto' com texto preto */
.btn-view {
  color: #111 !important;
  background: #f6f8fa;
  border: 1px solid #e3e7ea;
  box-shadow: none;
}
.btn-view:hover {
  background: #eae3e3;
  color: #111 !important;
}
/* Container público centralizado e responsivo */
.container-xl, .layout-container {
  max-width: 1200px;
  margin: 32px auto 48px auto;
  padding: 0 16px 48px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px #0b63ce0a, 0 1.5px 6px #0001;
  min-height: 60vh;
}

@media (max-width: 700px) {
  .container-xl, .layout-container {
    max-width: 99vw;
    padding: 0 2vw 32px 2vw;
    border-radius: 8px;
    margin: 18px auto 24px auto;
  }
}

/* Títulos principais */
h1, .h1, .lojas-title, .ofertas-title {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #0b63ce;
  margin-bottom: 28px;
  letter-spacing: -1px;
  line-height: 1.1;
}
h2, .h2 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b63ce;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* Parágrafos e textos */
p, .lojas-desc, .ofertas-desc, .produto-descricao {
  font-size: 1.08rem;
  color: #374151;
  margin-bottom: 18px;
  line-height: 1.6;
}
.text-muted { color: #6b7280 !important; }

/* Cards públicos */
.card, .loja-card, .rel-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0b63ce0a;
  padding: 18px 14px;
  margin-bottom: 18px;
  transition: box-shadow .18s, transform .12s;
}
.card:hover, .loja-card:hover, .rel-card:hover {
  box-shadow: 0 8px 32px #0b63ce18, 0 2px 12px #0002;
  transform: translateY(-2px) scale(1.015);
}

/* Botões principais */
.btn, .btn-loja, .btn-shop, .btn-primary {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1rem;
  background: linear-gradient(180deg,#0b63ce 0%,#0952a8 100%);
  color: #fff !important;
  box-shadow: 0 2px 8px #0b63ce22;
  border: none;
  text-align: center;
  text-decoration: none;
  transition: background .14s, box-shadow .14s, color .14s;
  display: inline-block;
  margin-top: 8px;
}
.btn:hover, .btn-loja:hover, .btn-shop:hover, .btn-primary:hover {
  background: #0952a8;
  color: #fff !important;
  box-shadow: 0 6px 18px #0b63ce33;
}
/* Importar Roboto do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

html, body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  font-size: 16px;
  color: #222;
  background: #f7f8fa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ======== Layout da página de produto ======== */
@media (max-width: 520px) {
  .produto-container {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .produto-detalhes {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .acoes-produto {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .btn-loja {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1rem;
    padding: 12px 0;
    overflow-x: hidden;
    word-break: break-word;
  }
}
@media (max-width: 520px) {
  .acoes-produto {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .btn-loja {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1rem;
    padding: 12px 0;
  }
}
@media (max-width: 520px) {
  .produto-imagem img {
    max-width: 100vw;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
@media (max-width: 520px) {
  .produto-container {
    padding: 8px;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .produto-imagem img {
    max-width: 98vw;
    height: auto;
  }
  .produto-detalhes h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .preco-destaque {
    font-size: 1rem;
  }
  .btn-loja {
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
    margin-top: 8px;
  }
  .acoes-produto {
    flex-direction: column;
    gap: 8px;
  }
  .relacionados {
    padding: 4px;
  }
  .rel-card {
    width: 90vw;
    min-width: 0;
    max-width: 98vw;
    height: auto;
    padding: 6px;
  }
  .rel-card img {
    width: 80px;
    height: 80px;
  }
  .rel-card h4 {
    font-size: 0.95rem;
    max-width: 80vw;
  }
}
/* Produtos Relacionados - Card */
.rel-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.rel-card img {
  width: 100%;
  max-width: 140px;
  max-height: 100px;
  object-fit: contain;
  margin: 0 auto 8px auto;
  border-radius: 6px;
  background: #f8f8f8;
}
.rel-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 6px 0;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.rel-preco {
  color: #e63946;
  font-weight: bold;
  font-size: 1.05rem;
  margin: 0;
}
@media (max-width: 600px) {
  .rel-card h4 { max-width: 90vw; }
}
/* ======== Layout da página de produto ======== */
.produto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 900px;
  margin: 5px auto 30px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  align-items: flex-start;
}
.produto-imagem {
  flex: 0 0 280px;
}
.produto-imagem img {
  width: 100%;
  max-width: 260px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.produto-detalhes {
  flex: 1;
}
.produto-detalhes h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #333;
}
.produto-descricao {
  margin: 15px 0;
  color: #555;
  line-height: 1.5;
}
.btn-loja {
  display: inline-block;
  background: #232837;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, color 0.3s;
  margin-top: 15px;
  border: 1px solid #232837;
}
.btn-loja:hover {
  background: #0b63ce;
  color: #fff !important;
  border-color: #0b63ce;
}
/* ======== Seção de relacionados ======== */
.relacionados {
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
}
.relacionados h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #00aaff;
}
/* Wrapper para setas + carrossel */
.carousel-wrapper {
  position: relative;
}
.carousel-relacionados {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.carousel-relacionados::-webkit-scrollbar {
  height: 6px;
}
.carousel-relacionados::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.rel-card {
  flex: 0 0 auto;
  width: 150px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
}
.rel-card:hover {
  transform: translateY(-2px);
}
.rel-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto 6px auto;
  display: block;
  background: #f0f0f0;
}
.rel-card img[src=""],
.rel-card img:not([src]) {
  background: #f0f0f0 url('https://via.placeholder.com/100x100?text=Sem+Imagem') center/contain no-repeat;
}
.rel-card h4 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #333;
  flex-grow: 1;
}
.rel-preco {
  font-size: 0.9rem;
  font-weight: bold;
  color: #e63946;
  margin-top: auto;
}
/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0, 170, 255, 0.8);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0;
}
.carousel-wrapper:hover .carousel-btn {
  opacity: 1;
}
.carousel-btn:hover {
  background: rgba(0, 142, 204, 0.9);
}
.carousel-btn.prev {
  left: -10px;
}
.carousel-btn.next {
  right: -10px;
}
@media (max-width: 768px) {
  .produto-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .produto-imagem {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .produto-imagem img {
    max-width: 100%;
  }
  .produto-detalhes {
    flex: 1 1 100%;
  }
  .produto-detalhes h2 {
    font-size: 1.4rem;
  }
  .produto-preco {
    font-size: 1.2rem;
  }
  .carousel-btn.prev {
    left: 5px;
  }
  .carousel-btn.next {
    right: 5px;
  }
}
/* UTILITÁRIAS PARA produtos/produto.php */
.mb-2 { margin-bottom:14px !important; }
.mb-1 { margin-bottom:2px !important; }
.mt-4 { margin-top:32px !important; }
.gap-1 { gap:10px !important; }
.gap-2 { gap:16px !important; }
.d-flex { display:flex !important; }
.flex-wrap { flex-wrap:wrap !important; }
.flex-col { flex-direction:column !important; }
.align-center { align-items:center !important; }
.align-end { align-items:flex-end !important; }
.align-start { align-items:flex-start !important; }
.justify-center { justify-content:center !important; }
.fw-bold { font-weight:700 !important; }
.text-brand { color:#0b63ce !important; }
.small { font-size:13px !important; }
.loja-logo-img { height:24px !important; width:24px !important; border-radius:6px !important; background:#f8fafc !important; box-shadow:0 1px 4px #0001 !important; }
.badge-destaque { background:#ffe0e0 !important; color:#d62828 !important; padding:6px 12px !important; border-radius:999px !important; font-size:13px !important; font-weight:600 !important; }
.badge-pix-custom { background:#e0ffe0 !important; color:#1a7f37 !important; padding:6px 12px !important; border-radius:999px !important; font-size:13px !important; font-weight:600 !important; margin-top:6px !important; display:inline-block !important; }
.btn-loja { border-radius:8px; font-weight:700; font-size:15px; padding:12px 0; text-decoration:none; transition:background .14s, box-shadow .14s; display:inline-block; background:linear-gradient(180deg,#0b63ce 0%,#0952a8 100%); color:#fff; box-shadow:0 2px 8px rgba(11,99,206,0.10); border:none; }
.btn-loja:hover { background:#0952a8; color:#fff; box-shadow:0 6px 18px rgba(11,99,206,0.18); }
.btn-whatsapp { background:#25d366 !important; color:#fff !important; }
.btn-comprar { background:#00aaff !important; color:#fff !important; }
.produto-preco.destaque { font-size:1.5rem !important; font-weight:700 !important; color:#e63946 !important; }
.preco-original { text-decoration:line-through !important; color:#888 !important; font-size:1.1rem !important; }
/* UTILITÁRIAS PARA lojas.php */
.lojas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin-bottom: 32px; }
.loja-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 18px rgba(11,99,206,0.08), 0 1.5px 6px #0001; padding: 28px 18px 22px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: box-shadow .18s, transform .12s; min-height: 340px; position: relative; }
.loja-card:hover { box-shadow: 0 8px 32px rgba(11,99,206,0.16), 0 2px 12px #0002; transform: translateY(-2px) scale(1.025); }
.loja-logo { height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.loja-logo img { max-height: 60px; max-width: 120px; object-fit: contain; background: #f8fafc; border-radius: 10px; box-shadow: 0 1px 4px #0001; padding: 6px; }
.loja-nome { font-size: 1.18rem; font-weight: 700; margin: 0 0 10px 0; color: #0b63ce; line-height: 1.2; word-break: break-word; }
.loja-desc { color: #374151; font-size: 15.5px; min-height: 48px; margin-bottom: 22px; opacity: 0.92; }
.loja-btn { margin-top: auto; min-width: 120px; font-weight: 700; font-size: 15px; border-radius: 8px; background: linear-gradient(180deg,#0b63ce 0%,#0952a8 100%); color: #fff; box-shadow: 0 2px 8px rgba(11,99,206,0.10); padding: 12px 0; text-decoration: none; transition: background .14s, box-shadow .14s; display: inline-block; }
.loja-btn:hover { background: #0952a8; color: #fff; box-shadow: 0 6px 18px rgba(11,99,206,0.18); }
.lojas-title { font-size: 2.2rem; margin-bottom: 18px; text-align: center; color: #0b63ce; font-weight: 800; letter-spacing: -1px; }
.lojas-desc { text-align: center; color: #6b7280; margin-bottom: 38px; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.08rem; }
/* UTILITÁRIAS PARA ofertas.php */
.flex-col { flex-direction:column !important; }
.align-start { align-items:flex-start !important; }
.justify-center { justify-content:center !important; }
.gap-0 { gap:0 !important; }
.mb-1 { margin-bottom:2px !important; }
.mx-auto { margin-left:auto !important; margin-right:auto !important; }
.ofertas-title { margin:0;font-size:2.2rem;font-weight:900;color:#0b63ce;letter-spacing:-1px;line-height:1.1; }
.ofertas-desc { color:#6b7785;font-size:15px;font-weight:500;line-height:1.3; }
.text-brand { color:#0b63ce !important; }
.fw-bold { font-weight:800 !important; }
.fs-15 { font-size:1.08em !important; }
.ls-05 { letter-spacing:0.5px !important; }
.badge-pix-custom { background:#e0ffe0 !important; color:#1a7f37 !important; padding:4px 10px !important; border-radius:999px !important; font-size:12px !important; font-weight:600 !important; margin-top:6px !important; display:inline-block !important; }
.badge-timer-custom { background:#e0f7fa !important; color:#007b8a !important; }
.badge-validade { background:#e9f5ff !important; color:#0b63ce !important; }
.gap-2 { gap:12px !important; }
.justify-center { justify-content:center !important; }
.align-center { align-items:center !important; }
.mt-4 { margin-top:32px !important; }
/* UTILITÁRIAS E AJUSTES PARA PÁGINAS PÚBLICAS */
.container-xl { max-width:1200px; margin:24px auto; padding:0 16px 48px; }
.p-3 { padding:12px !important; }
.mb-2 { margin-bottom:10px !important; }
.mb-3 { margin-bottom:12px !important; }
.mb-4 { margin-bottom:28px !important; }
.mt-1 { margin-top:4px !important; }
.mt-2 { margin-top:8px !important; }
.mt-auto { margin-top:auto !important; }
.py-5 { padding-top:2.5rem !important; padding-bottom:2.5rem !important; }
.justify-between { justify-content:space-between !important; }
.justify-end { justify-content:flex-end !important; }
.align-center { align-items:center !important; }
.align-end { align-items:flex-end !important; }
.d-flex { display:flex !important; }
.clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; text-overflow:ellipsis; max-width:100%; white-space:normal; line-height:1.2; font-size:15px; margin:0 0 8px; }
.img-cover { width:100%; height:100%; object-fit:cover; }
.text-muted { color:#6b7280 !important; }
.small { font-size:13px !important; }
.card-empty { border-style:dashed !important; text-align:center; }
.card-link { text-decoration:none !important; color:inherit !important; display:block; }
.link-brand { color:var(--brand,#0b63ce) !important; text-decoration:none !important; }
/* PRIVACIDADE */
.privacy-container {
  max-width: 900px;
  min-height: 80vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.privacy-content {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}
.privacy-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0b63ce;
  text-align: center;
  margin-bottom: 32px;
  width: 100%;
}
.privacy-section {
  background: #fff;
  border-radius: 16px;
  padding: 32px 6vw 28px 6vw;
  box-shadow: 0 2px 16px #0b63ce11;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.privacy-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b63ce;
  margin-bottom: 12px;
  margin-top: 24px;
  text-align: center;
}
.privacy-section h2:first-child {
  margin-top: 0;
}
.privacy-section p {
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
  color: #222;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .privacy-content {
    max-width: 98vw;
  }
  .privacy-section {
    padding: 18px 2vw 16px 2vw;
  }
  .privacy-title {
    font-size: 1.3rem;
  }
}

/* CARDS PADRÃO (ofertas, cupons, produtos, etc) */
.offers-wrap {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 16px;
}
.offers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-box input,
.search-box select {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}
.search-box button {
  padding: 9px 12px;
  border-radius: 6px;
  border: 0;
  background: #0b63ce;
  color: #fff;
  cursor: pointer;
}
.grid-offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.12s ease;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: none;
}
.card-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #18202e;
  line-height: 1.2;
  margin: 0;
}
.card-desc {
  color: #5a6a78;
  font-size: 13px;
  margin: 0 0 6px 0;
  flex: 0 0 auto;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.price {
  font-weight: 800;
  color: #0b63ce;
  font-size: 30px;
}
.price-old {
  text-decoration: line-through;
  color: #9aa4ad;
  font-size: 13px;
}
.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #ffd;
  color: #5a3800;
}
.btn-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.btn {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.btn-shop {
  background: linear-gradient(180deg, #0b63ce 0%, #0952a8 100%);
  border: 1px solid #0b63ce;
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 99, 206, 0.13);
  transition: filter 0.13s, transform 0.13s;
}
.btn-shop:hover {
  filter: brightness(0.97);
  transform: translateY(-2px);
}
.btn-view {
  background: #f6f8fa;
  border: 1px solid #e3e7ea;
  color: #123;
}
.empty-state {
  text-align: center;
  padding: 36px 8px;
  color: #556;
  background: #fff;
  border: 1px dashed #e6e6e6;
  border-radius: 10px;
}

/* Badge de cupom para ofertas/recomendadas */
.badge-cupom {
  background: linear-gradient(90deg, #e3f0ff 0%, #b3d8ff 100%);
  color: #0b63ce;
  font-size: 0.82em;
  border-radius: 0.45em;
  padding: 0.18em 0.7em 0.18em 0.5em;
  box-shadow: 0 2px 8px rgba(11,99,206,0.10);
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  transition: box-shadow 0.3s, transform 0.3s;
  font-weight: 500;
  margin-bottom: 2px;
}
.badge-cupom-label {
  font-weight: 500;
  font-size: 0.78em;
  margin-right: 0.18em;
  color: #1565c0;
}
.badge-cupom-code {
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 0.85em;
  background: #f5faff;
  color: #0b63ce;
  border-radius: 0.3em;
  padding: 0.08em 0.45em;
  margin-left: 0.18em;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.btn-copy-cupom {
  background: none;
  border: none;
  color: #1976d2;
  font-size: 0.95em;
  padding: 0.08em 0.25em;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  border-radius: 0.3em;
}
.btn-copy-cupom:active {
  color: #0b63ce;
  transform: scale(1.1);
}
.cupom-anim {
  background: #e3f0ff !important;
  box-shadow: 0 0 0 4px #b3d8ff;
  transform: scale(1.08);
  animation: cupomPulse 0.7s;
}
@keyframes cupomPulse {
  0% { box-shadow: 0 0 0 0 #b3d8ff; }
  50% { box-shadow: 0 0 0 8px #b3d8ff; }
  100% { box-shadow: 0 0 0 0 #b3d8ff; }
}
