/* ==========================================================================
   Core 12 · compatibilidad con el HTML de MARGA (plugin mundodurundo)
   MARGA pinta fichas, listados, buscador, contacto y reserva con marcado del
   antiguo Colibri. Aquí se da estilo a ese marcado sin tocarlo.
   Los !important solo están donde MARGA mete colores con !important en línea.
   ========================================================================== */

/* ---------- Marco ---------- */
.dc-marga .colibri-page-content { padding: clamp(28px, 4vw, 48px) 0 var(--dc-sec); }
.dc-marga .colibri-page-content > .h-section,
.dc-marga .md-template.h-section { width: 100%; }
.dc-marga .h-section-boxed-container { width: 100%; max-width: calc(var(--dc-wrap) + 2 * var(--dc-gutter)); margin: 0 auto; padding-left: var(--dc-gutter); padding-right: var(--dc-gutter); }
.dc-marga .h-section-boxed-container .h-section-boxed-container { max-width: none; padding: 0; }
.dc-marga .page.type-page { margin: 0; }

/* ---------- Rejilla Colibri mínima ---------- */
.dc :is(.h-row) { display: flex; flex-wrap: wrap; margin-left: -12px; margin-right: -12px; }
.dc :is(.h-row) > :is(.h-col, .h-column, [class*="h-col-"]) { box-sizing: border-box; padding-left: 12px; padding-right: 12px; min-width: 0; flex: 1 1 0; max-width: 100%; }
.dc .h-row > .h-col-12 { flex: 0 0 100%; }
.dc .h-row > .h-col-6 { flex: 0 0 50%; }
.dc .h-row > .h-col-7 { flex: 0 0 58.333%; }
.dc .h-row > .h-col-5 { flex: 0 0 41.666%; }
.dc .h-row > .h-col-auto { flex: 0 0 100%; }
@media (min-width: 768px) {
	.dc .h-row > .h-col-auto { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
	.dc .h-row > .h-col-lg { flex: 1 1 0; }
	.dc .h-row > .h-col-lg-2 { flex: 0 0 16.666%; }
	.dc .h-row > .h-col-lg-3 { flex: 0 0 25%; }
	.dc .h-row > .h-col-lg-4 { flex: 0 0 33.333%; }
	.dc .h-row > .h-col-lg-8 { flex: 0 0 66.666%; }
	.dc .h-row > .h-col-lg-auto { flex: 0 0 auto; }
}
@media (max-width: 1023px) {
	.dc .h-row > :is(.h-col-lg-2, .h-col-lg-3, .h-col-lg-4, .h-col-lg-8, .h-col-lg) { flex: 0 0 100%; }
	.dc .h-row > .h-col-lg-4.h-col-12, .dc .h-row > .h-col-lg-3.h-col-6 { flex: 0 0 50%; }
}
@media (max-width: 640px) {
	.dc .h-row > .h-col-lg-4.h-col-12, .dc .h-row > .h-col-6 { flex: 0 0 100%; }
}
.dc .d-flex { display: flex; }
.dc .flex-column { flex-direction: column; }
.dc .flex-wrap { flex-wrap: wrap; }
.dc .justify-content-center { justify-content: center; }
.dc .w-100 { width: 100%; }
.dc .text-center { text-align: center; }
.dc .h-px-2 { padding-left: 12px; padding-right: 12px; }
.dc .d-none { display: none; }
.dc .d-inline { display: inline-flex; }
@media (min-width: 1024px) { .dc .d-lg-block { display: block; } .dc .d-lg-none { display: none; } }
.dc .position-relative { position: relative; }
.dc .h-column__inner { display: block; width: 100%; }

/* ---------- Botones de MARGA ---------- */
.dc .md-btn,
.dc a.md-btn,
.dc .md-btn-success,
.dc .rsform-submit-button,
.dc button.md-search-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 48px; padding: 0 24px; border-radius: 999px !important;
	background: var(--dc-accent) !important; border: 2px solid var(--dc-accent) !important;
	color: var(--dc-accent-ink) !important; font-family: var(--dc-font-body); font-weight: 800;
	font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer; box-shadow: none; text-transform: none;
}
.dc .md-btn:hover { filter: brightness(1.05); color: var(--dc-accent-ink) !important; }

