:root {
  --accent: #E00917;
  --bg: #FEECAA;
  --ink: #0f172a;
  --muted: #6b7280;
  --line: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

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

/* ==================================================
   TOPBAR / NAVBAR
================================================== */
.topbar {
  position: fixed;
  top: 0;
  z-index: 60;
  width: 100%;
}

.topbar-bg {
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  position: relative;
}

/* LOGO */
.logo {
  font-weight: 900;
  font-size: 1.05rem;
}

.brand-tag {
  background: rgba(254,237,1,.25);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .75rem;
}

/* ==================================================
   SEARCH
================================================== */
.search-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* ícones na direita */
  gap: 14px;
  width: 100%;
}

/* Barra de busca ocupa 80% */
.custom-search {
  flex: 0 1 80%;
  max-width: 480px;
  position: relative;
}

/* Input */
.custom-search input {
  width: 100%;
  padding: 8px 40px 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: .9rem;
}

/* Ícone (só a lupa, sem cor) */
.custom-search .search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.custom-search .search-btn svg {
  stroke: currentColor;
  width: 18px;
  height: 18px;
}

/* ==================================================
   ÍCONES LATERAIS
================================================== */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  position: relative; /* necessário pro badge */
}

/* Badge do carrinho */
#cart-badge {
  position: absolute;
  bottom: -6px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==================================================
   NAV
================================================== */
.nav-bg {
  background: var(--accent);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  color: #fff;
  padding: 8px 12px;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
}

/* Mega-dropdown */
.cat-nav {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-item {
  position: relative;
}

.cat-item > a {
  background: transparent;
  color: #fff;
  padding: 8px 10px;
  border-radius: 0;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: all .18s ease;
}

.cat-item > a:hover {
  filter: brightness(1.05);
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,#b30712,#e00917);
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  min-width: 220px;
  z-index: 99;
}

.mega a {
  padding: 8px 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
}

.mega a:last-child {
  border-bottom: 0;
}

.mega a:hover {
  background: rgba(255,255,255,0.06);
}


/* ==================================================
   HERO AVANÇADO (3D / parallax / shimmer / glare)
================================================== */
.hero-adv {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  perspective: 1200px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 2.5s cubic-bezier(.19,1,.22,1);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: contrast(1.02);
  transition: transform 2.5s cubic-bezier(.19,1,.22,1);
}

.hero-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.9;
}

.hero-shimmer {
  position: absolute;
  left: -30%;
  top: -20%;
  width: 60%;
  height: 120%;
  background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.0) 100%);
  transform: skewX(-20deg);
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(120%) skewX(-20deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 44px;
  pointer-events: none;
}

.hero-copy {
  color: #fff;
}

.hero-adv .kicker {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.hero-title {
  font-family: Georgia, serif;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
  font-size: clamp(24px,4vw,44px);
  margin: 0 0 8px;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp .7s .2s both;
}

.hero-lead {
  color: rgba(255,255,255,0.95);
  max-width: 52ch;
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp .7s .35s both;
}

.cta .btn.primary {
  background: #fff;
  color: var(--accent);
  padding: 12px 18px;
  border-radius: 10px;
  animation: popIn .6s .5s both;
}

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

@keyframes popIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Parallax 3D effect on hover */
.hero-adv:hover .hero-media {
  transform: rotateY(var(--rotate-y,0deg)) rotateX(var(--rotate-x,0deg)) scale(1.12);
}

/* ==================================================
   BANNERS DA FRONT-PAGE
================================================== */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(194px,1fr));
  gap: 18px;
  margin: 20px 0;
}

.banner {
  position: relative;
  width: 194px;
  height: 194px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .32s cubic-bezier(.2,.9,.3,1), box-shadow .32s;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.03);
  transition: transform .6s ease, filter .6s ease;
}

.banner:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.banner-label-below {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000 !important;
  display: block !important;
  text-align: center;
  position: relative;
  opacity: 1 !important;
}

.banner-label-below::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #000 !important;
  transition: width 0.45s cubic-bezier(.19,1,.22,1);
}

.banner:hover .banner-label-below::after {
  width: 100%;
}

/* ==================================================
   PRODUTOS DESTAQUE (WooCommerce)
================================================== */
.spotlight-list {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 12px 0;
}

.product-card {
  flex: 0 0 223px;
  width: 223px;
  height: 502px;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .28s ease-in-out;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-media {
  height: 300px;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.product-price {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 900;
}

.product-install {
  font-size: .95rem;
  color: var(--muted);
}

.product-info .buy {
  margin-top: auto;
  padding: 12px;
  border

/* ==================================================
   AJUSTES DO CARRINHO + ÍCONES (Prolar)
================================================== */

/* Botão do carrinho com borda mais forte */
.icon-btn.cart-btn {
  border: 2px solid var(--accent) !important;
  background: #fff !important;
  transition: 0.25s ease;
}

.icon-btn.cart-btn:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* Badge do carrinho — mais elegante e alinhado */
#cart-badge {
  bottom: -6px !important;
  right: -6px !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 11px !important;
  border: 2px solid #fff;
  background: var(--accent) !important;
}

/* Ícones laterais (favorito, perfil) — harmonia visual */
.icon-btn:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  transform: translateY(-2px);
}

/* Ícones SVG dentro dos botões */
.icon-btn svg {
  width: 20px;
  height: 20px;
  transition: 0.25s ease;
}

/* Hover deixa o ícone branco no botão de carrinho */
.icon-btn.cart-btn:hover svg {
  stroke: #fff !important;
}

/* ==================================================
   AJUSTES DA BARRA DE BUSCA (Prolar)
================================================== */

/* Sombra leve e borda elegante */
.custom-search input {
  border: 2px solid transparent;
  background: #fff;
  transition: border .22s ease, box-shadow .22s ease;
}

.custom-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 9, 23, .25);
  outline: none;
}

/* Botão da lupa */
.custom-search .search-btn svg {
  stroke: var(--accent);
}

.custom-search .search-btn:hover svg {
  transform: scale(1.15);
}


/* 🔥 Remove limite que quebra mobile */
.ProductCard_productCard__MwY4X {
    max-width: 100% !important;
    width: 100% !important;
}

/* Grid dos produtos */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Tablet */
@media (max-width: 900px) {
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Desktop continua flex */
.mv-topbar {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
    .mv-topbar {
        display: block !important;
    }
}

