body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111;
}

/* BARRA SUPERIOR */
.top-bar {
  width: 100%;
  text-align: center;
  padding: 8px 0;
  background: #ffe68a;
  color: #222;
  font-size: 14px;
  font-weight: 500;
}

/* HEADER */
.header {
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 3px;
  color: #222;
}

.header-right i {
  font-size: 18px;
  margin-left: 20px;
  color: #222;
  cursor: pointer;
}

/* MENU */
nav.menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

nav.menu a {
  text-decoration: none;
  color: #222;
  font-size: 15px;
  opacity: .9;
}

nav.menu a:hover {
  color: #d6a300;
  opacity: 1;
}

/* HERO */
.hero {
  padding: 60px 5%;
  text-align: center;
  height: 400px;

  /* 🔥 Banner de fundo */
  background-image: url("../imgs/banners/bannerSnmar.png"); 
  background-size: cover;      /* cobre a tela toda */
  background-position: center; /* centraliza a imagem */
  background-repeat: no-repeat;/* evita repetição */

  /* 🔥 Overlay (escurece para o texto aparecer) */
  position: relative;
  cursor: pointer;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.247); /* escurecimento ajustável */
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2; /* mantém texto acima do overlay */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content h2 {
  font-size: 48px;
  color: #ee9b02;
}

.hero-content p {
  margin: 15px 0 25px;
  font-size: 18px;
  opacity: .7;
}

/* BANNER */
.hero-banner img {
  width: 100%;
  margin-top: 40px;
  border-radius: 8px;
}

/* TOP BAR */
.top-bar {
  width: 100%;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.top-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.top-links a {
  font-size: 13px;
  color: #777;
  text-decoration: none;
}

.top-links a:hover {
  color: #000;
}

/* HEADER PRINCIPAL */
.header-main {
  width: 97dvw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-icons i {
  font-size: 18px;
  color: #333;
  cursor: pointer;
}

.logo-center {
  letter-spacing: 10px;
  font-size: 26px;
  font-weight: 600;
  color: #111;
  text-align: center;
  flex: 1;
}

.right-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.right-icons i {
  font-size: 18px;
  color: #333;
  cursor: pointer;
  position: relative;
}

.cart-icon,
.fav-icon {
  position: relative;
}

.count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #d6a300;
  color: #fff;
  font-size: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MENU ESTILO SG */
.menu-sg {
  display: flex;
  justify-content: center;
  gap: 45px;
  padding: 18px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #ffee00;
  box-shadow: 0px 2px 2px 0px #bbc507;
}

.menu-sg a {
  text-decoration: none;
  font-size: 15px;
  color: #222;
  letter-spacing: 1px;
}

.menu-sg a:hover {
  color: #d6a300;
}


/* TAGS DE CATEGORIA ESTILO SG */
.categoria-tags {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.categoria-tags button {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
  color: #444;
}

.categoria-tags button:hover {
  border-color: #d6a300;
  color: #d6a300;
}

/* CONTROLES */
.prod-controls {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px 0 30px;
}

.prod-controls div {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #444;
}

.prod-controls i {
  font-size: 18px;
}

/* GRID DE PRODUTOS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 0 5%;
}

/* CARD NORMAL */
.product-card {
  background: #fff;
  border-radius: 8px;
  position: relative;
  padding: 20px;
  border: 1px solid #eee;
  text-align: left;
}

.product-img {
  width: 100%;
  border-radius: 8px;
}

.like-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #fff;
  border-radius: 50%;
  padding: 7px;
  cursor: pointer;
  border: 1px solid #eee;
}

.like-btn i {
  font-size: 18px;
}

.product-title {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  height: 45px;        /* 🔥 Título ocupa sempre o mesmo espaço */
  overflow: hidden;    /* Corta excesso */
}


/* AVALIAÇÃO */
.product-rating {
  margin: 10px 0;
  font-size: 14px;
  color: #111;
}

.product-rating span {
  color: #666;
}

/* PREÇOS */
.product-price-old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-price {
  font-size: 20px;
  margin-top: 5px;
  font-weight: 600;
}

.product-price span {
  color: #d6a300;
  margin-left: 5px;
}

/* BOTÃO COMPRAR */
.btn-comprar {
  width: 100%;
  margin-top: 15px;
  padding: 12px 0;
  background: #111;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: .2s;
}

.btn-comprar:hover {
  background: #333;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  position: relative;
  padding: 20px;
  border: 1px solid #eee;
  text-align: left;

  height: 720px;     /* 🔥 Altura fixa p/ todos */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.product-img {
  width: 100%;
  height: 520px;       /* TAMANHO PADRÃO FIXO */
  object-fit: cover;   /* Corta certinho */
  border-radius: 8px;
}


/* 🔥 SELO ESGOTADO */
.selo-esgotado {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #000;
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 10;
}

/* 🔥 CARD ESGOTADO */
.product-card.esgotado {
  opacity: 0.55;
  filter: grayscale(0.4);
  pointer-events: auto;
  position: relative;
}

/* Desabilita hover da imagem quando esgotado */
.product-card.esgotado img {
  opacity: 0.7;
}

/* Botão desativado */
.btn-desativado,
.product-card.esgotado .btn-comprar {
  background: #999 !important;
  cursor: not-allowed !important;
  border: none;
}

.product-card.esgotado .btn-comprar:hover {
  background: #999 !important;
}

/* =======================
   🔥 DRAWER DE FILTRO
   ======================= */

#filtro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0,0,0,0.4);
  backdrop-filter: blur(2px);
  display: none;
  z-index: 99998 !important; /* acima do menu + header */
}

#filtro-drawer {
  position: fixed;
  top: 0;
  right: -350px;
  width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  z-index: 99999 !important; /* MAIOR QUE TUDO */
  padding: 20px;
  display: flex;
  flex-direction: column;
}

#filtro-drawer.ativo {
  right: 0;
}

