/* ArkkoTicket — grilla de eventos. Tokens de arkkoticket-design-guide.html
   (azul #79add1, Poppins, radios 6-8px, espaciado base 8px). */

:root {
    --akt-primary: #79add1;
    --akt-primary-dark: #5a9fb5;
    --akt-primary-light: #e3f2fd;
    --akt-text: #333333;
    --akt-muted: #777777;
    --akt-border: #e0e0e0;
    --akt-success: #7cb342;

    /* Acento de marca = azul primario de la guía de diseño (arkkoticket-design-guide).
       Texto blanco sobre #79add1 (CTA). */
    --akt-accent: #79add1;
    --akt-accent-dark: #5a9fb5;
    --akt-accent-glow: rgba(121, 173, 209, 0.40);
    --akt-primary-glow: rgba(121, 173, 209, 0.45);
}

.arkko-ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.arkko-ev-empty {
    text-align: center;
    color: var(--akt-muted);
    padding: 32px 0;
}

.arkko-ev-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--akt-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arkko-ev-card {
    position: relative; /* para el enlace que cubre la tarjeta */
}

.arkko-ev-card:hover,
.arkko-ev-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Título como enlace que cubre toda la tarjeta (stretched link) */
.arkko-ev-title .arkko-ev-link {
    color: inherit;
    text-decoration: none;
}

.arkko-ev-title .arkko-ev-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.arkko-ev-card:hover .arkko-ev-title .arkko-ev-link {
    color: var(--akt-primary-dark);
}

/* El pie (precio + botón) queda por encima del enlace para ser clicable aparte */
.arkko-ev-foot {
    position: relative;
    z-index: 2;
}

.arkko-ev-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.arkko-ev-media > img:not(.arkko-ev-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo del evento (imagen Detail) sobre la esquina de la imagen principal */
.arkko-ev-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 40px;
    width: auto;
    max-width: 45%;
    object-fit: contain;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.arkko-ev-media--gradient {
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%) !important;
}

.arkko-ev-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    flex: 1;
}

.arkko-ev-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--akt-primary-light);
    color: var(--akt-primary-dark);
}

.arkko-ev-badge--ok {
    background: #e8f5e9;
    color: #4caf50;
}

.arkko-ev-date {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--akt-muted);
}

.arkko-ev-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--akt-text);
}

.arkko-ev-loc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--akt-muted);
}

.arkko-ev-foot {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.arkko-ev-price {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--akt-primary);
}

.arkko-ev-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: var(--akt-primary);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap;line-height: 1.2;
}

.arkko-ev-btn:hover,
.arkko-ev-btn:focus {
    background: var(--akt-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 173, 209, 0.4);
}

.arkko-ev-btn:focus-visible {
    outline: 3px solid var(--akt-primary-dark);
    outline-offset: 2px;
}

.arkko-ev-badge--low {
    background: #e3f2fd;
    color: #185fa5;
}

.arkko-ev-badge--out {
    background: #fceaea;
    color: #a32d2d;
}

.arkko-ev-spots {
    margin: 0;
    font-size: 0.8rem;
    color: var(--akt-muted);
}

.arkko-ev-btn--disabled {
    background: var(--akt-border);
    color: var(--akt-muted);
    cursor: not-allowed;
    pointer-events: none;
}

/* Buscador / filtro */
.arkko-ev-search {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    background: #ffffff;
    border: 1px solid var(--akt-border);
    border-radius: 8px;
    padding: 16px;
    margin: 0 0 24px;
}

.arkko-ev-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px;
}

.arkko-ev-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--akt-text);
}

.arkko-ev-field input {
    padding: 10px 12px;
    border: 2px solid var(--akt-border);
    border-radius: 6px;
    font: inherit;
    min-height: 44px;
}

.arkko-ev-field input:focus {
    outline: none;
    border-color: var(--akt-primary);
    box-shadow: 0 0 0 3px rgba(121, 173, 209, 0.18);
}

.arkko-ev-field--actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.arkko-ev-search button.arkko-ev-btn {
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.arkko-ev-clear {
    font-size: 0.9rem;
    color: var(--akt-muted);
    text-decoration: underline;
}

/* Logo en el encabezado */
.arkko-logo img {
    height: 90px;          
    width: auto;
    display: block;
}

/* ---------- Slider del hero ---------- */
.arkko-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: var(--wp--preset--color--ink) !important;
}

.arkko-hero-track {
    position: relative;
    width: 100%;
    height: 440px;
}

.arkko-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

.arkko-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.arkko-hero-slide--gradient {
    background: linear-gradient(135deg, #79add1 0%, #5a9fb5 100%);
}

.arkko-hero-overlay {
    position: absolute;
    inset: 0;
}

.arkko-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 0 0 auto;
    padding: 20px;
    color: #fff;
    background: var(--wp--preset--color--ink) !important;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-bottomleft: 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border: 10px solid #FFF;
    border-right: 0px;
    width: 33%;
    text-align: center;
}

.arkko-hero-date {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.95;
}

.arkko-hero-title {
    margin: 0 auto 16px;
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 16ch;
    color: #fff;
}

