/* ===========================================
   style.css - Jocelia Festas (versão editável e responsiva)
   =========================================== */

/* 🎨 Paleta de Cores */
:root {
  --cor-fundo-site: #ef4896;
  --cor-fundo-produto: #ffffff;
  --rosa: #ef4896;
  --verde: #63d2bf;
  --cinza: #f5f6fa;
  --texto: #222;
  --branco: #ffffff;
  --borda: #f3e6ef;
  --sombra: rgba(0, 0, 0, 0.08);
  --sombra-rosa: rgba(255, 0, 166, 0.06);
}


/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--cor-fundo-site);
  line-height: 1.4;
}

/* =======================
   HEADER
   ======================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
header h1 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--rosa);
  font-size: 1.4rem;
  margin: 0;
}

/* =======================
   USER BOX
   ======================= */
#userBox {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--borda);
  background: #ef4896;
  color: #ffffff;
  margin-left: 22px; /* empurra os outros itens para a direita */
}

.hamburger {
  font-size: 18px;
  padding: 2px 7px;
  border-radius: 8px;
  display: flex;
  border: 1px solid #ffffff;
  color: #f6e6ef;
  background: #ef4896;
  margin-right: 22px; /* empurra os outros itens para a direita */
}

/* =======================
   BOTÃO DO CARRINHO
   ======================= */
#openCart {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--branco);
  color: var(--branco);
  border: none;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1500;
  transition: transform 0.2s ease;
}
#openCart:hover {
  transform: scale(1.08);
}
#openCart span {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--branco);
  color: var(--rosa);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
}

/* ====== BARRA DE PESQUISA ====== */
.searchbar {
  position: sticky;
  top: 70px;
  z-index: 999;
  background: white;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #ef4896;
}

.searchbar input {
  width: 90%;
  max-width: 600px;
  padding: 10px 16px;
  border: 2px solid #ef4896;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.searchbar input:focus {
  box-shadow: 0 0 8px rgba(239, 72, 150, 0.4);
  border-color: #63d2bf;
}

/* ====== LISTA DE SUGESTÕES ====== */
#suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1001;
}

.suggestions.hidden{display:none} .suggestions li{display:flex;gap:10px;padding:8px;align-items:center;cursor:pointer;border-bottom:1px solid #f3e6ef}

#suggestions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 15px;
  color: #000;
  border-bottom: 1px solid #eee;
}

#suggestions li:last-child {
  border-bottom: none;
}

#suggestions li:hover {
  background: #fff5f8;
}

#suggestions img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ef4896;
}

/* ====== BARRA LATERAL ====== */
/*S#jf_sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: white;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease;
  padding: 20px;
  z-index: 1200;
  border-right: 4px solid #ef4896;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

#jf_sidebar.open {
  left: 0;
}

#jf_sidebar h3 {
  color: #48c0ef;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

#sidebarCategories li {
  list-style: none;
   background:var(--rosa);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--branco);

  margin: 0;
  margin: 8px 0;
}

#sidebarCategories li button {
  background: #63d2bf;
  color: #000;
  border: none;
  padding: 10px 14px;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#sidebarCategories li button:hover {
  background: #ef4896;
  color: #fff;
  transform: translateX(3px);
}

/* Botão fechar sidebar */
#closeSidebar {
  background:var(--rosa);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

#closeSidebar:hover {
  background: #3bd8ce;
}
*/

/* =======================
   GRID DE PRODUTOS
   ======================= */
#mainContent {
  padding: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.produto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cor-fundo-produto);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 12px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}
.produto img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}
.produto h3 {
  font-size: 1rem;
  margin-top: 6px;
}
.produto p {
  font-size: 0.95rem;
  color: #555;
}
.produto .price {
  color: var(--rosa);
  font-weight: 700;
  margin-top: 6px;
}
.produto .actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.produto .actions button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background-color: var(--rosa);
  color: var(--branco);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.produto .actions button:hover {
  background-color: var(--verde);
}

/* =======================
   DETALHE DE PRODUTO
   ======================= */
/* ===========================================
   DETALHE DE PRODUTO - VERSÃO PREMIUM
   =========================================== */

.detail-view {
  max-width: 1200px;
  margin: 30px auto;
  padding: 22px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  animation: fadeDetail .4s ease;
}

@keyframes fadeDetail {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 35px;
  align-items: flex-start;
}

/* ======= AREA ESQUERDA ======= */

.detail-left {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Imagem principal - sem cortar */
.detail-main-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain; /* NÃO CORTA A IMAGEM */
  border-radius: 14px;
  background: #fff;
  cursor: zoom-in;
  transition: transform .25s ease;
}

.detail-main-img:hover {
  transform: scale(1.02);
}

.detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.detail-thumbs img {
  width: 80px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: .2s ease;
  border: 2px solid transparent;
}

.detail-thumbs img:hover {
  transform: scale(1.07);
  border-color: var(--rosa);
}

/* ======= AREA DIREITA ======= */

.detail-right h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rosa);
  margin-bottom: 10px;
}

#detailCategory {
  background: var(--verde);
  color: #fff;
  padding: 6px 12px;
  display: inline-block;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 600;
}

#detailDescription {
  background: #fafafa;
  border-left: 4px solid var(--rosa);
  padding: 14px;
  border-radius: 10px;
  font-size: 1rem;
  margin: 18px 0;
  line-height: 1.55;
}

#detailPrice {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--rosa);
  margin: 12px 0 20px;
}

/* Botões premium */
.detail-right button {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: .25s ease;
}

#detailAddCart {
  background: var(--rosa);
  color: #fff;
}
#detailAddCart:hover {
  background: #d7367e;
  transform: translateY(-2px);
}

#detailShare {
  background: var(--verde);
  color: #fff;
}
#detailShare:hover {
  background: #3abdaa;
  transform: translateY(-2px);
}


/* ======= RESPONSIVO ======= */

@media (max-width: 880px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-main-img {
    max-height: 320px;
  }
}


/* =======================
   MODAL
   ======================= */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10050;
}
.modal .modal-content {
  background: var(--branco);
  border-radius: 12px;
  padding: 16px;
  max-width: 720px;
  width: 92%;
  position: relative;
}
.modal-image-content {
  background: var(--branco);
  padding: 10px;
  border-radius: 12px;
  position: relative;
}
.modal .modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--branco);
  border: 0;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
}

/* =======================
   CARRINHO
   ======================= */
.cart-items {
  list-style: none;
  margin: 8px 0 0 0;
  max-height: 260px;
  overflow: auto;
}
.cart-items li {
  padding: 8px;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.cart-total {
  font-weight: 700;
  margin-top: 8px;
}

/* =======================
   SIDEBAR
   ======================= */
#jf_sidebar {
  position: fixed;
  left: -340px;
  top: 0;
  bottom: 0;
  width: 320px;
  padding: 18px;
  border-right: 6px solid var(--rosa);
  background: var(--branco);
  box-shadow: 4px 0 24px var(--sombra);
  z-index: 10040;
  transition: left 0.22s ease;
}
#jf_sidebar.open {
  left: 0;
}
#jf_sidebar h3 {
  color: var(--rosa);
  margin-bottom: 12px;
}
#jf_sidebar ul li {
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.12s;
}
#jf_sidebar ul li:hover {
  background: #f6e6ef;
}

/* =======================
   NOTIFICAÇÃO
   ======================= */
.notification {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  background:#fffb00;
  color: var(--rosa);
  padding: 10px 14px;
  border-radius: 10px;
  opacity: 1;
  z-index: 10060;
}
.notification.hidden {
  display: none;
}

/* =======================
   CONFETTI
   ======================= */
#confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.confetti {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
  opacity: 0.95;
  mix-blend-mode: screen;
}

/* =======================
   BOTÕES GERAIS
   ======================= */
.btn {
  background: var(--rosa);
  color: var(--branco);
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.btn.secondary {
  background: var(--verde);
}

.btn1{background: var(--rosa);
  color: var(--branco);
  padding: 8px 10px;
  border: none;
  cursor: pointer;
  background: #eee;
  color: var(--rosa);
    border-radius: 8px;

}

.btn2{  background:#fffb00;
  color: var(--rosa);
  padding: 8px 10px;
z-index: 9999999;
  border: none;
  cursor: pointer;
  
}
/* =======================
   RESPONSIVIDADE
   ======================= */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  header h1 {
    font-size: 1.2rem;
  }
  .searchbar {
    top: 58px;
  }
  .searchbar input {
    width: 100%;
    max-width: 90%;
  }
  #suggestions {
    width: 90%;
    max-width: none;
  }
  #jf_sidebar {
    width: 100%;
    left: -100%;
  }
  #jf_sidebar.open {
    left: 0;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .produto img {
    height: 140px;
  }
}
@media (max-width: 480px) {
  header {
    padding: 10px;
  }
  #openCart {
    width: 52px;
    height: 52px;
    bottom: 12px;
    right: 12px;
  }
  .produto {
    padding: 10px;
  }
  .produto h3 {
    font-size: 0.95rem;
  }
}


.tab {transition:all .2s ease}
.tab.active {background:#ef4896;color:#fff;border-color:#ef4896}
.card {transition:opacity .3s ease}
.hidden {opacity:0;pointer-events:none;position:absolute;left:-9999px}




/* ========================
   MODAL DE ZOOM PROFISSIONAL
   ======================== */
/* ========================
   MODAL DE ZOOM CORRIGIDO
   ======================== */

#zoomModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px; /* evita que a imagem encoste nas bordas */
}

