/* ==========================================================================
   Agadir Nomad Trips — Product Page Design System
   --------------------------------------------------------------------------
   One marketplace design language for every bookable product: tours,
   activities, excursions and transfers. Three layouts share these components:

     data-mt-layout="tour"      editorial day trips / excursions
     data-mt-layout="activity"  hands-on, high-energy activities
     data-mt-layout="transfer"  route-led airport / city transfers

   The booking form internals are owned by assets/js/booking.js and styled by
   assets/css/booking.css; this file styles the shell around them. Product
   cards in the "You may also like" rail share the markup of listing-page
   cards and are styled by assets/css/cards-2026.css.

   UX principles (marketplace): strong price hierarchy, sticky booking card,
   gallery-first header, quick facts, content-first mobile with a sticky
   booking bar, generous but disciplined spacing. Layout is written with
   logical properties so translated (RTL) content mirrors cleanly.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */

.mt-page {
    /* ink */
    --mt-ink: #172333;
    --mt-ink-soft: #5D6B7E;
    --mt-ink-faint: #8A94A6;

    /* brand */
    --mt-blue: #0B4BAF;
    --mt-blue-dark: #073B8C;
    --mt-cyan: #1767C9;
    --mt-cta: #F79426;
    --mt-cta-dark: #E97818;
    --mt-green: #12855A;
    --mt-red: #C4553F;

    /* surfaces */
    --mt-white: #FFFFFF;
    --mt-bg: #FFFFFF;
    --mt-bg-soft: #F5F7FA;
    --mt-line: #E4E9F0;
    --mt-line-soft: #EEF2F7;

    /* shape & depth */
    --mt-radius-sm: 10px;
    --mt-radius: 14px;
    --mt-radius-lg: 20px;
    --mt-shadow: 0 10px 30px rgba(23, 35, 51, .10);
    --mt-shadow-lift: 0 14px 34px rgba(23, 35, 51, .13);

    /* rhythm */
    --mt-wrap: 1240px;
    --mt-rail-w: 384px;
    --mt-gap: 40px;
    --mt-header-space: 96px;
    --mt-sans: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------------------------------------------------------------- 2. base */

.mt-page *,
.mt-page *::before,
.mt-page *::after {
    box-sizing: border-box;
}

.mt-page {
    background: var(--mt-bg);
    color: var(--mt-ink);
    font-family: var(--mt-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.mt-page img {
    max-width: 100%;
    display: block;
}

.mt-page h1,
.mt-page h2,
.mt-page h3 {
    font-family: var(--mt-sans);
    color: var(--mt-ink);
    margin: 0;
}

.mt-page p {
    margin: 0;
    color: inherit;
}

/* Anchors inside the page content only; body-level components
   (shared header/footer, assistant) style their own links. */
.mt-page main a {
    color: var(--mt-blue);
}

.mt-page button {
    font-family: inherit;
}

.mt-wrap {
    width: 100%;
    max-width: var(--mt-wrap);
    margin-inline: auto;
    padding-inline: 24px;
}

.mt-skip {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    z-index: 3000;
    background: var(--mt-white);
    color: var(--mt-ink);
    padding: 12px 20px;
    border-radius: 0 0 12px 0;
    font-weight: 600;
}

.mt-skip:focus {
    inset-inline-start: 0;
}

.mt-page :focus-visible {
    outline: 3px solid var(--mt-cyan);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ------------------------------------------------- 3. breadcrumb top bar */

.mt-topbar {
    border-bottom: 1px solid var(--mt-line-soft);
    background: var(--mt-white);
}

.mt-page[data-mt-layout="transfer"] .mt-topbar {
    background: var(--mt-bg-soft);
}

.mt-topbar__row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    padding-block: 6px;
}

.mt-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mt-ink-faint);
    min-width: 0;
}

.mt-crumbs a {
    color: var(--mt-ink-soft);
    text-decoration: none;
}

.mt-crumbs a:hover {
    color: var(--mt-blue);
    text-decoration: underline;
}

.mt-crumbs span[aria-hidden] {
    color: #C2CBD6;
}

.mt-crumbs em {
    font-style: normal;
    color: var(--mt-ink-soft);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 46ch;
}

/* ============================================== 4. PRODUCT HEADER (lead) */

.mt-main {
    width: 100%;
    max-width: var(--mt-wrap);
    margin-inline: auto;
    padding: 24px 24px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--mt-rail-w);
    gap: var(--mt-gap);
    align-items: start;
}

