/* =============================================================
   Galapagos Boats — boat-detail.css
   ============================================================= */

/* ── Tipografía personalizada ─────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap");

/* roc-grotesk → Roboto provisional */
.gb-boat-detail p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}



.gb-boat-detail h1,
.gb-boat-detail h2,
.gb-boat-detail h3,
.gb-boat-detail h4,
.gb-boat-detail h5,
.gb-boat-detail h6 {
    font-family: "ivypresto-headline", serif;
}

/* ── Reset / base ─────────────────────────────────────────── */
.gb-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Evita scroll horizontal cuando un modal está abierto */
body.gb-modal-open {
    overflow: hidden;
}

/* ── Botones ──────────────────────────────────────────────── */
.gb-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    border: none;
}
.gb-btn--primary {
    background: #e67e22;
    color: #fff;
}
.gb-btn--primary:hover {
    background: #cf6d17;
    color: #fff;
    transform: translateY(-1px);
}
.gb-btn--secondary {
    background: transparent;
    color: #e67e22;
    border: 2px solid #e67e22;
}
.gb-btn--secondary:hover {
    background: #e67e22;
    color: #fff;
}

/* ── Texto de error ───────────────────────────────────────── */
.gb-not-found {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #888;
}

/* ── Texto enriquecido (wp_kses_post) ─────────────────────── */
.gb-wysiwyg p { margin-bottom: 1em; line-height: 1.75; }
.gb-wysiwyg ul, .gb-wysiwyg ol { margin: 0 0 1em 1.4em; }
.gb-wysiwyg strong { font-weight: 700; }

/* ── Acento de color ──────────────────────────────────────── */
.gb-accent { color: #41649b; }

/* =============================================================
   BLOQUE 1 — HERO
   ============================================================= */
.gb-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.gb-hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.gb-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.42);
    z-index: 1;
}
.gb-hero__content {
    position: relative;
    z-index: 2;
    padding: 48px 40px;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
}
.gb-breadcrumb {
    font-size: 13px;
    opacity: .75;
    margin-bottom: 24px;
}
.gb-breadcrumb a { color: #fff; text-decoration: none; }
.gb-breadcrumb a:hover { text-decoration: underline; }
/* type label + stars row */
.gb-hero__type-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.gb-hero__type-label {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}
.gb-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.gb-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex-shrink: 0; }
.gb-stars .gb-icon { color: #f1c40f; width: 16px; height: 16px; }
.gb-hero__meta-item .gb-icon { width: 16px; height: 16px; opacity: .8; }
.gb-site-modal__meta .gb-icon { width: 14px; height: 14px; }
.gb-hero__title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    margin: 0 0 28px;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    letter-spacing: -.01em;
}
.gb-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    font-size: 15px;
    font-weight: 400;
}
.gb-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: .92;
}
.gb-hero__meta-item i {
    font-size: 14px;
    opacity: .8;
}

/* =============================================================
   BARRA DE SECCIONES — sticky bajo el hero
   ============================================================= */
.gb-boat-nav {
    position: sticky;
    /* Deja libre el menú del tema, que también es sticky */
    top: var(--gb-nav-h, 80px);
    z-index: 150;
    background: #fff;
    border-bottom: 1px solid #e8e4de;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.gb-boat-nav__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 48px;
    position: relative;
}
.gb-boat-nav__name {
    font-family: "ivypresto-headline", serif;
    font-size: 20px;
    line-height: 1.2;
    color: #1c1c1c;
    white-space: nowrap;
    flex-shrink: 0;
}
.gb-boat-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    /* Sin esto el carril no se encoge y desborda la barra en vez de scrollear */
    min-width: 0;
    flex: 0 1 auto;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;           /* Firefox */
    -ms-overflow-style: none;        /* IE/Edge viejo */
}
.gb-boat-nav__links::-webkit-scrollbar { display: none; }

.gb-boat-nav__link {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1c2b46;
    text-decoration: none;
    white-space: nowrap;
    padding: 13px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.gb-boat-nav__link:hover,
.gb-boat-nav__link:focus-visible {
    color: #e67e22;
}
.gb-boat-nav__link.is-active {
    color: #e67e22;
    border-bottom-color: #e67e22;
}

/* Flechas de scroll — solo aparecen si los links desbordan.
   Van en el flujo del flex para no taparse con el nombre del barco. */
.gb-boat-nav__arrow {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* !important: Elementor estiliza los <button> del contenido */
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    color: #1c2b46;
    cursor: pointer;
    padding: 0;
    /* Alinea el icono con la línea de los tabs */
    position: relative;
    top: -4px;
}
.gb-boat-nav__arrow[hidden] { display: none; }
.gb-boat-nav__arrow:hover { color: #e67e22; }
/* La flecha izquierda arranca el grupo que se alinea a la derecha */
.gb-boat-nav__arrow--prev { margin-left: auto; }
.gb-boat-nav__arrow--prev:not([hidden]) + .gb-boat-nav__links { margin-left: 8px; }

/* El ancla de cada sección tiene que quedar bajo el menú + la barra */
.gb-boat-detail section[id] {
    scroll-margin-top: calc(var(--gb-nav-h, 80px) + var(--gb-boat-nav-h, 48px) + 16px);
}

/* Compensar la admin bar de WordPress (mismo criterio que .gb-search-bar) */
.admin-bar .gb-boat-nav { top: calc(var(--gb-nav-h, 80px) + 32px); }
.admin-bar .gb-boat-detail section[id] {
    scroll-margin-top: calc(var(--gb-nav-h, 80px) + 32px + var(--gb-boat-nav-h, 48px) + 16px);
}
/* Solo 601-782px la admin bar sigue siendo fixed y ocupa 46px; a 600px o
   menos WordPress la pasa a absolute y se va con el scroll. */
@media screen and (min-width: 601px) and (max-width: 782px) {
    .admin-bar .gb-boat-nav { top: calc(var(--gb-nav-h, 80px) + 46px); }
    .admin-bar .gb-boat-detail section[id] {
        scroll-margin-top: calc(var(--gb-nav-h, 80px) + 46px + var(--gb-boat-nav-h, 48px) + 16px);
    }
}
@media screen and (max-width: 600px) {
    /* La admin bar acá es absolute (se va con el scroll): solo el header */
    .admin-bar .gb-boat-nav { top: 70px; }
}

@media (max-width: 900px) {
    .gb-boat-nav__inner {
        gap: 14px;
        min-height: 44px;
    }
    .gb-boat-nav__name { font-size: 17px; }
    .gb-boat-nav__links { gap: 20px; }
    .gb-boat-detail section[id] {
        scroll-margin-top: calc(var(--gb-nav-h, 80px) + var(--gb-boat-nav-h, 44px) + 12px);
    }
}
/* En mobile la barra es una sola fila de tabs + flechas, sin el nombre
   del barco (ya está en el hero, justo encima). */
@media (max-width: 640px) {
    /* Alto medido del menú del tema en mobile (valor fijo: acá el header
       no cambia de tamaño, así que no dependemos de la medición por JS) */
    .gb-boat-nav { top: 70px; }

    .gb-boat-nav__inner {
        flex-wrap: nowrap;
        gap: 10px;
        min-height: 38px;
    }
    /* Sin espacio para el nombre: la fila es solo tabs + flechas */
    .gb-boat-nav__name { display: none; }

    .gb-boat-nav__links {
        gap: 14px;
        margin-left: 0;
    }
    /* Sin subrayado en mobile: el activo se distingue solo por color */
    .gb-boat-nav__link,
    .gb-boat-nav__link.is-active {
        font-size: 10px;
        padding: 8px 0;
        border-bottom: none;
    }
    .gb-boat-nav__arrow {
        width: 22px;
        height: 22px;
        /* Centrado vertical con los tabs */
        position: relative;
        top: -7px;
    }
    .gb-boat-nav__arrow--prev {
        margin-left: 0;
    }
    .gb-boat-nav__arrow--prev:not([hidden]) + .gb-boat-nav__links { margin-left: 4px; }
    .gb-boat-detail section[id] {
        scroll-margin-top: calc(70px + var(--gb-boat-nav-h, 42px) + 12px);
    }
}

/* =============================================================
   BLOQUE 2 — WHY WE RECOMMEND
   ============================================================= */
.gb-why-recommend {
    padding: 72px 0 40px;
    background: #fff;
}
.gb-why-recommend__inner {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 56px;
    align-items: start;
}
.gb-why-recommend__title {
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 24px;
    line-height: 1.2;
    color: #1a2e44;
}
.gb-boat-detail .gb-why-recommend__desc {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #40435a;
    line-height: 1.7;
    margin-bottom: 28px;
}
/* lista de highlights en 2 columnas */
.gb-why-recommend__highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 32px;
}
.gb-why-recommend__highlights li {
    position: relative;
    font-family: "Space Grotesk", Sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    color: var(--e-global-color-9e63508);
    padding-left: 20px;
    margin-bottom: 10px;
    break-inside: avoid;
}
.gb-why-recommend__highlights li::before {
    content: '\2014'; /* em dash */
    position: absolute;
    left: 0;
    color: #2c4a7c;
    font-weight: 600;
}
/* columna media */
.gb-why-recommend__media {
    align-self: stretch;
    min-height: 477px;
}
.gb-why-recommend__media img,
.gb-why-recommend__media video {
    width: 100%;
    height: 100%;
    min-height: 477px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    display: block;
}

/* =============================================================
   BLOQUE 3 — DESCRIPCIÓN
   ============================================================= */
.gb-description {
    padding: 10px 0 62px;
    background: #fff;
}
.gb-description__title {
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 30px;
    line-height: 1.2;
    color: #1a2e44;
}
.gb-description .gb-wysiwyg {
    width: 100%;
}

/* WYSIWYG typography */
.gb-description h3 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 35px !important;
    font-weight: 300 !important;
    color: #1a2e44;
    margin: 32px 0 12px;
    line-height: 1.3;
}
.gb-wysiwyg p {
    margin: 0 0 20px;
    color: #444;
    line-height: 1.75;
    font-size: 15px;
}
.gb-wysiwyg ul,
.gb-wysiwyg ol {
    margin: 0 0 20px;
    padding-left: 24px;
    color: #444;
    font-size: 15px;
    line-height: 1.75;
}
.gb-wysiwyg strong { font-weight: 700; }
.gb-wysiwyg em     { font-style: italic; }