.arkko-hero-logo {
    display: block;
    height: clamp(48px, 9vw, 84px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin-bottom: 14px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.arkko-hero-meta {
    margin-bottom: 10px;
}

.arkko-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.arkko-hero-price {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.arkko-hero-btn {
    display: inline-block;
    background: #fff;
    color: #5a9fb5;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.arkko-hero-btn:hover,
.arkko-hero-btn:focus {
    color: #5a9fb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.arkko-hero-prev,
.arkko-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.arkko-hero-prev { left: 14px; }
.arkko-hero-next { right: 14px; }

.arkko-hero-prev:hover,
.arkko-hero-next:hover { background: #fff; }

.arkko-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.arkko-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
}

.arkko-hero-dot.is-active {
    background: #fff;
}



a.wc-block-customer-account__link, 
.wc-block-mini-cart__button {
    background: #5A9FB5;
    background: linear-gradient(320deg, rgba(90, 159, 181, 1) 0%, rgba(124, 179, 66, 1) 100%);
    color: #FFF;
    border-radius: 30px;
    padding: 10px;
}

a.wc-block-customer-account__link:hover, 
.wc-block-mini-cart__button:hover {
    background: #5A9FB5;
    background: linear-gradient(135deg,rgba(90, 159, 181, 1) 0%, rgba(124, 179, 66, 1) 100%);
    color: #FFF;
}



@media (max-width: 600px) {
    .arkko-hero-prev,
    .arkko-hero-next { display: none; }
}

/* ====================================================================
   Hero con VIDEO de fondo  [arkko_hero_video]  (estilo specialticket.net)
   ==================================================================== */
.arkko-vhero {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 68vh, 680px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:#000 ;
}

.arkko-vhero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .4;
}

.arkko-vhero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(20, 40, 60, 0.78) 0%, rgba(20, 40, 60, 0.45) 55%, rgba(20, 40, 60, 0.22) 100%),
        linear-gradient(180deg, rgba(20, 40, 60, 0) 55%, rgba(20, 40, 60, 0.55) 100%);
}

.arkko-vhero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 56px);
    color: #fff;
}

.arkko-vhero-title {
    margin: 0 0 14px;
    color: #fff;
    font-weight: 800;
    line-height: 1.05;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    max-width: 18ch;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.arkko-vhero-sub {
    margin: 0;
    max-width: 46ch;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.96;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}


section#eventos {
    padding-top: 50px;
}
section#eventos 
form.arkko-ev-search {
    margin-bottom: 50px;
}


/* Si el usuario pide menos movimiento, atenuamos (JS además pausa el video). */
@media (prefers-reduced-motion: reduce) {
    .arkko-vhero-video { opacity: 0.55; }
}

/* ====================================================================
   Buscador rediseñado (tarjeta blanca flotante, estilo de la referencia)
   ==================================================================== */
.arkko-ev-search {
    gap: clamp(12px, 2vw, 20px);
    border: none;
    border-radius: 14px;
    padding: clamp(18px, 2.4vw, 28px);
    box-shadow: 0 16px 40px rgba(20, 40, 60, 0.16);
    /* Flota sobre el final del hero en pantallas anchas. */
    position: relative;
    z-index: 5;
    margin-top: clamp(-72px, -6vw, -36px);
}

.arkko-ev-field--grow {
    flex: 2 1 240px;
}

.arkko-ev-field label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--akt-text);
}

.arkko-ev-search .arkko-ev-field input {
    border: 1.5px solid var(--akt-border);
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 50px;
    font-size: 1rem;
}

.arkko-ev-btn--search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1.05rem;
}

.arkko-ev-btn__icon {
    font-size: 1.05em;
    line-height: 1;
}

/* En móvil, la tarjeta no flota (evita solaparse con el hero). */
@media (max-width: 782px) {
    .arkko-ev-search {
        margin-top: 24px;
        flex-direction: column;
        align-items: stretch;
    }
    .arkko-ev-field--actions {
        flex-direction: column;
        align-items: stretch;
    }
    .arkko-ev-btn--search {
        justify-content: center;
        width: 100%;
    }
}

/* ====================================================================
   Categorías (tags de Amelia) como chips/pills que filtran el listado
   ==================================================================== */
.arkko-cats-wrap {
    margin: 28px 0 8px;
}

.arkko-cats-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--akt-text);
}

.arkko-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.arkko-cat {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--akt-border);
    background: #fff;
    color: var(--akt-text);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.arkko-cat:hover,
.arkko-cat:focus-visible {
    border-color: var(--akt-primary);
    color: var(--akt-primary-dark);
    transform: translateY(-1px);
}

.arkko-cat:focus-visible {
    outline: 3px solid var(--akt-primary-dark);
    outline-offset: 2px;
}

.arkko-cat.is-active {
    background-image: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
    border-color: var(--akt-primary-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(121, 173, 209, 0.35);
}

.arkko-cat:active {
    transform: translateY(0) scale(0.97);
}

/* ====================================================================
   REFINAMIENTOS (Design Guide) + ANIMACIONES MODERNAS
   ==================================================================== */

/* Navegación a la sección de eventos sin que el header tape el contenido. */
html { scroll-behavior: smooth; }
#eventos { scroll-margin-top: 90px; }

/* ---------- Animación de entrada (reveal escalonado) ----------
   La clase .ak-reveal la añade el JS; sin JS nada se oculta. */
.ak-reveal {
    opacity: 0;
    transform: translateY(18px);
    will-change: opacity, transform;
}

.ak-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ak-delay, 0ms);
}