#zoomModal img {
  max-width: 90vw;   /* garante que nunca ultrapasse a largura da tela */
  max-height: 85vh;  /* garante que nunca ultrapasse a altura da tela */
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  pointer-events: none; /* evita clique travando */
}

/* BOTÃO FECHAR */
#zoomClose {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 45px;
  color: #fff;
  cursor: pointer;
  z-index: 100000;
  user-select: none;
}

/* BOTÕES DE NAVEGAÇÃO */
.zoomNav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 18px;
  user-select: none;
  z-index: 100000;
}

#zoomPrev { left: 25px; }
#zoomNext { right: 25px; }


/* =======================================
   AJUSTE REAL DO MODAL QUE VOCÊ USA
   (imageModal / modalImage)
   ======================================= */

#imageModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none; /* controlado pelo JS */
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

#imageModal img {
  max-width: 90vw;   /* limita largura na tela */
  max-height: 85vh;  /* limita altura na tela */
  width: auto;
  height: auto;
  object-fit: contain; /* NÃO CORTA A IMAGEM */
  border-radius: 12px;
  background: #fff;
}

#closeImageModal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 38px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100000;
}

/* ============================
   BANNER DE OFERTAS RESPONSIVO
   ============================ */

#bannerDestaque {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bannerDestaque img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
  transition: transform .25s ease, box-shadow .25s ease;
  
  /* ANIMAÇÕES */
  animation: bannerFadeSlide 0.8s ease-out forwards,
             bannerPulse 6s ease-in-out infinite;
}

/* Hover no PC */
#bannerDestaque img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ----------------------------------
   ANIMAÇÃO 1 — Fade + Slide na entrada
   ---------------------------------- */
@keyframes bannerFadeSlide {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------
   ANIMAÇÃO 2 — Zoom suave contínuo
   ---------------------------------- */
@keyframes bannerPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* MOBILE */
@media (max-width: 600px) {
  #bannerDestaque {
    margin: 14px auto;
    padding: 0 10px;
  }

  #bannerDestaque img {
    border-radius: 14px;
    max-height: 180px;
    object-fit: cover;
  }
}

/* TABLET */
@media (max-width: 900px) {
  #bannerDestaque img {
    max-height: 250px;
  }
}



/* ============================
   EFEITO DE CHUVA DE IMAGENS
   ============================ */

.drop-item {
  position: fixed;
  top: -100px;
  z-index: -1; /* Fica atrás de todos os elementos */
  pointer-events: none;
  user-select: none;

  animation: dropFall linear forwards;
}

/* Animação de queda */
@keyframes dropFall {
  to {
    transform: translateY(120vh) rotate(360deg);
    opacity: 0.9;
  }
}
@keyframes dropFall {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: translateY(120vh) translateX(30px) rotate(360deg);
    opacity: 0.9;
  }
}


/* ============================================
   BOTÕES DAS CATEGORIAS — ESTILO PREMIUM
   ============================================ */

#sidebarCategories {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sidebarCategories li {
  margin: 10px 0;
}

/* Estilo dos botões */
#sidebarCategories button {
  width: 100%;
  background: var(--rosa) !important;
  color: #fffb00 !important; /* amarelinho */
  padding: 12px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s ease, transform .18s ease, box-shadow .2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Bolinha decorativa antes do texto */
#sidebarCategories button::before {
  content: "★";
  font-size: 1.1rem;
  color: #fffb00;
}

/* Hover */
#sidebarCategories button:hover {
  background: #ff5fa9 !important;
  transform: translateX(6px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  color: #fffce0 !important;
}

/* Clique */
#sidebarCategories button:active {
  transform: translateX(3px) scale(0.97);
}



/* ================================
   MODAL DE PROMOÇÃO (ADMIN)
   ================================ */
#promoModal {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  margin-top: 15px;
  animation: promoFadeIn .25s ease-out;
}

#promoModal.hidden {
  display: none;
}

#promoModal h3 {
  color: #ef4896;
  margin-top: 0;
  font-size: 1.4rem;
}

#promoModal input {
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #f3e7f1;
  margin-top: 6px;
  font-size: 1rem;
}

#promoModal label {
  color: #666;
  font-weight: 600;
}

/* Animação suave */
@keyframes promoFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================
   BOTÃO "PROMOÇÃO" DA LISTA
   ================================ */
.search-item button[data-edit-promo] {
  background: #ef4896 !important;
  color: white !important;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: .2s;
}

.search-item button[data-edit-promo]:hover {
  background: #d73882 !important;
}

