/* Tickets Costa del Sol · V24.36.0 — menú de cada página, barra superior, pie en columnas, barra lateral por grupos, botón de menú negro y eventos en el móvil */

/* Barra superior (aviso) */
.pm-topbar{background:#0b2540;color:#fff;font-size:.9rem;line-height:1.35}
.pm-topbar-in{width:min(calc(100% - 2rem),var(--site-max-width,1240px));margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1.25rem;padding:.4rem 0;text-align:center}
.pm-topbar a,.pm-topbar .menu470-heading{color:#fff!important;text-decoration:none;font-weight:600}
.pm-topbar a:hover{text-decoration:underline}

/* Botón de menú (tres líneas): negras sobre blanco, sin amarillo */
.pm-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;width:20px;height:16px;vertical-align:middle}
.pm-burger i{display:block;height:2px;border-radius:2px;background:#111}
html body .public-header .menu470-toggle,html body .public-header.has-drawer>.menu470-toggle{background:#fff!important;background-image:none!important;color:#111!important;border:1.5px solid #d4d9de!important;box-shadow:none!important}
html body .public-header .menu470-toggle:hover,html body .public-header .menu470-toggle[aria-expanded="true"]{background:#f3f5f7!important;border-color:#111!important}
html body .public-header .menu470-toggle .pm-burger{width:22px}

/* Móvil: título del menú lateral cuando se replica debajo del de arriba */
.menu470-drawer .pm-m-title{margin:.8rem 0 .2rem;padding:.2rem .4rem;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:.7}

/* Barra lateral: grupos plegables («… desde Benalmádena») */
.public-left-menu .pm-side-group{border-top:1px solid var(--line,#e3e9ee);padding:0!important;margin:0!important}
.public-left-menu .pm-side-group>summary{margin:0!important}
.public-left-menu .pm-side-group>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding:.6rem .35rem;font-weight:700;line-height:1.3}
.public-left-menu .pm-side-group>summary::-webkit-details-marker{display:none}
.public-left-menu .pm-side-group>summary::after{content:"▾";opacity:.6;font-size:.8em}
.public-left-menu .pm-side-group[open]>summary::after{content:"▴"}
.public-left-menu .pm-side-sub{display:flex;flex-direction:column;padding:0 0 .5rem .5rem}
.public-left-menu .pm-side-sub a{font-size:.94rem}
.public-left-menu .pm-side-all{font-weight:700}

/* Sin barra lateral: la página ocupa todo el ancho */
:is(.public-list-layout,.public-detail-layout):not(:has(>.public-side-stack)){grid-template-columns:minmax(0,1fr)!important}
.search-page .public-list-layout:not(:has(>.public-side-stack)){grid-template-areas:'count' 'results'!important}

/* Pie: marca a la izquierda, menú inferior izquierdo y derecho en columnas */
footer .pm-footer{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,2fr);gap:1.5rem 2.5rem;align-items:start}
footer .pm-fbrand{min-width:0}
footer .pm-fcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem 2rem;min-width:0}
footer .pm-fcol{display:flex;flex-direction:column;gap:.15rem;min-width:0}
footer .pm-fcol strong{font-size:.95rem;margin:0 0 .35rem;letter-spacing:.02em}
footer .pm-fcol a{padding:.25rem 0;text-decoration:none}
footer .pm-fcol a:hover{text-decoration:underline}
footer .pm-fcol .pm-fhead{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;opacity:.75;margin-top:.5rem}
footer .pm-fcols:has(>.pm-fcol:only-child){grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){footer .pm-footer{grid-template-columns:minmax(0,1fr)}footer .pm-fcols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){footer .pm-fcols{grid-template-columns:minmax(0,1fr)}}

/* Miga de pan: grupo del menú sin página propia */
.breadcrumbs li>span,nav[aria-label] ol li>span{opacity:.85}

/* Botón de compra en las tarjetas de eventos y recintos de los listados */
.plans-card .pm-buy{display:flex;align-items:center;justify-content:center;margin-top:auto;min-height:44px;font-size:.95rem;color:#fff!important;text-align:center;line-height:1.2}
.plans-card .pm-buy-more{display:block;margin-top:.35rem;font-size:.9rem;font-weight:700;text-align:center}
.plans-card.has-buy{display:flex;flex-direction:column}
.plans-card .pm-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;border-radius:12px;background:#022d59;background-image:radial-gradient(120% 90% at 100% 0%,rgba(12,179,208,.35),rgba(12,179,208,0) 60%);color:#feb923;margin:0 0 .6rem}
.plans-card .pm-ph svg{width:44px;height:44px}
@media(max-width:760px){
 /* Mismo aspecto que las atracciones: caja pequeña con imagen a la izquierda */
 body.tpl:not(.g-m2) .ux24 .plans-grid>.plans-card>.pm-ph,body .ux24 .plans-grid>.plans-card>.pm-ph{grid-column:1;grid-row:1/span 4;width:104px;height:104px;aspect-ratio:1/1;margin:0!important;border-radius:10px}
 body .ux24 .plans-grid>.plans-card>.pm-buy{position:relative;z-index:2;grid-column:1/-1;order:5;margin-top:8px!important;min-height:42px;font-size:.92rem!important;height:auto!important;line-height:1.2!important;padding:.55rem .8rem!important;overflow:visible!important}
 body .ux24 .plans-grid>.plans-card>.pm-buy-more{position:relative;z-index:2;grid-column:1/-1;order:6;font-size:.88rem!important;height:auto!important;line-height:1.3!important;overflow:visible!important}
 body .ux24 .plans-grid>.plans-card.has-buy>a.pm-buy::after,body .ux24 .plans-grid>.plans-card.has-buy>a.pm-buy-more::after{content:none!important}
}

/* Ficha del recinto en el móvil: cada evento con su foto en caja pequeña (como las atracciones) y la fecha encima de la foto */
@media(max-width:720px){
 html body .evp-card:not(.evp-noimg){position:relative;grid-template-columns:96px minmax(0,1fr)!important;grid-template-areas:"img body" "buy buy";align-items:start}
 html body .evp-card:not(.evp-noimg)>.evp-img{display:block!important;grid-area:img;width:96px;height:96px;border-radius:10px}
 html body .evp-card:not(.evp-noimg)>.evp-date{position:absolute;top:10px;left:10px;z-index:1;min-height:0;padding:3px 7px;border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 1px 4px rgba(0,0,0,.18);font-size:.62rem}
 html body .evp-card:not(.evp-noimg)>.evp-date b{font-size:1.05rem}
 html body .evp-card:not(.evp-noimg)>.evp-body{grid-area:body}
 html body .evp-card:not(.evp-noimg)>.evp-buy{grid-area:buy}
}
@container (max-width:520px){
 html body .evp-card:not(.evp-noimg){position:relative;grid-template-columns:96px minmax(0,1fr)!important;grid-template-areas:"img body" "buy buy";align-items:start}
 html body .evp-card:not(.evp-noimg)>.evp-img{display:block!important;grid-area:img;width:96px;height:96px;border-radius:10px}
 html body .evp-card:not(.evp-noimg)>.evp-date{position:absolute;top:10px;left:10px;z-index:1;min-height:0;padding:3px 7px;border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 1px 4px rgba(0,0,0,.18);font-size:.62rem}
 html body .evp-card:not(.evp-noimg)>.evp-date b{font-size:1.05rem}
 html body .evp-card:not(.evp-noimg)>.evp-body{grid-area:body}
 html body .evp-card:not(.evp-noimg)>.evp-buy{grid-area:buy}
}
.menu470-drawer details{padding:0!important;border-top:0!important;margin:0!important}
.menu470-drawer details>summary{margin:0!important}
footer .pm-footer{height:auto!important;max-height:none!important;overflow:visible!important;margin:0 auto 1.5rem!important;max-width:var(--site-max-width,1240px);text-align:left}
footer .pm-fcol{align-items:flex-start}
footer .pm-footer:not(:has(>.pm-fcols)){display:block!important;text-align:center}
/* 24.38.0: «Se convierte en botón ☰ en…» (diseño del menú de la cabecera, Navegación › Menús) */
@media(min-width:761px) and (max-width:1024px){
 html body .public-header.has-drawer.mx-bp-tablet>nav{display:none!important}
 html body .public-header.has-drawer.mx-bp-tablet .menu470-toggle{display:inline-flex!important}
 html body .menu470-drawer.mx-bp-tablet:not([hidden]){display:block!important}
 html body .public-header.has-drawer.mx-bp-tablet{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;column-gap:12px!important}
 html body .public-header.has-drawer.mx-bp-tablet>.brand{grid-column:1;grid-row:1;min-width:0}
 html body .public-header.has-drawer.mx-bp-tablet>.header-lang{grid-column:2;grid-row:1;margin:0!important}
 html body .public-header.has-drawer.mx-bp-tablet>.menu470-toggle{grid-column:3;grid-row:1;margin:0!important}
}
@media(max-width:760px){
 html body .public-header.mx-bp-none>nav{display:flex!important;flex-wrap:wrap;gap:.2rem .8rem}
 html body .public-header.mx-bp-none>nav a,html body .public-header.mx-bp-none>nav .menu470-dd{display:inline-flex!important}
}
/* 24.39.0: menú junto al botón Filtros (Navegación › Menús › Dónde se muestra › «Junto al botón Filtros»). El diseño del menú llega por variables --mxf-* */
html body .ux-filters.has-mxf .ux-filterbar__row{max-width:none!important;position:relative}
html body .ux-filters.has-mxf .ux-search{flex:0 1 440px!important}
html body .ux-filters .mxf{position:relative;flex:1 1 auto;min-width:0;display:flex;align-items:center;margin:0;padding:0}
html body .ux-filters .mxf .mxf-toggle{display:none!important}
html body .ux-filters .mxf .mxf-list{display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--mxf-gap,4px);margin:0;padding:0;background:var(--mxf-bg,transparent);border-radius:12px}
html body .ux-filters .mxf .mxf-list>a,html body .ux-filters .mxf .mxf-list>.menu470-heading,html body .ux-filters .mxf .mxf-btn{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:5px;width:auto!important;min-width:0!important;height:auto!important;min-height:44px!important;margin:0!important;padding:var(--mxf-py,0) var(--mxf-px,10px)!important;border:0!important;border-radius:var(--mxf-r,8px)!important;background:none!important;background-image:none!important;box-shadow:none!important;font:inherit;font-size:var(--mxf-fs,.92rem)!important;font-weight:var(--mxf-fw,700)!important;letter-spacing:.02em;text-transform:var(--mxf-tt,uppercase);color:var(--mxf-c,#0b2540)!important;text-decoration:none!important;cursor:pointer;white-space:nowrap}
html body .ux-filters .mxf .mxf-list>a:hover,html body .ux-filters .mxf .mxf-list>.mxf-dd>.mxf-btn:hover,html body .ux-filters .mxf .mxf-list>.mxf-dd>.mxf-btn[aria-expanded="true"]{background:var(--mxf-hbg,rgba(2,45,89,.07))!important;color:var(--mxf-h,var(--mxf-c,#0b2540))!important;box-shadow:var(--mxf-sh,none)!important}
html body .ux-filters .mxf .mxf-list>a[aria-current="page"]{color:var(--mxf-a,var(--mxf-c,#0b2540))!important;box-shadow:var(--mxf-sh,inset 0 -3px 0 #feb923)!important}
html body .ux-filters .mxf .mxf-chev{width:14px;height:14px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
html body .ux-filters .mxf [aria-expanded="true"]>.mxf-chev{transform:rotate(180deg)}
html body .ux-filters .mxf .mxf-dd{position:relative;display:block}
html body .ux-filters .mxf .mxf-sub{position:absolute;top:calc(100% + 4px);left:0;z-index:70;min-width:var(--mxf-ddw,230px);max-width:min(92vw,360px);display:flex;flex-direction:column;gap:2px;background:var(--mxf-ddbg,#fff);border:1px solid #dce3e3;border-radius:14px;box-shadow:0 14px 40px #15354722;padding:.5rem}
html body .ux-filters .mxf .mxf-sub[hidden]{display:none!important}
html body .ux-filters .mxf .mxf-sub a,html body .ux-filters .mxf .mxf-sub .menu470-heading,html body .ux-filters .mxf .mxf-sub .mxf-btn{display:flex!important;width:100%!important;min-height:40px!important;align-items:center;padding:.45rem .65rem!important;border-radius:9px!important;background:none!important;box-shadow:none!important;color:var(--mxf-ddc,#0b2540)!important;text-decoration:none!important;font-weight:600!important;font-size:.95rem!important;text-transform:none;letter-spacing:0;white-space:normal}
html body .ux-filters .mxf .mxf-sub a:hover{background:var(--mxf-ddh,#eef7f5)!important}
html body .ux-filters .mxf .mxf-sub .mxf-sub{position:static;box-shadow:none;border:0;padding:0 0 0 .8rem;min-width:0}
html body .ux-filters .mxf .mxf-all{font-weight:700!important}
html body .ux-filters .mxf-m,html body .ux-filters .mxf-sheet{display:none!important}
html body .ux-filters .ux-sheet__head h2>.mxf-pc,html body .ux-filters .ux-sheet__head h2>.mxf-m{color:#111827}
@media(max-width:1024px){
 /* Móvil y tablet: la misma caja blanca de Filtros, con tu menú dentro en lugar de los filtros */
 html body .ux-filters .mxf{display:none!important}
 html body .ux-filters.has-mxf .mxf-pc{display:none!important}
 html body .ux-filters.has-mxf .mxf-m{display:inline!important}
 /* 24.39.0: en móvil y tablet la caja de Filtros ya no lleva los filtros: solo el menú que pongas «Junto al botón Filtros» (vacía mientras no lo pongas) */
 html body .ux-filters .ux-filters-btn .ux-badge{display:none!important}
 html body .ux-filters .ux-sheet__body>:not(.mxf-sheet),html body .ux-filters .ux-sheet__foot{display:none!important}
 html body .ux-filters:not(.has-mxf) .ux-sheet__body{min-height:120px}
 html body .ux-filters.has-mxf .mxf-sheet{display:flex!important;flex-direction:column;padding:4px 0 calc(12px + env(safe-area-inset-bottom))}
 html body .ux-filters .mxf-sheet>a,html body .ux-filters .mxf-sheet>.menu470-heading,html body .ux-filters .mxf-sheet .mxf-btn{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%!important;min-height:54px!important;height:auto!important;margin:0!important;padding:0 4px!important;border:0!important;border-bottom:1px solid var(--ux-line,#e3e9ee)!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:inherit;font-size:1rem!important;font-weight:700!important;text-transform:none;color:var(--mxf-c,#0b2540)!important;text-decoration:none!important;text-align:left;cursor:pointer}
 html body .ux-filters .mxf-sheet .mxf-btn[aria-expanded="true"]{border-bottom-color:transparent!important}
 html body .ux-filters .mxf-sheet .mxf-chev{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
 html body .ux-filters .mxf-sheet [aria-expanded="true"]>.mxf-chev{transform:rotate(180deg)}
 html body .ux-filters .mxf-sheet .mxf-sub{display:flex;flex-direction:column;padding:0 0 8px 14px;border-bottom:1px solid var(--ux-line,#e3e9ee)}
 html body .ux-filters .mxf-sheet .mxf-sub[hidden]{display:none!important}
 html body .ux-filters .mxf-sheet .mxf-sub a,html body .ux-filters .mxf-sheet .mxf-sub .mxf-btn{display:flex!important;align-items:center;min-height:46px!important;padding:0 4px!important;border:0!important;font-size:.98rem!important;font-weight:600!important;color:var(--mxf-ddc,var(--mxf-c,#0b2540))!important;text-decoration:none!important}
 html body .ux-filters .mxf-sheet .mxf-all{font-weight:700!important}
}
