/* ESTRUCTURA GLOBAL */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* HEADER */
.main-header {
  background-color: #e0001a;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-logo {
  grid-column: 2;
  justify-self: center;
  height: 40px;
}

.header-icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 15px;
}

.icon {
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
}

.icon:hover {
  transform: scale(1.2);
}

/* TÍTULO */
.title {
  text-align: center;
  margin: 30px 0 20px;
  color: #c4001d;
}

/* GRID DE PRODUCTOS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 5px 10px;
}

.product-card {
  background: white;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: auto;
  max-height: 120px; /* más pequeña que antes */
  object-fit: contain;
}

.product-card h3 {
  color: #d40000;
  font-size: 0.85rem;
  margin: 8px 0 4px;
}

.product-card p {
  font-size: 0.75rem;
  color: #555;
  margin: 0 0 6px;
}

.product-card button {
  background-color: #c4001d;
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 6px;
}

.form-box {
  max-width: 380px;
  width: 100%;
  margin: 40px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
.moovy-logo {
  width: 100px;
  margin-bottom: 20px;
}

.moovy-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.moovy-button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background-color: #e0001a;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  box-sizing: border-box;
}

.text-link-group {
  margin-top: 15px;
  width: 100%;
  text-align: center;
}
.moovy-button:hover {
  background-color: #c30016;
}

.text-link-group {
  margin-top: 15px;
}

.text-link-group a {
  display: block;
  margin: 5px 0;
  color: #6500a8;
  font-size: 14px;
  text-decoration: none;
}
.secondary {
  background-color: #888;
  color: white;
}
.google-btn {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: 14px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
}

.google-btn img {
  width: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
.checkout-group button {
  margin-bottom: 10px;
}

.checkout-group .moovy-button:first-child {
  background-color: #e0001a;
  color: white;
}

.checkout-group .moovy-button:not(:first-child) {
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
}

.checkout-group .google-btn {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ccc;
}

.checkout-group .secondary {
  background-color: #888;
  color: white;
  border: none;
}


/* RESPONSIVE */
@media (max-width: 600px) {
  .main-logo {
    height: 36px;
  }

  .product-grid {
    padding: 0 10px 30px;
  }
}


