/* =====================================================
   Self-hosted Open Sans (replaces Google Fonts CDN)
   Files live in /web/fonts/ — served with 1-year cache
   ===================================================== */

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-300.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-300italic.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-regular.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-600.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-600italic.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-700.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-700italic.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-800.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/open-sans-v44-latin-800italic.woff2") format("woff2");
}

:root {
    --_variable-collection---dark-blue: #162643;
    --primary-blue: #00a2d6;
    --white: #fff;
    --_variable-collection---primary-blue: #00a2d6;
    --_variable-collection---accent-red: #f56960;
    --grey-bg: #f8f8f8;
}

.locations-pill i {
    color: #fff !important;
}
@media screen and (min-width: 992px) {
    .search-wrapper,
    #home-search-component {
        min-width: 600px;
    }
}
.card i {
    color: var(--_variable-collection---dark-blue);
}

.search-button i {
    color: #fff;
}

.search-icon {
    font-size: 16px;
}

.card-footer-button i {
    color: var(--_variable-collection---accent-red) !important;
}

/* Navbar scroll animation for desktop only */
@media screen and (min-width: 992px) {
    .menu-calendar {
        overflow: hidden; /* hide content when collapsed */
        max-height: 80px; /* set this to the actual height of your blue bar */
        transition: max-height 0.5s ease;
    }

    body.nav-scrolled .menu-calendar {
        max-height: 0;
    }
}

.search-select .option-country {
    font-weight: 600;
    color: #888;
}

.search-select .option-port {
    font-weight: 400;
}

/* --- Hero search bar inputs --- */

.search-bar {
    /* just to be sure – Webflow probably already does this */
    display: flex;
    align-items: stretch;
}

.search-boxes {
    display: flex;
    flex: 1;
    align-items: stretch;
}

/* Each slot (port/date/ship) */
.search-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    /* makes the white area continuous with the bar */
    background-color: #fff;
    padding: 0 16px;
}

/* Remove the gap from the vertical rule so the white “blocks” touch it nicely */
.search-item:first-child {
    flex: 1.6 1 0;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}
.search-item:last-of-type {
    flex: 1.8 1 0;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

/* The actual inputs */
.search-select,
.search-input {
    width: 100%;
    border: none;
    outline: none;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.4;
    padding: 10px 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Custom caret for dropdowns */
.search-select {
    cursor: pointer;
    padding-right: 32px; /* make room for the arrow */

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23777' d='M1 0l4 4 4-4 1 1-5 5-5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
}

/* Make sure the button lines up vertically */
.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* --- Pagination --- */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 40px auto; /* center horizontally */
    padding: 10px 10px;
    background-color: #fff;
    border-radius: 999px;
    width: fit-content; /* <-- hug contents instead of full width */
    max-width: 100%; /* safety so it doesn't overflow on tiny screens */
}

/* Base style for page links & dots */
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    color: #000;
    background-color: transparent;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

/* Numbered pages */
.pagination-page {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
}

/* Active page: big blue circle */
.pagination-page.is-active {
    background-color: var(--primary-blue);
    color: #fff;
}

/* Prev /* Prev / next arrows */
.pagination-prev,
.pagination-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    opacity: 0.8;
}

.pagination-prev:hover,
.pagination-next:hover,
.pagination-page:hover:not(.is-active) {
    opacity: 1;
}

.pagination-page:hover:not(.is-active),
.pagination-prev:hover,
.pagination-next:hover {
    background-color: #f2f2f2;
    opacity: 1;
}

/* === FILTER SIDEBAR === */

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Group wrapper */
.filter-group {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 0.1rem; /* tighter space between label and select */
    margin-bottom: 0.75rem; /* slightly smaller space between groups */
}

/* Labels above the dropdown */
.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #66758a;
}

/* The actual dropdown */
.filter-select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 999px; /* pill shape */
    border: 1px solid #9aa3b3;
    background-color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #152032;

    /* Remove native arrows (where possible) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;

    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23777' d='M1 0l4 4 4-4 1 1-5 5-5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 6px;
}

/* If we reuse .filter-select styling on a <button> (e.g. the "Open all" control),
   remove the native dropdown caret background and make the layout flex. */
button.filter-select {
    background-image: none !important;
    padding-right: 1rem; /* no need for caret padding */
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* Keep the label aligned left inside the pill */
button.filter-select .toggle-all-label {
    flex: 1 1 auto;
    text-align: left;
}

/* Caret/icon inside the pill */
button.filter-select .toggle-all-icon,
button.filter-select i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* When all accordions are open, rotate the caret (JS should toggle this class) */
button.filter-select.is-all-open .toggle-all-icon,
button.filter-select.is-all-open i {
    transform: rotate(180deg);
}

/* Focus state – keep it simple, no extra border/shadow */
.filter-select:focus {
    outline: none;
}

.filter-select:hover {
    /* no special hover border; keep it clean */
}

/* Disabled "All ..." / placeholder-style option (if used) */
.filter-select option[disabled][selected] {
    color: #9aa3b3;
}

/* Caret icon using Font Awesome (already loaded in base.twig) */
.filter-group::after {
    content: none;
}

/* === Filter & Load More buttons === */

.filters-form button[type="submit"],
.filters-clear-button,
.load-more-button {
    width: 100%;
    margin-top: 0.75rem;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--_variable-collection---accent-red);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}