/* =============================================================
   BLOQUE 4 — GALERÍA CARRUSEL (full-width)
   ============================================================= */
.gb-gallery {
    /* Full-bleed: rompe el container del tema */
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    /* Se ve en la separación entre fotos (spaceBetween del Swiper) */
    background: #fff;
    overflow: hidden;
}
.gb-gallery-carousel {
    width: 100%;
}
/* La separación entre slides la maneja `spaceBetween` en el init de Swiper
   (boat-detail.js). No usar margin acá: descuadra el cálculo de anchos. */
.gb-gallery-carousel .swiper-slide {
    aspect-ratio: 4/3;
    overflow: hidden;
    height: 100%;
    background: #fff;
}
.gb-gallery__slide-btn {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: #f2f2f2; /* placeholder mientras carga la imagen */
    display: block;
    position: relative;
    overflow: hidden;
}
.gb-gallery__slide-media {
    width: 100%;
    height: 100% !important;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.gb-gallery__slide-btn:hover .gb-gallery__slide-media {
    transform: scale(1.04);
}
.gb-gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    color: #fff !important;
    font-size: 14px;
    line-height: 1.4;
    padding: 24px 16px 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 1;
}
.gb-gallery__play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: rgba(255,255,255,.85);
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
/* flechas del carousel principal */
.gb-gallery-carousel .swiper-button-prev,
.gb-gallery-carousel .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,.35);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background .2s;
}
.gb-gallery-carousel .swiper-button-prev::after,
.gb-gallery-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}
.gb-gallery-carousel .swiper-button-prev:hover,
.gb-gallery-carousel .swiper-button-next:hover {
    background: rgba(0,0,0,.65);
}

/* Modal lightbox */
.gb-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: center;
}
/* jQuery fadeIn inyecta display:block — lo convertimos a flex */
.gb-gallery-modal[style*="display: block"],
.gb-gallery-modal[style*="display:block"] {
    display: flex !important;
}
.gb-gallery-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.88);
    cursor: pointer;
}
.gb-gallery-modal__inner {
    position: relative;
    z-index: 1;
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
}
.gb-gallery-modal__close {
    position: absolute;
    top: -52px;
    right: 0;
    background: rgba(0,0,0,.55);
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 6px 14px;
    border-radius: 4px;
    z-index: 2;
    transition: background .2s;
}
.gb-gallery-modal__close:hover { background: #e67e22; }
.gb-gallery-swiper {
    width: 100%;
    flex: 1;
    min-height: 0;
}
.gb-gallery-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
.gb-gallery-modal__media {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
}
.gb-gallery-modal__caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff !important;
    font-size: 14px;
    line-height: 1.4;
    padding: 6px 16px;
    background: rgba(0,0,0,.45);
    margin: 0;
    margin-bottom: 20px;
    pointer-events: none;
}
.swiper-button-prev,
.swiper-button-next {
    color: #fff !important;
}
.swiper-pagination-bullet-active {
    background: #335489 !important;
}

/* =============================================================
   BLOQUE 5 — DISPONIBILIDAD
   ============================================================= */
.gb-availability {
    padding: 50px 0 40px;
    text-align: center;
    background: #2d2f3e;
}
.gb-availability h2 {
    font-size: 30px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 30px;
}
     
/* =============================================================
   BLOQUE 6 — PRECIOS
   ============================================================= */
.gb-prices {
    padding: 72px 0 0;
    background: #ffffff;
}
.gb-price-table {
    margin-bottom: 48px;
}
.gb-price-table__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: #1a2e44;
    margin: 0 0 30px;
    line-height: 1.15;
}
.gb-price-table__season {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 28px;
}
.gb-price-table__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.gb-price-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 420px;
}
.gb-price-matrix thead tr {
    background: #40435a;
    color: #fff;
}
.gb-price-matrix thead th {
    padding: 16px 28px;
    text-align: left;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .01em;
    white-space: nowrap;
}
.gb-price-matrix tbody tr {
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}
.gb-price-matrix tbody td {
    background: #fff!important;
}
.gb-price-matrix tbody tr:last-child {
    border-bottom: none;
}
.gb-price-matrix__label {
    padding: 10px 28px;
    color: #1a2e44;
    font-size: 15px;
    font-weight: 400;
    min-width: 160px;
}
.gb-price-matrix__price {
    padding: 10px 28px;
    color: #1a2e44;
    font-size: 15px;
    white-space: nowrap;
}
.gb-price-na {
    color: #bbb;
}
.gb-price-table__disclaimer {
    margin-top: 0px;
    font-size: 14px !important;
    color: #777;
    line-height: 1.7;
}

/* =============================================================
   BLOQUE 7 — INCLUYE / NO INCLUYE
   ============================================================= */
