/*
Theme Name: Marbella golf pass 2026
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: inOne
Author URI: https://www.inone.es/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* NOTA: la fuente Geist se carga aparte (Elementor Custom Font / functions.php).
   Si en algún momento no carga, descomenta el import:
   @import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');
*/

/* ========================================================================
   1) TOKENS DE MARCA
   Equivalencia con los Globales de Elementor (Kit) — ver "MIGRACIÓN":
     --mgp-lime   = Color Primario  (Verde 2)
     --mgp-dark   = Color Secundario(Oscuro)
     --mgp-light  = Color de Texto  (Claro 2)
     --mgp-green  = Color de Énfasis(Verde 1)
   ======================================================================== */
:root{
  /* Colores */
  --mgp-dark:#111605;          /* Oscuro  — fondos oscuros, texto sobre claro */
  --mgp-lime:#B7FE00;          /* Verde 2 — acento / botones / highlights */
  --mgp-light:#E6ECD6;         /* Claro 2 — fondos claros / texto sobre oscuro */
  --mgp-green:#366838;         /* Verde 1 — verde secundario (eyebrows sobre claro) */
  --mgp-white:#FFFFFF;         /* Blanco */
  --mgp-border:rgba(17,22,5,.4);   /* Borde de inputs */
  --mgp-muted:rgba(17,22,5,.55);   /* Placeholder / texto atenuado */
  --mgp-error:#d64545;             /* Validación de error (no es color de marca) */

  /* Tipografía */
  --mgp-font:'Geist',-apple-system,Segoe UI,Roboto,sans-serif;
  --mgp-fw-regular:400;
  --mgp-fw-medium:500;
  --mgp-fw-semibold:600;

  /* Radios */
  --mgp-radius-box:16px;       /* contenedor exterior / secciones / cards grandes */
  --mgp-radius-card:8px;       /* cards internas */
  --mgp-radius-input:4px;      /* inputs */
  --mgp-radius-pill:56px;      /* botones tipo píldora */
  --mgp-radius-circle:80px;    /* iconos circulares */

  /* Layout */
  --mgp-maxwidth:1400px;       /* ancho máximo (container Elementor) */
  --mgp-gutter:16px;           /* padding lateral en responsive */

  /* Escala tipográfica usada en el diseño (px) */
  --mgp-h1:76px;               /* hero home */
  --mgp-h1-page:62px;          /* hero páginas internas (campos, faqs) */
  --mgp-h2:48px;               /* títulos de sección */
  --mgp-h3:30px;               /* subtítulos / nombres de campo */
  --mgp-body:16px;
  --mgp-small:14px;
  --mgp-tracking-h:-0.02em;    /* tracking negativo de titulares */
}


/* ========================================================================
   2) BASE / TIPOGRAFÍA
   Geist como fuente base. Quita el uppercase que algunos temas heredan en
   headings/botones (el diseño usa caja normal salvo donde el texto ya va en
   mayúsculas en el contenido).
   ======================================================================== */
body{ font-family:var(--mgp-font); }

/* Si quieres forzar Geist en headings del tema (opcional):
h1,h2,h3,h4,h5,h6{ font-family:var(--mgp-font); text-transform:none; }
*/


/* ========================================================================
   3) FAQ — ACORDEÓN
   Aplica la clase CSS "mgp-faq-accordion" al widget Acordeón de Elementor.
   Resultado: filas como tarjetas blancas redondeadas + círculo lima con +/−.
   ======================================================================== */