/* ---------- Etiquetas de dimensión ---------- */
.dc .md-bag { background: var(--dc-mist) !important; border-radius: 999px; margin: 0 6px 6px 0; padding: 0; }
.dc .md-bag a { display: inline-block; padding: 5px 11px; color: var(--dc-ink) !important; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.dc .md-bag a:hover { text-decoration: underline; }

/* ---------- Ficha de viaje: cabecera ---------- */
.dc-marga--viaje .md-template > .h-section-grid-container > .h-row-container > .h-row:first-child,
.dc-marga--reserva .md-template > .h-section-grid-container > .h-row-container > .h-row:first-child,
.dc-marga--contacto .md-template > .h-section-grid-container > .h-row-container > .h-row:first-child { align-items: flex-start; row-gap: 20px; margin-bottom: 28px; }
.dc .viaje-title { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 14px; letter-spacing: -.02em; }
.dc .viaje-title a { color: var(--dc-ink); text-decoration: none; }
.dc-marga--viaje .md-template .h-col-lg-2:first-child img,
.dc-marga--reserva .md-template .h-col-lg-2:first-child img,
.dc-marga--contacto .md-template .h-col-lg-2:first-child img { border-radius: var(--dc-radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.dc-marga .md-template .h-col-lg-8 > .h-px-2 { padding: 0; font-size: 18px; line-height: 1.6; color: var(--dc-muted); max-width: 720px; }
.dc-marga .md-template .h-col-lg-8 ul { margin-top: 14px !important; padding-left: 0 !important; }
/* Caja de precio */
.dc-marga .md-template .h-col-lg-2:last-child > div:first-child:not(.dc-trip-badge), .dc-marga .md-template .h-col-lg-2:last-child > .dc-trip-badge + div { background: #fff; border: 1px solid var(--dc-line); border-radius: var(--dc-radius-lg); padding: 18px; font-size: 13px; color: var(--dc-muted); box-shadow: var(--dc-shadow); }
.dc #price-container { font-family: var(--dc-font-display); font-weight: 800 !important; font-size: clamp(30px, 3vw, 38px) !important; color: var(--dc-ink); line-height: 1.1; margin-top: 4px; }
.dc-marga .md-template .h-col-lg-2:last-child .d-flex.flex-column { gap: 4px; }
.dc-marga .md-template .h-col-lg-2:last-child .md-btn { width: 100%; margin: 4px 0 !important; }
.dc-marga .md-template .h-col-lg-2:last-child .d-flex.flex-column > div:last-child .md-btn { background: var(--dc-ink) !important; border-color: var(--dc-ink) !important; color: #fff !important; }
@media (min-width: 1024px) {
	.dc-marga .md-template .h-col-lg-2:last-child { position: sticky; top: calc(var(--dc-header-h) + 16px); }
}
/* Panorámica */
.dc-marga .md-template .h-col-12 > img.w-100 { border-radius: var(--dc-radius-lg); max-height: 520px; object-fit: cover; }

/* ---------- Ficha: pestañas ---------- */
.dc .h-tabs { width: 100%; }
.dc .h-tabs-navigation { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 12px 0; margin-bottom: 20px; border-top: 1px solid var(--dc-line); border-bottom: 1px solid var(--dc-line); scrollbar-width: thin; }
.dc .h-tabs-navigation-item { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--dc-line) !important; background: #fff !important; color: var(--dc-ink) !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.dc .h-tabs-navigation-item img { width: 18px; height: 18px; }
.dc .h-tabs-navigation-item.h-tabs-navigation-active-item,
.dc .h-tabs-navigation-item.h-custom-active-state,
.dc .h-tabs-navigation-item[aria-selected="true"] { background: var(--dc-ink) !important; border-color: var(--dc-ink) !important; color: #fff !important; }
.dc .h-tabs-navigation-item.h-tabs-navigation-active-item img { filter: brightness(0) invert(1); }
.dc .h-tabs-item-content { border: 0 !important; padding: 0; }
.dc .h-tabs-item-content.hide, .dc .h-tabs-item-content[hidden] { display: none; }
.dc .h-tabs-item-content > .h-y-container { font-size: 17px; line-height: 1.7; }
.dc .h-tabs-item-content :is(p, li, div) { max-width: none; }
.dc .h-tabs-item-content :is(p, li) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.dc .h-tabs-item-content img { border-radius: 12px; height: auto !important; max-width: 100%; }
.dc .h-tabs-item-content iframe { max-width: 100%; border-radius: 12px; }
.dc .h-tabs-item-content table { width: 100% !important; max-width: 100% !important; float: none !important; display: table; table-layout: auto; border-collapse: separate; border-spacing: 0; font-size: 15px; margin: 0 0 22px !important; border: 1px solid var(--dc-line); border-radius: 14px; overflow: hidden; background: #fff; }
.dc .h-tabs-item-content table :is(td, th) { border: 0 !important; border-bottom: 1px solid var(--dc-line) !important; padding: 10px 14px !important; text-align: left; }
.dc .h-tabs-item-content table tr:last-child > :is(td, th) { border-bottom: 0 !important; }
/* Cabeceras de tabla con el color de la marca (sustituye el naranja que trae el contenido) */
.dc .h-tabs-item-content table :is(td, th)[style*="background-color"], .dc .h-tabs-item-content table th { background: var(--dc-table, var(--dc-link)) !important; color: #fff !important; font-weight: 800; }
.dc .h-tabs-item-content table :is(td, th)[style*="background-color"] * { color: #fff !important; }
.dc .h-tabs-item-content table tr:nth-child(even) > td:not([style*="background-color"]) { background: var(--dc-mist); }
@media (max-width: 640px) { .dc .h-tabs-item-content table { display: block; overflow-x: auto; } }

#itinerario, #imagenes, #alojamiento, #precioIncluye { scroll-margin-top: calc(var(--dc-header-h) + 20px); }
/* Columna «El precio incluye» */
.dc-marga--viaje .md-template .h-col-lg-4 > .h-column__inner { background: var(--dc-mist); border-radius: var(--dc-radius-lg); padding: 22px; font-size: 15px; }
.dc-marga--viaje .md-template .h-col-lg-4 h2 { font-family: var(--dc-font-display); font-size: 20px !important; text-align: left !important; }

/* ---------- Promociones / relacionados de MARGA (md-promociones) ---------- */
.dc .md-promociones { margin-top: var(--dc-sec); }
.dc .md-promociones > .h-row { row-gap: 24px; margin-top: 0 !important; margin-bottom: 24px !important; }
.dc .mind-features-item { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--dc-line); border-radius: var(--dc-radius); overflow: hidden; background: #fff; }
.dc .mind-features-item .item-image img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dc .mind-features-item .item-content { background: #fff !important; padding: 18px; flex: 1; display: flex; }
.dc .mind-features-item .item-content-inner { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.dc .mind-features-item h3 { font-size: 20px; margin: 0; }
.dc .mind-features-item h3 a { color: var(--dc-ink); text-decoration: none; }
.dc .mind-features-item .fa { display: none; }
.dc .mind-features-item .txtBGrande { font-size: 15px; color: var(--dc-muted); text-align: left !important; flex: 1; }
.dc .mind-features-item .md-btn { position: static; align-self: flex-start; }

/* ---------- Tarjeta de MARGA en listados (travel-card) ---------- */
.dc .travel-card { height: 100%; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--dc-line); border-radius: var(--dc-radius); padding: 0 0 18px; overflow: hidden; background: #fff; transition: box-shadow .18s ease; }
.dc .travel-card:hover { box-shadow: var(--dc-shadow); }
.dc .travel-card > div:nth-child(2) { order: -1; margin: 0 !important; }
.dc .travel-card > div:nth-child(2) img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dc .travel-card .travel-title { text-align: left !important; padding: 0 18px; margin: 0 !important; font-size: 20px !important; }
.dc .travel-card .travel-title a { font-family: var(--dc-font-display); color: var(--dc-ink); text-decoration: none; font-weight: 700 !important; }
.dc .travel-card > div:nth-child(3) { padding: 0 18px; color: var(--dc-muted); font-size: 14.5px !important; line-height: 1.55; }
.dc .travel-card dl { margin: 0 18px !important; padding: 12px 0 0; border-top: 1px solid var(--dc-line); font-size: 14px !important; row-gap: 4px; }
.dc .travel-card dl dt { font-weight: 600 !important; color: var(--dc-muted); display: flex; align-items: center; }
.dc .travel-card dl dd { margin: 0; font-weight: 700; color: var(--dc-ink); text-align: right; }
.dc .travel-card .h-svg-icon svg { width: 14px; height: 14px; fill: var(--dc-kicker); }
.dc .travel-card ul { padding: 0 18px !important; }
.dc .travel-card.completo { opacity: .75; }

/* ---------- Buscador de MARGA ---------- */
.dc-marga--buscador .md-template form > .d-none.d-lg-block,
.dc .dc-marga-box .md-template { background: #fff; }
.dc .md-search-field { flex: 1; min-height: 52px; border: 1px solid var(--dc-line); border-radius: 999px 0 0 999px; padding: 0 20px; font: inherit; font-size: 16px; color: var(--dc-text); background: #fff; }
.dc button.md-search-submit { border-radius: 0 999px 999px 0 !important; min-width: 58px; padding: 0 18px; }
.dc button.md-search-submit svg { width: 18px; height: 18px; fill: currentColor; }
.dc-marga--buscador #buscador .h-col-lg-3 > .d-flex { gap: 12px; position: sticky; top: calc(var(--dc-header-h) + 16px); }
.dc-marga--buscador #buscador .h-col > .h-row:first-child { font-weight: 700; color: var(--dc-ink); font-family: var(--dc-font-display); font-size: 22px; }
.dc-marga--buscador #buscador .h-row.gutters-col-2 { row-gap: 24px; }
.dc-marga--buscador #buscador .h-row.gutters-col-2 > .h-column { margin-bottom: 0 !important; }
.dc .open-menu { position: fixed !important; right: 16px !important; left: auto !important; top: auto !important; bottom: 92px !important; z-index: 90; width: 56px; height: 56px; border-radius: 999px; align-items: center; justify-content: center; background: var(--dc-ink) !important; border-color: var(--dc-ink) !important; box-shadow: var(--dc-shadow); }
.dc .open-menu svg { width: 22px; height: 22px; fill: #fff; }
.dc .real-menu { background: #fff; }
.dc .select2-container .select2-selection { border-color: var(--dc-line); border-radius: 12px; min-height: 46px; }
.dc .dc-marga-box .md-template { border: 1px solid var(--dc-line); border-radius: var(--dc-radius-lg); padding: 18px !important; }
.dc .dc-marga-box .md-template > .d-flex { margin-bottom: 14px; }

/* ---------- Dimensiones (edades, fechas, tipos) ---------- */
.dc-marga--dimension .md-template h1,
.dc-marga--dimensiones .md-template h1 { text-align: left; margin-bottom: 18px; }
.dc-marga--dimension .md-template .h-row:first-child > .h-col-12,
.dc-marga--dimensiones .md-template .h-row:first-child > .h-col-12 { text-align: left !important; }
.dc-marga--dimension .md-template .h-row:first-child img:not(.w-100),
.dc-marga--dimensiones .md-template .h-row:first-child img:not(.w-100) { display: none; }
.dc-marga--dimension .md-template .h-row:first-child > .h-col-12 > div,
.dc-marga--dimensiones .md-template .h-row:first-child > .h-col-12 > div { max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--dc-muted); }
.dc-marga--dimension .md-template .h-row:nth-child(2) { row-gap: 24px; }
.dc-marga--dimension .md-template .h-row:nth-child(2) > .h-column { margin-bottom: 0 !important; }
.dc-marga--dimensiones .md-template .h-col-lg-3 img { border-radius: var(--dc-radius); }

/* ---------- Formularios de contacto y reserva (solo estilo) ---------- */
.dc :is(#contacto-form, #reserva-form) { max-width: none; width: 100%; }
.dc :is(#contacto-form, #reserva-form) .control-group { margin-bottom: 16px; }
.dc :is(#contacto-form, #reserva-form) .md-label { display: block; font-weight: 700; font-size: 15px; color: var(--dc-ink); margin-bottom: 6px; }
.dc :is(#contacto-form, #reserva-form) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea) { width: 100%; min-height: 48px; border: 1px solid var(--dc-line); border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--dc-text); background: #fff; }
.dc :is(#contacto-form, #reserva-form) textarea { min-height: 120px; }
.dc :is(#contacto-form, #reserva-form) :is(input, select, textarea):focus { outline: 3px solid color-mix(in srgb, var(--dc-link) 35%, transparent); border-color: var(--dc-link); }
.dc .formError { color: #B3261E; font-weight: 600; font-size: 14px; }
.dc .politica { font-size: 14px; color: var(--dc-muted); }
.dc .form-actions { margin-top: 20px; }

/* Caja de precio: Scalapay y logos de MARGA nunca se salen. */
.dc-marga .md-template .h-col-lg-2:last-child img { max-width: 100% !important; width: auto !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 0; }
.dc-marga .md-template .h-col-lg-2:last-child img[src*="scalapay"] { max-width: 120px !important; margin: 6px auto 0; display: block; }
.dc-marga .md-template .h-col-lg-2:last-child scalapay-widget { display: block; max-width: 100%; overflow: hidden; }

/* Formulario de contacto de MARGA dentro de la tarjeta de Core 12 */
.dc #contacto-form h4 { font-family: var(--dc-font-display); font-size: 20px; color: var(--dc-ink); margin: 0 0 14px; }
.dc #contacto-form h4:first-child { font-size: 24px; }
.dc #contacto-form .h-row { margin-bottom: 4px; }
.dc #contacto-form .control-group { margin-bottom: 14px; }
.dc #contacto-form .md-label, .dc #contacto-form label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dc-ink); margin-bottom: 6px; }
.dc #contacto-form .controls label { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; margin: 0 16px 0 0; }
.dc #contacto-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--dc-link); }
.dc #contacto-form .w-100 { width: 100%; }
.dc #contacto-form .h-row .h-col-12 > div > ul { margin: 8px 0 0 18px; }
.dc #contacto-form .h-row .h-col-12 > div:not(.control-group) { max-height: 170px; overflow: auto; font-size: 12.5px; line-height: 1.5; color: var(--dc-muted); background: var(--dc-mist); border: 1px solid var(--dc-line); border-radius: 12px; padding: 12px 14px; }
.dc #contacto-form p { font-size: 14px; color: var(--dc-muted); }
.dc #contacto-form .g-recaptcha { margin: 12px 0 18px; }
.dc #contacto-form .form-actions .md-btn, .dc #contacto-form #btn_enviar { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--dc-g1), var(--dc-g2)) !important; color: #fff !important; font-weight: 800; font-size: 17px; cursor: pointer; box-shadow: 0 12px 28px color-mix(in srgb, var(--dc-g1) 35%, transparent); }
.dc #contacto-form #btn_enviar:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.dc #contacto-form .politica p { font-size: 12px; text-transform: none; }
@media (max-width: 991px) { .dc #contacto-form .h-row > [class*="h-col-lg-"] { flex: 0 0 100%; } }
@media (min-width: 992px) { .dc #contacto-form .h-row > .h-col-lg-4 { flex: 1 1 0 !important; max-width: none; } }
.dc #contacto-form .h-row > [class*="h-col-lg-4"] { display: flex; }
.dc #contacto-form .h-row > [class*="h-col-lg-4"] > .control-group { display: flex; flex-direction: column; width: 100%; }
.dc #contacto-form .h-row > [class*="h-col-lg-4"] .controls { margin-top: auto; }
/* Sello de Trustindex encima del precio en la ficha */
.dc-trip-badge { display: none; }
.dc-trip-badge.is-placed { display: flex; justify-content: center; margin: 0 0 10px; }
.dc-trip-badge .ti-widget { margin: 0 auto !important; }
.dc-marga .md-template .h-col-lg-2:last-child .dc-trip-badge img { aspect-ratio: 1 !important; object-fit: contain !important; }
.dc-marga .md-template .h-col-lg-2:last-child .dc-trip-badge img.ti-platform-icon { width: 30px !important; height: 30px !important; max-width: 30px !important; }
.dc-marga .md-template .h-col-lg-2:last-child .dc-trip-badge img.ti-star { width: 16px !important; height: 16px !important; max-width: 16px !important; }
.dc-marga .md-template .h-col-lg-2:last-child .dc-trip-badge .ti-widget { width: auto !important; max-width: 100%; }
.dc-marga .md-template .h-col-lg-2:last-child .dc-trip-badge { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* Reserva e información de cada viaje (rutas /{viaje}/reserva/ y /{viaje}/contacto/): formulario a todo el ancho en tarjeta */
.dc-marga--reserva #reserva-form, .dc-marga--contacto #contacto-form { background: #fff; border: 1px solid var(--dc-line); border-radius: 24px; padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 24px 60px rgba(16, 21, 55, .08); margin-top: 8px; position: relative; overflow: hidden; }
.dc-marga--reserva #reserva-form::before, .dc-marga--contacto #contacto-form::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--dc-g1), var(--dc-g2), var(--dc-g3)); }
.dc-marga--reserva .md-template :is(.h-col-lg-auto, .h-col-lg-12) > .h-column__inner, .dc-marga--contacto .md-template :is(.h-col-lg-auto, .h-col-lg-12) > .h-column__inner { width: 100%; }
.dc #reserva-form .controls { display: flex; gap: 10px; align-items: stretch; }
.dc #reserva-form .controls > :is(input, select) { flex: 1 1 auto; min-width: 0; }
.dc #reserva-form .controls > .md-btn { flex: 0 0 auto; }
@media (min-width: 992px) { .dc #reserva-form .h-row > .h-col-lg-3:has([name="codigoPromocion"]) { flex: 0 0 50% !important; max-width: 50%; } }
.dc #reserva-form .md-btn, .dc #reserva-form button { min-height: 46px; border-radius: 999px !important; padding: 0 22px !important; font-weight: 800; }
/* Contadores de adultos y niños de la reserva */
.dc #reserva-form .h-col-lg-2[style*="height: 70px"] { height: auto !important; justify-content: flex-start !important; gap: 18px; }
.dc #reserva-form .h-col-lg-2[style*="height: 70px"] > div { width: auto !important; }
.dc #reserva-form [style*="font-size: 1.4rem"] { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--dc-ink); }
.dc #reserva-form [style*="font-size: 1.4rem"] .md-btn { min-height: 32px !important; width: 32px; height: 32px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; margin: 0 !important; }

/* Pestañas de la ficha en móvil: en dos líneas, sin scroll lateral */
@media (max-width: 781px) {
	.dc .h-tabs-navigation { flex-wrap: wrap !important; overflow: visible !important; gap: 8px; }
	.dc .h-tabs-navigation-item { flex: 1 1 calc(50% - 8px) !important; justify-content: center; padding: 0 10px !important; font-size: 14px !important; min-width: 0; white-space: nowrap; }
}

/* ---------- Buscador de MARGA como bloque (portada y páginas de destinos, fechas, edades, tipos) ---------- */
.dc-block-buscador .dc-marga-box form.md-template { position: relative; background: #fff !important; border: 0 !important; border-radius: 26px; padding: clamp(18px, 2.6vw, 30px) !important; box-shadow: 0 28px 70px rgba(16, 21, 55, .14); margin: 0; }
.dc-block-buscador .dc-marga-box form.md-template::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(120deg, var(--dc-g1), var(--dc-g2), var(--dc-g3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dc-block-buscador form.md-template > .d-flex:first-child { position: relative; margin: 0 0 16px !important; }
.dc-block-buscador .md-search-field { width: 100%; min-height: 60px; border: 1px solid var(--dc-line) !important; border-radius: 999px !important; padding: 0 70px 0 24px !important; font: inherit; font-size: 18px !important; color: var(--dc-ink); background: var(--dc-mist) !important; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.dc-block-buscador .md-search-field::placeholder { color: var(--dc-muted); }
.dc-block-buscador .md-search-field:focus { outline: 0; background: #fff !important; border-color: var(--dc-link) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc-link) 18%, transparent); }
.dc-block-buscador .md-search-submit { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0 !important; border-radius: 50% !important; background: linear-gradient(135deg, var(--dc-g1), var(--dc-g2)) !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 !important; }
.dc-block-buscador .md-search-submit svg { width: 20px; height: 20px; fill: #fff; stroke: #fff; }
.dc-block-buscador form.md-template > .d-flex.flex-wrap { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin: 0 !important; }
.dc-block-buscador form.md-template > .d-flex.flex-wrap > .md-control { flex: none !important; max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
.dc-block-buscador .md-label { display: block; font-size: 11.5px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dc-kicker) !important; margin: 0 0 6px !important; }
.dc-block-buscador .select2-container { width: 100% !important; }
.dc-block-buscador .select2-container .select2-selection { min-height: 50px !important; border: 1px solid var(--dc-line) !important; border-radius: 14px !important; background: #fff; display: flex; align-items: center; padding: 4px 8px; }
.dc-block-buscador .select2-container--focus .select2-selection, .dc-block-buscador .select2-container--open .select2-selection { border-color: var(--dc-link) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc-link) 15%, transparent); }
.dc-block-buscador .select2-selection__choice { background: var(--dc-mist) !important; border: 1px solid var(--dc-line) !important; border-radius: 999px !important; padding: 2px 10px !important; font-size: 13px; color: var(--dc-ink); }
.dc-block-buscador .select2-search__field { font: inherit !important; font-size: 15px !important; margin: 0 !important; }
.dc-block-buscador form.md-template > .d-flex.flex-wrap > .md-control:last-child .md-btn { min-height: 50px; padding: 0 26px !important; border-radius: 999px !important; background: var(--dc-ink) !important; border-color: var(--dc-ink) !important; color: #fff !important; font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.dc-block-buscador form.md-template > .d-flex.flex-wrap > .md-control:last-child .md-btn svg { width: 18px; height: 18px; fill: #fff; }
.select2-container--open .select2-dropdown { border: 1px solid var(--dc-line) !important; border-radius: 14px !important; overflow: hidden; box-shadow: 0 18px 40px rgba(16, 21, 55, .14); }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted { background: var(--dc-link) !important; }
@media (max-width: 1000px) { .dc-block-buscador form.md-template > .d-flex.flex-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dc-block-buscador form.md-template > .d-flex.flex-wrap > .md-control:last-child { grid-column: 1 / -1; } .dc-block-buscador form.md-template > .d-flex.flex-wrap > .md-control:last-child .md-btn { width: 100%; justify-content: center; } }
@media (max-width: 560px) { .dc-block-buscador form.md-template > .d-flex.flex-wrap { grid-template-columns: 1fr; } .dc-block-buscador .md-search-field { font-size: 16px !important; } }
/* En la portada, el buscador «flota» sobre el borde inferior del hero */
.dc-search-float.dc-block-buscador { padding-top: 0 !important; margin-top: clamp(-70px, -5vw, -40px); position: relative; z-index: 3; background: transparent !important; }
.dc-search-float .dc-section__head { display: none; }
.dc .dc-block-buscador form.md-template .md-search-submit { background: linear-gradient(135deg, var(--dc-g1), var(--dc-g2)) !important; border: 0 !important; box-shadow: none !important; outline: 0; }
.dc .dc-block-buscador form.md-template .md-search-submit svg, .dc .dc-block-buscador form.md-template .md-search-submit path { fill: #fff !important; }
.dc-pagehero + .dc-search-float.dc-block-buscador { margin-top: 0; padding-top: clamp(8px, 1.5vw, 16px) !important; }

/* Búsqueda sin resultados y aviso cuando MARGA no da viajes */
.dc .dc-noresults { margin-top: 18px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--dc-line); border-radius: 22px; background: var(--dc-mist); }
.dc .dc-noresults .dc-weeks { margin: 16px 0; }
.dc .dc-noresults .dc-section { padding: 28px 0 0 !important; background: transparent !important; }
.dc .dc-noresults .dc-section .dc-wrap { padding: 0 !important; max-width: none; }
.dc .dc-noresults .dc-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; }