.gb-inclusions {
    padding: 0px 0 72px;
    background: #ffffff;
}
.gb-inclusions__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.gb-inclusions__col h3 {
    font-size: 22px;
    font-weight: 500;
    color: #2c3552;
    margin-bottom: 28px;
    font-family: "DM Sans", Sans-serif;
}
.gb-inclusions__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gb-inclusions__col ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #dcdad4;
    font-size: 14px;
    line-height: 1.5;
    color: #3a3a3a;
}
.gb-inclusions__col ul li:first-child { border-top: 1px solid #dcdad4; }
.gb-inclusions__icon {
    color: #8a9ab0;
    font-size: 14px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    line-height: 1.5;
}
.gb-inclusions__dash {
    color: #8a9ab0;
    font-size: 15px;
    flex-shrink: 0;
    line-height: 1.5;
}

/* =============================================================
   BLOQUE 8 — PROMOCIONES
   ============================================================= */
.gb-promotions {
    padding: 72px 0;
    background: #f4f4f2;
}
.gb-promotions h2 {
    font-size: 36px;
    font-weight: 400;
    color: #2c3552;
    margin-bottom: 16px;
}
.gb-promotions__subtitle {
    font-size: 14px;
    color: #2c3552;
    margin-bottom: 32px;
    line-height: 1.6;
}
.gb-promotions__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 420px;
}
.gb-promotions__table th,
.gb-promotions__table td {
    text-align: left;
    vertical-align: middle;
}
.gb-promotions__table thead tr {
    background: #40435a;
    color: #fff;
}
.gb-promotions__table th {
    padding: 16px 28px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .01em;
    white-space: nowrap;
    text-align: center;
}
.gb-promotions__table tbody tr {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.gb-promotions__table tbody td {
    padding: 10px 20px;
    background: #fff !important;
    color: #1a2e44;
    font-size: 15px;
    text-align: center;
    
}
.gb-promotions__table tbody tr:last-child { border-bottom: none; }
.gb-promo-was s {
    color: #999;
    text-decoration: line-through;
}
.gb-promo-now {
    font-weight: 600;
    color: #2c3552;
}
/* Separador de fechas en "Travel Dates" */
.gb-travel-sep { color: #9ca3af; margin: 0 2px; }

/* Badge de descuento al lado del precio Now! */
.gb-promo-now__price { vertical-align: middle; }
.gb-promo-discount {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    background: #fde4d4;
    color: #c2410c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 9999px;
    white-space: nowrap;
}

/* Inclusiones de promoción (chips) */
.gb-promo-inclusions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 220px;
}
.gb-promo-inclusion {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    padding: 2px 8px;
    border-radius: 9999px;
    white-space: nowrap;
}
.gb-promo-enquire { text-align: right; }
.gb-enquire-btn {
    background: none!important;
    border: none!important;
    color: #3d6b8e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    display:block!important;
    margin: 0 auto;
}
.gb-enquire-btn:hover { color: #2c3552; }
.gb-promotions__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.gb-promotions__view-more {
    background: #fff;
    border: 1px solid #2c3552;
    color: #2c3552;
    font-size: 14px;
    padding: 10px 24px;
    cursor: pointer;
    border-radius: 2px;
    transition: background .2s, color .2s;
}
.gb-promotions__view-more:hover {
    background: #2c3552;
    color: #fff;
}
/* Enquire Modal */
.gb-enquire-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gb-enquire-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.gb-enquire-modal__inner {
    position: relative;
    z-index: 1;
    background: #fff;
    width: 90%;
    max-width: 780px;
    max-height: 90vh;
    border-radius: 4px;
    padding: 50px 32px 32px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.gb-enquire-modal__close {
    position: relative;
    top: -25px;
    align-self: flex-end;
    margin: 0 -14px -26px 0;  /* no empuja el iframe hacia abajo */
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    z-index: 2;
}
.gb-enquire-modal__close:hover { color: #000; }
.gb-enquire-modal__iframe {
    width: 100%;
    height: 956px;   /* alto real del form GHL (data-height) — el scroll lo hace __inner */
    flex: none;
    border: none;
    display: block;
    overflow: hidden;
}

@media (max-width: 600px) {
    .gb-enquire-modal__inner {
        padding: 40px 14px 18px;
    }
    .gb-enquire-modal__close {
        margin-right: -6px;
    }
}

/* =============================================================
   BLOQUE 9 — BANNER GLOBAL
   ============================================================= */
.gb-global-banner {
    background: #2c3e50;
    color: #fff;
    padding: 56px 0;
    color: #fff !important;
    text-align: left;
}
.gb-global-banner h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color:#fff!important;
}

/* =============================================================
   BLOQUE 10 — ITINERARIOS
   ============================================================= */
.gb-itineraries {
    background: #2a3042;
    color: #fff;
}
.gb-itin-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin: 0 0 20px;
    text-align: left;
    color: #fff !important;
}

/* Outer itinerary tabs */
.gb-itin-outer-tabs-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.gb-itin-outer-tabs {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;              /* Firefox */
    -ms-overflow-style: none;           /* IE/Edge */
    cursor: grab;
}
.gb-itin-outer-tabs::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.gb-itin-outer-tabs.gb-is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.gb-itin-outer-tabs.gb-is-dragging .gb-itin-outer-tab { pointer-events: none; }

/* Scroll arrows */
.gb-itin-outer-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: rgba(255,255,255,.7) !important;
    cursor: pointer;
    transition: color .2s;
    z-index: 2;
}
.gb-itin-outer-arrow svg { display: block; }
.gb-itin-outer-arrow svg path { stroke: currentColor; }
.gb-itin-outer-arrow:hover { color: #fff !important; }
.gb-itin-outer-arrow[hidden] { display: none; }
.gb-itin-outer-arrow--prev { padding-right: 6px; }
.gb-itin-outer-arrow--next { padding-left: 6px; }
.gb-itin-outer-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    padding: 18px 24px;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
    font-weight: 400;
}
.gb-itin-outer-tab:hover { color: rgba(255,255,255,.9); }
.gb-itin-outer-tab--active {
    color: #fff;
    border-bottom-color: #fff;
    font-weight: 600;
}

/* Itinerary panels */
.gb-itin-panel {
    display: none;
    padding: 40px 0 64px;
}
.gb-itin-panel--active { display: block; }
.gb-itin-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.gb-itin-panel__title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 400;
    color: #fff !important;
    margin: 0;
    line-height: 1.2;
}
.gb-itin-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.gb-itin-pdf-btn:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    text-decoration: none;
}
.gb-itin-pdf-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Inner day tabs */
.gb-itin-day-tabs-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.gb-itin-day-tabs {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 2px 0;                     /* espacio para que el borde del pill no se recorte */
}
.gb-itin-day-tabs::-webkit-scrollbar { display: none; }
.gb-itin-day-tabs.gb-is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.gb-itin-day-tabs.gb-is-dragging .gb-itin-day-tab { pointer-events: none; }
.gb-itin-day-tab {
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: rgba(255,255,255,.7);
    font-size: 13px;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 2px;
    white-space: nowrap;
    flex: 0 0 auto;
    transition: background .18s, color .18s, border-color .18s;
}
.gb-itin-day-tab:hover {
    border-color: rgba(255,255,255,.7);
    color: #fff;
}
.gb-itin-day-tab--active {
    background: #fff;
    border-color: #fff;
    color: #2a3042;
    font-weight: 600;
}

/* Day panels */
.gb-itin-day-panel { display: none; }
.gb-itin-day-panel--active {
    display: block;
    /* Show 1 full card (~280px) + half of second (~140px) = ~420px */
    height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
    padding-right: 8px;
}
.gb-itin-day-panel--active::-webkit-scrollbar { width: 4px; }
.gb-itin-day-panel--active::-webkit-scrollbar-track { background: transparent; }
.gb-itin-day-panel--active::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 4px; }

