* { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, sans-serif; }
body { background-color: #f4f4f9; color: #333; }

/* Barra de Frete Grátis */
.barra-frete { background: #1e293b; color: #fff; text-align: center; padding: 10px; font-size: 14px; }
.progresso-container { background: #334155; height: 6px; border-radius: 3px; max-width: 300px; margin: 5px auto 0; overflow: hidden; }
.progresso-barra { background: #10b981; height: 100%; width: 0%; transition: width 0.3s; }

/* Header & Busca */
.header-principal { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.box-busca { display: flex; border: 1px solid #ccc; border-radius: 20px; overflow: hidden; }
.box-busca input { border: none; padding: 8px 15px; outline: none; }
.box-busca button { background: #2563eb; color: #fff; border: none; padding: 8px 15px; cursor: pointer; }

/* Grid de Produtos */
.container { padding: 20px 5%; }
.grid-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.produto-card { background: #fff; border-radius: 8px; padding: 15px; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Botão Favorito */
.btn-favorito { position: absolute; top: 10px; right: 10px; background: #fff; border: none; border-radius: 50%; width: 35px; height: 35px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 2; }
.btn-favorito.ativo i { color: #ef4444; }

/* Galeria Mostruário (4 Fotos) */
.mostruario-galeria { text-align: center; }
.foto-principal { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; aspect-ratio: 1/1; }
.miniaturas { display: flex; gap: 5px; justify-content: center; margin-top: 8px; }
.thumb { width: 45px; height: 45px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 1px solid #ddd; }
.thumb:hover { border-color: #2563eb; }

/* Bloco de Frete no Card */
.box-frete-card { margin-top: 10px; display: flex; gap: 5px; }
.box-frete-card input { width: 60%; padding: 5px; font-size: 12px; }
.box-frete-card button { width: 40%; padding: 5px; font-size: 12px; background: #059669; color: #fff; border: none; border-radius: 3px; cursor: pointer; }
.resultado-frete { font-size: 11px; color: #059669; margin-top: 4px; font-weight: bold; }


/* Melhorias de base, acessibilidade e home */
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { min-width: 320px; overflow-x: hidden; }
img { max-width: 100%; }
a, button, input, select, textarea { outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(236, 72, 153, 0.55); }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10000; background: #be185d; color: white; padding: .75rem 1rem; border-radius: .75rem; font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 1rem; }

.home-banner-image { display: block; width: 100%; height: clamp(360px, 52vw, 590px); object-fit: cover; object-position: center; }
.home-banner-overlay { position: absolute; inset: 0 auto 0 0; width: min(100%, 40rem); display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 7vw, 6rem); color: #fff; background: linear-gradient(90deg, rgba(17, 24, 39, .82), rgba(17, 24, 39, .28), transparent); }
.home-banner-overlay h1, .home-banner-overlay h2 { max-width: 31rem; margin: .5rem 0 0; font-size: clamp(2rem, 4.5vw, 4.4rem); line-height: 1.05; font-weight: 900; letter-spacing: -.04em; }
.home-banner-overlay > p:not(.eyebrow) { max-width: 28rem; margin-top: 1rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.5; color: rgba(255,255,255,.9); }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; }
.home-cta { display: inline-flex; align-items: center; gap: .65rem; align-self: flex-start; margin-top: 1.5rem; padding: .85rem 1.2rem; border-radius: .85rem; background: #fff; color: #be185d; font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.14); transition: transform .2s ease, background .2s ease; }
.home-cta:hover { transform: translateY(-2px); background: #fff1f7; color: #9d174d; }
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); width: 2.7rem; height: 2.7rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; background: rgba(17,24,39,.3); backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.carousel-control:hover { background: rgba(17,24,39,.65); transform: translateY(-50%) scale(1.05); }
.benefit-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid #fce7f3; border-radius: 1rem; background: #fff; }
.benefit-card > i { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: #be185d; background: #fdf2f8; border-radius: .8rem; }
.benefit-card strong, .benefit-card span { display: block; }
.benefit-card strong { font-size: .9rem; color: #1f2937; }
.benefit-card span { margin-top: .15rem; font-size: .75rem; color: #6b7280; }

@media (max-width: 640px) {
  .home-banner-image { height: 480px; }
  .home-banner-overlay { width: 100%; padding: 2rem 3.5rem 3rem 1.25rem; background: linear-gradient(90deg, rgba(17,24,39,.86), rgba(17,24,39,.35), transparent); }
  .home-banner-overlay h1, .home-banner-overlay h2 { font-size: 2.25rem; }
  .home-banner-overlay > p:not(.eyebrow) { font-size: .95rem; }
  .carousel-control { width: 2.25rem; height: 2.25rem; }
  .whatsapp-btn { right: 1rem; bottom: 1rem; width: 3.25rem; height: 3.25rem; font-size: 1.6rem; }
  .toast { right: 1rem; left: 1rem; bottom: 5.5rem; padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Cada lâmina ocupa exatamente a janela inteira do carrossel. */
#carouselBanners { width: 100%; will-change: transform; }
.carousel-slide { flex: 0 0 100%; min-width: 100%; position: relative; }