.mt-lead {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.mt-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.mt-rail {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
}

/* The rail area spans both rows, so the sticky behaviour lives on the inner
   stack: it pins while the lead and content scroll past. */
.mt-rail__stack {
    position: sticky;
    top: 16px;
    display: grid;
    gap: 14px;
}

/* --- 4a. title row ------------------------------------------------------ */

.mt-titlerow {
    margin-bottom: 16px;
}

.mt-titlerow h1 {
    font-size: clamp(27px, 3.1vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    margin: 0 0 12px;
    text-wrap: balance;
}

.mt-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mt-ink-soft);
}

.mt-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.mt-meta i {
    font-size: 13px;
    color: var(--mt-ink-faint);
}

.mt-meta .mt-meta__rating i {
    color: var(--mt-amber, #F2B01E);
}

.mt-meta .mt-meta__rating strong {
    color: var(--mt-ink);
    font-weight: 700;
}

.mt-meta a {
    color: var(--mt-ink-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mt-meta a:hover {
    color: var(--mt-blue);
}

/* --- 4b. title actions (share / save) ----------------------------------- */

.mt-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.mt-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius-sm);
    background: var(--mt-white);
    color: var(--mt-ink-soft);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.mt-action-btn:hover {
    border-color: var(--mt-blue);
    color: var(--mt-blue);
}

.mt-action-btn.is-copied {
    border-color: var(--mt-green);
    color: var(--mt-green);
}

/* --- 4c. marketplace gallery ------------------------------------------- */

.mt-gallerywrap {
    position: relative;
    margin-bottom: 20px;
}

.mt-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 168px;
    gap: 10px;
    border-radius: var(--mt-radius);
    overflow: hidden;
}

.mt-shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: var(--mt-bg-soft);
    cursor: zoom-in;
    border: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* Desktop shows the marketplace crop: one lead + four tiles. The rest of the
   photos stay in the DOM (lazy) for the photo viewer. */
.mt-shot:nth-child(n+6) {
    display: none;
}

.mt-shot--lead {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 0;
}

.mt-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.mt-shot:hover img {
    transform: scale(1.04);
}

.mt-shot--more {
    cursor: pointer;
}

.mt-shot__more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 27, 46, .45);
}

.mt-shot__more span {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
}

.mt-viewall {
    position: absolute;
    inset-inline-end: 14px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--mt-radius-sm);
    background: var(--mt-white);
    color: var(--mt-ink);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(23, 35, 51, .22);
    transition: background .18s ease, transform .18s ease;
}

.mt-viewall:hover {
    background: #F2F5F9;
    transform: translateY(-1px);
}

/* sparse galleries never leave broken grid gaps */
.mt-gallery--single {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(280px, 44vw);
}

.mt-gallery--single .mt-shot--lead {
    grid-column: auto;
    grid-row: auto;
    border-radius: var(--mt-radius);
}

.mt-gallery--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mt-gallery--pair .mt-shot--lead {
    grid-column: auto;
    grid-row: auto;
    border-radius: 0;
}

/* --- 4d. quick summary --------------------------------------------------- */

.mt-page .mt-summary {
    font-size: 16px;
    line-height: 1.7;
    color: #33475C;
    max-width: 72ch;
    margin-bottom: 28px;
}