.filter-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.filters-apply-button {
    flex: 1;
}

.filters-clear-button {
    flex: 0 0 3rem; /* fixed width pill for the X */
    padding-left: 0;
    padding-right: 0;
}
.filters-form {
    width: 100%;
    margin-top: 1.5rem;
}
.filters-form button[type="submit"]:hover,
.filters-clear-button:hover,
.load-more-button:hover {
    background-color: #f2554a; /* slightly darker red */
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.filters-form button[type="submit"]:active,
.filters-clear-button:active,
.load-more-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Load more — loading state */
.load-more-button:disabled {
    opacity: 0.75;
    cursor: default;
    transform: none;
    pointer-events: none;
}

.loading-dots span {
    animation: loading-dot-fade 1.2s infinite both;
}
.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-dot-fade {
    0%,
    60%,
    100% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
}

/* ─── Skeleton loader ─────────────────────────────────────── */
.skeleton-block {
    background: linear-gradient(90deg, #ececec 25%, #e0e0e0 50%, #ececec 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 16px 16px 0 0;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 4px;
}

.skeleton-line {
    height: 14px;
    width: 90%;
}

.skeleton-btn {
    height: 36px;
    width: 120px;
    border-radius: 999px;
}

.card--skeleton .card-content.mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 15px;
}

.card--skeleton .card-footer {
    padding: 12px 15px;
}
/* ─────────────────────────────────────────────────────────── */

.tour-calendar {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    font-size: 0.9rem;
    min-width: 325px;
}

.tour-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.tour-calendar__title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tour-calendar__nav {
    border: none;
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    background: #f2f5fa;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tour-calendar__grid {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tour-calendar__weekdays,
.tour-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.tour-calendar__weekday {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #8a94a8;
}

.tour-calendar__day {
    border: none;
    background: transparent;
    border-radius: 999px;
    width: 100%; /* fill the grid cell */
    aspect-ratio: 1 / 1; /* keep it a square */
    max-width: 2.2rem; /* don’t get too big on wide layouts */
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a94a8;
    margin: 0 auto; /* center circle inside the cell */
}

.tour-calendar__day--outside {
    opacity: 0.25;
    cursor: default;
}

.tour-calendar__day--today {
    font-weight: 700;
}

.tour-calendar__day--has-events {
    background: #00b0e4;
    color: #fff;
}

.tour-calendar__day--selected {
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 4px rgba(0, 176, 228, 0.4);
}

.tour-calendar__events {
    margin-top: 1rem;
}

.tour-calendar__events-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.tour-calendar__events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-calendar__event + .tour-calendar__event {
    margin-top: 0.15rem;
}

.tour-calendar__event a {
    text-decoration: none;
    color: #152032;
}

.tour-calendar__event a:hover {
    color: #00b0e4;
}

.tour-calendar__no-events {
    font-size: 0.85rem;
    color: #8a94a8;
}

/* Disabled / non-clickable days */
.tour-calendar__day--disabled {
    cursor: default;
    opacity: 0.3;
}

/* Fade-in for events list */
.tour-calendar__events {
    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.tour-calendar__events--visible {
    opacity: 1;
    transform: translateY(0);
}

.sidebar {
    min-width: 300px !important;
}

.card.grey .card-footer .card-footer-button {
    background-color: var(--grey-bg) !important;
}
.tour-calendar--sidebar {
    width: 100%;
    box-shadow: none !important;
    min-width: 0 !important; /* allow it to shrink fully */
}
@media (max-width: 600px) {
    .tour-calendar__weekdays,
    .tour-calendar__days {
        gap: 0.25rem;
    }
    .search-bar .search-item {
        padding: 0 5px;
    }
    .search-bar .search-select {
        font-size: 14px;
    }
    .search-bar .search-boxes {
        margin-right: 5px;
        padding-right: 0px;
    }
    .search-bar .search-button {
        padding: 0 3px;
    }
}

/* === Responsive filters toggle (sidebar -> drawer on mobile) === */

.tours-filters-wrapper {
    width: 100%;
}

/* Toggle button – hidden on desktop, shown on mobile */
.filters-toggle {
    display: none; /* default: desktop, hidden */
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    width: 100%;
    background-color: #264b96; /* tweak to match your blue */
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filters-toggle-icon {
    transition: transform 0.2s ease;
}

/* Panel base */
.filters-panel {
    width: 100%;
}

/* Mobile behaviour */
@media screen and (max-width: 767px) {
    .filters-toggle {
        display: flex;
        margin-bottom: 0.75rem;
    }

    .filters-panel {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-4px);
        transition:
            max-height 0.3s ease,
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    .filters-panel.is-open {
        max-height: 2000px; /* large enough for full content */
        opacity: 1;
        transform: translateY(0);
    }

    .filters-toggle.is-open .filters-toggle-icon {
        transform: rotate(180deg);
    }

    /* On mobile, hide the sidebar title and field labels to make the filter block more compact */
    .filters-panel h3 {
        display: none;
    }

    .filters-panel .filter-group label {
        display: none;
    }
}

/* Desktop: always open, no animation constraints */
@media screen and (min-width: 768px) {
    .filters-panel {
        max-height: none;
        opacity: 1;
        transform: none;
        overflow: visible;
    }

    .filters-toggle {
        display: none;
    }
}

/* === Tour gallery === */

.tour-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Main image area */
.tour-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    /* Reserve space before image loads to prevent layout shift (CLS) */
    aspect-ratio: 3 / 2;
    background-color: #e2e8f0;
}

/* Keep aspect ratio-ish but flexible */
.tour-gallery-main-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;

    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

/* Visible state */
.tour-gallery-main-image.is-visible {
    opacity: 1;
    transform: scale(1);
}

.tour-gallery-main-image.is-fading-out {
    opacity: 0;
    transform: scale(1.02);
}

/* Arrow buttons – bigger, clearer, more on-brand */
.tour-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.25rem; /* bigger hit area */
    height: 3.25rem;
    padding: 0;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.6); /* softer white ring */
    background: rgba(22, 38, 67, 0.85); /* dark blue from palette */
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tour-gallery-nav--prev {
    left: 0.75rem;
}

.tour-gallery-nav--next {
    right: 0.75rem;
}

.tour-gallery-nav i {
    font-size: 1.15rem; /* bigger chevron */
}

/* Hover/focus state (desktop mainly) */
.tour-gallery-nav:hover,
.tour-gallery-nav:focus-visible {
    background-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

/* On very small screens, make them even a bit larger for touch */
@media screen and (max-width: 767px) {
    .tour-gallery-nav {
        width: 2.8rem;
        height: 2.8rem;
    }

    .tour-gallery-nav i {
        font-size: 1.05rem;
    }
}
/* Thumbnails strip */
.tour-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbars where possible */
.tour-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}
.tour-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
}

/* Thumb button */
.tour-gallery-thumb {
    border: none;
    padding: 0;
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    animation: tourThumbIn 0.35s ease forwards;
}

/* Staggered animation via nth-child */
.tour-gallery-thumb:nth-child(1) {
    animation-delay: 0s;
}
.tour-gallery-thumb:nth-child(2) {
    animation-delay: 0.05s;
}
.tour-gallery-thumb:nth-child(3) {
    animation-delay: 0.1s;
}
.tour-gallery-thumb:nth-child(4) {
    animation-delay: 0.15s;
}
.tour-gallery-thumb:nth-child(5) {
    animation-delay: 0.2s;
}
.tour-gallery-thumb:nth-child(6) {
    animation-delay: 0.25s;
}
.tour-gallery-thumb:nth-child(7) {
    animation-delay: 0.3s;
}
.tour-gallery-thumb:nth-child(8) {
    animation-delay: 0.35s;
}
/* extra thumbs just come in without extra delay */

.tour-gallery-thumb img {
    display: block;
    width: 80px;
    height: 60px;
    object-fit: cover;
    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        opacity 0.2s ease;
}

/* Active + hover */
.tour-gallery-thumb.is-active img {
    transform: scale(1.02);
    filter: none;
    opacity: 1;
    outline: 2px solid #3c94d9;
    outline-offset: 2px;
}

.tour-gallery-thumb:not(.is-active) img {
    filter: grayscale(0.25);
    opacity: 0.8;
}

.tour-gallery-thumb:hover img {
    transform: scale(1.03);
    opacity: 1;
}

/* Thumb fade/scale in */
@keyframes tourThumbIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(0.95);
    }
}

