/* ============================
   RESET E BASE
============================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdfaf7;
  color: #333;
  line-height: 1.6;
}

/* ============================
   HEADER
============================ */
header {
  background-color: #e46e0c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.6em;
}

.logo img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ============================
   ÍCONE DO CARRINHO FIXO
============================ */
.cart-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #e46e0c;
  color: white;
  font-size: 1.6em;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
}

.cart-icon:hover {
  background-color: #cc5c00;
  transform: scale(1.05);
}

#cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: white;
  font-size: 0.75em;
  padding: 3px 6px;
  border-radius: 50%;
  font-weight: bold;
}

/* ============================
   PRINCIPAL
============================ */
main {
  padding: 30px 20px;
  max-width: 1200px;
  margin: auto;
}

.product-section {
  margin-bottom: 50px;
}

.product-section h2 {
  font-size: 1.8em;
  color: #e46e0c;
  margin-bottom: 15px;
  text-align: center;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.product {
  background-color: #fff7f0;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  width: 160px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.product img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product input {
  width: 50px;
  padding: 4px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}

.product button {
  background-color: #e46e0c;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
}

.product button:hover {
  background-color: #cc5c00;
}

.product button:active {
  transform: scale(0.97);
}

/* ============================
   CARRINHO LATERAL VISÍVEL
============================ */
#cart {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 320px;
  max-width: 100%;
  background: #fff;
  border-left: 4px solid #e46e0c;
  padding: 20px;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow-y: auto;
}

#cart h2 {
  margin-bottom: 15px;
  font-size: 1.4em;
  color: #e46e0c;
}

#cart ul {
  list-style: none;
  margin-bottom: 15px;
  padding-left: 0;
}

#cart a {
  display: block;
  background-color: #e46e0c;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

#cart a:hover {
  background-color: #cc5c00;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  cursor: pointer;
  font-size: 1.3em;
  color: #e46e0c;
  font-weight: bold;
}

.close-cart:hover {
  color: #cc5c00;
}

/* ============================
   PROMOÇÕES
============================ */
#promocoes {
  background-color: #fff3e0;
  padding: 50px 20px;
  text-align: center;
  color: #333;
  margin-top: 40px;
}

#promocoes .container {
  max-width: 1100px;
  margin: 0 auto;
}

#promocoes h2 {
  font-size: 2em;
  color: #e46e0c;
  margin-bottom: 20px;
}

#promocoes p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.promo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.promo-icon {
  font-size: 3em;
  color: #e46e0c;
  margin-right: 20px;
}

.promo-info {
  text-align: left;
}

.promo-info h3 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

.promo-info p {
  font-size: 1.2em;
  color: #555;
}

.promo-info strong {
  color: #e46e0c;
}

@media (max-width: 768px) {
  .promo-item {
    flex-direction: column;
    text-align: center;
  }

  .promo-icon {
    margin-bottom: 10px;
  }

  #cart {
    width: 100%;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    max-height: 60vh;
    border-left: none;
    border-top: 4px solid #e46e0c;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  }
}

/* ============================
   CONTATO
============================ */
#contato {
  text-align: center;
  margin-top: 50px;
  background: #fff3e0;
  padding: 30px 20px;
  color: #333;
  border-top: 1px solid #f0d8c3;
}

/* ============================
   ACESSIBILIDADE
============================ */
button:focus,
a:focus {
  outline: 2px solid #e46e0c;
  outline-offset: 2px;
}

.aluguel-section {
  background-color: #fef5ec;
  padding: 60px 20px;
  color: #333;
  text-align: center;
}

.aluguel-section h2 {
  font-size: 2em;
  color: #e46e0c;
  margin-bottom: 30px;
}

.aluguel-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.aluguel-img img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.aluguel-info {
  max-width: 500px;
  text-align: left;
}

.aluguel-info p {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.6;
}

.btn-aluguel {
  display: inline-block;
  background-color: #e46e0c;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.btn-aluguel:hover {
  background-color: #cc5c00;
}

@media (max-width: 768px) {
  .aluguel-content {
    flex-direction: column;
    text-align: center;
  }

  .aluguel-info {
    text-align: center;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* oculto por padrão */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.popup-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.popup-content label {
  display: block;
  margin-bottom: 10px;
}

.popup-content input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.popup-buttons button {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-buttons button:first-child {
  background-color: #25d366;
  color: white;
}

.popup-buttons button:last-child {
  background-color: #ccc;
}

#forma-entrega {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.avaliacoes {
  background-color: #fefefe;
  padding: 40px 20px;
  text-align: center;
}

.avaliacoes h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.avaliacoes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.avaliacao {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.comentario {
  font-style: italic;
  margin-bottom: 10px;
  color: #555;
}

.estrelas {
  color: #ffc107;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.cliente {
  font-weight: bold;
  color: #333;
}

.aluguel-info h3 {
  margin-top: 20px;
  color: #333;
  font-size: 1.2rem;
}

.quantidades-minimas {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

.quantidades-minimas li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.quantidades-minimas i {
  color: #e91e63;
  margin-right: 8px;
}

.prazo-info {
  font-size: 1rem;
  margin-bottom: 20px;
}

.prazo-info i {
  color: #2196f3;
  margin-right: 8px;
}