/* Site cards */
.gb-itin-site-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0 28px;
    /* Each card is exactly 280px tall (24px padding top + 232px content + 24px padding bottom) */
    min-height: 280px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-sizing: border-box;
    align-items: start;
}
.gb-itin-site-card:last-child { border-bottom: none; }
.gb-itin-site-card__img {
    overflow: hidden;
    border-radius: 6px;
    height: 232px;
    flex-shrink: 0;
}
.gb-itin-site-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gb-itin-site-card__body {
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gb-itin-site-card__body--full { grid-column: 1 / -1; }
.gb-itin-site-card__name {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 400;
    font-style: italic;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.gb-itin-site-card__desc {
    font-size: 13px;
    color: #fff!important;
    line-height: 1.65;
    margin: 0;
}
.gb-itin-see-more {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    display: inline;
    line-height: 1;
}
.gb-itin-see-more:hover,
.gb-itin-see-more:focus {
    background: none !important;
    border: none !important;
    color: #fff !important;
}
.gb-itin-site-card__animals {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    line-height: 1.55;
}
.gb-itin-site-card__animals strong {
    color: #7eb8e0;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}
.gb-itin-site-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gb-itin-tag {
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.8);
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
}
.gb-itin-no-content {
    color: rgba(255,255,255,.5);
    font-style: italic;
}

/* =============================================================
   BLOQUE 11 — REVIEWS (reservado)
   ============================================================= */
.gb-reviews {
    padding: 56px 0;
    background: #fff;
}
.gb-reviews h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 25px;
}

/* =============================================================
   BLOQUE 12 — FORMULARIO DE CONTACTO
   ============================================================= */
.gb-contact-form {
    padding: 72px 0;
    background: #fff;
}
.gb-contact-form__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.gb-contact-form__title {
    font-size: 40px;
    line-height: 1.15;
    color: #2c3552;
    margin: 0 0 20px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
}
.gb-contact-form__subtitle {
    font-size: 14px;
    line-height: 1.65;
    color: #444;
    margin: 0 0 32px;
}
.gb-contact-form__placeholder {
    background: #f0f0f0;
    border-radius: 8px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}
.gb-contact-form__right {
    display: flex;
}
.gb-contact-form__photo {
    width: 100%;
    min-height: 480px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =============================================================
   BLOQUE 13 — DETALLES TÉCNICOS (2 columnas)
   ============================================================= */
.gb-technical {
    padding: 80px 0;
    background: #f9f6f1;
}
.gb-technical__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: flex-start;
}
.gb-technical__kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 12px;
}
.gb-technical__title {
    font-size: 40px;
    line-height: 1.15;
    color: #2c3552;
    margin: 0 0 24px;
    font-family: 'Playfair Display', Georgia, serif;
}
.gb-technical__desc {
    font-size: 15px;
    line-height: 1.7;
    color: #40435a;
    margin-bottom: 32px;
}
.gb-technical__photo {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}
.gb-technical__right {
    padding-top: 72px;
}
.gb-technical__specs {
    margin: 0 0 36px;
    padding: 0;
}
.gb-technical__spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px 0;
    border-bottom: 1px solid #e0dbd2;
}
.gb-technical__spec-row:first-child { border-top: 1px solid #e0dbd2; }
.gb-technical__spec-row dt {
    font-weight: 700;
    color: #2c3552;
    font-size: 14px;
}
.gb-technical__spec-row dd {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/* View Deck Plans — texto subrayado */
.gb-deck-plans-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c3552;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gb-deck-plans-btn:hover { color: #c0392b; }

/* Modal Deck Plans — cabecera oscura + cuerpo scrollable */
.gb-deckplan-modal {
    position: fixed;
    inset: 0;
    z-index: 99992;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gb-deckplan-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    cursor: pointer;
}
.gb-deckplan-modal__box {
    position: relative;
    z-index: 1;
    width: 860px;
    max-width: 94vw;
    max-height: 86vh;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gb-deckplan-modal__header {
    background: #2c3552;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.gb-deckplan-modal__title {
    flex: 1;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.gb-deckplan-modal__download {
    font-size: 13px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: .85;
}
.gb-deckplan-modal__download:hover { opacity: 1; }
.gb-deckplan-modal__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    opacity: .8;
    flex-shrink: 0;
}
.gb-deckplan-modal__close:hover { opacity: 1; }
.gb-deckplan-modal__body {
    background: #fff;
    overflow-y: auto;
    padding: 32px 40px;
    flex: 1;
}
.gb-deckplan-modal__item {
    margin-bottom: 40px;
}
.gb-deckplan-modal__item:last-child { margin-bottom: 0; }
.gb-deckplan-modal__pdf {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border: none;
    display: block;
}
.gb-deckplan-modal__deck-name {
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0 0 12px;
    color: #2c3552;
}
.gb-deckplan-modal__item img {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================
   BLOQUE 14 — BARCOS SIMILARES + DESTACADOS (Swiper compartido)
   ============================================================= */
.gb-similar-boats,
.gb-featured-boats,
.gb-boats-slider-section {
    padding: 72px 0;
    width: 100%;
    box-sizing: border-box;
}
.gb-similar-boats h2,
.gb-featured-boats h2,
.gb-boats-slider-section h2 {
    font-size: 32px;
    margin-bottom: 32px;
}

/* Swiper wrapper */
.gb-boats-swiper {
    overflow: hidden;
    padding-bottom: 0; /* sin dots de paginación */
}

/* Card */
.gb-similar-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 360px;
    border-radius: 2rem;
    overflow: hidden;
    text-decoration: none;
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .3s ease;
}
.gb-similar-card:hover {
    transform: translateY(-4px);
}

/* Overlay permanente (gradiente oscuro abajo para el nombre) */
.gb-similar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.35) 0%,
        rgba(0,0,0,.0)  40%,
        rgba(0,0,0,.5)  100%
    );
    z-index: 1;
    transition: opacity .3s ease;
}

/* Overlay negro hover (opacidad 0 → .55) */
.gb-similar-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2;
    opacity: 0;
    transition: opacity .35s ease;
}
.gb-similar-card:hover .gb-similar-card__overlay {
    opacity: 1;
}

/* Área superior: nombre + tipo (siempre visible) */
.gb-similar-card__top {
    position: relative;
    z-index: 3;
    padding: 18px 18px 0;
}
.gb-similar-card__stars {
    margin-bottom: 6px;
}
.gb-similar-card__stars .gb-stars .gb-icon {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
.gb-similar-card__name {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.gb-similar-card__type {
    display: inline-block;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(4px);
}

/* Área hover: stats + precio */
.gb-similar-card__hover {
    position: relative;
    z-index: 3;
    padding: 0 18px 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Space Grotesk", Sans-serif;
}
.gb-similar-card:hover .gb-similar-card__hover {
    opacity: 1;
    transform: translateY(0);
}
.gb-similar-card__stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    font-weight: 500;
    font-family: "Space Grotesk", Sans-serif;
}
.gb-similar-card__stat svg {
    flex-shrink: 0;
    opacity: .85;
}
.gb-similar-card__price {
    padding-left: 2px;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
    font-family: "Space Grotesk", Sans-serif;
}

/* ── Táctil / mobile: sin hover posible → el estado hover queda fijo ──
   Se aplica a cualquier dispositivo sin puntero fino (móvil o tablet),
   no solo por ancho de pantalla.                                       */
@media (hover: none), (max-width: 768px) {
    .gb-similar-card__overlay {
        opacity: 1;
    }
    .gb-similar-card__hover {
        opacity: 1;
        transform: none;
    }
}

/* Flechas (sin dots de paginación en los sliders de barcos) */
.gb-boats-swiper .swiper-button-prev,
.gb-boats-swiper .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,.45);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%; /* centrado en la card */
}
.gb-boats-swiper .swiper-button-prev::after,
.gb-boats-swiper .swiper-button-next::after {
    font-size: 16px;
}
.gb-boats-swiper .swiper-pagination {
    display: none;
}
.gb-boats-swiper--no-nav .swiper-button-prev,
.gb-boats-swiper--no-nav .swiper-button-next {
    display: none;
}

/* =============================================================
   RESPONSIVE — Tablet (max 768px)
   ============================================================= */
@media (max-width: 768px) {
    .gb-hero { min-height: 420px; }
    .gb-hero__content { padding: 32px 20px; }
    .gb-hero__title { font-size: 32px; }

    .gb-why-recommend__inner,
    .gb-inclusions__inner {
        grid-template-columns: 1fr;
    }
    .gb-why-recommend__highlights {
        column-count: 1;
    }

    .gb-gallery-carousel .swiper-slide { aspect-ratio: 16/9; }

    .gb-itin-outer-tab { padding: 10px 14px; font-size: 13px; }
    .gb-itin-site-card { grid-template-columns: 1fr; }

    .gb-contact-form__inner,
    .gb-technical__inner {
        grid-template-columns: 1fr;
    }
    .gb-technical__right { padding-top: 0; }
    .gb-technical__title { font-size: 30px; }

    .gb-deckplan-modal__box { max-height: 92vh; }
    .gb-deckplan-modal__body { padding: 20px; }

    .gb-price-table__days td,
    .gb-price-table__days th,
    .gb-price-table__cabins td,
    .gb-price-table__cabins th {
        padding: 10px 14px;
    }
}

/* =============================================================
   RESPONSIVE — Mobile (max 480px)
   ============================================================= */