/* Small screens: thumbnails a bit taller/wider for touch */
@media screen and (max-width: 767px) {
    .tour-gallery-thumb img {
        width: 96px;
        height: 72px;
    }
}

/* ===== Tour prices table styling ===== */

.tour-table-wrapper {
    margin-top: 1.5rem;
    background: transparent; /* use the tab panel’s background */
    border-radius: 0; /* no extra card corners */
    box-shadow: none; /* no extra drop shadow */
    overflow-x: auto; /* allow horizontal scroll on small screens */
}

.tour-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* keeps layout similar to old site on small widths */
    font-size: 1rem;
}

/* Header row (Cabins / dates etc.) */
.tour-table thead th {
    font-weight: 700;
    text-align: left;
    padding: 1.25rem 2.5rem;
    border-bottom: 2px solid #e4e6ea;
    white-space: nowrap;
}

/* First column is more “label-like” */
.tour-table thead th:first-child {
    padding-left: 2.75rem;
}

/* Body rows */
.tour-table tbody tr {
    border-bottom: 1px solid #eceeef;
}

.tour-table tbody tr:last-child {
    border-bottom: none;
}

.tour-table tbody td {
    padding: 1.1rem 2.5rem;
    color: #4b4f57;
    vertical-align: middle;
}

/* First column: cabin / label */
.tour-table tbody td:first-child {
    font-weight: 500;
    padding-left: 2.75rem;
}