/* ---------- Títulos de sección con acento de marca ---------- */
.arkko-cats-title,
.arkko-section-title {
    position: relative;
    padding-bottom: 12px;
}

.arkko-cats-title::after,
.arkko-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
}

/* Título centrado del slider "Eventos destacados". */
.arkko-section-title {
    text-align: center;
}

.arkko-section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
}

/* ---------- Botones: gradiente + micro-interacción ---------- */
.arkko-ev-btn {
    background-image: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
    box-shadow: 0 4px 12px rgba(121, 173, 209, 0.28);
}

.arkko-ev-btn:hover,
.arkko-ev-btn:focus {
    background-image: linear-gradient(135deg, var(--akt-primary-dark) 0%, #4a8ca0 100%);
    box-shadow: 0 8px 20px rgba(121, 173, 209, 0.45);
}

.arkko-ev-btn:active {
    transform: translateY(0) scale(0.98);
}

.arkko-ev-btn--disabled,
.arkko-ev-btn--disabled:hover {
    background-image: none;
    background: var(--akt-border);
    box-shadow: none;
}

/* ---------- Tarjetas de evento: más modernas ---------- */
.arkko-ev-card {
    border-radius: 14px;
    border-color: #ededed;
    box-shadow: 0 4px 14px rgba(20, 40, 60, 0.07);
}

.arkko-ev-card:hover,
.arkko-ev-card:focus-within {
    box-shadow: 0 16px 32px rgba(20, 40, 60, 0.14);
}

/* Zoom suave de la imagen al pasar el cursor. */
.arkko-ev-media > img:not(.arkko-ev-logo) {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.arkko-ev-card:hover .arkko-ev-media > img:not(.arkko-ev-logo) {
    transform: scale(1.06);
}

/* Degradado inferior sobre la imagen (legibilidad y profundidad). */
.arkko-ev-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.arkko-ev-card:hover .arkko-ev-media::after {
    opacity: 1;
}

/* Badge un poco más sólido. */
.arkko-ev-badge {
    box-shadow: 0 2px 6px rgba(20, 40, 60, 0.08);
}

/* ---------- Estado de carga del listado (filtrado AJAX) ---------- */
.arkko-listado {
    transition: opacity 0.25s ease;
}

.arkko-listado.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.arkko-listado.is-loading .arkko-ev-grid {
    filter: saturate(0.85);
}

/* ---------- Footer con acento superior ---------- */
footer.wp-block-group {
    position: relative;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%) 1;
}

footer.wp-block-group a {
    color: var(--akt-primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.wp-block-group a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ---------- Respeto a prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ak-reveal,
    .ak-reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .arkko-ev-card:hover .arkko-ev-media > img:not(.arkko-ev-logo) {
        transform: none;
    }
}

/* ====================================================================
   BOTONES MODERNOS — acento coral, barrido de brillo (shine), glow,
   ripple (clase .ak-ripple la inyecta arkko-front.js) y micro-press.
   Jerarquia: CTA (comprar/hero) = coral; busqueda = azul; chips = azul.
   ==================================================================== */

@keyframes ak-shine {
    0%   { transform: translateX(-130%) skewX(-18deg); }
    100% { transform: translateX(230%)  skewX(-18deg); }
}

@keyframes ak-pulse {
    0%, 100% { box-shadow: 0 8px 22px var(--akt-accent-glow); }
    50%      { box-shadow: 0 8px 30px var(--akt-accent-glow), 0 0 0 6px rgba(121, 173, 209, 0.18); }
}

@keyframes ak-ripple-anim {
    to { transform: scale(2.6); opacity: 0; }
}

/* Base compartida: posicionamiento para shine/ripple y transicion fluida. */
.arkko-ev-btn,
.arkko-hero-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease, background-image 0.3s ease;
}

/* Capa de brillo diagonal (bajo el texto, sobre el degradado). */
.arkko-ev-btn::before,
.arkko-hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-130%) skewX(-18deg);
    pointer-events: none;
}

.arkko-ev-btn:hover::before,
.arkko-ev-btn:focus-visible::before,
.arkko-hero-btn:hover::before,
.arkko-hero-btn:focus-visible::before {
    animation: ak-shine 0.8s ease-out;
}

/* Ripple inyectado por JS (bajo el texto, sobre el degradado). */
.ak-ripple {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    opacity: 0.75;
    pointer-events: none;
    animation: ak-ripple-anim 0.6s ease-out forwards;
}

/* ---------- CTA principal: boton "Comprar" (coral) ---------- */
.arkko-ev-btn {
    background-image: linear-gradient(135deg, var(--akt-accent) 0%, var(--akt-accent-dark) 100%);
    box-shadow: 0 6px 16px var(--akt-accent-glow);
}