@media (max-width: 480px) {
    .gb-deck-plans { grid-template-columns: 1fr; }
    .gb-similar-card { height: 30rem; }
    .gb-promotions__table { font-size: 13px; }
    .gb-promotions__table th,
    .gb-promotions__table td { padding: 10px 12px; }
    .gb-hero__meta { gap: 16px; }
    .gb-hero__type-row { gap: 8px; }
    .gb-site-modal__inner { padding: 24px 18px 20px; }
    .gb-site-modal__photos img { width: 100%; }
}

/* =============================================================
   RESPONSIVE — Tablas de precios y promociones como TARJETAS
   En mobile cada fila (<tr>) se apila como una tarjeta vertical;
   la cabecera de columna se muestra a la izquierda vía data-label.
   ============================================================= */
@media (max-width: 640px) {

    /* Anula el ancho mínimo y el scroll horizontal: ya no hacen falta */
    .gb-price-matrix,
    .gb-promotions__table {
        min-width: 0;
        width: 100%;
        font-size: 15px;
    }
    .gb-price-table__wrap { overflow-x: visible; }

    /* Oculta la cabecera de la tabla (las etiquetas pasan a cada celda) */
    .gb-price-matrix thead,
    .gb-promotions__table thead {
        display: none;
    }

    /* Cada fila se convierte en una tarjeta */
    .gb-price-matrix tbody tr,
    .gb-promotions__table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-bottom: 16px;
        padding: 4px 16px 10px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    }

    /* Cada celda es una fila etiqueta · valor */
    .gb-price-matrix tbody td,
    .gb-promotions__table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 11px 0 !important;
        border-bottom: 1px solid #f0f0f0;
        text-align: right;
        font-size: 15px;
        white-space: normal;
        
    }
    .gb-price-matrix tbody td:last-child,
    .gb-promotions__table tbody td:last-child {
        border-bottom: none;
    }

  
  
    /* Etiqueta de columna (data-label) a la izquierda de cada celda */
    .gb-price-matrix tbody td[data-label]::before,
    .gb-promotions__table tbody td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6a7488;
        text-align: left;
        margin-right: auto;
    }

    /* Primera celda = título de la tarjeta (nombre de cabina / promoción) */
    .gb-price-matrix__label,
    .gb-promo-card-title {
        display: block !important;
        text-align: left !important;
        min-width: 0 !important;
        padding: 10px 0 12px !important;
        margin-bottom: 4px;
        border-bottom: 1px solid #2d2f3e !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        color: #1a2e44 !important;
    }
     .gb-promotions__table tbody td {
        border: none!important;
    }
      /* Promociones: sin bordes internos entre celdas en la tarjeta */
    .gb-promo-card-title{
                border-bottom: 1px solid #2d2f3e !important;
    }

    /* Botón "Enquire" a todo el ancho al pie de la tarjeta */
    .gb-promo-enquire {
        justify-content: center !important;
        padding-top: 14px !important;
    }
    .gb-promo-enquire .gb-enquire-btn {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 11px 0 !important;
        background: #2c3552 !important;
        color: #fff !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        text-align: center !important;
    }
}

/* ── Fix: WordPress sobrescribe hover de botones con #c36 ──── */
.gb-boat-detail [type=button]:focus,
.gb-boat-detail [type=button]:hover,
.gb-boat-detail [type=submit]:focus,
.gb-boat-detail [type=submit]:hover,
.gb-boat-detail button:focus,
.gb-boat-detail button:hover {
    background-color: #fff;
    color: #2a3042;
}

/* =============================================================
   PÁGINA DE LISTADO — [gb_cruises_page]
   ============================================================= */

/* ── Hero ─────────────────────────────────────────────────── */
/* Flex column: permite reordenar hero/search bar en mobile (order) y evita
   que el margin-top de la barra colapse hacia afuera del contenedor.
   Mismo tratamiento para /cruises y /promotions. */
.gb-cruises-page,
.gb-promos-page {
    display: flex;
    flex-direction: column;
}
.gb-cruises-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    /* Sin overflow:hidden para que position:sticky del search bar funcione */
}
/* Compensar admin bar — hero */
.admin-bar .gb-cruises-hero {
    min-height: calc(100vh - 80px - 32px);
}
@media screen and (max-width: 782px) {
    .admin-bar .gb-cruises-hero { min-height: calc(100vh - 80px - 46px); }
}
/* Search bar sticky — igual que .gb-promos-search: top 0 sin admin bar,
   112px (header 80 + admin bar 32) con admin bar */
.admin-bar .gb-cruises-page .gb-search-bar,
.admin-bar .gb-promos-page .gb-search-bar {
    top: 112px;
}
/* Solo 601-782px: ahí la admin bar sigue siendo fixed y ocupa 46px.
   A 600px o menos WordPress la pasa a position:absolute (se va con el
   scroll), así que sumarla dejaba un hueco entre el header y la barra. */
@media screen and (min-width: 601px) and (max-width: 782px) {
    .admin-bar .gb-cruises-page .gb-search-bar,
    .admin-bar .gb-promos-page .gb-search-bar { top: calc(var(--gb-nav-h, 80px) + 46px); }
    .admin-bar .gb-cruises-page .gb-search-bar.is-open > .gb-container,
    .admin-bar .gb-promos-page .gb-search-bar.is-open > .gb-container {
        height: calc(100dvh - var(--gb-nav-h, 80px) - 46px);
    }
}
.gb-cruises-hero--gradient {
    background: linear-gradient(160deg, #0a1628 0%, #163a6a 45%, #0d2b4d 100%);
}
.gb-cruises-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,.58) 100%);
    z-index: 0;
    pointer-events: none;
}
.gb-cruises-hero--gradient .gb-cruises-hero__overlay {
    display: none;
}
.gb-cruises-hero__content {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-top deja aire para la barra flotante (gap 40 + alto ~82) */
    padding: 150px 20px 64px;
    text-align: center;
    color: #fff;
}
.gb-cruises-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: .75;
    margin: 0 0 22px;
    color: #fff!important;
}
.gb-cruises-hero__title {
    font-family: "ivypresto-headline", serif;
    font-size: clamp(38px, 7vw, 82px);
    font-weight: 400;
    line-height: 1.04;
    margin: 0 0 24px;
    letter-spacing: -.01em;
    text-shadow: 0 2px 18px rgba(0,0,0,.30);
}
.gb-cruises-hero__subtitle {
    font-family: "Roboto", sans-serif;
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 400;
    opacity: .82;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
    color: #fff !important;
}

/* ── Barra de búsqueda sticky ─────────────────────────────── */
.gb-search-bar {
    position: sticky;
    top: 80px;
    z-index: 200;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.11);
    border-bottom: 1px solid #ede9e3;
    border-top: 1px solid #ede9e3;
}
/* Compensar la admin bar de WordPress */
.admin-bar .gb-search-bar { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .gb-search-bar { top: 46px; }
}

/* ── Cruises: barra flotando SOBRE el hero ─────────────────
   En el DOM va antes del hero; el margin-bottom negativo (= su propia
   altura + el gap) hace que el hero suba y quede por detrás.
   --gb-searchbar-h la actualiza el JS con la altura real; 82px es el
   fallback en desktop si el JS no llegó a correr.                     */
.gb-cruises-page .gb-search-bar,
.gb-promos-page .gb-search-bar {
    --gb-searchbar-gap: 40px;
    margin-top: var(--gb-searchbar-gap);
    margin-bottom: calc(-1 * (var(--gb-searchbar-h, 82px) + var(--gb-searchbar-gap)));
    background: transparent;
    box-shadow: none;
    border-top: none;
    border-bottom: none;
}
.gb-cruises-page .gb-search-bar > .gb-container,
.gb-promos-page .gb-search-bar > .gb-container {
    transition: max-width .25s ease, padding .25s ease;
}
/* El card blanco es .gb-search-bar__fields, no el wrapper */
.gb-cruises-page .gb-search-bar__fields,
.gb-promos-page .gb-search-bar__fields {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(10, 22, 40, .22);
    overflow: hidden;
    transition: border-radius .25s ease, box-shadow .25s ease;
}
/* Pegada bajo el nav → full width y sin esquinas redondeadas */
.gb-cruises-page .gb-search-bar.is-stuck > .gb-container,
.gb-promos-page .gb-search-bar.is-stuck > .gb-container {
    max-width: 100%;
    padding: 0;
}
.gb-cruises-page .gb-search-bar.is-stuck .gb-search-bar__fields,
.gb-promos-page .gb-search-bar.is-stuck .gb-search-bar__fields {
    border-radius: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .11);
}