#filtro-overlay.ativo {
  display: block;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.drawer-header h3 {
  font-size: 20px;
  font-weight: 600;
}

#closeDrawer {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.filtro-bloco {
  margin-bottom: 25px;
}

.filtro-bloco h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.filtro-bloco label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}

.filtro-bloco input[type="number"] {
  width: 100%;
  margin-top: 5px;
  padding: 7px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.btn-filtrar-aplicar {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background: #111;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

.btn-filtrar-aplicar:hover {
  background: #333;
}

/* ================================
   🔥 HEADER COMPLETO FIXO
   ================================ */

/* container geral do topo */
.top-bar,
.header-main,
.menu-sg {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
}

/* ordem – top bar no topo, header abaixo, menu abaixo */
.top-bar {
  top: 0;
}

/* HEADER PRINCIPAL (centralizado de verdade) */
.header-main {
  position: fixed;
  top: 32px; /* abaixo da top-bar */
  left: 0;
  width: 100%;       /* ocupa a tela inteira */

  display: flex;
  justify-content: center; /* centro absoluto horizontal */
  background: #fff;
  z-index: 9999;
  padding: 0;  /* removemos padding, ficará no container interno */
}

/* CONTAINER INTERNO DO HEADER */
.header-inner {
  width: 100%;
  max-width: 1200px;         /* largura central estilo loja premium */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-sizing: border-box;
}

.menu-sg {
  top: 32px + 65px; /* top-bar + header */
  top: 90px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* para o conteúdo não ficar escondido atrás do header fixo */
body {
  padding-top: 160px; 
}

/* ============================
   🎄 PROMOÇÃO NATAL
   ============================ */

.promocao-natal-section {
  padding: 40px 5%;
  margin-top: 30px;
  background: linear-gradient(135deg, #ffefef, #fff);
  border-radius: 12px;
  border: 1px solid #ffdada;
}

.promo-header {
  text-align: center;
  margin-bottom: 25px;
}

.promo-header h2 {
  font-size: 28px;
  color: #b30000;
  font-weight: 700;
}

.promo-header p {
  font-size: 15px;
  color: #444;
  opacity: .8;
}

.promo-natal-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* permite quebrar linha quando não houver scroll */
  gap: 25px;
  padding: 15px 0;
}


.promo-natal-container::-webkit-scrollbar {
  height: 6px;
}

.promo-natal-container::-webkit-scrollbar-thumb {
  background: #d60000;
  border-radius: 50px;
}

/* Card especial da promoção */
.promo-card {
  min-width: 230px;
  max-width: 400px;
  min-height: 400px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  padding: 12px;
  scroll-snap-align: start;
  position: relative;
  transition: .2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
}

.promo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c20000;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 5px;
  font-weight: bold;
}

.promo-price {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  color: #b30000;
}

.promo-old {
  font-size: 13px;
  color: #777;
  text-decoration: line-through;
}

/* =========================================
   🔥 FOOTER PREMIUM — HORA CERTA
========================================= */
/* ===========================================================
   🌙 FOOTER PREMIUM — HORA CERTA
=========================================================== */

.hc-footer {
  background: #111;
  color: #ddd;
  padding: 50px 40px 25px;
  border-top: 3px solid #d4af37;
  margin-top: 60px;
  font-family: 'Inter', sans-serif;
}

.hc-footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
}

.hc-footer-col {
  width: 23%;
  min-width: 230px;
}

/* LOGO */
.hc-footer-logo {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

/* TEXTOS */
.hc-footer-col p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* TÍTULOS */
.hc-footer-col h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 12px;
  border-left: 3px solid #d4af37;
  padding-left: 8px;
}

/* LISTAS */
.hc-footer-col ul {
  list-style: none;
}

.hc-footer-col ul li {
  margin-bottom: 10px;
}

.hc-footer-col ul a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  transition: 0.25s ease;
}

