/* ======================
   ESTILOS BASE (MOBILE FIRST)
   ====================== */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url(../img/background.webp);
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.cart-header {
  background: black;
  color: white;
  display: flex;
  align-items: center;
  padding: 16px;
  height: 30px;
  justify-content: space-between;
}

.cart-header .back-button {
  background: none;
  border: none;
  color: green;
  font-size: 1.5rem;
  margin-right: 16px;
  cursor: pointer;
  text-decoration: none;
}

.cart-header h2 {
  font-size: 1rem;
  letter-spacing: 1px;
}

.content-logo {
  display: flex;
  justify-content: center; /* esto sí centra en horizontal */
  align-items: center;     /* centra en vertical dentro del contenedor */
  width: 100%;
}

.img-header {
  height: 150px;
  margin-top: 40px;
}

/* Tarjetas como botones */
.card {
  background: black;
  width: 70%;               /* menos largo que antes */
  max-width: 300px;         /* límite más pequeño */
  height: 100px;             /* un poco más compacto */
  border-radius: 10px;
  cursor: pointer;          /* se siente clickeable */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
    /* 🔑 Ajuste de la imagen de fondo */
  background-size: cover;       /* que se adapte sin deformar */
  background-position: center;  /* centrada */
  background-repeat: no-repeat;
}

.card .menu {
  background-image: url(../img/menu.jpeg);
}

/* efecto hover */
.card:hover {
  background: green;
  color: #fff;
}

/* más separación entre botones */
.cards {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;   /* separación aumentada */
}


/* ======================
   ESTILOS PC
   ====================== */
@media (min-width: 768px) {
  .header {
    padding: 60px 20px 100px;      /* más grande en PC */
    border-bottom-left-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    margin-bottom: 40px;           /* lo baja más */
  }

  .header h1 {
    font-size: 28px;
  }

  .header span {
    font-size: 22px;
  }

  .icon {
    font-size: 36px;
  }

  .card {
    height: 80px;
    width: 50%;
    max-width: 500px;
  }
}