.arkko-ev-btn:hover,
.arkko-ev-btn:focus {
    background-image: linear-gradient(135deg, var(--akt-accent) 0%, #4a8ca0 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px var(--akt-accent-glow);
}

.arkko-ev-btn:focus-visible {
    outline: 3px solid var(--akt-accent-dark);
    outline-offset: 2px;
}

.arkko-ev-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Estado agotado/inhabilitado: neutro, sin animaciones. */
.arkko-ev-btn--disabled,
.arkko-ev-btn--disabled:hover {
    background-image: none;
    background: var(--akt-border);
    box-shadow: none;
    transform: none;
}

.arkko-ev-btn--disabled::before { content: none; }

/* ---------- CTA del hero (coral + pulso de atencion) ---------- */
.arkko-hero-btn {
    background: linear-gradient(135deg, var(--akt-accent) 0%, var(--akt-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 22px var(--akt-accent-glow);
    animation: ak-pulse 2.8s ease-in-out infinite;
}

.arkko-hero-btn:hover,
.arkko-hero-btn:focus {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 30px var(--akt-accent-glow);
    animation-play-state: paused;
}

.arkko-hero-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.arkko-hero-btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* ---------- Boton de busqueda: azul (accion secundaria) ---------- */
.arkko-ev-btn--search {
    background-image: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
    box-shadow: 0 6px 16px var(--akt-primary-glow);
}

.arkko-ev-btn--search:hover,
.arkko-ev-btn--search:focus {
    background-image: linear-gradient(135deg, var(--akt-primary-dark) 0%, #4a8ca0 100%);
    box-shadow: 0 12px 26px var(--akt-primary-glow);
}

.arkko-ev-btn--search:focus-visible {
    outline-color: var(--akt-primary-dark);
}

.arkko-ev-btn--search .arkko-ev-btn__icon {
    transition: transform 0.3s ease;
}

.arkko-ev-btn--search:hover .arkko-ev-btn__icon {
    transform: scale(1.15);
}

/* ---------- Chips de categoria: hover/press mas vivos ---------- */
.arkko-cat {
    overflow: hidden;
    position: relative;
}

.arkko-cat:hover,
.arkko-cat:focus-visible {
    background: var(--akt-primary-light);
    border-color: var(--akt-primary);
    color: var(--akt-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px var(--akt-primary-glow);
}

.arkko-cat.is-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px var(--akt-primary-glow);
}

/* ---------- Reduced-motion: sin shine, pulso ni ripple ---------- */
@media (prefers-reduced-motion: reduce) {
    .arkko-ev-btn::before,
    .arkko-hero-btn::before { display: none; }

    .arkko-hero-btn { animation: none; }

    .ak-ripple { display: none; }

    .arkko-ev-btn,
    .arkko-hero-btn,
    .arkko-ev-btn--search,
    .arkko-cat {
        transition: none;
    }

    .arkko-ev-btn:hover,
    .arkko-hero-btn:hover,
    .arkko-cat:hover {
        transform: none;
    }
}

/* ====================================================================
   AMELIA BOOKING — modernizacion de .am-button (sin modificar el plugin).
   Amelia inyecta el color INLINE en cada boton via Vue (--am-c-btn-*),
   por eso esas variables se sobreescriben con !important. Las micro-
   interacciones (brillo/glow/press) reutilizan @keyframes ak-shine.
   CTA primario/filled = acento coral, coherente con "Comprar".
   ==================================================================== */

/* Color de marca: solo CTA primario/relleno. Hover = coral oscuro;
   anillo de foco = glow coral; texto blanco (contraste AA ~4.75:1). */
.am-button.am-button--filled,
.am-button.am-button--primary {
    --am-c-btn-first: var(--akt-accent) !important;
    --am-c-btn-first-op80: var(--akt-accent-dark) !important;
    --am-c-btn-first-op30: var(--akt-accent-glow) !important;
    --am-c-btn-second: #ffffff !important;
}

/* Forma moderna + base para brillo/ripple y glow de reposo. */
.am-button.am-button--filled,
.am-button.am-button--primary {
    --am-rad-btn: 10px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 6px 16px var(--akt-accent-glow);
}

.am-button.am-button--filled:not(.is-disabled):hover,
.am-button.am-button--primary:not(.is-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px var(--akt-accent-glow);
}

.am-button.am-button--filled:not(.is-disabled):active,
.am-button.am-button--primary:not(.is-disabled):active {
    transform: translateY(0) scale(0.98);
}

/* Barrido de brillo: bajo el contenido del boton, visible en hover/foco. */
.am-button.am-button--filled::before,
.am-button.am-button--primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-130%) skewX(-18deg);
    pointer-events: none;
}

.am-button.am-button--filled:not(.is-disabled):hover::before,
.am-button.am-button--filled:not(.is-disabled):focus::before,
.am-button.am-button--primary:not(.is-disabled):hover::before,
.am-button.am-button--primary:not(.is-disabled):focus::before {
    animation: ak-shine 0.8s ease-out;
}

/* Deshabilitado: sin glow ni brillo. */
.am-button.is-disabled {
    box-shadow: none !important;
    transform: none !important;
}

.am-button.is-disabled::before { content: none; }

/* Respeto a prefers-reduced-motion (botones de Amelia). */
@media (prefers-reduced-motion: reduce) {
    .am-button.am-button--filled::before,
    .am-button.am-button--primary::before { display: none; }

    .am-button.am-button--filled:not(.is-disabled):hover,
    .am-button.am-button--primary:not(.is-disabled):hover {
        transform: none;
    }
}

/* ====================================================================
   AMELIA — alineacion con la guia de diseno (arkkoticket-design-guide):
   color primario azul #79add1 y tipografia Poppins en TODO el modal/flujo.
   No se modifica el plugin: se redefinen sus variables. --am-font-family
   se define en CSS normal; --am-c-primary lo inyecta Vue inline, por eso se
   cubre con !important sobre las raices del widget y sus descendientes
   (incluye el popup/dialog que Amelia monta fuera del contenedor). */
.amelia-v2-booking, .amelia-v2-booking *,
.amelia-v2-booking-dialog, .amelia-v2-booking-dialog *,
.amelia-v2-sgd, .amelia-v2-sgd *,
.amelia-v2-gdp, .amelia-v2-gdp *,
.am-fs, .am-fs *,
.am-dialog, .am-dialog *,
.am-slide-popup, .am-slide-popup * {
    --am-c-primary: var(--akt-primary) !important;
    --am-c-primary-op80: var(--akt-primary-dark) !important;
    --am-c-primary-op10: rgba(121, 173, 209, 0.10) !important;
    --am-c-primary-op05: rgba(121, 173, 209, 0.05) !important;
    --am-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}

/* ====================================================================
   AMELIA — modernizacion de .am-ec (filas del catalogo) y del MODAL de
   reserva, alineado a la guia (azul) y verificado en vivo. Sin tocar el
   plugin: se redefinen estilos sobre sus clases reales.
   ==================================================================== */

/* ---------- Filas del catalogo (.am-ec) ---------- */
.am-ec {
    border: 1px solid var(--akt-border) !important;
    border-radius: 12px !important;
    padding: 14px 18px 14px 22px !important;
    position: relative;
    overflow: hidden;
    /* Sustituye la sombra que incrusta el acento "dorado" por-evento por una
       sombra moderna; el acento azul de marca se dibuja con ::before. */
    box-shadow: 0 4px 14px rgba(20, 40, 60, 0.07) !important;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.am-ec::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
}

.am-ec:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 40, 60, 0.13) !important;
}