.mgp-faq-accordion .elementor-accordion{display:flex;flex-direction:column;gap:12px;}
.mgp-faq-accordion .elementor-accordion .elementor-accordion-item{
  background:var(--mgp-white);border:none;border-radius:var(--mgp-radius-box);overflow:hidden;
}
.mgp-faq-accordion .elementor-accordion .elementor-tab-title{
  display:flex;align-items:center;gap:16px;padding:16px;border:none;font-family:var(--mgp-font);
}
.mgp-faq-accordion .elementor-accordion .elementor-accordion-title{
  order:1;flex:1 1 auto;color:var(--mgp-dark);font-size:var(--mgp-body);letter-spacing:-0.32px;font-weight:var(--mgp-fw-regular);
}
.mgp-faq-accordion .elementor-accordion .elementor-accordion-icon{
  order:2;margin-left:auto;width:32px;height:32px;min-width:32px;border-radius:var(--mgp-radius-circle);
  background:var(--mgp-lime);display:flex;align-items:center;justify-content:center;padding:0;
}
.mgp-faq-accordion .elementor-accordion .elementor-accordion-icon i{color:var(--mgp-dark);font-size:13px;}
.mgp-faq-accordion .elementor-accordion .elementor-accordion-icon svg{width:14px;height:14px;fill:var(--mgp-dark);}
.mgp-faq-accordion .elementor-accordion .elementor-tab-content{
  background:var(--mgp-white);border:none;padding:0 16px 16px;color:var(--mgp-dark);
  font-family:var(--mgp-font);font-size:var(--mgp-body);line-height:1.5;
}


/* ========================================================================
   4) CHECKOUT / PASARELA  (WooCommerce + Event Tickets)
   Frames Figma: 49:1728 (cart-CTA), 50:7054 (carrito), 50:7332 (checkout/datos).
   Carrito = /carrito/  ·  Checkout = /finalizar-compra/
   CSS acotado a .woocommerce / .tribe-tickets (seguro en el resto del sitio).
   ======================================================================== */

/* Fondo oscuro de las páginas de compra */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-page{ background:var(--mgp-dark); }

/* Contenedor "caja" oscuro que envuelve el formulario */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.tribe-tickets .tribe-tickets__attendees-wrapper{
  background:var(--mgp-dark);border-radius:var(--mgp-radius-box);padding:16px;font-family:var(--mgp-font);
}
@media(min-width:782px){
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce{ padding:32px 16px; }
}

/* Tarjetas blancas (datos / resumen / totales) */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout #order_review,
.woocommerce form.checkout_coupon,
.woocommerce table.shop_table,
.tribe-tickets__attendees-list,
.tribe-tickets__commerce-checkout-cart{
  background:var(--mgp-white)!important;border:none!important;border-radius:var(--mgp-radius-card);
  padding:32px;font-family:var(--mgp-font);color:var(--mgp-dark);
}

/* Títulos de sección (Attendee 1, Totales del carrito, Producto…) */
.woocommerce h3,
.woocommerce #order_review_heading,
.woocommerce .cart_totals h2,
.tribe-tickets__attendees-list-title,
.tribe-common h2.tribe-common-h4{
  font-family:var(--mgp-font)!important;font-weight:var(--mgp-fw-semibold)!important;font-size:var(--mgp-body)!important;
  letter-spacing:-.32px;text-transform:uppercase;color:var(--mgp-dark)!important;margin:0 0 8px;
}

/* Divisores oscuros */
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce .cart_totals tr,
.tribe-tickets__attendees-list hr{ border-color:var(--mgp-dark)!important; }

/* Labels */
.woocommerce form .form-row label,
.woocommerce-checkout label,
.tribe-tickets__form-field-label,
.tribe-common label{
  font-family:var(--mgp-font)!important;font-weight:var(--mgp-fw-regular)!important;font-size:var(--mgp-small)!important;
  color:var(--mgp-dark)!important;line-height:1.2;
}

