/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    background: #f5f6fa;
    color: #222;
  }
  
  .header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
  }
  
  .titulo {
    font-size: 20px;
    font-weight: bold;
  }
  
  .icon.volver {
    text-decoration: none;
    font-size: 20px;
  }

  .eleccion {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
  }
  
  /* IMAGEN */
  .card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* TEXTOS */
  .card h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .card p {
    font-size: 13px;
    color: #666;
  }
  
  /* BOTÓN ELIMINAR */
  .eliminar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1eedf;
    border: none;
    color: rgb(31, 27, 24);
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
  }
       
  .add{
    display: inline-flex;
    justify-content: space-around;
    border: none;
    padding: 6px 10px;
    margin-top: 10px;
    background: #eee;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .card button:nth-child(6),
  .card button:nth-child(8) {
    background: #ddd;
  }

  .card button:hover {
    background: #ccc;
  }
  .compra{
    width: 100%;
    height: auto;
    background: #2f4f4f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 15px;
  }
  .precio{
   top: 10px;
   right: 10px;
   padding: 6px 8px;
   background: #b1ca83;
   color: rgb(33, 33, 31);

  }
  .checkout{
    display: grid;
    width: 100%;
    background: #2cb922;
    color: black;
    border: 1 px solid;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
  
    transition: all 0.3s ease;

  }
  .checkout:hover{
    background-color: green;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

  }
 