/* Checkout WooCommerce Moderno y Responsive */
/* ========================================= */

/* Tipografía y inputs algo más compactos */
@media (min-width: 768px){
  .eh-buyers-grid{ margin-bottom:.5rem; }
}

/* Mini resumen (versión más compacta que no está en archivo 2) */
.eh-mini{background:#f8f9fa;border:1px solid #eee;border-radius:12px;padding:12px 14px;margin-bottom:16px;font-size:14px}
.eh-mini__title{font-weight:600;margin-bottom:6px}
.eh-mini__row{display:flex;justify-content:space-between;margin:4px 0}
.eh-mini__hint{color:#6c757d;font-size:12px;margin-top:-2px;margin-bottom:6px}

/* Contenedor principal */
.woocommerce-checkout form.checkout {
    max-width: 950px !important;
    margin: 40px auto !important;
    padding: 20px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Dos columnas responsive */
.woocommerce-checkout .col2-set {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    flex: 1 !important;
    min-width: 300px !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

/* Inputs y labels modernos para WooCommerce checkout */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea {
    border-radius: 8px !important;
    padding: 12px 14px !important;
    border: 2px solid #dde7df !important;
    background: #ffffff !important;
    font-size: 16px !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    border-color: #28a745 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(40,167,69,0.2) !important;
}

/* Títulos checkout bonitos */
.woocommerce-checkout h3,
.woocommerce-checkout h4 {
    font-weight: 700 !important;
    color: #007bff !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* Resumen del pedido WooCommerce */
.woocommerce-checkout #order_review {
    background: #f7faf9 !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* Tabla resumen del pedido más limpia */
.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
    padding: 10px !important;
    border-bottom: 1px solid #ececec !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot th,
.woocommerce-checkout #order_review table.shop_table tfoot td {
    font-weight: bold !important;
}

/* Botón de pago bonito */
.woocommerce-checkout button[type="submit"] {
    width: 100% !important;
    font-size: 18px !important;
    padding: 12px !important;
    background: linear-gradient(90deg, #0099ff 0%, #22dd8c 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    transition: background 0.2s ease !important;
}

.woocommerce-checkout button[type="submit"]:hover {
    background: linear-gradient(90deg, #007acc 0%, #1cb073 100%) !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        flex-direction: column !important;
    }
    .woocommerce-checkout form.checkout {
        padding: 10px !important;
    }
    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        padding: 14px !important;
    }
}

.eh-event-form .form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 5px;
}

/* Inputs solo para el formulario de eventos */
.eh-event-form input[type="email"],
.eh-event-form input[type="text"] {
  border-radius: 12px;
  padding: 12px 15px;
  border: 2px solid #dbe2e8;
  background: #f8f9fa;
  transition: border-color 0.3s;
  width: 100%;
}

.eh-event-form input[type="email"]:focus,
.eh-event-form input[type="text"]:focus {
  border-color: #22dd8c;
  background: #fff;
  box-shadow: none;
}

/* Resumen del pedido - UX mejorada para eventos */
.resumen-evento {
  background: #f0faff;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 25px;
  text-align: center;
  border: 1px dashed #90e0ef;
  font-size: 15px;
  color: #495057;
}

.eh-event-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.ticket-option input[type="number"] {
    max-width: 100px;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    max-width: 600px;
    margin: 0 auto;
}

.eh-thankyou .card {
    max-width: 300px;
    margin: 0 auto;
}

/* assets/css/event-form.css */
.card {
    background-color: #f8f9fa;
    border-radius: 10px;
}

.card-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-text {
    color: #7f8c8d;
}

.ticket-quantity {
    border-radius: 5px !important;
    padding: 5px;
    text-align: center;
}

.btn-outline-secondary {
    border-color: #3498db;
    color: #3498db;
}

.btn-outline-secondary:hover {
    background-color: #3498db;
    color: #fff;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
}

@media (max-width: 768px) {
    .card-body {
        padding: 15px;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Badges superiores */
.eh-hero__badges{
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;             /* clics pasan al banner */
}

/* Estilo común de badge “pill” */
.eh-badge{
  pointer-events: auto;             /* si luego quieres que sean clicables */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.92);/* casi opaco */
  color: #0f172a;                   /* slate-900 */
  font-weight: 700;
  font-size: clamp(12px, 2.2vw, 14px);
  line-height: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}

.eh-badge i{ margin-right: 8px; }

/* El de venue puede ser largo: truncar */
.eh-badge--venue{
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 560px){
  .eh-hero__badges{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .eh-badge--venue{ max-width: 100%; }
}