/* ── Barra "Filter" y botón Close — solo mobile (ver @media 768) ── */
/* Grid 1fr/auto/1fr: deja "Filter" centrado en la pantalla y el icono
   inmediatamente a su derecha, sin desplazar el texto.
   Alto = tipografía + 10px de padding arriba y abajo, sin bordes. */
.gb-filter-toggle {
    display: none;              /* solo mobile (ver @media 768) */
    width: 100%;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 20px;
    border-radius: 0;
    box-shadow: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    cursor: pointer;
}
/* Selector largo + !important: el tema pisa fondo y borde de los <button>
   (mismo motivo que el fix de hover #c36 más arriba). appearance:none evita
   además el render nativo del botón en iOS Safari. */
.gb-cruises-page .gb-search-bar .gb-filter-toggle,
.gb-cruises-page .gb-search-bar .gb-filter-toggle:hover,
.gb-cruises-page .gb-search-bar .gb-filter-toggle:focus,
.gb-promos-page .gb-search-bar .gb-filter-toggle,
.gb-promos-page .gb-search-bar .gb-filter-toggle:hover,
.gb-promos-page .gb-search-bar .gb-filter-toggle:focus {
    -webkit-appearance: none;
    appearance: none;
    /* El tema trae `[type=button], button { width: auto }` con la misma
       especificidad que .gb-filter-toggle y cargado después: sin esto el
       botón mide lo que su contenido y queda pegado a la izquierda. */
    width: 100% !important;
    /* Sin border-box, width:100% + padding lateral desborda el botón y su
       contenido "centrado" se ve corrido hacia la izquierda. */
    box-sizing: border-box !important;
    background: #40435a !important;
    background-color: #40435a !important;
    background-image: none !important;
    color: #fff !important;
    border: 0 !important;
    outline: none;
}
.gb-cruises-page .gb-search-bar .gb-filter-toggle:hover,
.gb-cruises-page .gb-search-bar .gb-filter-toggle:focus,
.gb-promos-page .gb-search-bar .gb-filter-toggle:hover,
.gb-promos-page .gb-search-bar .gb-filter-toggle:focus {
    background: #4a4e6b !important;
    background-color: #4a4e6b !important;
}
.gb-cruises-page .gb-search-bar .gb-filter-toggle .gb-filter-toggle__label,
.gb-cruises-page .gb-search-bar .gb-filter-toggle .gb-filter-toggle__icon,
.gb-promos-page .gb-search-bar .gb-filter-toggle .gb-filter-toggle__label,
.gb-promos-page .gb-search-bar .gb-filter-toggle .gb-filter-toggle__icon {
    color: #fff !important;
}
/* Blindaje: el toggle y el Close son exclusivos de mobile */
@media (min-width: 769px) {
    .gb-cruises-page .gb-filter-toggle,
    .gb-cruises-page .gb-search-bar__close,
    .gb-promos-page .gb-filter-toggle,
    .gb-promos-page .gb-search-bar__close {
        display: none !important;
    }
}
.gb-filter-toggle__label {
    grid-column: 2;
    margin-left: -12px;     /* compensa ópticamente el icono de la derecha */
}
/* El tamaño del icono va con !important: un <svg> que crezca (por una regla
   del tema) ensancha la 3ª pista del grid y empuja "Filter" a la izquierda. */
.gb-cruises-page .gb-search-bar .gb-filter-toggle__icon,
.gb-promos-page .gb-search-bar .gb-filter-toggle__icon {
    grid-column: 3;
    justify-self: start;
    margin-left: 10px;
    width: 17px !important;
    height: 17px !important;
    max-width: 17px;
    flex: none;
}
.gb-search-bar__close {
    display: none;              /* se activa en mobile */
    padding: 12px 20px 4px;
}
/* Mismo patrón que el toggle: "Close" centrado en pantalla, icono a su
   derecha, y mismo tamaño de tipografía que el botón Filter. */
.gb-cruises-page .gb-search-bar .gb-filter-close,
.gb-promos-page .gb-search-bar .gb-filter-close {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100% !important;   /* el tema fuerza width:auto en <button> */
    padding: 6px 0;
    border: 0 !important;
    background: transparent !important;
    color: #40435a !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    cursor: pointer;
}
.gb-filter-close__label {
    grid-column: 2;
    margin-left: -12px;     /* compensa ópticamente el icono de la derecha */
}
.gb-cruises-page .gb-search-bar .gb-filter-close__icon,
.gb-promos-page .gb-search-bar .gb-filter-close__icon {
    grid-column: 3;
    justify-self: start;
    margin-left: 10px;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
}
.gb-cruises-page .gb-search-bar .gb-filter-close:hover,
.gb-cruises-page .gb-search-bar .gb-filter-close:focus,
.gb-promos-page .gb-search-bar .gb-filter-close:hover,
.gb-promos-page .gb-search-bar .gb-filter-close:focus {
    color: #2c3452 !important;
}