/* Price columns: right-aligned like on the old site */
.tour-table tbody td:not(:first-child) {
    text-align: right;
    white-space: nowrap;
}

/* Optional: light zebra striping, very subtle */
.tour-table tbody tr:nth-child(2n) {
    background: #fafbfc;
}

/* Slightly smaller / tighter on mobile */
@media screen and (max-width: 767px) {
    .tour-table-wrapper {
        border-radius: 10px;
    }

    .tour-table thead th,
    .tour-table tbody td {
        padding: 0.9rem 1.25rem;
    }

    .tour-table thead th:first-child,
    .tour-table tbody td:first-child {
        padding-left: 1.5rem;
    }
}

/* ===== Tour detail accordions ===== */

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Outer accordion item */
.faq-p {
    border-radius: 12px;
    border: 1px solid #eceeef; /* subtle border instead of shadow */
    box-shadow: none;
    overflow: hidden;
}

/* Header / toggle row */
.faq-big {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 1.25rem;
    cursor: pointer;
}

/* Title text */
.faq-big .toggle-text {
    font-weight: 600;
    line-height: 1.3;
}

/* Chevron */
.toggle-icon {
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    transform-origin: 50% 50%; /* rotate around its own center */
}

/* Body content */
.faq-body-big {
    display: block !important; /* override Webflow dropdown behaviour */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.25rem;
    transition:
        max-height 0.25s ease,
        opacity 0.25s ease,
        padding-top 0.2s ease,
        padding-bottom 0.2s ease;
}

/* Inner rich text spacing */
.faq-body-big .w-richtext {
    padding-bottom: 1rem;
}

