/* Estilos Globais */
body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

i {
  margin-right: 5px;
}

input {
  box-sizing: border-box;
}

ul {
  padding: 0;
}

/* Header e Navegação */
header {
  background-color: #1e1e1e;
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #ffa500;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav a:hover {
  color: #e69500;
}

/* Opções do Usuário */
.user-options {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-options a {
  color: #fff;
  text-decoration: none;
}

.user-options input[type="text"] {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ffa500;
}

.icons span {
  font-size: 1.5rem;
  margin-left: 10px;
}

/* Container Principal */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

/* Detalhes do Produto */
.product-details {
  display: flex;
  gap: 40px;
}

.product-gallery {
  flex: 1;
}

.product-gallery img {
  width: 100%;
  border-radius: 10px;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.gallery-thumbnails img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.gallery-thumbnails img:hover {
  border: 2px solid #ffa500;
}

/* Informações do Produto */
.product-info {
  flex: 1;
}

.product-path {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.product-info h2 {
  font-size: 2.5rem;
  margin: 10px 0;
  color: #e0e0e0;
}

.product-code {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.price {
  font-size: 2rem;
  color: #ffa500;
  margin: 10px 0;
}

.rating {
  color: #81c784;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.product-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 20px;
}

#color,
#quantity {
  width: 100px;
}

/* Opções de Produto */
.product-options {
  margin: 20px 0;
}

.product-options label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.product-options select,
.product-options input[type="number"] {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #333;
  border-radius: 5px;
  width: 100%;
  max-width: 200px;
}

/* Botões de Ação */
.buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.add-to-cart {
  padding: 15px 30px;
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background-color: #388e3c;
}

.add-to-wishlist {
  padding: 15px 30px;
  background-color: #1e1e1e;
  color: #ffa500;
  border: 2px solid #ffa500;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.add-to-wishlist:hover {
  background-color: #1e1e1e;
  color: #fff;
}

.delivery {
  margin-top: 20px;
  color: #777;
  font-size: 0.9rem;
}

/* Especificações do Produto */
.product-specs {
  margin-top: 40px;
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
}

.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.tabs li {
  list-style: none;
  font-weight: bold;
  cursor: pointer;
  color: #777;
}

.tabs li:hover {
  color: #ffa500;
}

.specs-content p {
  font-size: 1rem;
  color: #b0b0b0;
  margin: 10px 0;
}

/* Responsividade */
@media (max-width: 1024px) {
  .top-bar {
    padding: 15px;
  }

  .nav {
    gap: 15px;
  }

  .product-details {
    gap: 30px;
  }

  .gallery-thumbnails img {
    width: 50px;
    height: 50px;
  }

  .tabs {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .user-options {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .user-options input[type="text"] {
    width: 100%;
    max-width: none;
  }

  .product-details {
    flex-direction: column;
    gap: 20px;
  }

  .product-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .product-options select,
  .product-options input[type="number"] {
    max-width: none;
    width: 100%;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .gallery-thumbnails {
    justify-content: center;
  }

  .gallery-thumbnails img {
    width: 40px;
    height: 40px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .tabs li {
    font-size: 0.9rem;
  }

  .product-info h2 {
    font-size: 2rem;
  }

  .price {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .product-info h2 {
    font-size: 1.8rem;
  }

  .price {
    font-size: 1.5rem;
  }

  .rating {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.9rem;
  }

  .gallery-thumbnails img {
    width: 35px;
    height: 35px;
  }

  .tabs {
    gap: 10px;
  }

  .tabs li {
    font-size: 0.8rem;
  }

  .container {
    padding: 10px;
  }

  .product-specs {
    padding: 15px;
  }
}