/* ============================================= 5. QUICK FACTS / INFO STRIP */

.mt-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.mt-fact {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    background: var(--mt-bg-soft);
    border: 1px solid var(--mt-line-soft);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: #33475C;
    line-height: 1.2;
}

.mt-fact i {
    color: var(--mt-blue);
    font-size: 13px;
    flex: 0 0 auto;
}

.mt-fact b {
    font-weight: 600;
    color: var(--mt-ink);
}

/* ============================================== 6. CONTENT SECTIONS (left) */

.mt-sec {
    margin-bottom: 44px;
    scroll-margin-top: 90px;
}

.mt-sec:last-child {
    margin-bottom: 0;
}

.mt-page .mt-sec__title {
    font-size: clamp(21px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -.015em;
    margin-bottom: 16px;
}

.mt-page .mt-sec__lede {
    color: var(--mt-ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin: -4px 0 16px;
}

/* --- 6a. highlights ------------------------------------------------------ */

.mt-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
}

.mt-highlights li {
    position: relative;
    padding-inline-start: 30px;
    font-size: 15.5px;
    line-height: 1.55;
    color: #33475C;
}

.mt-highlights li::before {
    content: '\f00c';
    position: absolute;
    inset-inline-start: 0;
    top: 2px;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    color: var(--mt-green);
}

/* --- 6b. about-this-activity quick facts grid ---------------------------- */

.mt-aboutgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mt-about {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--mt-white);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
}

.mt-about i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--mt-bg-soft);
    color: var(--mt-blue);
    font-size: 14px;
}

.mt-about dt,
.mt-about .mt-about__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--mt-ink-faint);
    margin: 0 0 2px;
}

.mt-about dd,
.mt-about .mt-about__value {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--mt-ink);
    line-height: 1.35;
}

/* --- 6c. prose ------------------------------------------------------------ */

.mt-prose {
    font-size: 16px;
    line-height: 1.75;
    color: #33475C;
    max-width: 70ch;
}

.mt-prose p + p {
    margin-top: 1em;
}

/* --- 6d. itinerary timeline ------------------------------------------------ */

.mt-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mt-timeline::before {
    content: '';
    position: absolute;
    inset-inline-start: 7px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--mt-line);
}

.mt-stop {
    position: relative;
    padding: 0 0 26px 40px;
}

.mt-stop:last-child {
    padding-bottom: 0;
}

.mt-stop::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--mt-white);
    border: 4px solid var(--mt-blue);
}

.mt-page .mt-stop__time {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--mt-blue);
}

.mt-stop h3 {
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mt-stop p {
    color: var(--mt-ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

/* activity run-of-show: numbered cards */
.mt-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    counter-reset: mt-step;
}

.mt-step {
    counter-increment: mt-step;
    position: relative;
    background: var(--mt-bg-soft);
    border: 1px solid var(--mt-line-soft);
    border-radius: var(--mt-radius);
    padding: 20px 18px 18px;
}

.mt-step::before {
    content: counter(mt-step);
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--mt-cta);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
}

.mt-step__time {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--mt-cta-dark);
}

.mt-step h3 {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mt-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--mt-ink-soft);
}

/* --- 6e. included / not included ------------------------------------------ */

.mt-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mt-cols--single {
    grid-template-columns: minmax(0, 1fr);
}

.mt-panel {
    background: var(--mt-white);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
    padding: 22px 24px;
}

.mt-panel h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.mt-panel h3 i {
    font-size: 15px;
}

.mt-panel--yes h3 i {
    color: var(--mt-green);
}

.mt-panel--no h3 i {
    color: var(--mt-red);
}

.mt-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.mt-list li {
    position: relative;
    padding-inline-start: 26px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #3B5064;
}

.mt-list li::before {
    position: absolute;
    inset-inline-start: 0;
    top: 1px;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12.5px;
}

.mt-list--yes li::before {
    content: '\f00c';
    color: var(--mt-green);
}

