/* === RESET GERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, filter 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  filter: brightness(0.85);
}
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* === CABEÇALHO === */
#header {
  background: linear-gradient(90deg, #EB008B, #FF69B4);
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#logo img {
  height: 100px;
  transition: height 0.3s;
}

#header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

#header-icons input[type="text"] {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 250px;
  max-width: 100%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

#header-icons a {
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s, color 0.3s ease;
}
#header-icons a:hover { 
  transform: scale(1.2);
  color: #922438;
}
.fas.fa-heart.icone-menu:hover{ color: #ff4d6d !important; }
/* SEARCH CONTAINER */
#search-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* SEARCH FORM */
#search-form {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* SEARCH BAR */
#search-bar {
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 0;
  max-width: 200px;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* SEARCH BAR ATIVO */
#search-bar.active {
  width: 180px;
  opacity: 1;
  padding: 6px 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* SEARCH BUTTON */
#search-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, color 0.3s, background 0.3s;
  border-radius: 6px;
  padding: 5px;
}
#search-toggle:hover {
  transform: scale(1.2);
  background-color: rgba(255,255,255,0.15);
  color: #ffd1e6;
}
.compra {
  background-color: #EB008B;
  color: white;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.compra:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* === CARROSSEL === */
#carrossel {
  position: relative;
  max-width: 1650px;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#carrossel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carrossel-item {
  flex: 0 0 100%;
}
.carrossel-item img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 10px;
}
#carrossel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
}
#carrossel button:hover { background: rgba(0,0,0,0.8); }
#prev { left: 10px; } #next { right: 10px; }

/* === FILTROS === */
#filtros {
  margin: 30px auto;
  max-width: 1200px;
  padding: 0 15px;
}
.filtro-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.filtro-item {
  flex: 1 1 180px;
}
.filtro-item select, .filtro-item input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.filtro-item input:focus, .filtro-item select:focus {
  border-color: #EB008B;
  box-shadow: 0 0 5px rgba(235,0,139,0.4);
  outline: none;
}

/* === PRODUTOS === */
#produtos {
  max-width: 1300px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  padding: 0 10px;
}

.produto {
  background: #fff;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  min-height: 450px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.produto:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.produto img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
.produto p {
  margin: 10px 0;
  font-weight: 500;
  font-size: 16px;
}
.produto s { color: #999; font-size: 14px; }

.produto .compra {
  opacity: 0;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.produto:hover .compra { opacity: 1; transform: translateX(-50%) translateY(-3px); }

.favorito {
  background: none;
  border: none;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #666;
  transition: color 0.3s, transform 0.2s;
}
.favorito.ativo { color: #e74c3c; }

/* === FOOTER === */
.footer {
  background-color: #EB008B;
  color: white;
  padding: 40px 20px;
  font-size: 14px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}
a{
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}
.footer-col { flex: 1; min-width: 240px; }
.footer-col img { max-width: 180px; margin-bottom: 15px; }
.footer-col p { margin: 8px 0; line-height: 1.6; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: white; transition: color 0.3s; }
.footer-col ul li a:hover { color: #ffd1e6; }
.footer-social { display: flex; gap: 10px; margin-bottom: 15px; }
.footer-social a svg { width: 40px; height: 40px; }
.footer-bottom { text-align: center; margin-top: 20px; font-size: 13px; color: #f1f1f1; }

/* === RESPONSIVO === */
@media (max-width: 1200px) { #produtos { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 992px) { #produtos { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { #produtos { grid-template-columns: 1fr; } 
  #logo img { height: 70px; } 
  #header { flex-direction: column; align-items: flex-start; } 
  #header-icons { width: 100%; justify-content: space-between; }
  .compra { width: 100%; min-height: 40px; font-size: 14px; }
}