/* ================================
   TAG DE PREÇO PROMOCIONAL NA LISTA
   ================================ */
.promo-tag {
  background: #ef4896;
  padding: 3px 8px;
  font-size: 0.75rem;
  color: #fff;
  border-radius: 8px;
  display: inline-block;
  margin-top: 5px;
}

/* Preço riscado no admin */
.promo-old {
  text-decoration: line-through;
  color: #888;
  font-size: 0.85rem;
}
/* ===========================
   ESTILO PARA PROMOÇÕES
   =========================== */

.produto-card {
  position: relative;
}

/* Badge de promoção (círculo ou selo) */
.promo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: radial-gradient(circle, #ff0059, #d40045);
  color: #fff;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.35);
  animation: pulsePromo 1.6s infinite ease-in-out;
  z-index: 10;
}

@keyframes pulsePromo {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.14); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}


/* Preço original riscado */
.preco-antigo {
  font-size: 0.85rem;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* Preço promocional super destacado */
.preco-promo {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ff0059;
  text-shadow: 0px 0px 6px rgba(255,0,90,0.4);
}

/* Moldura do card quando em promoção */
.produto-card.em-promocao {
  border: 2px solid #ff0059;
  border-radius: 10px;
  box-shadow: 0px 0px 12px rgba(255,0,90,0.35);
  animation: brilhoPromo 2s infinite alternate;
}

@keyframes brilhoPromo {
  from { box-shadow: 0 0 6px rgba(255,0,90,0.25); }
  to { box-shadow: 0 0 16px rgba(255,0,90,0.55); }
}


/* ================================
   PREÇOS PROMOCIONAIS – BONITÃO
================================ */

.produto {
    position: relative;
    overflow: visible;
}

/* Badge de promoção no canto */
.produto .promo-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: linear-gradient(45deg, #ef4896, #ff0037);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    animation: badgePop 0.5s ease-out;
}

@keyframes badgePop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Caixa de preço */
.price {
    margin-top: 8px;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}

/* Preço normal */
.price-normal {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Preço original riscado */
.price-old {
    font-size: 14px;
    text-decoration: line-through;
    color: #888;
}

/* Preço promocional */
.price-new {
    font-size: 22px;
    font-weight: 900;
    color: #ef4896;
    text-shadow: 0px 0px 6px rgba(239,72,150,0.4);
    animation: promoGlow 2s infinite alternate ease-in-out;
}

@keyframes promoGlow {
    0% { transform: scale(1); text-shadow: 0 0 6px rgba(239,72,150,0.4); }
    100% { transform: scale(1.05); text-shadow: 0 0 14px rgba(239,72,150,1); }
}

/* --- PREÇOS COM DESCONTO (CLIENTE) --- */
.price {
  margin: 10px 0;
  font-size: 20px;
  font-weight: bold;
}

.price-old {
  text-decoration: line-through;
  color: #888;
  font-size: 14px;
}

.price-new {
  color: #ef4896;
  font-size: 22px;
  font-weight: 800;
}

.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(45deg, #ff0066, #ffcc00);
  padding: 6px 12px;
  border-radius: 20px;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  text-shadow: 1px 1px 2px #000;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
  animation: pulsePromo 1.4s infinite ease-in-out;
}

@keyframes pulsePromo {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* TITULO DA CATEGORIA / SEÇÃO */
#categoryTitle {
    font-size: 26px;
    font-weight: 900;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;

    /* Cores vibrantes estilo JF */
    color: #ff006f;
    background: linear-gradient(90deg, #ff99d6, #ffe3f2, #ff99d6);

    padding: 12px 20px;
    border-radius: 14px;

    box-shadow: 0 4px 12px rgba(255, 0, 150, 0.35);
    border: 2px solid #ff47a3;

    width: 90%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    animation: fadeInCategory 0.4s ease-out;
}

/* Animação suave */
@keyframes fadeInCategory {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Título da Categoria — MUITO DESTACADO */
#categoryTitle {
  width: 100%;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  padding: 18px 10px;
  margin: 20px auto 10px auto;

  background: linear-gradient(90deg, #ef4896, #ffdd00);
  border-radius: 14px;

  box-shadow: 0 8px 25px rgba(0,0,0,0.20);
  letter-spacing: 1px;

  /* efeito glass */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 2px solid rgba(255,255,255,0.3);
  animation: fadePop 0.4s ease-out;
}

/* Animação de entrada */
@keyframes fadePop {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* Espaçamento dos produtos depois do título */
#productList {
  margin-top: 15px !important;
}

/*#mainContent.destaque-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/fundo1.png?v=3558050bb58a");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
}*/
 
#mainContent.destaque-bg::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("../img/fundo1.png?v=3558050bb58a");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* deixa a imagem mais viva */
  filter: saturate(1.05);

  z-index: -2;
  pointer-events: none;
}

/* camada escura para destacar os produtos */
#mainContent.destaque-bg::after {
  content: "";
  position: fixed;
  inset: 0;

  background: rgba(255,255,255,0.08);

  z-index: -1;
  pointer-events: none;
}




/* =====================================================
   REFORMA CATÁLOGO PÚBLICO — ESTILO MARKETPLACE JF
   ===================================================== */
body{
  background: linear-gradient(180deg,#ef4896 0%,#f75eaa 38%,#f7f7f7 38%,#f7f7f7 100%);
}
header{
  gap:12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
}
.searchbar{
  top:57px;
  padding:14px 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.searchbar input{
  max-width: 860px;
  height: 48px;
  border-radius: 999px;
  font-weight: 600;
  background:#fff;
}
#suggestions{
  max-width:860px;
  border:1px solid #f3e6ef;
  max-height:70vh;
  overflow:auto;
}
.suggestion-header{
  display:block!important;
  background:#fff5f9;
  color:#333!important;
  cursor:default!important;
}
.suggestion-header small{display:block;color:#777;margin-top:2px}
.suggestion-see-all{
  justify-content:center!important;
  background:#ef4896!important;
  color:#fff!important;
  font-weight:800;
}
.category-chips{
  max-width:1200px;
  margin:12px auto 8px;
  padding:0 14px 8px;
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.category-chips button{
  flex:0 0 auto;
  border:0;
  background:#fff;
  color:#ef4896;
  border-radius:999px;
  padding:10px 15px;
  font-weight:800;
  box-shadow:0 5px 14px rgba(0,0,0,.10);
  cursor:pointer;
}
.category-chips button.active,
.category-chips button:hover{
  background:#63d2bf;
  color:#fff;
}
/* Compartilhamento de categoria: chip da vitrine (barra de categorias) */
.chip-wrap{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:4px;
}
.chip-btn{
  flex:0 0 auto;
  border:0;
  background:#fff;
  color:#ef4896;
  border-radius:999px;
  padding:10px 15px;
  font-weight:800;
  box-shadow:0 5px 14px rgba(0,0,0,.10);
  cursor:pointer;
}
.chip-btn.active,
.chip-btn:hover{
  background:#63d2bf;
  color:#fff;
}
.chip-share{
  flex:0 0 auto;
  border:0;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#fff;
  color:#63d2bf;
  font-size:15px;
  box-shadow:0 5px 14px rgba(0,0,0,.10);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.chip-share:hover{
  background:#25D366;
  color:#fff;
}
#jf_sidebar{
  overflow-y:auto;
  max-height:100vh;
  padding-bottom:32px;
}
#sidebarCategories .sidebar-item{
  display:flex;
  align-items:center;
  gap:6px;
}
#sidebarCategories .sidebar-item button:first-child{
  text-align:left;
  width:100%;
  flex:1;
}
#sidebarCategories .sidebar-featured{
  background:#ef4896!important;
  color:#fffb00!important;
}
.sidebar-share-btn{
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:50%;
  border:0;
  background:#f5f6fa;
  color:#63d2bf;
  cursor:pointer;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sidebar-share-btn:hover{
  background:#25D366;
  color:#fff;
}
/* Botão "Compartilhar esta categoria" no topo da listagem filtrada */
.category-share-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:10px;
  border:0;
  border-radius:999px;
  padding:9px 16px;
  background:#25D366;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.14);
}
.category-share-btn:hover{ filter:brightness(1.05); transform:translateY(-1px); }
@media (max-width: 480px){
  .catalog-title-box{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
  .category-share-btn{ margin-left:0; }
}
.how-to-order{
  max-width:1200px;
  margin:16px auto 8px;
  padding:0 14px;
}
.how-to-order>div{
  background:#fff;
  border-radius:18px;
  box-shadow:0 8px 26px rgba(0,0,0,.10);
  padding:14px;
  display:grid;
  grid-template-columns:1.2fr repeat(4,1fr);
  gap:10px;
  align-items:center;
  border:2px solid rgba(239,72,150,.08);
}
.how-to-order strong{color:#ef4896;font-size:1.05rem}
.how-to-order span{
  background:#fff5f9;
  border:1px solid #f3e6ef;
  border-radius:14px;
  padding:10px;
  font-size:.9rem;
  font-weight:700;
  color:#333;
}
.catalog-title-box{
  max-width:1200px;
  margin:18px auto 12px;
  padding:0 14px;
  color:#fff;
  text-align:left;
}
.catalog-title-box h2{
  display:inline-block;
  background:#fff;
  color:#ef4896;
  border-radius:16px;
  padding:10px 16px;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  margin-bottom:6px;
}
.breadcrumb{
  display:block;
  color:#fff;
  font-weight:700;
  font-size:.85rem;
  margin-bottom:6px;
  text-shadow:0 1px 2px rgba(0,0,0,.15);
}
.breadcrumb a{
  color:#fff;
  text-decoration:underline;
}
.breadcrumb span{
  margin:0 4px;
  opacity:.8;
}
.catalog-title-box p{
  color:#fff;
  font-weight:700;
  text-shadow:0 1px 2px rgba(0,0,0,.15);
  margin-left:4px;
}
/* Barra de ordenar/filtrar, estilo loja grande */
.catalog-toolbar{
  max-width:1200px;
  margin:0 auto 14px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:wrap;
  background:#fff;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.toolbar-sort,
.toolbar-promo{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:.9rem;
  color:#555;
  cursor:pointer;
}
.toolbar-sort select{
  border:1px solid #f0d5e4;
  border-radius:10px;
  padding:7px 10px;
  font-weight:700;
  color:#ef4896;
  background:#fff7fb;
  cursor:pointer;
}
.toolbar-promo input{
  width:17px;
  height:17px;
  accent-color:#ef4896;
  cursor:pointer;
}
@media (max-width: 600px){
  .catalog-toolbar{ justify-content:space-between; padding:10px; }
}
.grid{
  grid-template-columns: repeat(auto-fill,minmax(235px,1fr));
  align-items:stretch;
}
.ml-card.produto{
  text-align:left;
  padding:0;
  border-radius:18px;
  overflow:hidden;
  transition:.22s ease;
  border:1px solid rgba(0,0,0,.06);
  min-height:390px;
}
.ml-card.produto:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.16);
}
.product-media{
  position:relative;
  background:#fafafa;
  aspect-ratio: 4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
}
.product-info{padding:13px 13px 4px;display:flex;flex-direction:column;gap:7px;flex:1}
.product-meta{display:flex;justify-content:space-between;gap:8px;font-size:.76rem;color:#777;font-weight:800;text-transform:uppercase}
.product-info h3{font-size:1.02rem;line-height:1.25;margin:0;color:#222;min-height:42px}
.product-info p{font-size:.88rem;color:#666;min-height:38px}
.marketplace-actions{padding:10px 13px 13px;gap:8px!important}
.marketplace-actions button,
.btn-add,.btn-share{
  border:0;
  border-radius:12px;
  padding:11px 9px;
  font-weight:900;
  cursor:pointer;
}
.btn-add{background:#ef4896;color:#fff}
.btn-share{background:#63d2bf;color:#fff}
.price{margin:4px 0 0;text-align:left}
.price-normal,.price-new{font-size:1.35rem;font-weight:900;color:#ef4896}
.price-old{display:block;text-decoration:line-through;color:#888;font-size:.86rem}
.promo-badge{top:10px!important;left:10px!important;border-radius:999px!important;background:linear-gradient(45deg,#ef4896,#ffcc00)!important;color:#fff!important;z-index:3}
.empty-state{
  grid-column:1/-1;
  background:#fff;
  border-radius:18px;
  padding:28px;
  text-align:center;
  color:#555;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}
.detail-view{
  max-width:1180px;
}
.detail-right h2{
  background:transparent!important;
  color:#ef4896!important;
  padding:0!important;
}
#openCart{color:#ef4896;background:#fff;border:3px solid #ef4896}
.cart-badge{
  position:absolute;
  top:-4px;
  right:-4px;
  min-width:22px;
  height:22px;
  padding:0 5px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  font-size:.72rem;
  font-weight:900;
  display:none;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
  border:2px solid #fff;
}
@media (max-width: 900px){
  .how-to-order>div{grid-template-columns:1fr 1fr}
  .how-to-order strong{grid-column:1/-1}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 4px}
  .ml-card.produto{min-height:330px;border-radius:15px}
  .product-info{padding:10px 10px 2px}
  .product-info h3{font-size:.93rem;min-height:36px}
  .product-info p{font-size:.8rem;min-height:34px}
  .price-normal,.price-new{font-size:1.05rem}
  .marketplace-actions{flex-direction:column;padding:8px 10px 10px}
  .catalog-title-box{text-align:center}
  header h1{font-size:1rem}
  #userBox{order:3;width:100%;margin-left:0;text-align:center}
}
@media (max-width: 480px){
  .searchbar{top:92px}
  .how-to-order>div{grid-template-columns:1fr}
  .category-chips{margin-top:8px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #mainContent{padding:8px}
  .product-media{aspect-ratio:1/1}
  .ml-card.produto{min-height:315px}
  .btn-add,.btn-share{font-size:.82rem;padding:9px 6px}
}

/* =====================================================
   MELHORIA 2 — DETALHE DO PRODUTO + COMPARTILHAMENTO
   ===================================================== */
.product-detail-premium.detail-view{
  max-width:1180px;
  margin:18px auto 80px;
  padding:0;
  background:transparent;
  box-shadow:none;
}
.product-detail-premium #backToCatalog{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px 0;
  border-radius:999px;
  background:#fff;
  color:var(--rosa);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  font-weight:900;
}
.product-detail-premium .product-detail-grid{
  display:grid;
  grid-template-columns:minmax(320px, 1fr) minmax(320px, .95fr);
  gap:22px;
  align-items:start;
}
.product-detail-premium .detail-left,
.product-detail-premium .detail-right{
  background:#fff;
  border-radius:24px;
  box-shadow:0 12px 36px rgba(0,0,0,.15);
  border:1px solid rgba(239,72,150,.12);
}
.product-detail-premium .detail-left{padding:16px;position:sticky;top:128px;}
.product-detail-premium .detail-main-img{
  width:100%;
  height:min(520px, 58vh);
  max-height:none;
  object-fit:contain;
  background:linear-gradient(180deg,#fff,#fff7fb);
  border-radius:20px;
  border:1px solid #f5d7e6;
}
.product-detail-premium .detail-thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
  padding:4px 2px 2px;
  overflow-x:auto;
}
.product-detail-premium .detail-thumbs img{
  width:82px;
  height:72px;
  border-radius:14px;
  object-fit:cover;
  flex:0 0 auto;
  border:2px solid transparent;
  background:#fff;
}
.product-detail-premium .detail-thumbs img.active,
.product-detail-premium .detail-thumbs img:hover{border-color:var(--rosa);transform:none;}
.product-detail-premium .detail-right{padding:22px;}
.product-detail-premium .detail-right h2{
  font-size:clamp(1.55rem, 3vw, 2.35rem);
  line-height:1.05;
  color:#222;
  margin:10px 0 12px;
  letter-spacing:-.03em;
}
.product-detail-premium #detailCategory{
  display:inline-flex;
  align-items:center;
  background:#fff0f7;
  color:var(--rosa);
  border:1px solid #ffd1e8;
  border-radius:999px;
  font-weight:900;
  padding:8px 12px;
  margin:0 8px 8px 0;
}
.detail-code{
  display:inline-flex;
  align-items:center;
  color:#555;
  font-size:.92rem;
  background:#f7fffd;
  border:1px solid #c8f3eb;
  border-radius:999px;
  padding:8px 12px;
  margin-bottom:14px;
}
.detail-code strong{color:var(--rosa);margin-left:4px;}
.product-detail-premium #detailDescription{
  background:#fff;
  border:1px solid #f1e6ec;
  border-left:5px solid var(--rosa);
  border-radius:16px;
  padding:16px;
  font-size:1rem;
  color:#444;
  line-height:1.6;
  margin:12px 0 16px;
}
.product-detail-premium #detailPrice{
  background:linear-gradient(135deg,#fff7fb,#ffffff);
  border:1px solid #ffd4e8;
  border-radius:18px;
  padding:14px 16px;
  margin:10px 0 14px;
}
.product-detail-premium #detailPrice .price-normal,
.product-detail-premium #detailPrice .price-new{
  display:block;
  color:var(--rosa);
  font-size:clamp(1.7rem, 4vw, 2.4rem);
  font-weight:1000;
  line-height:1;
}
.detail-safe-box{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:14px 0;
}
.detail-safe-box div{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px;
  background:#f8f9fb;
  border-radius:16px;
  border:1px solid #edf0f3;
}
.detail-safe-box strong{min-width:105px;color:#222;font-size:.92rem;}
.detail-safe-box span{color:#666;font-size:.9rem;line-height:1.35;}
.product-detail-premium .detail-right > div[style*="display:flex"]{
  display:grid !important;
  grid-template-columns:1fr 1fr;
  gap:10px !important;
  margin-top:16px !important;
}
.product-detail-premium .detail-right button{
  width:100%;
  border-radius:16px;
  padding:14px 16px;
  font-weight:1000;
  border:none;
  box-shadow:0 10px 24px rgba(239,72,150,.18);
}
.product-detail-premium #detailAddCart{background:var(--rosa);color:#fff;}
.product-detail-premium #detailShare{background:#25D366;color:#fff;}
.product-detail-premium #detailShareImage{
  grid-column:1 / -1;
  background:var(--verde);
  color:#fff;
}
@media (max-width: 880px){
  .product-detail-premium.detail-view{margin:10px auto 72px;padding:0 4px;}
  .product-detail-premium .product-detail-grid{grid-template-columns:1fr;gap:14px;}
  .product-detail-premium .detail-left{position:static;padding:10px;border-radius:20px;}
  .product-detail-premium .detail-right{padding:16px;border-radius:20px;}
  .product-detail-premium .detail-main-img{height:360px;max-height:55vh;}
  .product-detail-premium .detail-right > div[style*="display:flex"]{grid-template-columns:1fr !important;}
  .detail-safe-box strong{min-width:92px;}
}
@media (max-width: 520px){
  .product-detail-premium .detail-main-img{height:310px;}
  .product-detail-premium .detail-thumbs img{width:70px;height:62px;}
  .detail-safe-box div{display:block;}
  .detail-safe-box strong{display:block;margin-bottom:3px;}
}


/* Detalhe: produtos inclusos no kit */
.detail-kit-box{margin:18px 0;padding:16px;border-radius:18px;background:#fff7fb;border:1px solid #f3c6df;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.detail-kit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.detail-kit-head strong{display:block;color:#ef4896;font-size:1.1rem}.detail-kit-head span{display:block;color:#555;font-size:.92rem;margin-top:2px}
.detail-kit-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px;margin-top:14px}
.detail-kit-card{position:relative;text-align:left;background:#fff;border:1px solid #f3e6ef;border-radius:15px;padding:9px;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.07);transition:.2s;border:none;color:#222}
.detail-kit-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(239,72,150,.18)}
.detail-kit-card img{width:100%;height:95px;object-fit:cover;border-radius:12px;background:#f5f5f5}.detail-kit-card strong{display:block;font-size:.92rem;margin-top:7px;color:#222;line-height:1.2}.detail-kit-card small{display:block;color:#ef4896;font-weight:700;margin-top:3px}.kit-qtd{position:absolute;top:14px;left:14px;background:#ef4896;color:#fff;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}
@media(max-width:600px){.detail-kit-grid{grid-template-columns:repeat(2,1fr)}.detail-kit-card img{height:82px}}

#mainContent {
    background: transparent !important;
}

#mainContent.destaque-bg {
    background: transparent !important;
}

body {
    background: #ef4896 !important; /* ou #fff */
}

/* =====================================================
   SKELETON DE CARREGAMENTO (enquanto os produtos chegam)
   ===================================================== */
.skeleton-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  min-height:390px;
  padding:0;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.skeleton-media{
  aspect-ratio:4/3;
  background:linear-gradient(90deg,#f0f0f3 25%,#f8f8fb 37%,#f0f0f3 63%);
  background-size:400% 100%;
  animation:skeletonShine 1.4s ease infinite;
}
.skeleton-line{
  height:12px;
  margin:14px 13px;
  border-radius:6px;
  background:linear-gradient(90deg,#f0f0f3 25%,#f8f8fb 37%,#f0f0f3 63%);
  background-size:400% 100%;
  animation:skeletonShine 1.4s ease infinite;
}
.skeleton-line.w70{width:70%}
.skeleton-line.w50{width:50%}
.skeleton-line.w40{width:40%}
@keyframes skeletonShine{
  0%{background-position:100% 50%}
  100%{background-position:0 50%}
}
@media (max-width:900px){ .skeleton-card{min-height:330px} }

/* =====================================================
   RODAPÉ (selos de confiança, estilo loja grande)
   ===================================================== */
.site-footer{
  max-width:1200px;
  margin:36px auto 0;
  padding:0 14px 24px;
}
.footer-trust{
  background:#fff;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
  padding:18px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.footer-trust > div{
  text-align:center;
  padding:10px 6px;
}
.footer-trust span{
  display:block;
  font-size:1.6rem;
  margin-bottom:6px;
}
.footer-trust strong{
  display:block;
  color:#ef4896;
  font-size:.92rem;
}
.footer-trust small{
  display:block;
  color:#777;
  font-size:.78rem;
  margin-top:2px;
}
.footer-copy{
  text-align:center;
  color:#fff;
  font-weight:700;
  font-size:.85rem;
  margin-top:14px;
  text-shadow:0 1px 2px rgba(0,0,0,.15);
}
@media (max-width:700px){
  .footer-trust{ grid-template-columns:repeat(2,1fr); }
}

/* =====================================================
   BOTÃO VOLTAR AO TOPO
   ===================================================== */
.back-to-top{
  position:fixed;
  right:16px;
  bottom:84px;
  width:44px;
  height:44px;
  border-radius:50%;
  border:0;
  background:#fff;
  color:#ef4896;
  font-size:1.2rem;
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  cursor:pointer;
  z-index:1400;
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease;
}
.back-to-top.visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
@media (max-width:480px){
  .back-to-top{ bottom:76px; right:12px; width:40px; height:40px; }
}