.gb-search-bar__fields {
    display: flex;
    align-items: stretch;
    min-height: 82px;
}
.gb-filter-field {
    flex: 1;
    min-width: 0;
    padding: 16px 22px;
    border-right: 1px solid #ede9e3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.gb-filter-field:hover { background: #fafaf8; }
.gb-filter-field--search {
    flex: 0 0 auto;
    padding: 16px 20px;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}
.gb-filter-field--search:hover { background: transparent; }

.gb-filter-field__label {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: #40435a;
    margin-bottom: 6px;
    line-height: 1;
}
.gb-filter-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.gb-filter-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    width: 100%;
    padding: 0;
    padding-right: 22px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #b0aba4;
    cursor: pointer;
    outline: none;
    line-height: 1.3;
}
.gb-filter-select.has-value { color: #1a2e44; }
.gb-filter-chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #c8c3bc;
    pointer-events: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: color .15s;
}
.gb-filter-field:hover .gb-filter-chevron { color: #999; }

/* Botón Find your cruise */
.gb-search-bar__btn {
    display: inline-block;
    background: #2c3452;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 28px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
/* Botón Find your cruise — mismos estilos que Find promotions */
.gb-cruises-page .gb-search-bar__btn {
    background-color: var(--e-global-color-1dec40f);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 1px;
    color: #ffffff;
    fill: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 15px;
    padding: 12px 17px;
}
.gb-cruises-page .gb-search-bar__btn:hover,
.gb-cruises-page .gb-search-bar__btn:focus {
    opacity: .88;
    color: #ffffff !important;
    background: #26406A;
    transform: none;
}

/* ── Listado de cruceros ───────────────────────────────────── */
.gb-cruises-listing {
    padding: 56px 0 88px;
    background: #fff;
}
.gb-cruises-listing__header {
    margin-bottom: 36px;
}
.gb-cruises-listing__title {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 400;
    color: #1a2e44;
    line-height: 1.25;
    margin: 0 0 14px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px !important;
}
.gb-cruises-listing__intro {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 750px;
    text-align: center;
    margin: 0 auto 20px;
}
.gb-cruises-listing__count {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #999;
    margin: 0;
    text-align: center;
}
.gb-cruises-listing__count strong {
    color: #1a2e44;
    font-weight: 700;
}
.gb-cruises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Grid de barcos (cruises-page + gb_boats_grid shortcode) ─ */
.gb-boats-grid-section {
    padding: 72px 0;
}
.gb-boats-grid-section h2 {
    font-family: "ivypresto-headline", serif;
    font-size: 32px;
    font-weight: 400;
    color: #1a2e44;
    margin: 0 0 32px;
    line-height: 1.2;
}

/* Grid compartido (no-swiper) */
.gb-boats-grid,
.gb-cruises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* gb-similar-card en contexto de grid: misma altura que el slider */
.gb-boats-grid .gb-similar-card,
.gb-cruises-grid .gb-similar-card {
    height: 26.7rem;
}

/* gb-similar-card en sección Similar Yachts del detalle del barco */
.gb-similar-boats .gb-similar-card {
    height: 360px;
}

/* ── Responsive — Tablet (max 1024px) ────────────────────── */
@media (max-width: 1024px) {
    .gb-boats-grid,
    .gb-cruises-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .gb-search-bar__fields {
        flex-wrap: wrap;
        min-height: auto;
    }
    .gb-filter-field {
        flex: 1 1 calc(33.33% - 1px);
        border-bottom: 1px solid #ede9e3;
        padding: 14px 18px;
    }
    .gb-filter-field:nth-child(3) { border-right: none; }
    .gb-filter-field:nth-child(4) { border-right: 1px solid #ede9e3; }
    .gb-filter-field--search {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: none;
        padding: 14px 18px;
        justify-content: center;
    }
}
/* ── Responsive — Mobile (max 640px) ─────────────────────── */
@media (max-width: 640px) {
    .gb-cruises-hero { min-height: 75vh; }
    .gb-cruises-hero__content { padding: 80px 16px 48px; }
    .gb-boats-grid,
    .gb-cruises-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gb-boats-grid .gb-similar-card,
    .gb-cruises-grid .gb-similar-card {
        height: 26rem;
    }
    .gb-search-bar__fields { flex-direction: column; min-height: auto; }
    .gb-filter-field {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ede9e3;
    }
    .gb-filter-field:nth-child(3),
    .gb-filter-field:nth-child(4) {
        border-right: none;
    }
    .gb-filter-field--search {
        border-bottom: none;
        padding: 16px;
    }
    /* Panel a pantalla completa: los campos se reparten el alto sobrante
       (el botón "Find your cruise" mantiene su tamaño natural). */
    .gb-cruises-page .gb-search-bar.is-open .gb-filter-field {
        flex: 1 1 auto;
    }
    .gb-cruises-page .gb-search-bar.is-open .gb-filter-field--search {
        flex: none;
    }
}

/* =============================================================
   CRUISES PAGE — Paginación + Sin resultados
   ============================================================= */

#gb-cruises-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 48px 0 24px;
}

.gb-pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background: transparent;
    color: #26406A;
    border: 2px solid #26406A;
    line-height: 1;
}
.gb-pagination-btn:hover:not(:disabled) {
    background: #26406A;
    color: #fff;
}
.gb-pagination-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.gb-pagination-info {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.gb-cruises-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #888;
}
.gb-cruises-no-results.is-visible {
    display: block;
}

/* Barra sin "Category" (páginas por categoría): 4 filtros → 2 por fila en
   tablet. En mobile manda la columna única de siempre. */
@media (min-width: 641px) and (max-width: 1024px) {
    .gb-search-bar__fields--compact .gb-filter-field:not(.gb-filter-field--search) {
        flex: 1 1 calc(50% - 1px);
    }
    .gb-search-bar__fields--compact .gb-filter-field:nth-child(2n) { border-right: none; }
    .gb-search-bar__fields--compact .gb-filter-field:nth-child(3)  { border-right: 1px solid #ede9e3; }
}

/* =============================================================
   PÁGINAS POR CATEGORÍA: [gb_budget_page] [gb_mid_range_page]
   Módulo debajo del hero: H2 + texto (2/3) | botones (1/3)
   ============================================================= */
.gb-page-intro {
    padding: 72px 0 8px;
    background: #fff;
}
.gb-page-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.gb-cruises-page .gb-page-intro__title {
    font-size: clamp(30px, 3.4vw, 45px);
    line-height: 1.15;
    margin: 0 0 24px;
}
.gb-cruises-page .gb-page-intro__text p {
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 1em;
}
.gb-cruises-page .gb-page-intro__text p:last-child { margin-bottom: 0; }
.gb-page-intro__text a {
    color: #3d6b8e;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gb-page-intro__text a:hover { color: #2c3552; }

.gb-page-intro__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}
/* Base: .gb-cruises-page .gb-search-bar__btn (mismo botón que "Find your cruise").
   El width va con !important: el tema fuerza width:auto en <button>. */
.gb-cruises-page .gb-page-intro__btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100% !important;
    padding: 20px 24px;
    text-align: left;
    text-decoration: none;
    white-space: normal;
}
.gb-cruises-page a.gb-page-intro__btn:hover,
.gb-cruises-page a.gb-page-intro__btn:focus {
    text-decoration: none;
}
.gb-page-intro__btn-icon {
    width: 22px;
    height: 22px;
    flex: none;
}

@media (max-width: 900px) {
    .gb-page-intro { padding: 48px 0 0; }
    .gb-page-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .gb-page-intro__actions { padding-top: 0; }
}

/* ── Modal "Request a call back" ─────────────────────────────── */
.gb-callback-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gb-callback-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.gb-callback-modal__inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    background: #fff;
    width: 92%;
    max-width: 640px;
    max-height: 90vh;
    border-radius: 4px;
    padding: 48px 28px 28px;
    overflow-y: auto;
    overflow-x: hidden;
}
.gb-callback-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none !important;
    border: 0 !important;
    padding: 4px 8px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555 !important;
}
.gb-callback-modal__close:hover { color: #000 !important; }
/* El embed puede traer height:100%: el min-height evita que quede en 0 */
.gb-callback-modal__body iframe {
    display: block;
    width: 100% !important;
    min-height: 575px;
    border: none;
}

@media (max-width: 600px) {
    .gb-callback-modal__inner { padding: 44px 14px 18px; }
}

/* ══════════════════════════════════════════════════════════════
   H2 GLOBAL — Cruises, Promotions, Boat Detail
   ══════════════════════════════════════════════════════════════ */
.gb-boat-detail h1,
.gb-cruises-page h1,
.gb-promos-page h1 {
    font-family: "DM Sans", Sans-serif;
    font-size: 60px;
    font-weight: 400;
    text-transform: none;
    line-height: 50px;
    color: rgb(255, 255, 255);
}

.gb-boat-detail h2,
.gb-cruises-page h2,
.gb-promos-page h2 {
    font-family: "DM Sans", Sans-serif;
    font-size: 45px;
    font-weight: 300;
    text-transform: none;
    line-height: 45px;
    color: var(--e-global-color-9e63508);
}

.gb-similar-card__name {
    font-family: "DM Sans", Sans-serif!important;
    font-size: 23px;
    font-weight: 400;
    text-shadow: 2px 2px 10px rgba(19, 19, 19, 0.48);
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}

.gb-boat-detail p,
.gb-cruises-page p,
.gb-promos-page p {
    font-family: "Space Grotesk", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: var(--e-global-color-9e63508);
}

.gb-boat-detail h1 + p,
.gb-boat-detail h2 + p,
.gb-cruises-page h1 + p,
.gb-cruises-page h2 + p,
.gb-promos-page h1 + p,
.gb-promos-page h2 + p {
    font-family: "Space Grotesk", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: var(--e-global-color-9e63508);
}

/* Fuerza 18px en spans con estilo inline (inyectados por Elementor/editor) */
.gb-boat-detail h1 + p span,
.gb-boat-detail h2 + p span,
.gb-cruises-page h1 + p span,
.gb-cruises-page h2 + p span,
.gb-promos-page h1 + p span,
.gb-promos-page h2 + p span {
    font-size: 18px !important;
}

/* ══════════════════════════════════════════════════════════════
   PROMOTIONS PAGE — [gb_promotions_page]
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
/* 80px = header. La search bar ya no ocupa espacio: flota encima. */
.gb-promos-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}
/* Compensar admin bar */
.admin-bar .gb-promos-hero {
    min-height: calc(100vh - 80px - 32px);
}
@media screen and (max-width: 782px) {
    .admin-bar .gb-promos-hero { min-height: calc(100vh - 80px - 46px); }
}
.gb-promos-hero--gradient {
    background: linear-gradient(160deg, #0a1628 0%, #163a6a 45%, #0d2b4d 100%);
}
.gb-promos-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,.58) 100%);
    z-index: 0;
    pointer-events: none;
}
.gb-promos-hero--gradient .gb-promos-hero__overlay {
    display: none;
}
.gb-promos-hero__content {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-top deja aire para la barra flotante (gap 40 + alto ~82) */
    padding: 150px 20px 64px;
    text-align: center;
    color: #fff;
}
.gb-promos-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .75;
    margin: 0 0 22px;
    color: #fff !important;
}
.gb-promos-hero__title {
    font-family: "ivypresto-headline", serif;
    font-size: clamp(38px, 7vw, 82px);
    font-weight: 400;
    line-height: 1.04;
    margin: 0 0 24px;
    letter-spacing: -.01em;
    text-shadow: 0 2px 18px rgba(0,0,0,.30);
}
.gb-promos-hero__subtitle {
    font-family: "Roboto", sans-serif;
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 400;
    opacity: .82;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
    color: #fff !important;
}