/* Open state */
.faq-p.is-open .faq-body-big {
    max-height: 800px; /* enough for typical content */
    opacity: 1;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.faq-p.is-open .toggle-icon {
    transform: rotate(-90deg);
}

/* Slight hover hint on header */
.faq-big:hover {
    background: #f7f8fb;
}
.col-side .card.mobile {
    max-width: none !important;
}
.ship-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ship-icon {
    font-size: 1.25rem;
}
.card-summary-list-item i {
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 15px; /* keeps them nicely centered */
}
.inquiry-dialog {
    border: none;
    border-radius: 16px;
    padding: 24px 28px 50px 28px;
    max-width: 720px;
    width: 90%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.inquiry-dialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.inquiry-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.inquiry-steps-indicator {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.inquiry-step-indicator {
    flex: 1;
    padding: 8px 4px;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    font-weight: 600;
    font-size: 14px;
}

.inquiry-step-indicator span {
    font-weight: 400;
    font-size: 12px;
}

.inquiry-step-indicator.is-active {
    background: #3b8fc9;
    color: #fff;
    border-color: #3b8fc9;
}

.inquiry-step {
    display: none;
}

.inquiry-step.is-active {
    display: block;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-top: 12px;
}

.inquiry-field--full {
    grid-column: 1 / -1;
}

.inquiry-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    padding: 10px 12px;
}

/* Unified focus style for text inputs */
.inquiry-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.inquiry-error {
    color: #c53030;
    font-size: 12px;
    margin-top: 4px;
}

.inquiry-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.secondary-button {
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    padding: 8px 18px;
    background: #fff;
}

.inquiry-summary {
    font-size: 14px;
    line-height: 1.5;
    display: grid;
    gap: 4px;
}

/* First step layout: three fields in one row on desktop */
.inquiry-step[data-step="1"] .inquiry-grid {
    grid-template-columns: 1.4fr 1fr 1fr; /* date a bit wider, then passengers + cabins */
    column-gap: 20px;
}

/* Make the date field a bit narrower so it doesn't stretch too far */
/* Refactored: Make the date field flex column and allow input to be narrower than the column */
.inquiry-step[data-step="1"] .inquiry-field--date {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* allow the input to be narrower than the column */
}

.inquiry-step[data-step="1"] .inquiry-field--date .inquiry-input {
    width: auto; /* override the global width:100% */
    max-width: 260px; /* keep it nicely sized */
}

.tour-calendar--mini {
    margin-top: 10px;
}
/* Wrapper for the date field so the calendar can be absolutely positioned */
.inquiry-field--date {
    position: relative;
}

/* Mini datepicker popup */
.inquiry-field--date .tour-calendar--mini {
    position: absolute;
    top: calc(80% + 1px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 16px 18px;
    min-width: 260px;
}

/* Header: month + arrows */
.tour-calendar--mini .tour-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tour-calendar--mini .tour-calendar-month {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.tour-calendar--mini .tour-calendar-nav {
    border: none;
    background: #f3f5f9;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Weekday row */
.tour-calendar--mini .tour-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 11px;
    text-align: center;
    margin-bottom: 6px;
    color: #9aa4b5;
}

/* Grid of days */
.tour-calendar--mini .tour-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

/* Base day button */
.tour-calendar--mini .tour-calendar-day-button {
    border: none;
    background: transparent;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

/* Empty cells (other-month padding) */
.tour-calendar--mini .tour-calendar-day-button--empty {
    cursor: default;
}

/* Days without departures (disabled) */
.tour-calendar--mini .tour-calendar-day-button--no-event {
    color: #d0d4dd;
}

/* Days with departures – match main calendar */
.tour-calendar--mini .tour-calendar-day-button--has-event {
    background: #00b0e4; /* same as .tour-calendar__day--has-events */
    color: #ffffff;
}

/* Selected day – keep it the same blue, but add a subtle ring */
.tour-calendar--mini .tour-calendar-day-button--selected {
    background: #00b0e4;
    color: #ffffff;
    box-shadow:
        0 0 0 2px #ffffff,
        0 0 0 4px rgba(0, 176, 228, 0.4);
}

/* Hover/focus state for clickable days */
.tour-calendar--mini .tour-calendar-day-button--has-event {
    background: #00b0e4; /* same as .tour-calendar__day--has-events */
    color: #ffffff;
}

/* Make sure the date input itself looks clickable */
.inquiry-input[data-inquiry-date-input] {
    cursor: pointer;
}
.inquiry-quantity {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    overflow: hidden;
    background: #ffffff;
    max-width: 180px;
    width: auto; /* hug contents on desktop */
}

.inquiry-quantity .inquiry-input {
    border: none;
    border-radius: 0;
    text-align: center;

    padding: 8px 4px;
    box-shadow: none;
}

.qty-btn {
    border: none;
    background: #f3f5f9;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    user-select: none;
}

.qty-btn:hover {
    background: #e2e7f0;
}
@media (max-width: 600px) {
    .tour-calendar__weekdays,
    .tour-calendar__days {
        gap: 0.25rem;
    }

    .inquiry-step[data-step="1"] .inquiry-grid {
        grid-template-columns: 1fr; /* stack fields on small screens */
    }
}

/* Remove native spin buttons on numeric inputs (we use our own +/- buttons) */
.inquiry-input[type="number"]::-webkit-outer-spin-button,
.inquiry-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.inquiry-input[type="number"] {
    -moz-appearance: textfield;
}

.form-step-title {
    text-align: center;
    margin-bottom: 1rem;
}

.primary-blue {
    color: var(--primary-blue);
}

/* Phone inputs: country code + local number */
.inquiry-phone-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

/* Make the first input (code) narrow */
.inquiry-phone-code.inquiry-input {
    max-width: 90px;
    text-align: left; /* or center if you prefer */
}

/* Make the second input take the remaining space */
.inquiry-phone-local.inquiry-input {
    flex: 1 1 auto;
}

/* If you have a global .inquiry-input { width:100% } rule,
   this keeps flex sizing in control inside the wrapper */
.inquiry-phone-wrapper .inquiry-input {
    width: auto;
}
/* Mobile tweaks for inquiry dialog */
@media screen and (max-width: 767px) {
    /* 1) Stack all fields (Name, E-mail, Telephone, etc.) */
    .inquiry-grid {
        grid-template-columns: 1fr !important;
    }

    /* Make sure "full width" fields still behave correctly */
    .inquiry-field--full {
        grid-column: 1 / -1;
    }

    /* 2) Phone row: keep it narrower and avoid overflow */
    .inquiry-phone-wrapper {
        gap: 0.5rem;
    }

    .inquiry-phone-code.inquiry-input {
        max-width: 70px; /* a bit narrower on mobile */
        padding-left: 10px;
        padding-right: 10px;
    }

    .inquiry-phone-local.inquiry-input {
        flex: 1 1 auto;
        min-width: 0; /* allow it to shrink inside the dialog */
    }

    /* Step indicators: on mobile, hide the label text and enlarge the step number */
    .inquiry-step-indicator {
        font-size: 18px;
        padding: 10px 6px;
    }

    .inquiry-step-indicator span {
        display: none;
    }
}

.next-pill {
    background: var(--_variable-collection---accent-red);
    color: white;
    border-radius: 50px;
    padding: 8px 18px;
}
.mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .mobile-only {
        display: flex;
    }
}

/* === Tours listing header & sort dropdown === */

/* Wrapper for the title + sort control on the tours listing page */
.tours-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Container for label + select */
.tours-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

/* Label text */
.tours-sort-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #66758a;
    white-space: nowrap;
}

/* Sort dropdown itself – reuse filter pill styling but keep it compact */
.tours-sort-select {
    min-width: 180px;
    max-width: 260px;
}

/* If the open-all control reuses the same class, don't force a fixed width on mobile */
@media screen and (max-width: 767px) {
    button.tours-sort-select {
        width: 100%;
        max-width: none;
    }
}

/* On small screens, stack the label above the dropdown and center it */
@media screen and (max-width: 767px) {
    .tours-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .filters-form {
        width: 100%;
        margin-top: 0rem;
    }

    .tours-sort {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .tours-sort-select {
        width: 100%;
        max-width: none;
    }
}

.tours-with-ship-wrapper {
    display: flex;
    flex-direction: column;
    grid-row-gap: 15px;
}

.fixed-mobile .card-summary-list-item p {
    font-size: 14px !important;
}

/* === Ship inquiry dialog: Step 1 two-column layout === */

.inquiry-grid--two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 16px;
    width: 100%;
}

.inquiry-grid--two-cols .inquiry-field {
    width: 100%;
}

/* Stack fields on smaller screens */
@media screen and (max-width: 767px) {
    .inquiry-grid--two-cols {
        grid-template-columns: 1fr;
    }

    .inquiry-grid--two-cols .inquiry-field {
        width: 100%;
    }
}

/* === Ship inquiry dialog: Type-of-inquiry select styling (similar to filter dropdowns) === */

.inquiry-select-wrapper {
    position: relative;
    width: 100%;
}

.inquiry-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background-color: #ffffff;
    padding: 8px 32px 8px 16px;
    font: inherit;
    line-height: 1.4;
    cursor: pointer;
}

.inquiry-select:focus {
    outline: none;
    border-color: var(--primary-blue, #0071b8);
    box-shadow: 0 0 0 1px var(--primary-blue, #0071b8);
}

/* Downward caret, matching the filter dropdown vibe */
.inquiry-select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #667085;
}
.cards-grid.calendar-grid {
    grid-template-columns: 1fr 1fr !important;
}
@media screen and (max-width: 767px) {
    .cards-grid.calendar-grid {
        grid-template-columns: 1fr !important;
    }
}

.cal-list-item a {
    font-weight: 300;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
}
.calendar-year-label {
    font-weight: 700;
}

.cal-list-item.calendar-year {
    padding-right: 2px;
}

.cal-list-item:hover.calendar-year {
    background-color: transparent !important;
}

@keyframes wishlistPulse {
    0% {
        transform: scale(1);
    }
    18% {
        transform: scale(1.32);
    }
    38% {
        transform: scale(0.92);
    }
    58% {
        transform: scale(1.18);
    }
    78% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

.wishlist-heart.is-pulsing {
    animation: wishlistPulse 520ms cubic-bezier(0.2, 0.9, 0.2, 1) 1;
    transform-origin: center;
    will-change: transform;
}

.wishlist-toggle {
    background: transparent;
    display: flex;
    flex-direction: row;
    grid-column-gap: 10px;
    justify-content: center;
    align-items: center;
}

.language-select-pill {
    width: auto !important;
    padding-left: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.language-select {
    width: auto !important;
    padding: 0.75rem !important;
}
.wishlist-pill-indicator {
    color: var(--_variable-collection---accent-red);
    text-decoration: none !important;
}
.wishlist-pill-count {
    text-decoration: none !important;
}

.filter-select.language-select {
    border: none;
}
/* Inquiry page layout */
.inquiry-page {
    background: var(--grey-bg);
}
.inquiry-page .inquiry-grid {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 40px;
}
.inquiry-main {
    flex: 1 1 auto;
    min-width: 0;
}
.inquiry-sidebar {
    flex: 0 0 320px;
}

@media (max-width: 991px) {
    .inquiry-page .inquiry-grid {
        flex-direction: column;
    }
    .inquiry-sidebar {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* Card */
.inquiry-card {
    background: #fff;
    border: 1px solid rgba(20, 40, 80, 0.1);
    border-radius: 24px;
    padding: 28px;
}

/* Rows */
.inquiry-row {
    margin-top: 18px;
}
.inquiry-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.inquiry-row.three-col {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}
@media (max-width: 767px) {
    .inquiry-row.two-col {
        grid-template-columns: 1fr;
    }
    .inquiry-row.three-col {
        grid-template-columns: 1fr;
    }
}

/* Fields */
.inquiry-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}
.inquiry-field input,
.inquiry-field textarea {
    width: 100%;
    border: 2px solid rgba(20, 40, 80, 0.18);
    border-radius: 18px;
    padding: 14px 16px;
    outline: none;
}
.inquiry-field textarea {
    resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus,
.inquiry-field select:focus {
    border-color: var(--primary-blue, #2f6ea5);
    box-shadow: none;
}

/* Phone split */
.phone-split {
    display: flex;
    gap: 12px;
}
.phone-split input:first-child {
    width: 110px;
    flex: 0 0 auto;
    text-align: left;
}
.phone-split input:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

/* Qty */
.qty-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.qty-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.qty-label {
    font-weight: 700;
}
.qty-control {
    display: flex;
    align-items: stretch;
    border: 2px solid rgba(20, 40, 80, 0.18);
    border-radius: 18px;
    overflow: hidden;
    width: auto;
    max-width: 100%;
    background: #fff;
}
.qty-btn {
    width: 56px;
    border: 0;
    background: rgba(20, 40, 80, 0.06);
    font-size: 22px;
    cursor: pointer;
}
.qty-control input {
    min-width: 40px;
    border: 0;
    border-left: 1px solid rgba(20, 40, 80, 0.1);
    border-right: 1px solid rgba(20, 40, 80, 0.1);
    text-align: center;
    padding: 14px 10px;
    border-radius: 0;
    outline: none;
    appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Sidebar */
.inquiry-sidebar-card {
    background: #fff;
    border: 1px solid rgba(20, 40, 80, 0.1);
    border-radius: 24px;
    padding: 22px;
}
.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    margin: 0 0 14px 0;
}
.wishlist-title-list {
    margin: 0;
    padding-left: 18px;
}
.sidebar-empty {
    margin: 0;
    opacity: 0.7;
}

/* Range picker */
.range-picker {
    position: relative;
}
.range-popover {
    position: absolute;
    z-index: 999;
    top: calc(100% + 10px);
    left: 0;
    width: 360px;
    max-width: min(360px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid rgba(20, 40, 80, 0.1);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    display: none;
}
.range-popover.is-open {
    display: block;
}

.range-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.range-month {
    font-weight: 800;
    letter-spacing: 0.06em;
}
.range-nav {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(20, 40, 80, 0.06);
    cursor: pointer;
}
.range-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin: 8px 0 10px;
    opacity: 0.65;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}
.range-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.range-cell {
    height: 42px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}
.range-cell.is-blank {
    background: transparent;
    cursor: default;
}
.range-cell.is-in-range {
    background: rgba(47, 110, 165, 0.14);
}
.range-cell.is-start,
.range-cell.is-end {
    background: var(--primary-blue, #2f6ea5);
    color: #fff;
}
.range-cell.is-hover {
    outline: 2px solid rgba(47, 110, 165, 0.35);
}
.range-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}
.range-clear,
.range-close {
    border: 0;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
    opacity: 0.75;
}
.range-close {
    opacity: 1;
}

/* Primary button */
.inquiry-actions {
    margin-top: 22px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
}
.card-footer-button {
    background: #fff;
}

.inquiry-sidebar-wishlist {
    padding: 15px 0;
}
.inquiry-field.has-error .filter-select,
.inquiry-field.has-error input,
.inquiry-field.has-error textarea {
    border-color: var(--primary-blue);
}

.field-error {
    margin-top: 6px;
    font-size: 13px;
    color: #d43b3b;
}

.ship-card-title-row {
    text-decoration: none;
}
/* Ship card footer hover: spread text + arrow */
.card-footer-button.mobile {
    display: flex;
    align-items: center;
    justify-content: center; /* keep centered, then animate inner items */
    gap: 8px;
    transition: background-color 220ms ease;
}

.card-footer-button.mobile .book-now-2,
.card-footer-button.mobile .arrow-right {
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.card-footer-button.mobile:hover .book-now-2,
.card-footer-button.mobile:focus-visible .book-now-2 {
    transform: translateX(-3px);
}

.card-footer-button.mobile:hover .arrow-right,
.card-footer-button.mobile:focus-visible .arrow-right {
    transform: translateX(3px);
}

/* ship cards: force a consistent image box */
.card-image-wrapper.mobile {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    position: relative;
}

/* ensure image fills that box (no absolute positioning) */
.card-image-wrapper.mobile .card-image,
.card-image-wrapper.fixed-mobile .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Ship type checkbox filter */
.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #152032;
    user-select: none;
}

.filter-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #9aa3b3;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease;
}

.filter-checkbox-label input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: center;
    background-color: #fff;
    transition: transform 0.1s ease;
}

.filter-checkbox-label input[type="checkbox"]:checked {
    background-color: #f56960;
    border-color: #f56960;
}

.filter-checkbox-label input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.filter-checkbox-count {
    color: #9aa3b3;
}

/* ─── Contact nav dropdown ─────────────────────────────────── */
.menu-dropdown--contact {
    min-width: 280px;
    right: 0;
    left: auto;
}

.contact-dropdown-inner {
    padding: 20px 24px 16px;
    text-align: right;
}

.contact-dropdown-section-label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9aa3b3;
    margin: 0 0 8px;
}

.contact-dropdown-office-line {
    font-size: 0.875rem;
    color: #162643;
    margin: 0;
    line-height: 1.6;
}

.contact-dropdown-divider {
    height: 1px;
    background-color: #eaeaea;
    margin: 12px 0;
}

.contact-dropdown-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #162643;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s;
}

.contact-dropdown-row i {
    color: #f56960;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.contact-dropdown-row:hover {
    color: #f56960;
}
/* ─────────────────────────────────────────────────────────── */

/* =====================================================
   Homepage feature section — two overlapping images
   ===================================================== */

/* Vertically center text next to the image stack */
.columns.feature-row {
    align-items: center;
}

/* Image container — fixed height to accommodate the vertical offset */
.feature-images {
    position: relative;
    width: 100%;
    height: 460px;
}

/* Both images share these base styles */
.feature-img {
    position: absolute;
    width: 56%;
    height: 86%;
    object-fit: cover;
    border-radius: 18px;
    background-color: #e2e8f0;
    display: block;
}

/* Back image: top-left */
.feature-img--back {
    left: 0;
    top: 0;
    z-index: 1;
}

/* Front image: bottom-right, overlaps the back image */
.feature-img--front {
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Mobile: shrink the container height */
@media screen and (max-width: 767px) {
    .feature-images {
        height: 300px;
    }
    .feature-images-col {
        margin-bottom: 16px;
    }
}

/* =====================================================
   Calendar loading shell
   ===================================================== */
.cal-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 1rem;
    color: #6b7280;
    font-size: 1rem;
}

/* =====================================================
   Summary block — "Request a quote" CTA bar
   Breaks out of the .summary-block padding and sits flush
   along the bottom with dark-blue background + arrow.
   ===================================================== */
.summary-block {
    /* Clip the inner CTA bar to the rounded corners */
    overflow: hidden;
    /* Re-apply the padding via children so the CTA can break out */
    padding-bottom: 0 !important;
}
.summary-quote-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Negative horizontal margin to span past the .summary-block padding (15px) */
    margin: 0px -15px 0;
    padding: 14px 20px;
    background-color: var(--_variable-collection---dark-blue);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 220ms ease;
}
.summary-quote-link:hover,
.summary-quote-link:focus-visible {
    background-color: #0d1a30;
    color: #ffffff;
}
.summary-quote-link .summary-quote-text,
.summary-quote-link .arrow-right {
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.summary-quote-link:hover .summary-quote-text,
.summary-quote-link:focus-visible .summary-quote-text {
    transform: translateX(-3px);
}
.summary-quote-link:hover .arrow-right,
.summary-quote-link:focus-visible .arrow-right {
    transform: translateX(3px);
}
.summary-quote-link .arrow-right {
    color: #ffffff !important;
    font-size: 0.95em;
}

/* =====================================================
   404 / error page
   ===================================================== */
.error-section {
    padding: calc(4rem + 60px) 0 6rem;
}
.error-wrapper {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.error-code {
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: clamp(6rem, 14vw, 10rem);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 0.5rem;
    color: var(--primary-blue);
    letter-spacing: -0.03em;
}
.error-heading {
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--_variable-collection---dark-blue);
}
.error-lede {
    font-size: 1.05rem;
    color: #4b5563;
    margin: 0 0 2.5rem;
}
.error-section-heading {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin: 0 0 1rem;
}
.error-suggestions {
    margin: 0 0 2.5rem;
    text-align: left;
}
.error-suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e5e7eb;
}
.error-suggestion-list li {
    border-bottom: 1px solid #e5e7eb;
}
.error-suggestion-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    text-decoration: none;
    color: var(--_variable-collection---dark-blue);
    transition: background-color 180ms ease, padding-left 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.error-suggestion-link:hover,
.error-suggestion-link:focus-visible {
    background-color: #f8f8f8;
    padding-left: 12px;
}
.error-suggestion-title {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}
.error-suggestion-section {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding: 2px 8px;
    background-color: #f3f4f6;
    border-radius: 999px;
}
.error-suggestion-link .fa-arrow-right {
    color: var(--_variable-collection---accent-red);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.error-suggestion-link:hover .fa-arrow-right,
.error-suggestion-link:focus-visible .fa-arrow-right {
    transform: translateX(4px);
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 0 0 2rem;
}
.cta-button--ghost {
    background-color: transparent !important;
    color: var(--_variable-collection---dark-blue) !important;
    border: 1px solid var(--_variable-collection---dark-blue);
}
.cta-button--ghost:hover,
.cta-button--ghost:focus-visible {
    background-color: var(--_variable-collection---dark-blue) !important;
    color: #ffffff !important;
}
.error-contact {
    font-size: 0.95rem;
    color: #4b5563;
}
.error-contact a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =====================================================
   Inline calendar bar — used inside .main-col on /calendar
   Resets the absolute positioning the global nav variant uses
   so it flows naturally above .tours-header.
   ===================================================== */
.menu-calendar--inline {
    position: static !important;
    z-index: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 56px;
    padding: 10px 20px !important;
    margin: 0 0 20px;
    border-radius: 25px;
    align-items: center !important;
    display: flex !important;
    gap: 16px;
}
.menu-calendar--inline > div:first-child {
    flex: 0 0 auto;
}
.menu-calendar--inline > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
}
.menu-calendar--inline .calendar-list {
    flex-wrap: wrap;
    align-items: center;
}

/* =====================================================
   Mobile hero heights — 70% of Webflow's defaults
   ===================================================== */
@media screen and (max-width: 767px) {
    .home-hero {
        min-height: 385px; /* was 550px */
    }
    .low-hero {
        min-height: 245px; /* was 350px */
    }
}

/* Mobile: drop the "Tour calendar" label and make the month list
   horizontally scrollable so it stays a single pill row. */
@media screen and (max-width: 767px) {
    .menu-calendar--inline {
        padding: 8px 4px 8px 16px !important;
        gap: 0;
    }
    .menu-calendar--inline > div:first-child {
        display: none;
    }
    .menu-calendar--inline > div:last-child {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        /* Fade the right edge so users know there's more to scroll */
        mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent);
    }
    .menu-calendar--inline .calendar-list {
        flex-wrap: nowrap;
        white-space: nowrap;
        padding-right: 24px; /* breathing room past the fade */
    }
    .menu-calendar--inline .cal-list-item {
        flex: 0 0 auto;
    }
    /* Hide native scrollbar — gesture is enough on touch devices */
    .menu-calendar--inline > div:last-child::-webkit-scrollbar {
        display: none;
    }
    .menu-calendar--inline > div:last-child {
        scrollbar-width: none;
    }
}