.am-ec__image {
    border-radius: 10px !important;
}

/* ---------- Modal de reserva (Element-Plus dialog) ---------- */
/* Fondo con leve desenfoque (mas moderno). */
.el-overlay.am-dialog-popup {
    backdrop-filter: blur(3px);
}

/* Panel real: radio 16px + sombra profunda (sin overflow:hidden para no
   recortar desplegables de fecha/cantidad). */
.el-overlay.am-dialog-popup .el-dialog {
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(20, 40, 60, 0.28) !important;
}

/* Recorte de esquinas: imagen superior y footer inferior. */
.el-overlay.am-dialog-popup .el-dialog .am-gc,
.el-overlay.am-dialog-popup .el-dialog .am-eli__image {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    overflow: hidden !important;
}

.el-overlay.am-dialog-popup .am-slide-popup__block-footer {
    border-top: 1px solid var(--akt-border);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Boton cerrar (X) circular y visible sobre la imagen. */
.el-overlay.am-dialog-popup .el-dialog__headerbtn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.el-overlay.am-dialog-popup .el-dialog__headerbtn:hover {
    background: #ffffff;
    transform: scale(1.06);
}

/* ---------- Reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .am-ec { transition: none; }
    .am-ec:hover { transform: none; }
    .el-overlay.am-dialog-popup .el-dialog__headerbtn:hover { transform: none; }
}

/* ====================================================================
   AMELIA — .am-ec al nivel de la propuesta: chip de fecha, pill de estado,
   precio; + conmutador de vista GRID (3 col) / LISTA. Verificado contra la
   estructura real del catalogo. Sin modificar el plugin.
   ==================================================================== */

/* Chip de fecha tipo calendario */
.am-ec__period {
    flex: 0 0 auto !important;
    min-width: 66px !important;
    text-align: center !important;
    background: var(--akt-primary-light) !important;
    border-radius: 10px !important;
    padding: 8px 8px !important;
}
.am-ec__period-text {
    font-size: 0.68rem !important;
    color: var(--akt-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 2px !important;
}
.am-ec__period-date__day {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--akt-primary-dark) !important;
    line-height: 1 !important;
}
.am-ec__period-date__month {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--akt-primary-dark) !important;
    text-transform: uppercase;
}
.am-ec__period-time {
    font-size: 0.7rem !important;
    color: var(--akt-muted) !important;
    margin: 2px 0 0 !important;
}

/* Nombre y estado (pill verde) */
.am-ec__info-name {
    font-weight: 600 !important;
    color: var(--akt-text) !important;
}
.am-ec__info-other {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: fit-content !important;
    max-width: 100%;
    align-self: flex-start !important;
    background: #e8f5e9 !important;
    border-radius: 999px !important;
    padding: 3px 12px !important;
    margin-top: 6px !important;
}
.am-ec__info-availability.open,
.am-ec__info-capacity,
.am-ec__info-capacity__number,
.am-ec__info-capacity__text {
    color: #2e7d32 !important;
}
.am-ec__info-availability.open,
.am-ec__info-capacity__number { font-weight: 700 !important; }

/* Precio destacado */
.am-ec__actions-price p {
    color: var(--akt-primary) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
}