/* Inputs / textarea / select */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce #order_comments,
.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=tel],
.woocommerce input[type=password],
.woocommerce input[type=number],
.woocommerce select,
.woocommerce textarea,
.tribe-tickets__form-field input[type=text],
.tribe-tickets__form-field input[type=email],
.tribe-tickets__form-field input[type=tel],
.tribe-tickets__form-field select,
.tribe-common input.tribe-common-form-control-text__input{
  font-family:var(--mgp-font)!important;font-size:var(--mgp-small)!important;color:var(--mgp-dark)!important;
  background:var(--mgp-white)!important;border:1px solid var(--mgp-border)!important;border-radius:var(--mgp-radius-input)!important;
  min-height:43px;height:43px;padding:8px 16px!important;box-shadow:none!important;line-height:1.2;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.woocommerce form .form-row textarea,
.woocommerce #order_comments{ height:auto;min-height:96px; }

/* Placeholder */
.woocommerce input::placeholder,
.woocommerce textarea::placeholder,
.tribe-tickets__form-field input::placeholder{ color:var(--mgp-muted)!important;opacity:1; }

/* Focus */
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.tribe-tickets__form-field input:focus,
.tribe-common input.tribe-common-form-control-text__input:focus{
  border-color:var(--mgp-dark)!important;box-shadow:0 0 0 3px rgba(183,254,0,.45)!important;outline:none!important;
}

/* Error / inválido */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.tribe-tickets__form-field--error input{
  border-color:var(--mgp-error)!important;box-shadow:0 0 0 3px rgba(214,69,69,.2)!important;
}
.woocommerce form .form-row.woocommerce-validated input.input-text{ border-color:var(--mgp-dark)!important; }

/* select2 (país/estado) */
.woocommerce .select2-container--default .select2-selection--single{
  border:1px solid var(--mgp-border)!important;border-radius:var(--mgp-radius-input)!important;height:43px!important;background:var(--mgp-white)!important;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:41px!important;color:var(--mgp-dark)!important;font-family:var(--mgp-font)!important;font-size:var(--mgp-small);padding-left:16px;
}

/* Cantidad (carrito) */
.woocommerce .quantity input.qty{
  border:1px solid var(--mgp-border)!important;border-radius:var(--mgp-radius-input)!important;height:43px;
  background:var(--mgp-white)!important;color:var(--mgp-dark)!important;font-family:var(--mgp-font)!important;font-size:var(--mgp-body);text-align:center;
}

/* Cupón */
.woocommerce .coupon input#coupon_code{ max-width:220px; }

/* Botón PRIMARIO (lima, texto oscuro): aplicar cupón, actualizar, volver, añadir… */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button.alt,
.woocommerce #respond input#submit,
.tribe-common .tribe-common-c-btn,
.tribe-tickets__commerce-checkout-form-submit-button{
  background:var(--mgp-lime)!important;color:var(--mgp-dark)!important;font-family:var(--mgp-font)!important;
  font-weight:var(--mgp-fw-semibold)!important;font-size:var(--mgp-body)!important;text-transform:none!important;border:none!important;
  border-radius:var(--mgp-radius-pill)!important;padding:16px 32px!important;line-height:1!important;box-shadow:none!important;
  transition:filter .15s ease;cursor:pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button.alt:hover,
.tribe-common .tribe-common-c-btn:hover{ filter:brightness(.92)!important;color:var(--mgp-dark)!important; }

/* Acción PRINCIPAL (oscuro, texto lima): FINALIZAR COMPRA / GUARDAR Y PAGAR / Realizar pedido */
.woocommerce #place_order,
.woocommerce-checkout #payment #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.tribe-tickets__commerce-checkout-purchase-button{
  background:var(--mgp-dark)!important;color:var(--mgp-lime)!important;font-family:var(--mgp-font)!important;
  font-weight:var(--mgp-fw-semibold)!important;font-size:var(--mgp-body)!important;text-transform:uppercase!important;border:none!important;
  border-radius:var(--mgp-radius-pill)!important;padding:16px 32px!important;line-height:1!important;transition:filter .15s ease;
}
.woocommerce #place_order:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover{ filter:brightness(1.15)!important;color:var(--mgp-lime)!important; }

/* Tablas / totales (tipografía) */
.woocommerce table.shop_table,
.woocommerce .cart_totals table{ border:none!important;border-collapse:collapse;font-family:var(--mgp-font);color:var(--mgp-dark); }
.woocommerce table.shop_table thead th{ font-weight:var(--mgp-fw-semibold);font-size:var(--mgp-body);letter-spacing:-.32px;text-transform:uppercase;color:var(--mgp-dark); }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th{ font-size:var(--mgp-body); }
.woocommerce .cart_totals .order-total .amount{ color:var(--mgp-dark);font-weight:var(--mgp-fw-semibold); }

/* Radios / checkboxes con acento lima */
.woocommerce input[type=checkbox],
.woocommerce input[type=radio],
.tribe-tickets input[type=checkbox],
.tribe-tickets input[type=radio]{ accent-color:var(--mgp-lime); }

/* Métodos de pago */
.woocommerce-checkout #payment{ background:var(--mgp-white)!important;border-radius:var(--mgp-radius-card); }
.woocommerce-checkout #payment ul.payment_methods{ border-bottom:1px solid var(--mgp-border); }
.woocommerce-checkout #payment div.payment_box{ background:var(--mgp-lime)!important;border-radius:var(--mgp-radius-input);color:var(--mgp-dark); }
.woocommerce-checkout #payment div.payment_box::before{ border-bottom-color:var(--mgp-lime)!important; }

/* Enlaces de navegación del checkout (Volver al carrito / Modificar asistente) en negro */
.tribe-checkout-backlink,
.tribe-checkout-backlink:hover{ color:var(--mgp-dark)!important; }

/* Aviso de cupón (.woocommerce-info): línea azul → lima, esquinas redondeadas,
   enlace e icono en oscuro (estilo de marca). */
.woocommerce-info{ border-top-color:var(--mgp-lime)!important;border-radius:var(--mgp-radius-card)!important; }
.woocommerce-info::before{ color:var(--mgp-dark)!important; }
.woocommerce-info a,
.woocommerce-info a.showcoupon{ color:var(--mgp-dark)!important; }

/* Enlace "política de privacidad" en lima */
a.woocommerce-privacy-policy-link,
.woocommerce-privacy-policy-text a{ color:var(--mgp-lime)!important; }


/* ------------------------------------------------------------------------
   4.d) PÁGINA "PEDIDO RECIBIDO / GRACIAS" (WooCommerce order-received)
   Fondo oscuro → los textos del pedido salían negro sobre negro.
   Texto a BLANCO; dentro de las tablas (tarjeta blanca) se queda OSCURO.
   (No verificable en vivo: requiere un pedido pagado. Basado en el markup
   estándar de WooCommerce.)
   ------------------------------------------------------------------------ */
body.woocommerce-order-received .woocommerce,
body.woocommerce-order-received .woocommerce p,
body.woocommerce-order-received .woocommerce li,
body.woocommerce-order-received .woocommerce ul,
body.woocommerce-order-received .woocommerce strong,
body.woocommerce-order-received .woocommerce h1,
body.woocommerce-order-received .woocommerce h2,
body.woocommerce-order-received .woocommerce h3,
body.woocommerce-order-received .woocommerce address,
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-overview li,
body.woocommerce-order-received .woocommerce-order-overview strong,
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-bacs-bank-details,
body.woocommerce-order-received .tec-tickets__attendees-list-wrapper > .tribe-common-h4,
body.woocommerce-order-received .tec-tickets__attendees-list-wrapper > h4{
  color:var(--mgp-white)!important;
}

/* "Dirección de facturación" como TARJETA BLANCA con texto oscuro (como las demás) */
body.woocommerce-order-received .woocommerce-customer-details{
  background:var(--mgp-white)!important;border-radius:var(--mgp-radius-card)!important;padding:32px!important;
}
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2.woocommerce-column__title,
body.woocommerce-order-received .woocommerce-customer-details address,
body.woocommerce-order-received .woocommerce-customer-details p,
body.woocommerce-order-received .woocommerce-customer-details a{ color:var(--mgp-dark)!important; }

/* Enlaces de esta página en lima */
body.woocommerce-order-received .woocommerce a{ color:var(--mgp-lime)!important; }

/* Dentro de las tablas/tarjetas blancas el texto se queda OSCURO (legible) */
body.woocommerce-order-received table.shop_table,
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td,
body.woocommerce-order-received table.shop_table strong,
body.woocommerce-order-received table.shop_table a{
  color:var(--mgp-dark)!important;
}

/* Bordes de la lista-resumen del pedido, finos y claros sobre el oscuro */
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-overview li{ border-color:rgba(255,255,255,.2)!important; }


/* ------------------------------------------------------------------------
   4.b) LIMPIEZA DE TABLAS — carrito/checkout en tema Hello
   Hello NO resetea el gris/bordes por defecto de WooCommerce (Astra sí lo
   hacía). Esto deja la tabla como tarjeta blanca con divisores finos (Figma).
   IMPORTANTE: va después del bloque 4 para sobreescribir los bordes oscuros.
   ------------------------------------------------------------------------ */

/* Ancho de contenido = 1400 en carrito/checkout (Hello lo deja en 1140) */
body.woocommerce-cart .site-main,
body.woocommerce-cart .page-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .page-content{
  max-width:var(--mgp-maxwidth)!important;width:100%!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:var(--mgp-gutter);padding-right:var(--mgp-gutter);box-sizing:border-box;
}

/* Carrito: fuera gris y rejilla; sólo divisores horizontales.
   OJO: la tabla (table.shop_table) DEBE quedarse BLANCA (es la tarjeta).
   Sólo van transparentes filas/celdas, NUNCA el <table>. */
.woocommerce table.shop_table{ background:var(--mgp-white)!important;border:0!important; }
.woocommerce table.shop_table thead,
.woocommerce table.shop_table tbody,
.woocommerce table.shop_table tr,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{ background:transparent!important; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{ border:0!important; }
.woocommerce table.shop_table thead th{
  border-bottom:1px solid rgba(17,22,5,.85)!important;padding:16px 12px!important;vertical-align:middle;
}
.woocommerce table.shop_table tbody tr.cart_item td{
  border-top:1px solid rgba(17,22,5,.12)!important;padding:16px 12px!important;vertical-align:middle;
}

/* Totales: fuera gris y rejilla; divisores finos */
.woocommerce .cart_totals table,
.woocommerce .cart_totals table thead,
.woocommerce .cart_totals table tbody,
.woocommerce .cart_totals table tr,
.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td{ background:transparent!important;border:0!important; }
.woocommerce .cart_totals table tr th,
.woocommerce .cart_totals table tr td{ border-top:1px solid rgba(17,22,5,.12)!important;padding:14px 0!important; }
.woocommerce .cart_totals table tr:first-child th,
.woocommerce .cart_totals table tr:first-child td{ border-top:0!important; }
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td{ border-top:1px solid rgba(17,22,5,.85)!important; }

/* Totales a ANCHO COMPLETO debajo del carrito (como el Figma), no a media columna */
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals{ width:100%!important;float:none!important; }
.woocommerce-cart .cart-collaterals{ margin-top:16px; }

/* FINALIZAR COMPRA: botón normal a la derecha (no a todo el ancho) */
.woocommerce .wc-proceed-to-checkout{ text-align:right!important; }
.woocommerce .wc-proceed-to-checkout a.checkout-button{ display:inline-block!important;width:auto!important; }

/* Botón "×" eliminar: círculo discreto en vez de la equis roja */
.woocommerce table.shop_table td.product-remove a.remove{
  color:var(--mgp-dark)!important;border:1px solid var(--mgp-border);border-radius:var(--mgp-radius-circle);
  width:24px;height:24px;line-height:22px;font-size:14px;font-weight:400;background:var(--mgp-white)!important;
}
.woocommerce table.shop_table td.product-remove a.remove:hover{ background:var(--mgp-dark)!important;color:var(--mgp-white)!important; }

/* Cantidad un pelín más ancha + miniatura redondeada */
.woocommerce .quantity input.qty{ width:72px!important; }
.woocommerce table.shop_table td.product-thumbnail img{ border-radius:var(--mgp-radius-card); }


/* ------------------------------------------------------------------------
   4.c) REGISTRO DE ASISTENTES (Event Tickets) — fondo BLANCO + 2 tarjetas
   ET tiene mucha especificidad → overrides con !important.
   ------------------------------------------------------------------------ */
body.page-tribe-attendee-registration{ background:var(--mgp-dark)!important; }

/* Ancho 1400 */
body.page-tribe-attendee-registration .site-main,
body.page-tribe-attendee-registration .page-content{
  max-width:var(--mgp-maxwidth)!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;
  padding-left:var(--mgp-gutter);padding-right:var(--mgp-gutter);box-sizing:border-box;
}

/* Wrapper a ancho completo (anula max-width:960 de Event Tickets) */
.tribe-tickets__registration{ font-family:var(--mgp-font);max-width:none!important;width:100%!important; }

/* Título + "volver al carrito" claros (van sobre el fondo oscuro) */
.tribe-tickets__registration > h1,
.tribe-tickets__registration > .tribe-common-h2,
.tribe-tickets__registration-actions,
.tribe-tickets__registration-actions a{ color:var(--mgp-white)!important; }

/* Grid 2 columnas: caja OSCURA (como estaba), sin el borde gris de ET */
body.page-tribe-attendee-registration .tribe-tickets__registration-grid{
  display:flex!important;flex-wrap:wrap;gap:24px!important;align-items:flex-start!important;
  background:var(--mgp-dark)!important;border:0!important;border-radius:var(--mgp-radius-box)!important;padding:32px 16px!important;
}
.tribe-tickets__registration-grid > .tribe-tickets__notice{ order:0;flex:1 1 100%;width:100%; }
.tribe-tickets__registration-content{ order:1;flex:1 1 480px;min-width:280px; }
.tribe-tickets__mini-cart{ order:2;flex:1 1 360px;min-width:280px; }

/* Las dos tarjetas: blancas sobre la caja oscura + padding interno 32 */
body.page-tribe-attendee-registration .tribe-tickets__registration-content,
body.page-tribe-attendee-registration .tribe-tickets__mini-cart{
  background:var(--mgp-white)!important;border:none!important;
  border-radius:var(--mgp-radius-card)!important;padding:32px!important;color:var(--mgp-dark);
}
/* Resumen del ticket alineado ARRIBA (quita el margin-top:160 de ET) + sticky bajo el menú */
body.page-tribe-attendee-registration .tribe-tickets__mini-cart{
  margin-top:0!important;align-self:flex-start!important;top:110px!important;
}
/* Si hay barra de admin de WP (usuario logado), el header sticky baja 32px →
   el resumen debe bajar otros 32 para no quedar tapado por el menú. */
body.admin-bar.page-tribe-attendee-registration .tribe-tickets__mini-cart{ top:142px!important; }

/* Quitar los bordes grises (#e4e4e4) que mete Event Tickets */
body.page-tribe-attendee-registration .tribe-tickets__tickets-item,
body.page-tribe-attendee-registration .tribe-tickets__attendee-tickets-item,
body.page-tribe-attendee-registration .tribe-tickets__form{ border:0!important; }

/* Títulos de tarjeta (RESUMEN DEL TICKET, ATTENDEE…) */
.tribe-tickets__mini-cart h3,
.tribe-tickets__registration-content h2,
.tribe-tickets__registration-content h3,
.tribe-tickets__registration-attendee-title{
  text-transform:uppercase;font-weight:var(--mgp-fw-semibold);letter-spacing:-.32px;
  color:var(--mgp-dark)!important;font-family:var(--mgp-font);margin:0 0 8px;
}

/* Labels + inputs */
.tribe-tickets__form-field-label,
.tribe-tickets__registration-content label{
  color:var(--mgp-dark)!important;font-size:var(--mgp-small)!important;font-family:var(--mgp-font)!important;font-weight:var(--mgp-fw-regular)!important;
}
.tribe-tickets__form-field-input,
.tribe-tickets__registration-content input[type=text],
.tribe-tickets__registration-content input[type=email],
.tribe-tickets__registration-content input[type=tel],
.tribe-tickets__registration-content select{
  font-family:var(--mgp-font)!important;font-size:var(--mgp-small)!important;color:var(--mgp-dark)!important;
  background:var(--mgp-white)!important;border:1px solid var(--mgp-border)!important;border-radius:var(--mgp-radius-input)!important;
  height:43px!important;padding:8px 16px!important;box-shadow:none!important;width:100%;
}
.tribe-tickets__form-field-input:focus,
.tribe-tickets__registration-content input:focus{
  border-color:var(--mgp-dark)!important;box-shadow:0 0 0 3px rgba(183,254,0,.45)!important;outline:none!important;
}

/* Divisores del mini-cart */
.tribe-tickets__mini-cart hr,
.tribe-tickets__tickets-footer{ border-color:rgba(17,22,5,.12)!important; }

/* Botón "Guardar y pagar": LIMA (va sobre el fondo oscuro del pie → un botón
   oscuro sería invisible). Centrado en el footer. */
/* Footer a ANCHO COMPLETO (ET lo limita a calc(100% - 384px)) + botón a la DERECHA */
body.page-tribe-attendee-registration .tribe-tickets__registration-footer{
  display:flex!important;width:100%!important;max-width:none!important;justify-content:flex-end!important;text-align:right!important;
  padding-right:16px!important;box-sizing:border-box;
}
body.page-tribe-attendee-registration .tribe-tickets__registration-footer button.tribe-tickets__registration-submit,
body.page-tribe-attendee-registration .tribe-tickets__registration-footer a.tribe-common-c-btn,
body.page-tribe-attendee-registration .tribe-tickets__registration-footer button.tribe-common-c-btn{
  background:var(--mgp-lime)!important;color:var(--mgp-dark)!important;border:none!important;width:auto!important;
  border-radius:var(--mgp-radius-pill)!important;padding:16px 32px!important;font-family:var(--mgp-font)!important;
  font-weight:var(--mgp-fw-semibold)!important;text-transform:uppercase!important;transition:background .15s ease,color .15s ease,box-shadow .15s ease;
}
/* Hover: fondo oscuro + borde verde (box-shadow inset = sin salto de tamaño) */
body.page-tribe-attendee-registration .tribe-tickets__registration-footer button.tribe-tickets__registration-submit:hover,
body.page-tribe-attendee-registration .tribe-tickets__registration-footer a.tribe-common-c-btn:hover,
body.page-tribe-attendee-registration .tribe-tickets__registration-footer button.tribe-common-c-btn:hover{
  background:var(--mgp-dark)!important;color:var(--mgp-lime)!important;box-shadow:inset 0 0 0 2px var(--mgp-lime)!important;
}
.tribe-tickets__registration-actions a.tribe-tickets__registration-back-to-cart,
.tribe-tickets__registration-back-to-cart{
  display:inline-flex;align-items:center;justify-content:center;background:var(--mgp-lime)!important;color:var(--mgp-dark)!important;
  border-radius:var(--mgp-radius-pill)!important;padding:10px 20px!important;font-weight:var(--mgp-fw-semibold)!important;text-decoration:none!important;
}


/* ========================================================================
   5) AÑADIDOS A MANO (inOne) — TranslatePress / menú idiomas / botón
   ======================================================================== */
img.trp-flag-image {
    height: auto;
    width: 24px!important;
	border-radius:4px !important;
}

.trp-language-switcher-container a.elementor-item {
    padding: 0;
}

.trp-language-switcher-container a.elementor-item:hover {
    padding: 0;
}

.elementor-element-94cdf0a span.elementor-button-text {
    line-height: normal;
}

.woocommerce .cart-collaterals .cart_totals{
    padding: 16px!important;

}