/* General Styles */
body {
  padding-top: 70px; /* Prevent overlap with navbar */
  font-family: "Arial", sans-serif;
  background-color:#f1e6f1 ; /* Light neutral background */
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding-top: 80px;
}




/* Navbar */
.navbar {
  background-color: #f5d7f5;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem; /* Reduce la altura del navbar */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navbar links */
.navbar-brand {
  font-family: Arial, sans-serif;
  font-size: 24px; /* Tamaño de fuente ajustado para destacar la marca */
  font-weight: bold;
  color: #333 !important;
}

.nav-link {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #333 !important;
  position: relative;
  margin: 0 1rem; /* Espaciado entre los enlaces */
  padding-bottom: 8px; /* Espacio adicional debajo para el subrayado */
  text-transform: uppercase; /* Poner en mayúsculas para un estilo similar */
}

/* Subrayado de enlace activo */
.nav-link.active {
  color: #333 !important;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: blueviolet; /* Color de subrayado en hover y activo */
  opacity: 1;
  transition: all 0.2s;
}



.container {
max-width: 1300px;
margin: auto;
background: #f9f9f9;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container h2 {
  font-family:  Arial, sans serif;
  color: #7b2b8b;
  font-weight: bold;
  margin-bottom: 1.5rem;
}


.cart-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  background: white;
}

.cart-table th {
  background-color: #d99ef0;
  color: rgb(0, 0, 0);
  padding: 10px;
}

.cart-table td {
  padding: 10px;
  vertical-align: middle;
  text-align: center;
}

.cart-table input[type="number"] {
  width: 50px;
  margin: auto;
}


.btn {
  width: 20%; /* Ajuste del ancho para el botón de finalizar compra */
  padding: 0.80rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: #6c107c;
  color: white;
  border-radius: 8px;
  border: none;
  margin-top: 1rem; /* Espacio entre el botón */
  margin-bottom: 1rem; /* Ajusta el espacio debajo del botón */
}


.btn-danger {
  width: 80px; /* Ajuste del ancho para el botón de eliminar */
  font-size: 14px;
  padding: 8px 10px; /* Cambiado para mejor apariencia */
  background-color: #6c107c;
  color: white;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}


.btn:hover {
  background-color: #9b5aa7;
  color: white;
}

.main-container {
  display: flex;
  padding: 3rem;
  justify-content: center;
  gap:60px;
}



.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

table {
  background-color: #fff;
}







/* Footer */
.footer {
  background-color: #af8fb5;
  color: #4d0d47;
  padding: 20px 0;
  text-align: center;
  bottom: 0;
  left: 0;
  width: 100%;
  position: relative; /* Evita que se superponga con el contenido */
  margin-top: auto; /* Empuja el footer al final de la página */
}

.footer-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  text-align: center;
  color: #2a1325;
}

.footer-section a img {
  width: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-section a img:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.footer-section h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  position: relative;
  color: #231f20;
}

.footer-section h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: #a56cae;
  margin: 5px auto;
}

.footer-section p {
  font-size: 0.95em;
  line-height: 1.5;
}

.icon {
  width: 26px;
  vertical-align: middle;
  margin-right: 8px;
}

.social-icons img {
  width: 26px;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  opacity: 0.8;
  transform: scale(1.1);
}


@media (max-width: 768px) {
  .container {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}