.mt-list--no li::before {
    content: '\f00d';
    color: var(--mt-red);
}

.mt-list--plain li::before {
    content: '\f111';
    font-size: 6px;
    top: 7px;
    color: var(--mt-blue);
}

.mt-empty {
    color: var(--mt-ink-faint);
    font-style: italic;
    font-size: 14.5px;
}

/* --- 6f. pickup & meeting point -------------------------------------------- */

.mt-pickup {
    background: var(--mt-bg-soft);
    border: 1px solid var(--mt-line-soft);
    border-radius: var(--mt-radius);
    padding: 22px 24px;
    display: grid;
    gap: 14px;
}

.mt-pickup__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #33475C;
}

.mt-pickup__row i {
    flex: 0 0 auto;
    width: 20px;
    text-align: center;
    color: var(--mt-blue);
    margin-top: 3px;
}

.mt-pickup__row b {
    color: var(--mt-ink);
    font-weight: 600;
}

/* --- 6g. cancellation -------------------------------------------------------- */

.mt-cancel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #EDF7F1;
    border: 1px solid #CBE7D8;
    border-radius: var(--mt-radius);
    padding: 18px 20px;
}

.mt-cancel > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--mt-green);
    font-size: 18px;
}

.mt-cancel p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #1F5B43;
}

.mt-cancel a {
    color: #14724F;
    font-weight: 600;
}

/* --- 6h. notes / know before you go ------------------------------------------ */

.mt-note {
    background: #EAF0F9;
    border: 1px solid #CBDCF2;
    border-radius: var(--mt-radius);
    padding: 18px 20px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #172333;
}

.mt-note h3 {
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mt-blue-dark);
    margin-bottom: 10px;
}

.mt-note ul {
    margin: 0;
    padding-inline-start: 18px;
}

.mt-note li {
    margin: 4px 0;
}

/* --- 6i. FAQ ----------------------------------------------------------------- */

.mt-faq {
    display: grid;
    gap: 8px;
}

.mt-faq details {
    background: var(--mt-white);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
    overflow: hidden;
    transition: border-color .2s ease;
}

.mt-faq details[open] {
    border-color: #B9CFE8;
}

.mt-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 48px 16px 20px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

[dir="rtl"] .mt-faq summary {
    padding: 16px 20px 16px 48px;
}

.mt-faq summary::-webkit-details-marker {
    display: none;
}

.mt-faq summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--mt-ink-soft);
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.mt-faq details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.mt-faq details > p {
    padding: 0 20px 18px;
    color: var(--mt-ink-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ============================================ 7. BOOKING RAIL (sticky card) */

.mt-rail__stack {
    display: grid;
    gap: 14px;
}

.mt-book {
    background: var(--mt-white);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius-lg);
    box-shadow: var(--mt-shadow);
    overflow: hidden;
}

.mt-book__head {
    padding: 22px 22px 16px;
    border-bottom: 1px solid var(--mt-line-soft);
}

.mt-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.mt-price__value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--mt-ink);
}

.mt-price__from {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--mt-ink-soft);
}

.mt-price__unit {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--mt-ink-soft);
}

.mt-price__was {
    font-size: 15px;
    color: var(--mt-ink-faint);
    text-decoration: line-through;
}

.mt-price__save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #E5F5EC;
    color: #14724F;
    font-size: 12.5px;
    font-weight: 700;
    width: fit-content;
}

.mt-page .mt-price__note {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--mt-ink-faint);
    line-height: 1.5;
}

.mt-trust {
    display: grid;
    gap: 8px;
    padding: 14px 22px;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid var(--mt-line-soft);
    background: var(--mt-white);
}

.mt-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #33475C;
}

.mt-trust li i {
    width: 18px;
    text-align: center;
    color: var(--mt-green);
    font-size: 13px;
}

