/* ===== MUNDO DAS PILHAS - CLEAN PROFESSIONAL STYLE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fff;
  color: #111;
  line-height: 1.5;
}

/* ===== TOP HEADER (WHITE + CENTERED SEARCH) ===== */
.top-header {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  border-bottom: 1px solid #eee;
}

/* ===== LOGO ===== */
.logo {
  height: 100px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ===== SEARCH BAR (CENTERED + MODERN RETAIL STYLE) ===== */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-container input {
  width: 100%;
  height: 56px;
  padding: 0 25px;
  font-size: 17px;
  border: none;
  background-color: #f7f7f7;
  color: #111;
  outline: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border-right: 1px solid #eee;
}

.search-container input:focus {
  background-color: #fff;
  box-shadow: inset 0 0 6px rgba(255, 204, 0, 0.3);
}

.search-container button {
  background-color: #ffcc00;
  border: none;
  height: 56px;
  padding: 0 35px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-container button:hover {
  background-color: #000;
  color: #fff;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .search-container {
    max-width: 90%;
    border-radius: 10px;
  }
  .search-container input,
  .search-container button {
    height: 50px;
    font-size: 16px;
  }
  .search-container button {
    padding: 0 25px;
  }
}

/* ===== USER ACTIONS ===== */
.user-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  padding-right: 15px;
}

.user-actions a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, transform 0.2s ease;
}
.user-actions a:hover {
  color: #ffcc00;
  transform: scale(1.05);
}

/* ===== NAVIGATION BAR ===== */
nav {
  background-color: #f9f9f9;
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 2px solid #ffcc00;
}

nav a {
  color: #000;
  text-decoration: none;
  margin: 0 18px;
  font-weight: 500;
  transition: color 0.2s, border-bottom 0.2s;
  padding-bottom: 4px;
}
nav a:hover {
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
}

/* ===== HERO SLOGAN ===== */
.hero {
  text-align: center;
  background-color: #fff;
  padding: 0;
}

/* ===== HERO SLOGAN (PERFECTLY CENTERED) ===== */
.hero {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.slogan {
  background: linear-gradient(to right, #ffe680 0%, #ffcc00 50%, #ffd633 100%);
  color: #000;
  font-size: 1.5rem;              /* smaller text for balance */
  font-weight: 600;               /* lighter weight for elegance */
  text-align: center;
  width: 100%;
  padding: 14px 0;                /* thinner height */
  margin: 0;
  border-top: 2px solid #e6b800;  /* slightly thinner borders */
  border-bottom: 2px solid #e6b800;
  letter-spacing: 0.3px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.slogan:hover {
  background: linear-gradient(to right, #ffe066 0%, #ffcc00 100%);
}
.hero-banner {
  position: relative;
  text-align: center;
  overflow: hidden;
  height: 380px;
  margin-top: 10px;
  border-bottom: 2px solid #ffcc00;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.hero-banner .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-banner h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffcc00;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-banner .cta-button {
  background-color: #ffcc00;
  color: #000;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-banner .cta-button:hover {
  background-color: #000;
  color: #fff;
}

/* ===== CATEGORY ICONS ===== */
.category-icons {
  background-color: #fafafa;
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #ffcc00;
  border-bottom: 2px solid #ffcc00;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.03);
}

.category-title {
  font-size: 2rem;
  color: #111;
  font-weight: 700;
  margin-bottom: 35px;
}

/* CATEGORY CONTAINER */
.category-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: thin;
}

.category-container::-webkit-scrollbar {
  height: 8px;
}

.category-container::-webkit-scrollbar-thumb {
  background-color: #ffcc00;
  border-radius: 4px;
}

/* CATEGORY ITEMS */
.category-item {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffcc00;
  background-color: #fff;
  padding: 8px;
  transition: all 0.3s ease;
}

.category-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #000;
  font-size: 15px;
}

.category-item:hover img {
  transform: scale(1.1);
  border-color: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.trust-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.trust-section h2 {
  color: #000;
  font-size: 2rem;
  margin-bottom: 40px;
}

.trust-icons {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-icons div {
  text-align: center;
  width: 180px;
}

.trust-icons img {
  width: 60px;
  margin-bottom: 10px;
}

.trust-icons p {
  color: #111;
  font-weight: 500;
}


/* ===== PRODUCT GRID ===== */
.products-section {
  padding: 40px 60px;
  text-align: center;
}
.products-section h2 {
  color: #000;
  margin-bottom: 30px;
  font-size: 1.8rem;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.product-card {
  background-color: #fff;
  border: 2px solid #ffcc00;
  border-radius: 10px;
  padding: 15px;
  width: 260px;
  text-align: center;
  transition: all 0.3s ease;
}
.product-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 10px;
}
.price {
  background-color: #fff;
  color: #000;
  font-weight: 700;
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid #ffcc00;
  border-radius: 10px 0 10px 0;
}
.btn-buy {
  background-color: #ffcc00;
  color: #000;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-buy:hover {
  background-color: #000;
  color: #fff;
}
.newsletter {
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  padding: 20px;
  font-weight: 600;
}

.newsletter button {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter button:hover {
  background: #333;
}

/* ===== FOOTER ===== */
footer {
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
  padding: 30px 10px;
  border-top: 2px solid #ffcc00;
  font-size: 14px;
}
footer a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
footer a:hover {
  color: #ffcc00;
}
