* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f2f2;
  color: #222;
}

.container {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

h1 {
  margin: 0;
  font-size: 34px;
  text-align: center;
  color: #111;
}

.subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 24px;
}

h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
}

label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 13px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.location-box {
  display: flex;
  gap: 8px;
}

.location-box input {
  flex: 1;
}

.location-box button {
  border: none;
  background: #222;
  color: white;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.option-card {
  border: 1px solid #ddd;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  background: #fafafa;
}

.option-card:hover {
  background: #f0f0f0;
}

.option-card input {
  margin-right: 8px;
}

.option-title {
  font-weight: bold;
}

.option-price {
  display: block;
  margin-top: 4px;
  color: #555;
}

.quantity-box {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-box input {
  width: 70px;
  padding: 8px;
}

.total-box {
  margin-top: 26px;
  padding: 16px;
  border-radius: 14px;
  background: #111;
  color: white;
}

.total-box h2 {
  margin-top: 0;
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}

.checkbox-condiciones {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
}

.link-condiciones {
  display: block;
  margin-top: 8px;
  color: #111;
  text-decoration: underline;
}

.btn-enviar {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: #ffdf00;
  color: #111;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}

.btn-enviar:hover {
  background: #f0cf00;
}

#mensaje {
  margin-top: 16px;
  text-align: center;
  font-weight: bold;
}

.success {
  color: green;
}

.error {
  color: red;
}

@media (max-width: 480px) {
  .card {
    padding: 18px;
  }

  h1 {
    font-size: 28px;
  }

  .location-box {
    flex-direction: column;
  }

  .line {
    flex-direction: column;
  }
}