/* Estilos generales */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f5f5f5;
}

/* Encabezado */
.header {
  background-color: #4CAF50;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Sección de Marcas */
.marcas-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.marcas-section h1 {
  color: #4CAF50;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.marcas-section p:first-of-type {
  position: relative;
  top: 20px; /* Mueve hacia abajo */
  left: -50px; /* Si quieres mover hacia la izquierda o derecha */
}


.marcas-section p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 40px;
}

.brand-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brand-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.brand-item p {
  font-size: 1.1em;
  color: #333;
  font-weight: bold;
}


/* Estilos generales para el carrito de compras */
.shopping-cart {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 8px;
  max-width: 350px;
  font-family: Arial, sans-serif;
}

.shopping-cart h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.shopping-cart ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.shopping-cart ul li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.shopping-cart ul li:last-child {
  border-bottom: none;
}

/* Estilos para el total */
.shopping-cart p {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: right;
  color: #333;
}

#cart-total {
  color: #d9534f; /* Color rojo destacado */
}

/* Estilos para el formulario */
#checkout-form {
  display: flex;
  flex-direction: column;
}

#checkout-form label {
  margin: 10px 0 5px 0;
  font-size: 0.9em;
  color: #333;
}

#checkout-form input, 
#checkout-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

#checkout-form input:focus,
#checkout-form textarea:focus {
  border-color: #007bff; /* Color azul de enfoque */
  outline: none;
}

#checkout-form textarea {
  resize: vertical;
  min-height: 80px;
}

#checkout-form button {
  background-color: #5cb85c;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

#checkout-form button:hover {
  background-color: #4cae4c;
}
















.shopping-cart {
  width: 15%;
  background-color: #ffffff;
  border-left: 2px solid #ddd;
  padding: 10px;
  position: fixed;
  right: 0;
  top: 80px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

/* Pie de Página */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}