/* ---------- Conmutador de vista (control inyectado por el theme) ---------- */
.arkko-evtoggle {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin: 0 0 14px;
}
.arkko-evtoggle button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid var(--akt-border);
    background: #fff;
    color: var(--akt-muted);
    border-radius: 8px;
    padding: 8px 15px;
    font: 600 0.9rem 'Poppins', system-ui, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.arkko-evtoggle button:hover {
    border-color: var(--akt-primary);
    color: var(--akt-primary-dark);
    transform: translateY(-1px);
}
.arkko-evtoggle button:focus-visible {
    outline: 3px solid var(--akt-primary-dark);
    outline-offset: 2px;
}
.arkko-evtoggle button[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
    border-color: var(--akt-primary-dark);
    color: #fff;
    box-shadow: 0 6px 16px var(--akt-primary-glow);
}

/* ---------- Vista GRID (3 columnas) — body.arkko-evview-grid ---------- */
body.arkko-evview-grid .am-els__wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}
body.arkko-evview-grid .am-ec {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 0 16px !important;
    margin-bottom: 0 !important;
}
body.arkko-evview-grid .am-ec__image {
    order: -1 !important;
    width: 100% !important;
    height: 160px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background-color: var(--akt-primary-light) !important;
    background-size: cover;
    background-position: center;
}

/* Banner-placeholder para eventos SIN imagen (grid): evita el hueco. */
body.arkko-evview-grid .am-ec:not(:has(.am-ec__image))::after {
    content: "";
    order: -1;
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
}
body.arkko-evview-grid .am-ec__period {
    position: static !important;
    align-self: flex-start;
    margin: 14px 16px 0 !important;
}
body.arkko-evview-grid .am-ec__info {
    padding: 14px 16px 0 !important;
}
body.arkko-evview-grid .am-ec__actions {
    padding: 12px 16px 0 !important;
    margin-top: auto;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}



.page-template-page-reservar 
.amelia-v2-booking #amelia-container.am-elf {
    margin: auto;
    max-width: inherit;
    background-color: inherit;
    padding: inherit;
    border-radius: inherit;
}



@media (max-width: 900px) {
    body.arkko-evview-grid .am-els__wrapper { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    body.arkko-evview-grid .am-els__wrapper { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
    .arkko-evtoggle button { transition: none; }
    .arkko-evtoggle button:hover { transform: none; }
}
/* ====================================================================
   HOMOGENIZACION con la Pagina 1 (home): el buscador y las tarjetas del
   catalogo de Amelia adoptan el mismo lenguaje visual que .arkko-ev-search
   y .arkko-ev-card. La vista por defecto del catalogo es GRID (como la home).
   ==================================================================== */

/* ---------- Buscador de Amelia como .arkko-ev-search ---------- */
.am-els__available {
    font-weight: 700 !important;
    color: var(--akt-text) !important;
}
.am-els__filters .el-input__wrapper {
    border: 1.5px solid var(--akt-border) !important;
    border-radius: 10px !important;
    min-height: 50px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.am-els__filters .el-input.is-focus .el-input__wrapper,
.am-els__filters .el-input__wrapper:focus-within {
    border-color: var(--akt-primary) !important;
    box-shadow: 0 0 0 3px rgba(121, 173, 209, 0.18) !important;
}
/* Boton "Filters" como boton secundario de la guia (blanco, borde azul). */
.am-els__filters-menu__btn-inner {
    min-height: 50px !important;
    border-radius: 10px !important;
    padding: 12px 22px !important;
    border: 1.5px solid var(--akt-primary) !important;
    background: #fff !important;
    font-weight: 600 !important;
}
.am-els__filters-menu__btn-inner:hover { background: var(--akt-primary-light) !important; }
.am-els__filters-menu__btn-inner .am-button__inner,
.am-els__filters-menu__btn-inner .am-icon-filter { color: var(--akt-primary-dark) !important; }

/* ---------- Tarjetas del catalogo (GRID) como .arkko-ev-card ---------- */
body.arkko-evview-grid .am-ec {
    border: 1px solid #ededed !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(20, 40, 60, 0.07) !important;
}
body.arkko-evview-grid .am-ec::before { display: none !important; }
body.arkko-evview-grid .am-ec:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(20, 40, 60, 0.14) !important;
}

/* Imagen 16:9 con zoom al hover (como la home) */
body.arkko-evview-grid .am-ec__image {
    height: auto !important;
    aspect-ratio: 16 / 9;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
body.arkko-evview-grid .am-ec:hover .am-ec__image { transform: scale(1.06); }
body.arkko-evview-grid .am-ec:not(:has(.am-ec__image))::after {
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Fecha como linea discreta (sin chip), estilo .arkko-ev-date */
body.arkko-evview-grid .am-ec__period {
    background: transparent !important;
    min-width: 0 !important;
    text-align: left !important;
    padding: 12px 16px 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
body.arkko-evview-grid .am-ec__period-text { display: none !important; }
body.arkko-evview-grid .am-ec__period-date { display: inline-flex !important; gap: 4px; }
body.arkko-evview-grid .am-ec__period-date__day,
body.arkko-evview-grid .am-ec__period-date__month,
body.arkko-evview-grid .am-ec__period-time {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--akt-muted) !important;
    line-height: 1.2 !important;
}

/* Cuerpo: badge sobre el titulo (como la home), titulo y precio homogeneos */
body.arkko-evview-grid .am-ec__info {
    display: flex !important;
    flex-direction: column;
    padding: 6px 16px 0 !important;
}
body.arkko-evview-grid .am-ec__info-other { order: -1; margin: 0 0 8px !important; }
body.arkko-evview-grid .am-ec__info-name {
    order: 0;
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
}
body.arkko-evview-grid .am-ec__actions-price p { font-size: 1.5rem !important; }

/* ====================================================================
   SIDEBAR / WIDGETS (páginas secundarias: page.html, single.html).
   Tarjetas blancas, acento azul y tipografía de la guía de diseño.
   ==================================================================== */
.arkko-with-sidebar {
    align-items: flex-start;
}

.arkko-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 782px) {
    .arkko-with-sidebar > .wp-block-column:last-child {
        position: sticky;
        top: 90px;
    }
}

.arkko-widget {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(20, 40, 60, 0.07);
    width: 100%;
}

.arkko-widget > :first-child { margin-top: 0; }

.arkko-widget p {
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: var(--akt-text);
    line-height: 1.55;
}

.arkko-widget-title {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--akt-text);
}

.arkko-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
}

/* Widget CTA: fondo azul claro (texto oscuro = contraste AA) + botón azul. */
.arkko-widget--cta {
    background: var(--akt-primary-light);
    border-color: #cfe6f5;
}

.arkko-side-cta {
    display: inline-block;
    margin-top: 4px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
    box-shadow: 0 6px 16px var(--akt-primary-glow);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.arkko-side-cta:hover,
.arkko-side-cta:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px var(--akt-primary-glow);
}

/* Mini-listado de próximos eventos */
.arkko-side-events {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arkko-side-event {
    display: flex;
    gap: 12px;
    align-items: center;
}

.arkko-side-thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--akt-primary-light);
}

