
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      padding: 2rem;
      font-family: Arial, sans-serif;
      background-color: #ffffff;
      text-align: center;
    }
    h1 {
      font-style: italic;
      margin-bottom: 2rem;
    }
    .search-bar {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }
    .search-bar input {
      width: 40%;
      padding: 0.5rem;
      font-size: 1rem;
    }
    .search-bar button {
      padding: 0.5rem 1rem;
      font-size: 1rem;
      background-color: #333;
      color: white;
      border: none;
      cursor: pointer;
      transition: background 0.3s;
    }
    .search-bar button:hover {
      background-color: #555;
    }
    .card-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
    }
    .card {
      background: white;
      border: 1px solid #ccc;
      border-radius: 10px;
      width: 350px;
      padding: 1rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      perspective: 800px;
      transition: transform 0.2s;
    }
    .card h3 {
      margin-bottom: 0.2rem;
    }
    .card small {
      color: #888;
    }
    .card img {
      width: 100%;
      height: auto;
      margin: 1rem 0;
      border-radius: 6px;
      transition: transform 0.2s ease-out;
      transform-style: preserve-3d;
      will-change: transform;
    }
    .card .price {
      font-weight: bold;
      margin-top: 1rem;
    }
    .card button {
      margin-top: 0.5rem;
      padding: 0.5rem 1rem;
      border: none;
      background-color: #333;
      color: white;
      cursor: pointer;
      transition: transform 0.2s ease;
    }
    .card button:hover {
      transform: scale(1.05);
      background-color: #555;
    }
  
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 2rem;
  flex-wrap: wrap; /* permite que se acomode mejor en pantallas pequeñas */
}
.top-left {
  height: 80px;
  max-width: 200px; /* o el tamaño que consideres ideal */
  object-fit: contain;
}

.top-right {
  display: flex;
  gap: 0.5rem;
}
.image-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.top-right img,
.bottom-right img {
  height: 60px; /* ya lo tienes */
  width: auto;
  object-fit: cover;
  border-radius: 4px;
}
.top-right img {
  height: 60px;
  border-radius: 4px;
}

.set-line {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.set-logo {
  height: 0.9em;
  width: auto;
  max-height: 30px;
  object-fit: contain;
  vertical-align: middle;
}

.card-glow {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
}

.card-glow img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Capa animada */
.card-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: rotate(25deg);
  animation: shine 2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}