.hc-footer-col ul a:hover {
  color: #d4af37;
}

/* SOCIAL MEDIA */
.hc-socials a {
  font-size: 18px;
  color: #ccc;
  margin-right: 14px;
  transition: .2s;
}

.hc-socials a:hover {
  color: #d4af37;
}

/* SELos DE PAGAMENTO */
.hc-payments img {
  width: 55px;
  margin-right: 10px;
  opacity: 0.8;
  transition: 0.25s ease;
}

.hc-payments img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* RODAPÉ FINAL */
.hc-footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.hc-footer-bottom p {
  font-size: 14px;
  color: #777;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .hc-footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .hc-footer-col {
    width: 100%;
  }
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-col {
    width: 100%;
  }
}

/* ============================================
   ⭐ BOTÃO "MAIS PRODUTOS" — HORA CERTA PREMIUM
============================================ */

.mais-produtos-container {
  text-align: center;
  margin: 40px 0 70px;
}

#btnMaisProdutos {
  background: #111;                 /* preto premium */
  color: #fff;                      /* branco */
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.7px;
  border: 2px solid #d4af37;        /* dourado na borda */
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#btnMaisProdutos:hover {
  background: #d4af37;              /* dourado */
  color: #111;                      /* preto */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212,175,55,0.45);
}

#btnMaisProdutos:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* =============================
      📱 RESPONSIVIDADE GERAL
   ============================= */

/* 🔥 Telas até 1100px */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    height: auto;
  }

  .product-img {
    height: 380px;
  }
}