.arkko-side-thumb--grad {
    background-image: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
}

.arkko-side-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.arkko-side-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--akt-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.arkko-side-name a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--akt-text);
    text-decoration: none;
    line-height: 1.25;
}

.arkko-side-name a:hover { color: var(--akt-primary-dark); }

.arkko-side-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--akt-primary);
}

.arkko-side-empty {
    margin: 0;
    color: var(--akt-muted);
    font-size: 0.9rem;
}

/* Bloque de búsqueda dentro del widget */
.arkko-widget .wp-block-search__input {
    border: 1.5px solid var(--akt-border);
    border-radius: 10px;
    min-height: 46px;
    padding: 8px 12px;
}

.arkko-widget .wp-block-search__button {
    background: linear-gradient(135deg, var(--akt-primary) 0%, var(--akt-primary-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 16px;
}

/* Chips de categoría más compactos en el sidebar */
.arkko-widget .arkko-cats { gap: 8px; }
.arkko-widget .arkko-cat { padding: 7px 14px; font-size: 0.85rem; }

/* En páginas de WooCommerce (carrito, finalizar compra, mi cuenta) el sidebar
   estorba: se ocultan y el contenido ocupa todo el ancho. */
.woocommerce-page .arkko-with-sidebar {
    display: block;
}
.woocommerce-page .arkko-with-sidebar > .wp-block-column:first-child {
    width: 100% !important;
    flex-basis: 100% !important;
}
.woocommerce-page .arkko-with-sidebar > .wp-block-column:last-child {
    display: none !important;
}

#arkkoFooter{ 
    padding:25px 0 0; 
    background:#333 !important 
}
#arkkoCopy{ 
    padding: 15px;
    background: linear-gradient(135deg, #79add1 0%, #5a9fb5 100%) !important;
    max-width: inherit;
}

.payment-cards {
    text-align: center;
}
.payment-cards img {
    display: inline-block;
    margin: 10px;
    max-width: 80px;
    height: auto;
    background: #FFF;
    padding: 10px;
    border-radius: 10px;
}


section#arkkoInfo {
    margin: 50px auto 0;
    padding: 50px 0;
    background: #FFF;
    background: linear-gradient(100deg, rgba(255, 255, 255, 1) 15%, rgba(90, 159, 181, 0.51) 33%, rgba(124, 179, 66, 0.5) 66%, rgba(255, 255, 255, 1) 85%);
}


.home footer.wp-block-template-part {
    margin: 0;
}
.home figure.wp-block-image.aligncenter.arkko-feature-icon {
    width: 100%;
}


.amelia-v2-booking #amelia-container .am-eli .am-eli__image,
body.arkko-evview-grid .am-ec:not(:has(.am-ec__image))::after{
display:none;
}



body.woocommerce-checkout .wc-block-components-text-input input[required]:invalid {
    border: 2px solid #dc3545;
    background-color: #fff8f8;
}

.wc-greenpayService-cc-form {
    border: none;
}
.wc-greenpayService-cc-form .input-text,
.wc-greenpayService-cc-form .greenpayService-card-holder{
    background-color: #fff;
    border: 1px solid 
    color-mix(in srgb, currentColor 80%, transparent);
    border-radius: 4px;
    box-sizing: border-box;
    color: #2b2d2f;
    font-family: inherit;
    font-size: inherit;
    font-size: 16px;
    font-style: inherit;
    font-weight: inherit;
    height: 50px;
    letter-spacing: inherit;
    line-height: inherit;
    line-height: 25px;
    margin: 0;
    min-height: 0;
    padding: 16px 12px;
    text-decoration: inherit;
    text-transform: inherit;
    width: 100%;
}


