/* Estilos gerais */
body {
  margin: 0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Menu superior */
.top-nav {
  background-image: linear-gradient(#ffcc00,#ffd941);
  padding: 12px 30px;
  display: flex;
  justify-content: flex-end;
}

.top-nav-links {
  display: flex;
  gap: 15px;
}

.top-nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  position: relative;
  padding: 0 5px;
}

.top-nav a:not(:last-child)::after {
  content: "|";
  margin-left: 15px;
  color: #000;
}

/* Cabeçalho principal */
.header {
  background-color: #222;
  color: white;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-container {
  flex: 1;
  min-width: 150px;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
}

/* Barra de pesquisa */
.search-container {
  display: flex;
  align-items: center;
  flex: 2;
  max-width: 500px;
  margin: 0 20px;
  position: relative;


}

.search-input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 25px 0 0 25px;
  border: none;
  font-size: 16px;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-button {
  padding: 12px 20px;
  border-radius: 0 25px 25px 0;
  border: none;
  background-color: #ffcc00;
  color: #222;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-button:hover {
  background-color: #ffd941;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-button i {
  font-size: 16px;
}

/* Botões do cabeçalho */
.orcamento-whatsapp {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wishlist-btn, .whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishlist-btn {
  background: linear-gradient(135deg, #ff4757, #e84118);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.wishlist-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
  background: linear-gradient(135deg, #e84118, #ff4757);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E, #25D366);
}

/* Menu de categorias */
.category-menu {
  background-image: linear-gradient(#ffcc00,#ffd941);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(255, 196, 0, 0.411);
}

.category-item {
  margin: 8px 10px;
  position: relative;
}

.category-menu>.category-item>a {
  padding: 8px 16px;
  background-color: #222;
  color: #ffcc00;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
  font-size: 14px;
}

.category-menu>.category-item>a:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  padding: 0;
  z-index: 100;
  min-width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 20px 20px;
}

.submenu a {
  color: #ffcc00;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s;
  display: block;
}

.submenu a:hover {
  background-color: #333;
}

.has-submenu:hover .submenu {
  display: block;
}

.has-submenu>a::after {
  content: ' ▼';
  font-size: 0.7em;
}

/* Banner */
.banner-container {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 15px 10px rgba(255, 255, 255, 0.1);
}

.banner-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

/* Seção de Produtos */
.products-section {
  padding: 50px 30px;
  background-color: #fff;
  text-align: center;
}

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 16px;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ffcc00;
  color: #222;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
  height: 45px;
  overflow: hidden;
}

.product-price {
  margin-bottom: 10px;
}

.current-price {
  font-size: 20px;
  font-weight: bold;
  color: #0066ff;
}

.old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-rating {
  color: #ffcc00;
  margin-bottom: 15px;
  font-size: 14px;
}

.product-rating span {
  color: #666;
  margin-left: 5px;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.add-to-cart:hover {
  background-color: #0066ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

/* Rodapé */
footer {
  background-color: #222;
  color: white;
  padding: 30px 0 10px;
  margin-top: auto;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.footer-section-title {
  color: #ffcc00;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #ffcc00;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 15px;
}

.footer-links a:hover {
  color: #ffcc00;
  transform: translateX(5px);
}

.contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #ddd;
  font-size: 15px;
  line-height: 1.5;
}

.contact-info i {
  color: #ffcc00;
  margin-right: 10px;
  margin-top: 3px;
  font-size: 16px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 204, 0, 0.1);
  color: #ffcc00;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-links a:hover {
  background-color: #ffcc00;
  color: #222;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0 0;
  margin-top: 30px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ffcc00;
}

.breadcrumb .separator {
  color: #999;
  margin: 0 5px;
}

.breadcrumb .current {
  color: #222;
  font-weight: bold;
}

/* Responsividade */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .search-container {
    max-width: 100%;
    margin: 0;
  }

  .orcamento-whatsapp {
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .whatsapp-btn, .wishlist-btn {
    width: 100%;
    justify-content: center;
  }

  .products-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-logo-section {
    align-items: center;
    text-align: center;
  }
  
  .footer-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }

  .top-nav {
    justify-content: center;
    padding: 10px 15px;
  }

  .top-nav-links {
    gap: 10px;
  }

  .top-nav a {
    font-size: 15px;
  }

  .top-nav a:not(:last-child)::after {
    margin-left: 10px;
  }

  .category-menu {
    flex-direction: column;
    align-items: center;
  }

  .category-item {
    width: 100%;
    text-align: center;
  }

  .submenu {
    position: static;
    width: 100%;
  }
  
  .banner-img {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .products-container {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .breadcrumb-container {
    flex-wrap: wrap;
    padding: 0 15px;
  }
}

/* Esconde o banner apenas em retrato (portrait) */
@media (max-width: 768px) and (orientation: portrait) {
  .banner-container {
    display: none;
  }
}