/* ── Search bar ────────────────────────────────────────────────
   El comportamiento (flotante sobre el hero, is-stuck full width y el
   colapsado "Filter" en mobile) es el mismo de /cruises: vive en el
   bloque compartido `.gb-cruises-page/.gb-promos-page .gb-search-bar`.
   Aquí solo queda lo propio de la página.                            */

/* Botón Find promotions */
.gb-promos-page .gb-search-bar__btn {
    background-color: var(--e-global-color-1dec40f);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 1px;
    color: #ffffff;
    fill: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 15px;
    padding: 12px 17px;
}
.gb-promos-page .gb-search-bar__btn:hover,
.gb-promos-page .gb-search-bar__btn:focus {
    opacity: .88;
    color: #ffffff !important;
    background:#26406A;
}

/* ── Listing ───────────────────────────────────────────────── */
.gb-promos-listing {
    padding: 60px 0 80px;
}

/* ── Boat card ─────────────────────────────────────────────── */
.gb-promo-boat {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #ede9e3;
}
.gb-promo-boat:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.gb-promo-boat__header {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
    margin-bottom: 32px;
}
.gb-promo-boat__name {
    font-family: "ivypresto-headline", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #1a2236;
    margin-bottom: 16px;
    line-height: 1.15;
    font-weight: 400;
    margin-top: 0;
}
.gb-promo-boat__desc {
    font-size: 15px;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 20px;
}
.gb-promo-boat__why {
    margin-bottom: 20px;
}
.gb-promo-boat__why-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e67e22;
    margin-bottom: 10px;
}
.gb-promo-boat__why-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 10px;
}
.gb-promo-boat__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gb-promo-boat__highlights li {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    padding-left: 20px;
    position: relative;
}
.gb-promo-boat__highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e67e22;
}
.gb-promo-boat__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #e67e22;
    text-decoration: none;
}
.gb-promo-boat__link:hover {
    color: #cf6d17;
}
.gb-promo-boat__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 19px;
    display: block;
}
.gb-promo-boat__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── No results ────────────────────────────────────────────── */
.gb-promos-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #888;
}
.gb-promos-no-results.is-visible {
    display: block;
}

/* ── Responsive — Tablet (max 900px) ──────────────────────── */
@media (max-width: 900px) {
    .gb-promo-boat__header {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .gb-promo-boat__img {
        max-width: 480px;
    }
}

/* ── Responsive — Mobile (max 640px) ──────────────────────── */
@media (max-width: 640px) {
    .gb-promos-hero { min-height: 75vh; }
    .gb-promos-hero__content { padding: 80px 16px 48px; }
    .gb-promo-boat {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    .gb-promo-boat__name {
        font-size: 1.6rem;
    }
}

/* =============================================================
   RESPONSIVE — H2 y P mobile (max 768px)
   ============================================================= */
@media (max-width: 768px) {
    .gb-boat-detail h1,
    .gb-cruises-page h1,
    .gb-promos-page h1 {
        font-size: 35px !important;
        line-height: 30px !important;
    }

    .gb-boat-detail h2,
    .gb-cruises-page h2,
    .gb-promos-page h2,
    .gb-availability h2,
    .gb-promotions h2,
    .gb-global-banner h2,
    .gb-reviews h2,
    .gb-similar-boats h2,
    .gb-featured-boats h2,
    .gb-boats-slider-section h2,
    .gb-boats-grid-section h2 {
        font-size: 28px !important;
        line-height: 28px !important;
    }



    .gb-boat-detail p,
    .gb-cruises-page p,
    .gb-promos-page p {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .gb-hero__type-label {
        font-size: 12px;
    }

    .gb-why-recommend__highlights li {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .gb-price-matrix {
        border: none !important;
    }

    .gb-price-matrix__label {
        border: none !important;
        border-bottom: 1px solid #2d2f3e !important;
    }
    .gb-price-matrix__price {
         border: none !important;
    }

    /* ── Mobile: buscador colapsado tras la barra "Filter" ─────────
       La barra deja de flotar sobre el hero (queda encima, en el flujo, y
       sigue sticky porque colapsada mide ~50px). El panel se despliega en
       position:absolute para no alterar el layout al abrir/cerrar: así el
       scroll a los resultados calcula siempre la misma posición.        */
    .gb-cruises-page .gb-search-bar,
    .gb-promos-page .gb-search-bar {
        --gb-nav-h: 70px;       /* alto del menú del tema en mobile */
        top: var(--gb-nav-h);
        margin-top: 0;
        margin-bottom: 0;
        /* Respaldo del color de la tira por si algo pisa el <button> */
        background: #40435a;
        /* Full bleed: escapa del padding lateral del contenedor de página */
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    /* !important + selector largo: si el tema fuerza display en <button>,
       el grid de 3 columnas se pierde y "Filter" deja de estar centrado. */
    .gb-cruises-page .gb-search-bar .gb-filter-toggle,
    .gb-promos-page .gb-search-bar .gb-filter-toggle {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
    }
    .gb-cruises-page .gb-search-bar__close,
    .gb-promos-page .gb-search-bar__close { display: block; }

    .gb-cruises-page .gb-search-bar > .gb-container,
    .gb-promos-page .gb-search-bar > .gb-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 0;
        background: #fff;
        overflow-y: auto;
        box-shadow: 0 14px 30px rgba(10, 22, 40, .25);
        transition: none;
    }
    /* Abierto: el botón Filter se esconde (visibility, para no mover el
       layout ni desfasar el scroll a resultados) y el panel arranca en el
       top de la barra, tapándolo, hasta el final de la pantalla. */
    .gb-cruises-page .gb-search-bar.is-open .gb-filter-toggle,
    .gb-promos-page .gb-search-bar.is-open .gb-filter-toggle {
        visibility: hidden;
    }
    .gb-cruises-page .gb-search-bar.is-open > .gb-container,
    .gb-promos-page .gb-search-bar.is-open > .gb-container {
        display: flex;
        flex-direction: column;
        top: 0;
    }
    /* Cruises: 6 campos → el panel ocupa toda la pantalla disponible */
    .gb-cruises-page .gb-search-bar.is-open > .gb-container {
        height: calc(100vh - var(--gb-nav-h));
        /* dvh descuenta la barra de URL del navegador móvil */
        height: calc(100dvh - var(--gb-nav-h));
    }
    .gb-cruises-page .gb-search-bar.is-open .gb-search-bar__fields {
        flex: 1;
    }
    /* Promos: solo 3 campos → alto natural, con los inputs a su tamaño
       normal y el contenido de atrás visible por debajo del panel. */
    .gb-promos-page .gb-search-bar.is-open > .gb-container {
        height: auto;
        max-height: calc(100vh - var(--gb-nav-h));
        max-height: calc(100dvh - var(--gb-nav-h));
    }
    .gb-cruises-page .gb-search-bar__fields,
    .gb-promos-page .gb-search-bar__fields {
        border-radius: 0;
        box-shadow: none;
    }
    .gb-itin-panel__header {

    justify-content: center!important;
    }
    .gb-itin-outer-tabs,
    .gb-itin-day-tabs {
        justify-content: safe center !important;
    }

}