.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
    box-shadow: none !important;
    background: rgba(121, 173, 209, 0.2);
    border: 5px solid #FFF;
}
.wp-block-woocommerce-checkout-order-summary-block {
    background: #5A9FB5;
    background: linear-gradient(320deg, rgba(90, 159, 181, 1) 0%, rgba(124, 179, 66, 1) 100%);
    color: #FFF;
}


.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span {
    color: #000;
}


/*RESERVAS*/

.amelia-v2-booking #amelia-container .am-el__header-inner {
    background: linear-gradient(135deg, #79add1 0%, #5a9fb5 100%) !important;
}
.amelia-v2-booking #amelia-container .am-el__header-inner__title {
    color: #FFF;
}
.amelia-v2-booking #amelia-container .am-button.am-button--plain {
    background-color: #FFF;
}
.amelia-v2-booking.am-dialog-el.am-dialog-popup .el-dialog .el-dialog__headerbtn {
    background: #FFF !important;
}
.amelia-v2-booking #amelia-container .am-elf__footer {
    background: #333 !important;
}
.amelia-v2-booking #amelia-container .am-payments__sentence p {
    font-size: 1.4em;
    padding: 10px 20px;
    border-radius: 20px;
    background: #e3f2fd;
    color: #185fa5;
    display: none;
}


header.wp-block-template-part 
.wp-block-group.alignfull.wc-blocks-pattern-header-large.wc-blocks-header-pattern{
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.wc-block-mini-cart__badge{
    background: #FFF !important;
    color: #000 !important;
}

a.wp-block-navigation-item__content {
    background: #5A9FB5;
    background: linear-gradient(320deg, rgba(90, 159, 181, 1) 0%, rgba(124, 179, 66, 1) 100%);
    color: #FFF;
    border-radius: 30px;
    padding: 10px 20px;
    border:1px solid #FFF;
}
a.wp-block-navigation-item__content:hover {
    background: #5A9FB5;
    background: linear-gradient(135deg, rgba(90, 159, 181, 1) 0%, rgba(124, 179, 66, 1) 100%);
    color: #FFF;
}


.wp-block-navigation .wp-block-navigation-item__label {
    color: #FFF;
}

header.wp-block-template-part 
.wp-block-group.alignfull.wc-blocks-pattern-header-centered-menu.wc-blocks-header-pattern.has-global-padding{
    padding: 0;
}

header.wp-block-template-part 
.wp-block-columns.alignfull.are-vertically-aligned-center.is-not-stacked-on-mobile.is-layout-flex{
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 0 !important;
}

header.wp-block-template-part 
.wp-block-group.is-content-justification-center.is-nowrap.is-layout-flex
 {
    padding: 20px 0;
    background: #333 !important;
    max-width: inherit;
    margin: 0 auto !important;
}


h1.wp-block-post-title {
    display: none;
}
body.logged-in div#wpadminbar {
    display: none !important;
}

/* ============================================================================
   Popup de Amelia — paso "Tu información": resaltar campos vacios.
   ----------------------------------------------------------------------------
   Estructura REAL del popup de eventos (verificada en vivo): cada campo es un
   `.el-form-item.am-elfci__item` con un input Element Plus `.el-input__wrapper`
   > `input.el-input__inner`. Los inputs se identifican por `name` estable:
   firstName, lastName, email. El Telefono es otro componente (MazInput, sin
   `.el-input__wrapper`), por lo que queda EXCLUIDO.

   Requisito: Nombre, Apellido y Correo deben mostrar borde rojo y fondo rojo
   (opacidad 0.2) SOLO cuando esten VACIOS. Se detecta el vacio con
   `:placeholder-shown` (independiente de la validacion de Amelia, asi cubre
   tambien el Correo aunque no sea obligatorio) y se pinta el wrapper con
   `:has()`. Al escribir, el rojo desaparece. Acotado al popup. Solo tema.
   ========================================================================== */
:root {
    --arkko-err-border: #dc2626;             /* rojo del borde */
    --arkko-err-bg: rgba(220, 38, 38, 0.2);  /* rojo de fondo, opacidad 0.2 */
}

.el-dialog .am-elfci__item .el-input__wrapper:has(input[name="firstName"]:placeholder-shown),
.el-dialog .am-elfci__item .el-input__wrapper:has(input[name="lastName"]:placeholder-shown),
.el-dialog .am-elfci__item .el-input__wrapper:has(input[name="email"]:placeholder-shown) {
    box-shadow: 0 0 0 1px var(--arkko-err-border) inset !important;
    background-color: var(--arkko-err-bg) !important;
}
.el-dialog .am-elfci__item .el-input__wrapper:has(input[name="firstName"]:placeholder-shown) .el-input__inner,
.el-dialog .am-elfci__item .el-input__wrapper:has(input[name="lastName"]:placeholder-shown) .el-input__inner,
.el-dialog .am-elfci__item .el-input__wrapper:has(input[name="email"]:placeholder-shown) .el-input__inner {
    background-color: transparent !important; /* el fondo lo pinta el wrapper */
}