/* booking.js owns everything inside the mount; only the shell is styled here */
.mt-book .booking-card-shell {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mt-book .booking-card-body {
    padding: 18px 22px 22px;
}

.mt-book .booking-card-head {
    display: none;
}

.mt-book .tour-booking-component .booking-price-hero {
    display: none;
}

.mt-book .booking-summary-card {
    background: var(--mt-bg-soft);
    border: 1px solid var(--mt-line-soft);
    border-radius: var(--mt-radius);
    padding: 14px 16px;
}

.mt-book .booking-total-line {
    font-size: 15px;
}

.mt-book .booking-total-line strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--mt-ink);
}

.mt-book .booking-next,
.mt-book .booking-submit {
    width: 100%;
    min-height: 50px;
    border-radius: var(--mt-radius-sm);
    border-color: var(--mt-cta) !important;
    background: var(--mt-cta) !important;
    color: #fff !important;
    font-size: 15.5px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(247, 148, 38, .30);
}

.mt-book .booking-next:hover,
.mt-book .booking-next:focus-visible,
.mt-book .booking-submit:hover,
.mt-book .booking-submit:focus-visible {
    border-color: var(--mt-cta-dark) !important;
    background: var(--mt-cta-dark) !important;
    color: #fff !important;
}

.mt-book .booking-next *,
.mt-book .booking-submit * {
    color: inherit !important;
}

.mt-book .booking-check-button {
    border-color: var(--mt-blue) !important;
    background: var(--mt-blue) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: var(--mt-radius-sm);
}

.mt-book .booking-check-button:hover,
.mt-book .booking-check-button:focus-visible {
    border-color: var(--mt-blue-dark) !important;
    background: var(--mt-blue-dark) !important;
    color: #fff !important;
}

.mt-book .booking-check-button * {
    color: inherit !important;
}

.mt-book .booking-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.mt-book .booking-step-chip {
    border-radius: var(--mt-radius-sm);
}

/* secondary contact card under the booking card */
.mt-help {
    background: var(--mt-white);
    border: 1px solid var(--mt-line);
    border-radius: var(--mt-radius);
    padding: 18px 20px;
}

.mt-help h2 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mt-help p {
    font-size: 13.5px;
    color: var(--mt-ink-soft);
    line-height: 1.6;
    margin-bottom: 14px;
}

.mt-help__actions {
    display: grid;
    gap: 8px;
}

.mt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: var(--mt-radius-sm);
    font-family: var(--mt-sans);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.mt-btn--whatsapp {
    background: #1FAE63;
    color: #fff;
}

.mt-btn--whatsapp:hover {
    background: #189A56;
    color: #fff;
}

.mt-btn--ghost {
    background: var(--mt-white);
    border-color: var(--mt-line);
    color: var(--mt-ink);
}

.mt-btn--ghost:hover {
    border-color: var(--mt-blue);
    color: var(--mt-blue);
}

/* ==================================================== 8. TRANSFER TEMPLATE */

/* info strip of verified service facts */
.mt-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

/* route visual: Pickup -> drive -> Drop-off */
.mt-route {
    display: grid;
    gap: 0;
    background: var(--mt-bg-soft);
    border: 1px solid var(--mt-line-soft);
    border-radius: var(--mt-radius);
    padding: 20px 22px;
}

.mt-route__node {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    padding-bottom: 22px;
}

.mt-route__node:last-child {
    padding-bottom: 0;
}

.mt-route__node:last-child::before {
    display: none;
}

.mt-route__node::before {
    content: '';
    position: absolute;
    inset-inline-start: 15px;
    top: 34px;
    bottom: -2px;
    width: 2px;
    background: #C9D6E6;
}

.mt-route__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mt-white);
    border: 2px solid var(--mt-blue);
    color: var(--mt-blue);
    font-size: 13px;
    z-index: 1;
}

.mt-route__node--end .mt-route__icon {
    border-color: var(--mt-green);
    color: var(--mt-green);
}