/* 🔥 Telas até 900px */
@media (max-width: 900px) {

  /* HEADER */
  .header-inner {
    padding: 12px 20px;
  }

  .logo-center {
    font-size: 22px;
    letter-spacing: 6px;
  }

  /* MENU */
  .menu-sg {
    gap: 20px;
    top: 85px;
    font-size: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .menu-sg::-webkit-scrollbar {
    display: none;
  }

  /* HERO */
  .hero {
    height: 280px;
    padding: 40px 5%;
    background-position: center;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  /* TAGS */
  .categoria-tags {
    flex-wrap: wrap;
    gap: 12px;
  }

  .categoria-tags button {
    padding: 8px 18px;
    font-size: 14px;
  }

  /* CONTROLES */
  .prod-controls {
    gap: 20px;
  }

  /* GRID */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-img {
    height: 300px;
  }

  .product-card {
    padding: 15px;
  }

  /* PROMOÇÃO NATAL */
  .promo-natal-container {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .promo-card {
    min-width: 220px;
    max-width: 260px;
  }

  /* FOOTER */
  .hc-footer-container {
    flex-direction: column;
    text-align: left;
    gap: 25px;
  }

  .hc-footer-col {
    width: 100%;
  }

  body {
    padding-top: 145px;
  }
}

/* 🔥 Telas até 700px */
@media (max-width: 700px) {

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .product-img {
    height: 260px;
  }

  .product-card {
    padding: 12px;
  }

  .product-title {
    font-size: 14px;
  }
}

/* 🔥 Telas até 500px — MOBILE COMPLETO */
@media (max-width: 500px) {

  /* HEADER */
  .header-inner {
    padding: 10px 15px;
  }

  .left-icons i,
  .right-icons i {
    font-size: 16px;
  }

  .logo-center {
    font-size: 20px;
    letter-spacing: 4px;
  }

  /* MENU MOBILE */
  .menu-sg {
    font-size: 13px;
    gap: 15px;
    padding: 14px 0;
  }

  /* HERO */
  .hero {
    height: 230px;
    padding: 30px 5%;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 13px;
  }

  /* CATEGORIAS */
  .categoria-tags button {
    font-size: 13px;
    padding: 7px 16px;
  }

  /* PRODUCTS */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-img {
    height: 240px;
  }

  .product-card {
    height: auto;
  }

  /* PROMOÇÃO NATAL */
  .promo-card {
    min-width: 200px;
    max-width: 240px;
  }

  /* FOOTER */
  .hc-footer {
    padding: 40px 20px;
  }

  .hc-footer-logo {
    font-size: 22px;
  }

  .hc-footer-col h4 {
    font-size: 16px;
  }

    .menu-sg {
    padding: 10px 0;          /* diminui altura */
    gap: 15px;                /* menos espaço entre itens */
    font-size: 13px;          /* reduz fonte */
    overflow-x: auto;         /* rola pro lado no mobile */
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
  }

  .menu-sg a {
    padding: 6px 10px;        /* reduz clique */
    font-size: 12.5px;        /* menor e elegante */
  }

  .menu-sg::-webkit-scrollbar {
    display: none;            /* some a barra */
  }

}

/* ==========================================
   PRODUTOS NOVOS — SMARTWATCHES
========================================== */

.novos-produtos-section {
  margin: 40px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 14px;
  max-width: 1200px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
}

.novos-header {
  text-align: center;
  margin-bottom: 25px;
}

.novos-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #3483fa;
}

.novos-header p {
  color: #444;
  font-size: 1.1rem;
}

/* Container flex */
.novos-produtos-container {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Card padrão */
.novo-card {
  background: #fff;
  width: 300px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  transition: .25s;
  position: relative;
  cursor: pointer;
}

.novo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* Card gigante caso só exista 1 produto */
.novo-card.unico {
  width: 100%;
  max-width: 700px;
}

.novo-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  margin-bottom: 10px;
}

.novo-preco {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.novo-preco-original {
  text-decoration: line-through;
  color: #999;
}

.novo-preco-oferta {
  color: #00a650;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Selo de promoção */
.novo-selo {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff3d3d;
  padding: 6px 12px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.novo-btn {
  background: #3483fa;
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: .25s;
  width: 80%;
}

.novo-btn:hover {
  background: #1a73e8;
}

/* Responsivo */
@media (max-width: 600px) {
  .novo-card.unico {
    max-width: 100%;
  }
}