.mt-route__body b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--mt-ink);
    margin-bottom: 2px;
}

.mt-route__body span {
    font-size: 13.5px;
    color: var(--mt-ink-soft);
    line-height: 1.55;
}

/* ==================================================== 9. RELATED PRODUCTS */

.mt-related {
    margin-top: 56px;
    padding-block: 52px;
    background: var(--mt-bg-soft);
    border-top: 1px solid var(--mt-line-soft);
}

.mt-related__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.mt-related__head h2 {
    font-size: clamp(21px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: -.015em;
}

.mt-related__head p {
    color: var(--mt-ink-soft);
    font-size: 15px;
    max-width: 52ch;
}

.mt-related .market-card-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ==================================================== 10. BOTTOM CTA BAND */

.mt-cta {
    margin-top: 56px;
    padding-block: 52px;
    background: linear-gradient(120deg, #062F70, #0B4BAF 55%, #062F70);
    color: #fff;
    text-align: center;
}

.mt-page[data-mt-layout="transfer"] .mt-cta,
.mt-page[data-mt-layout="activity"] .mt-cta {
    background: linear-gradient(120deg, #1E3A5C, #2A5DA8 55%, #1E3A5C);
}

.mt-cta h2 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
    margin-bottom: 10px;
}

.mt-cta p {
    color: rgba(255, 255, 255, .85);
    font-size: 15.5px;
    max-width: 58ch;
    margin: 0 auto 24px;
    line-height: 1.65;
}

.mt-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.mt-btn--solid {
    background: var(--mt-cta);
    color: #fff;
    min-height: 50px;
    padding-inline: 28px;
    font-size: 15px;
    border-radius: var(--mt-radius-sm);
}

.mt-btn--solid:hover {
    background: var(--mt-cta-dark);
    color: #fff;
}

.mt-btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    min-height: 50px;
    padding-inline: 28px;
    font-size: 15px;
    border-radius: var(--mt-radius-sm);
}

.mt-btn--outline-light:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* ==================================================== 11. MOBILE STICKY BAR */

.mt-stickybar {
    display: none;
}

/* ==================================================== 12. PHOTO VIEWER */

.mt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(7, 16, 28, .95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mt-lightbox.is-open {
    display: flex;
}

.mt-lightbox img {
    max-width: 100%;
    max-height: calc(100% - 60px);
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.mt-lightbox__close,
.mt-lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 16px;
    transition: background .18s ease;
}

.mt-lightbox__close:hover,
.mt-lightbox__nav:hover {
    background: rgba(255, 255, 255, .26);
}

.mt-lightbox__close {
    top: 16px;
    inset-inline-end: 16px;
}

.mt-lightbox__nav--prev {
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mt-lightbox__nav--next {
    inset-inline-end: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mt-lightbox__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    font-weight: 500;
    padding-inline: 24px;
}

/* ==================================================== 13. RESPONSIVE */

/* --- laptop: tighten the rail --- */
@media (max-width: 1180px) {
    .mt-page {
        --mt-rail-w: 344px;
        --mt-gap: 32px;
    }

    .mt-gallery {
        grid-auto-rows: 158px;
    }
}

/* --- tablet: booking card joins the flow, gallery goes swipeable --------- */
@media (max-width: 1000px) {
    .mt-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-top: 18px;
    }

    .mt-lead,
    .mt-content,
    .mt-rail {
        grid-column: 1;
        grid-row: auto;
    }

    /* content-first mobile order: header, then the booking module, then the detail */
    .mt-lead {
        order: 1;
    }

    .mt-rail {
        order: 2;
    }

    .mt-content {
        order: 3;
    }

    .mt-rail__stack {
        position: static;
    }

    .mt-gallery,
    .mt-gallery--pair {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 8px;
        border-radius: var(--mt-radius);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mt-gallery::-webkit-scrollbar {
        display: none;
    }

    .mt-shot,
    .mt-shot:nth-child(n+6) {
        display: block;
        flex: 0 0 100%;
        height: 240px;
        scroll-snap-align: start;
        border-radius: var(--mt-radius);
    }

    .mt-gallery--single .mt-shot {
        height: 280px;
    }

    /* the swipe counter replaces the view-all affordance on touch layouts */
    .mt-viewall {
        display: none;
    }

    .mt-shot__more::after,
    .mt-shot__more span {
        display: none;
    }

    .mt-shot__more {
        cursor: zoom-in;
    }

    /* live photo counter, fed by tour-page.js while swiping */
    .mt-count {
        position: absolute;
        inset-inline-end: 12px;
        bottom: 12px;
        z-index: 3;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(7, 16, 28, .62);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .02em;
        pointer-events: none;
    }

    .mt-aboutgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mt-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mt-related .market-card-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1001px) {
    .mt-count {
        display: none;
    }
}

/* --- small tablet / large phone --- */
@media (max-width: 780px) {
    .mt-page {
        --mt-header-space: 84px;
    }

    .mt-wrap,
    .mt-main {
        padding-inline: 16px;
    }

    .mt-titlerow h1 {
        font-size: 26px;
        line-height: 1.25;
    }

    .mt-summary {
        font-size: 15px;
    }

    .mt-highlights {
        grid-template-columns: minmax(0, 1fr);
    }

    .mt-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .mt-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .mt-related .market-card-grid--related {
        grid-template-columns: minmax(0, 1fr);
    }

    .mt-sec {
        margin-bottom: 36px;
    }
}

/* --- phone: sticky booking bar joins the page --- */
@media (max-width: 600px) {
    .mt-page {
        --mt-header-space: 78px;
    }

    .mt-topbar__row {
        min-height: 40px;
        font-size: 12.5px;
    }

    .mt-crumbs em {
        max-width: 30ch;
    }

    .mt-actions {
        display: none;
    }

    .mt-shot,
    .mt-gallery--single .mt-shot {
        height: 220px;
    }

    .mt-aboutgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mt-price__value {
        font-size: 27px;
    }

    .mt-cta {
        padding-block: 44px;
    }

    .mt-cta__actions {
        flex-direction: column;
    }

    .mt-cta__actions .mt-btn {
        width: 100%;
    }

    /* sticky booking bar: price + CTA, revealed while the booking card is off screen */
    .mt-stickybar {
        display: flex;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 2500;
        align-items: center;
        gap: 12px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--mt-line);
        box-shadow: 0 -8px 26px rgba(23, 35, 51, .13);
        transform: translateY(110%);
        transition: transform .28s cubic-bezier(.2, .7, .3, 1);
    }

    .mt-stickybar.is-visible {
        transform: translateY(0);
    }

    .mt-stickybar__price {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        min-width: 0;
    }

    .mt-stickybar__price small {
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--mt-ink-soft);
    }

    .mt-stickybar__price strong {
        font-size: 20px;
        font-weight: 800;
        color: var(--mt-ink);
        white-space: nowrap;
    }

    .mt-stickybar__cta {
        margin-inline-start: auto;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0 20px;
        border-radius: var(--mt-radius-sm);
        background: var(--mt-cta);
        color: #fff;
        font-size: 14.5px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(247, 148, 38, .32);
    }

    .mt-page .mt-cta {
        padding-bottom: 96px;
    }
}

@media (max-width: 420px) {
    .mt-gallery--single .mt-shot {
        height: 240px;
    }

    .mt-fact {
        font-size: 12.5px;
        padding: 8px 12px;
    }
}

/* --- accessibility & print --- */
@media (prefers-reduced-motion: reduce) {
    .mt-page *,
    .mt-page *::before,
    .mt-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .mt-stickybar,
    .mt-cta,
    .mt-related,
    .mt-rail {
        display: none !important;
    }
}
